@pooflabs/core 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/operations.d.ts +15 -3
- package/dist/index.js +54 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -23
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ export interface SubscriptionOptions {
|
|
|
55
55
|
prompt?: string;
|
|
56
56
|
/** Relationship shape for joined data (e.g., { owner: {}, posts: { comments: {} } }) */
|
|
57
57
|
shape?: Record<string, any>;
|
|
58
|
+
/** Maximum number of items to return (opt-in pagination) */
|
|
59
|
+
limit?: number;
|
|
60
|
+
/** Opaque cursor for cursor-based pagination (used with limit) */
|
|
61
|
+
cursor?: string;
|
|
62
|
+
/** Override the app ID for this subscription (instead of the configured default) */
|
|
63
|
+
appId?: string;
|
|
58
64
|
onData?: (data: any) => void;
|
|
59
65
|
onError?: (error: any) => void;
|
|
60
66
|
}
|