@lessly/sdk-app 67.2.0 → 67.3.0
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/_types/gen/client.gen.d.ts +2 -1
- package/dist/_types/gen/playground/index.d.ts +1 -1
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +5 -1
- package/dist/_types/gen/types.gen.d.ts +45 -0
- package/dist/{chunk-NEGA65H6.js → chunk-37QTFCCK.js} +27 -2
- package/dist/chunk-37QTFCCK.js.map +1 -0
- package/dist/index.cjs +28 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +5 -0
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +6 -2
- package/dist/playground/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +25 -0
- package/src/gen/client.gen.ts +3 -0
- package/src/gen/manifest.gen.ts +2 -0
- package/src/gen/playground/index.ts +1 -1
- package/src/gen/playground/queryOptions.gen.ts +7 -0
- package/src/gen/types.gen.ts +47 -0
- package/dist/chunk-NEGA65H6.js.map +0 -1
package/dist/playground/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { wsBindings } from '../chunk-
|
|
1
|
+
import { wsBindings } from '../chunk-37QTFCCK.js';
|
|
2
2
|
|
|
3
3
|
// src/gen/playground/queryOptions.gen.ts
|
|
4
4
|
var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
|
|
@@ -61,10 +61,14 @@ var playgroundWorkflowPingMutationOptions = (sdk) => ({
|
|
|
61
61
|
mutationKey: ["playground", "workflow", "ping"],
|
|
62
62
|
mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
|
|
63
63
|
});
|
|
64
|
+
var playgroundWorkflowSubjectsListQueryOptions = (sdk, input) => ({
|
|
65
|
+
queryKey: ["playground", "workflow", "subjects-list", input],
|
|
66
|
+
queryFn: () => sdk["playground"]["workflow"]["subjects-list"](input)
|
|
67
|
+
});
|
|
64
68
|
|
|
65
69
|
// src/gen/playground/connect.gen.ts
|
|
66
70
|
var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
|
|
67
71
|
|
|
68
|
-
export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWsEchoConnect };
|
|
72
|
+
export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWorkflowSubjectsListQueryOptions, playgroundWsEchoConnect };
|
|
69
73
|
//# sourceMappingURL=index.js.map
|
|
70
74
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/connect.gen.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/conn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A,EAC/H,QAAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,iBAAiB,KAAK,CAAA;AAAA,EAC3D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,eAAe,CAAA,CAAE,KAAK;AACrE,CAAA;;;ACxGO,IAAM,uBAAA,GAA0B,CAAC,GAAA,EAAyB,KAAA,KAC/D,GAAA,CAAI,UAAA,CAAW,UAAA,CAAW,YAAY,CAAA,CAAG,IAAI,CAAA,CAAG,MAAM,GAAI,KAAgC","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n PlaygroundWorkflowEchoInput,\n PlaygroundWorkflowEchoListInput,\n PlaygroundWorkflowEchoListOutput,\n PlaygroundWorkflowPingInput,\n PlaygroundWorkflowSubjectsListInput,\n PlaygroundWorkflowSubjectsListOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n\nexport const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({\n queryKey: ['playground', 'workflow', 'subjects-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['subjects-list'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "67.
|
|
3
|
+
"version": "67.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -219,5 +219,5 @@
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:d39419ad88230ec8fa574fef2aaa0fc5b4b3d4d5827a28b9e80431bb2322b0de"
|
|
223
223
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -7353,6 +7353,31 @@ export const bindings: BindingsMap = {
|
|
|
7353
7353
|
],
|
|
7354
7354
|
"path": "/playground/workflow/ping",
|
|
7355
7355
|
"readOnly": false
|
|
7356
|
+
},
|
|
7357
|
+
"subjects-list": {
|
|
7358
|
+
"level": "read",
|
|
7359
|
+
"method": "GET",
|
|
7360
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7361
|
+
"params": [
|
|
7362
|
+
{
|
|
7363
|
+
"in": "query",
|
|
7364
|
+
"name": "last_activity_before"
|
|
7365
|
+
},
|
|
7366
|
+
{
|
|
7367
|
+
"in": "query",
|
|
7368
|
+
"name": "last_activity_after"
|
|
7369
|
+
},
|
|
7370
|
+
{
|
|
7371
|
+
"in": "query",
|
|
7372
|
+
"name": "limit"
|
|
7373
|
+
},
|
|
7374
|
+
{
|
|
7375
|
+
"in": "query",
|
|
7376
|
+
"name": "cursor"
|
|
7377
|
+
}
|
|
7378
|
+
],
|
|
7379
|
+
"path": "/playground/workflow/subjects",
|
|
7380
|
+
"readOnly": true
|
|
7356
7381
|
}
|
|
7357
7382
|
}
|
|
7358
7383
|
},
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -805,6 +805,8 @@ import type {
|
|
|
805
805
|
PlaygroundWorkflowEchoOutput,
|
|
806
806
|
PlaygroundWorkflowPingInput,
|
|
807
807
|
PlaygroundWorkflowPingOutput,
|
|
808
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
809
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
808
810
|
RealtimeArchiveExportInput,
|
|
809
811
|
RealtimeArchiveExportOutput,
|
|
810
812
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1924,6 +1926,7 @@ export interface GeneratedClient {
|
|
|
1924
1926
|
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1925
1927
|
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1926
1928
|
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1929
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
1927
1930
|
};
|
|
1928
1931
|
};
|
|
1929
1932
|
realtime: {
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -406,6 +406,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
406
406
|
'playground_workflow_echo': 'write',
|
|
407
407
|
'playground_workflow_echo-list': 'read',
|
|
408
408
|
'playground_workflow_ping': 'write',
|
|
409
|
+
'playground_workflow_subjects-list': 'read',
|
|
409
410
|
'realtime_archive_export': 'admin',
|
|
410
411
|
'realtime_archive_export_status': 'read',
|
|
411
412
|
'realtime_archive_get': 'read',
|
|
@@ -646,4 +647,5 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
646
647
|
'mail_usage_get': {"label":"Get usage"},
|
|
647
648
|
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
648
649
|
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
650
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
649
651
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
3
|
export * from './connect.gen';
|
|
4
|
-
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
4
|
+
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
@@ -27,6 +27,8 @@ import type {
|
|
|
27
27
|
PlaygroundWorkflowEchoListInput,
|
|
28
28
|
PlaygroundWorkflowEchoListOutput,
|
|
29
29
|
PlaygroundWorkflowPingInput,
|
|
30
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
31
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
30
32
|
} from '../types.gen';
|
|
31
33
|
|
|
32
34
|
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
@@ -103,3 +105,8 @@ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => (
|
|
|
103
105
|
mutationKey: ['playground', 'workflow', 'ping'],
|
|
104
106
|
mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
|
|
105
107
|
});
|
|
108
|
+
|
|
109
|
+
export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
|
|
110
|
+
queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
|
|
111
|
+
queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
|
|
112
|
+
});
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -86101,6 +86101,53 @@ id: string
|
|
|
86101
86101
|
event: string
|
|
86102
86102
|
}
|
|
86103
86103
|
|
|
86104
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
86105
|
+
/**
|
|
86106
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
86107
|
+
*/
|
|
86108
|
+
limit?: number
|
|
86109
|
+
/**
|
|
86110
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
86111
|
+
*/
|
|
86112
|
+
cursor?: string
|
|
86113
|
+
/**
|
|
86114
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
|
|
86115
|
+
*/
|
|
86116
|
+
last_activity_after?: string
|
|
86117
|
+
/**
|
|
86118
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
|
|
86119
|
+
*/
|
|
86120
|
+
last_activity_before?: string
|
|
86121
|
+
}
|
|
86122
|
+
|
|
86123
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
86124
|
+
/**
|
|
86125
|
+
* This page of subjects, most recently active first
|
|
86126
|
+
*/
|
|
86127
|
+
items: {
|
|
86128
|
+
/**
|
|
86129
|
+
* Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
|
|
86130
|
+
*/
|
|
86131
|
+
subject_key: string
|
|
86132
|
+
/**
|
|
86133
|
+
* Human-readable name of the subject
|
|
86134
|
+
*/
|
|
86135
|
+
display_name: string
|
|
86136
|
+
/**
|
|
86137
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
86138
|
+
*/
|
|
86139
|
+
last_activity_at: string
|
|
86140
|
+
}[]
|
|
86141
|
+
/**
|
|
86142
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
86143
|
+
*/
|
|
86144
|
+
has_more: boolean
|
|
86145
|
+
/**
|
|
86146
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
86147
|
+
*/
|
|
86148
|
+
next_cursor: (string | null)
|
|
86149
|
+
}
|
|
86150
|
+
|
|
86104
86151
|
export interface PlaygroundWsEchoInput {
|
|
86105
86152
|
|
|
86106
86153
|
}
|