@notionhq/custom-blocks 0.3.5 → 0.5.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/README.md +2 -2
- package/dist/bridge/SandboxBridge.d.ts +4 -39
- package/dist/bridge/SandboxBridge.d.ts.map +1 -1
- package/dist/bridge/SandboxBridge.js +36 -142
- package/dist/bridge/requests.d.ts +35 -0
- package/dist/bridge/requests.d.ts.map +1 -0
- package/dist/bridge/requests.js +97 -0
- package/dist/dataSources/bridge/resolveDataSourceQuery.d.ts.map +1 -1
- package/dist/dataSources/bridge/resolveDataSourceQuery.js +18 -4
- package/dist/dataSources/bridge/resolveDataSources.js +4 -4
- package/dist/dataSources/createDataSourcePage.d.ts.map +1 -1
- package/dist/dataSources/createDataSourcePage.js +5 -1
- package/dist/dataSources/filters/resolveFilter.d.ts.map +1 -1
- package/dist/dataSources/filters/resolveFilter.js +13 -3
- package/dist/dataSources/filters/types.d.ts +9 -3
- package/dist/dataSources/filters/types.d.ts.map +1 -1
- package/dist/dataSources/properties/resolvePropertyAddress.js +1 -1
- package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.js +1 -1
- package/dist/dataSources/resolvePageDataSource.js +2 -2
- package/dist/dataSources/subscribeToDataSource.d.ts +1 -4
- package/dist/dataSources/subscribeToDataSource.d.ts.map +1 -1
- package/dist/dataSources/subscribeToDataSource.js +2 -3
- package/dist/dataSources/types.d.ts +2 -0
- package/dist/dataSources/types.d.ts.map +1 -1
- package/dist/files/files.d.ts +2 -0
- package/dist/files/files.d.ts.map +1 -0
- package/dist/files/files.js +1 -0
- package/dist/files/icons.d.ts +2 -0
- package/dist/files/icons.d.ts.map +1 -0
- package/dist/files/icons.js +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/initialization/getInitBindingError.js +2 -2
- package/dist/manifest/types.d.ts +5 -4
- package/dist/manifest/types.d.ts.map +1 -1
- package/dist/navigation/openExternalUrl.d.ts.map +1 -1
- package/dist/navigation/openExternalUrl.js +2 -1
- package/dist/pages/bridge/getPageForDataSource.d.ts.map +1 -1
- package/dist/pages/bridge/getPageForDataSource.js +3 -2
- package/dist/pages/bridge/sendCreatePageRequest.d.ts.map +1 -1
- package/dist/pages/bridge/sendCreatePageRequest.js +2 -1
- package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.d.ts +14 -2
- package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.d.ts.map +1 -1
- package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.js +0 -1
- package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.d.ts.map +1 -1
- package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.js +0 -8
- package/dist/pages/bridge/updatePage.d.ts.map +1 -1
- package/dist/pages/bridge/updatePage.js +20 -5
- package/dist/pages/createPage.d.ts.map +1 -1
- package/dist/pages/createPage.js +5 -1
- package/dist/pages/openPage.d.ts.map +1 -1
- package/dist/pages/openPage.js +2 -1
- package/dist/pages/properties/getPropertyByKey.js +2 -2
- package/dist/pages/types.d.ts +10 -14
- package/dist/pages/types.d.ts.map +1 -1
- package/dist/protocol/compatibility/protocol3To10/dataSourceBindings.d.ts +530 -0
- package/dist/protocol/compatibility/protocol3To10/dataSourceBindings.js +25 -0
- package/dist/protocol/compatibility/protocol3To5/bridgePage.d.ts +12 -11
- package/dist/protocol/compatibility/protocol3To5/bridgePage.js +3 -3
- package/dist/protocol/context/containingPage.d.ts +3 -0
- package/dist/protocol/context/messages/pageChanged.d.ts +3 -0
- package/dist/protocol/context/messages/parentChanged.d.ts +3 -0
- package/dist/protocol/context/parent.d.ts +5 -0
- package/dist/protocol/context/parent.js +6 -1
- package/dist/protocol/dataSources/bridgeArchiveStatus.d.ts +3 -0
- package/dist/protocol/dataSources/bridgeArchiveStatus.js +6 -0
- package/dist/protocol/dataSources/bridgeDataSourceBinding.d.ts +3 -11
- package/dist/protocol/dataSources/bridgeDataSourceBinding.js +5 -5
- package/dist/protocol/dataSources/bridgeDataSourceBindings.d.ts +2 -10
- package/dist/protocol/dataSources/{collectionPointer.d.ts → dataSourcePointer.d.ts} +2 -2
- package/dist/protocol/dataSources/{collectionPointer.js → dataSourcePointer.js} +1 -1
- package/dist/protocol/dataSources/{collectionSchema.d.ts → dataSourceSchema.d.ts} +2 -10
- package/dist/protocol/dataSources/{collectionSchema.js → dataSourceSchema.js} +1 -1
- package/dist/protocol/dataSources/filters/bridgeDataSourceFilter.d.ts +1458 -12
- package/dist/protocol/dataSources/filters/bridgeDataSourceFilterCondition.d.ts +729 -6
- package/dist/protocol/dataSources/filters/bridgeDataSourceFilterCondition.js +14 -2
- package/dist/protocol/dataSources/filters/peopleFilterOperator.d.ts +3 -3
- package/dist/protocol/dataSources/filters/peopleFilterOperator.js +1 -1
- package/dist/protocol/dataSources/filters/timestampFilterOperator.d.ts +354 -0
- package/dist/protocol/dataSources/filters/timestampFilterOperator.js +4 -0
- package/dist/protocol/dataSources/messages/dataSourcesChanged.d.ts +2 -10
- package/dist/protocol/dataSources/messages/queryDataSource.d.ts +1485 -38
- package/dist/protocol/dataSources/messages/queryDataSource.js +2 -0
- package/dist/protocol/dataSources/notionDataSource.d.ts +3 -19
- package/dist/protocol/dataSources/notionDataSource.js +5 -5
- package/dist/protocol/dataSources/properties/propertySchema.d.ts +4 -13
- package/dist/protocol/dataSources/properties/propertySchema.js +2 -6
- package/dist/protocol/dataSources/resolveDataSourceBinding.d.ts +4 -4
- package/dist/protocol/dataSources/resolveDataSourceBinding.js +2 -2
- package/dist/protocol/files.d.ts +32 -0
- package/dist/protocol/files.js +17 -0
- package/dist/protocol/handshake/connect.d.ts +15 -4
- package/dist/protocol/handshake/init.d.ts +23 -14
- package/dist/protocol/icons.d.ts +32 -0
- package/dist/protocol/icons.js +39 -0
- package/dist/protocol/index.d.ts +25 -19
- package/dist/protocol/index.js +15 -9
- package/dist/protocol/manifest/grants.d.ts +48 -0
- package/dist/protocol/manifest/grants.js +19 -0
- package/dist/protocol/manifest/manifest.d.ts +39 -16
- package/dist/protocol/manifest/manifest.js +17 -11
- package/dist/protocol/messages/hostToSandbox.d.ts +196 -177
- package/dist/protocol/messages/invalidHostMessage.d.ts +2 -0
- package/dist/protocol/messages/invalidHostMessage.js +2 -0
- package/dist/protocol/messages/invalidSandboxMessage.d.ts +2 -0
- package/dist/protocol/messages/invalidSandboxMessage.js +2 -0
- package/dist/protocol/messages/sandboxToHost.d.ts +1571 -50
- package/dist/protocol/navigation/openExternalUrl.d.ts +2 -2
- package/dist/protocol/pages/bridgePage.d.ts +12 -12
- package/dist/protocol/pages/bridgePage.js +3 -4
- package/dist/protocol/pages/makeBridgePage.d.ts +3 -1
- package/dist/protocol/pages/messages/createPage.d.ts +645 -62
- package/dist/protocol/pages/messages/createPage.js +27 -13
- package/dist/protocol/pages/messages/getPage.d.ts +38 -37
- package/dist/protocol/pages/messages/openPage.d.ts +2 -2
- package/dist/protocol/pages/messages/updatePage.d.ts +47 -48
- package/dist/protocol/pages/messages/updatePage.js +3 -3
- package/dist/protocol/pages/pageAppearance.d.ts +9 -28
- package/dist/protocol/pages/pageAppearance.js +11 -31
- package/dist/protocol/pages/properties/bridgePagePropertyMaps.d.ts +4 -20
- package/dist/protocol/pages/properties/bridgePagePropertyValue.d.ts +2 -10
- package/dist/protocol/pages/properties/bridgePagePropertyValue.js +2 -12
- package/dist/protocol/users/makeBridgeUser.d.ts +3 -1
- package/dist/protocol/users/messages/getUser.d.ts +2 -2
- package/dist/protocol/users/messages/listUsers.d.ts +2 -2
- package/dist/protocol/utils/errors.d.ts +6 -4
- package/dist/protocol/utils/errors.js +3 -3
- package/dist/protocol/utils/ids.d.ts +2 -0
- package/dist/protocol/utils/ids.js +1 -0
- package/dist/protocol/utils/protocolVersion.d.ts +3 -1
- package/dist/protocol/utils/protocolVersion.js +5 -1
- package/dist/protocol/utils/readRequestId.d.ts +2 -0
- package/dist/protocol/utils/readRequestId.js +7 -0
- package/dist/react/NotionCustomBlock.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.js +1 -15
- package/dist/users/getUser.d.ts.map +1 -1
- package/dist/users/getUser.js +2 -1
- package/dist/users/listUsers.d.ts.map +1 -1
- package/dist/users/listUsers.js +4 -2
- package/dist/utils/version.js +1 -1
- package/docs/data-sources.md +85 -83
- package/docs/deployment.md +4 -5
- package/docs/errors.md +47 -5
- package/docs/grants.md +127 -0
- package/docs/pages.md +105 -56
- package/docs/users.md +2 -2
- package/package.json +1 -1
- package/src/bridge/SandboxBridge.ts +44 -243
- package/src/bridge/requests.ts +138 -0
- package/src/dataSources/bridge/resolveDataSourceQuery.ts +24 -4
- package/src/dataSources/bridge/resolveDataSources.ts +4 -4
- package/src/dataSources/createDataSourcePage.ts +5 -1
- package/src/dataSources/filters/resolveFilter.ts +12 -3
- package/src/dataSources/filters/types.ts +7 -4
- package/src/dataSources/properties/resolvePropertyAddress.ts +1 -1
- package/src/dataSources/properties/resolvePropertyWriteMapForDataSource.ts +1 -1
- package/src/dataSources/resolvePageDataSource.ts +2 -2
- package/src/dataSources/subscribeToDataSource.ts +7 -19
- package/src/dataSources/types.ts +3 -0
- package/src/files/files.ts +5 -0
- package/src/files/icons.ts +9 -0
- package/src/index.ts +10 -11
- package/src/initialization/getInitBindingError.ts +2 -2
- package/src/manifest/types.ts +10 -4
- package/src/navigation/openExternalUrl.ts +5 -1
- package/src/pages/bridge/getPageForDataSource.ts +6 -2
- package/src/pages/bridge/sendCreatePageRequest.ts +5 -1
- package/src/pages/bridge/toNotionPageFieldsFromBridgePage.ts +0 -1
- package/src/pages/bridge/toNotionPagePropertyFromBridgeProperty.ts +0 -8
- package/src/pages/bridge/updatePage.ts +29 -9
- package/src/pages/createPage.ts +5 -1
- package/src/pages/openPage.ts +5 -1
- package/src/pages/properties/getPropertyByKey.ts +2 -2
- package/src/pages/types.ts +14 -16
- package/src/react/NotionCustomBlock.tsx +1 -16
- package/src/users/getUser.ts +5 -1
- package/src/users/listUsers.ts +9 -4
- package/dist/bridge/pendingRequests.d.ts +0 -14
- package/dist/bridge/pendingRequests.d.ts.map +0 -1
- package/dist/bridge/pendingRequests.js +0 -28
- package/dist/protocol/dataSources/filters/createdByFilterOperator.d.ts +0 -17
- package/dist/protocol/dataSources/filters/createdByFilterOperator.js +0 -11
- package/dist/protocol/manifest/capabilities.d.ts +0 -37
- package/dist/protocol/manifest/capabilities.js +0 -13
- package/dist/protocol/pages/properties/fileInput.d.ts +0 -16
- package/dist/protocol/pages/properties/fileInput.js +0 -16
- package/dist/react/DebugMessageLog.d.ts +0 -2
- package/dist/react/DebugMessageLog.d.ts.map +0 -1
- package/dist/react/DebugMessageLog.js +0 -23
- package/docs/capabilities.md +0 -111
- package/src/bridge/pendingRequests.ts +0 -28
- package/src/react/DebugMessageLog.tsx +0 -34
|
@@ -21,6 +21,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
21
21
|
}, undefined>, v.ObjectSchema<{
|
|
22
22
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
23
23
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
24
|
+
}, undefined>, v.ObjectSchema<{
|
|
25
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
26
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
24
27
|
}, undefined>, v.ObjectSchema<{
|
|
25
28
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
26
29
|
}, undefined>], undefined>;
|
|
@@ -44,6 +47,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
44
47
|
}, undefined>, v.ObjectSchema<{
|
|
45
48
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
46
49
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
50
|
+
}, undefined>, v.ObjectSchema<{
|
|
51
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
52
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
47
53
|
}, undefined>, v.ObjectSchema<{
|
|
48
54
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
49
55
|
}, undefined>], undefined>;
|
|
@@ -70,22 +76,33 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
70
76
|
readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
71
77
|
readonly name: v.StringSchema<undefined>;
|
|
72
78
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
73
|
-
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "
|
|
79
|
+
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
|
|
74
80
|
}, undefined>, undefined>, {}>;
|
|
75
81
|
}, undefined>, undefined>, {}>;
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
82
|
+
readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
83
|
+
readonly name: v.StringSchema<undefined>;
|
|
84
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
86
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
87
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
88
|
+
}, undefined>, v.ObjectSchema<{
|
|
89
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
90
|
+
readonly url: v.StringSchema<undefined>;
|
|
91
|
+
}, undefined>], undefined>, undefined>;
|
|
92
|
+
}, undefined>, undefined>, undefined>;
|
|
93
|
+
readonly grants: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
94
|
+
readonly action: v.StringSchema<undefined>;
|
|
95
|
+
readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
79
96
|
}, undefined>, undefined>, undefined>;
|
|
80
97
|
}, undefined>;
|
|
81
98
|
readonly dataSources: v.ObjectSchema<{
|
|
82
99
|
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
83
|
-
readonly
|
|
100
|
+
readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
|
|
84
101
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
85
102
|
readonly table: v.StringSchema<undefined>;
|
|
86
103
|
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
87
104
|
}, undefined>, undefined>;
|
|
88
|
-
readonly
|
|
105
|
+
readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
89
106
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
90
107
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
91
108
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -196,14 +213,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
196
213
|
readonly name: v.StringSchema<undefined>;
|
|
197
214
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
198
215
|
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
199
|
-
}, undefined>, v.ObjectSchema<{
|
|
200
|
-
readonly name: v.StringSchema<undefined>;
|
|
201
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
203
|
-
}, undefined>, v.ObjectSchema<{
|
|
204
|
-
readonly name: v.StringSchema<undefined>;
|
|
205
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
206
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
207
216
|
}, undefined>, v.ObjectSchema<{
|
|
208
217
|
readonly name: v.StringSchema<undefined>;
|
|
209
218
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -268,6 +277,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
268
277
|
}, undefined>, v.ObjectSchema<{
|
|
269
278
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
270
279
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
280
|
+
}, undefined>, v.ObjectSchema<{
|
|
281
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
282
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
271
283
|
}, undefined>, v.ObjectSchema<{
|
|
272
284
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
273
285
|
}, undefined>], undefined>;
|
|
@@ -293,6 +305,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
293
305
|
}, undefined>, v.ObjectSchema<{
|
|
294
306
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
295
307
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
308
|
+
}, undefined>, v.ObjectSchema<{
|
|
309
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
310
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
296
311
|
}, undefined>, v.ObjectSchema<{
|
|
297
312
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
298
313
|
}, undefined>], undefined>;
|
|
@@ -313,12 +328,12 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
313
328
|
readonly type: v.LiteralSchema<"dataSourcesChanged", undefined>;
|
|
314
329
|
readonly dataSources: v.ObjectSchema<{
|
|
315
330
|
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
316
|
-
readonly
|
|
331
|
+
readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
|
|
317
332
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
318
333
|
readonly table: v.StringSchema<undefined>;
|
|
319
334
|
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
320
335
|
}, undefined>, undefined>;
|
|
321
|
-
readonly
|
|
336
|
+
readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
322
337
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
323
338
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
324
339
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -429,14 +444,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
429
444
|
readonly name: v.StringSchema<undefined>;
|
|
430
445
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
431
446
|
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
432
|
-
}, undefined>, v.ObjectSchema<{
|
|
433
|
-
readonly name: v.StringSchema<undefined>;
|
|
434
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
435
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
436
|
-
}, undefined>, v.ObjectSchema<{
|
|
437
|
-
readonly name: v.StringSchema<undefined>;
|
|
438
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
439
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
440
447
|
}, undefined>, v.ObjectSchema<{
|
|
441
448
|
readonly name: v.StringSchema<undefined>;
|
|
442
449
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -541,6 +548,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
541
548
|
}, undefined>;
|
|
542
549
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
543
550
|
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
551
|
+
readonly requestId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
544
552
|
readonly reason: v.StringSchema<undefined>;
|
|
545
553
|
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
546
554
|
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
@@ -564,6 +572,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
564
572
|
}, undefined>, v.ObjectSchema<{
|
|
565
573
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
566
574
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
575
|
+
}, undefined>, v.ObjectSchema<{
|
|
576
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
577
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
567
578
|
}, undefined>, v.ObjectSchema<{
|
|
568
579
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
569
580
|
}, undefined>], undefined>;
|
|
@@ -706,17 +717,17 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
706
717
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
707
718
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
708
719
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
709
|
-
readonly name: v.StringSchema<undefined>;
|
|
710
720
|
readonly external: v.ObjectSchema<{
|
|
711
721
|
readonly url: v.StringSchema<undefined>;
|
|
712
722
|
}, undefined>;
|
|
723
|
+
readonly name: v.StringSchema<undefined>;
|
|
713
724
|
}, undefined>, v.ObjectSchema<{
|
|
714
725
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
715
|
-
readonly name: v.StringSchema<undefined>;
|
|
716
726
|
readonly file: v.ObjectSchema<{
|
|
717
727
|
readonly url: v.StringSchema<undefined>;
|
|
718
728
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
719
729
|
}, undefined>;
|
|
730
|
+
readonly name: v.StringSchema<undefined>;
|
|
720
731
|
}, undefined>], undefined>, undefined>;
|
|
721
732
|
}, undefined>, v.ObjectSchema<{
|
|
722
733
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -753,10 +764,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
753
764
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
754
765
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
755
766
|
}, undefined>, undefined>;
|
|
756
|
-
}, undefined>, v.ObjectSchema<{
|
|
757
|
-
readonly id: v.StringSchema<undefined>;
|
|
758
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
759
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
760
767
|
}, undefined>, v.ObjectSchema<{
|
|
761
768
|
readonly id: v.StringSchema<undefined>;
|
|
762
769
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -769,10 +776,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
769
776
|
readonly id: v.StringSchema<undefined>;
|
|
770
777
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
771
778
|
readonly formula: v.StringSchema<undefined>;
|
|
772
|
-
}, undefined>, v.ObjectSchema<{
|
|
773
|
-
readonly id: v.StringSchema<undefined>;
|
|
774
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
775
|
-
readonly location: v.StringSchema<undefined>;
|
|
776
779
|
}, undefined>, v.ObjectSchema<{
|
|
777
780
|
readonly id: v.StringSchema<undefined>;
|
|
778
781
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -792,10 +795,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
792
795
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
793
796
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
794
797
|
}, undefined>, undefined>, null>;
|
|
795
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
796
798
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
797
799
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
798
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
800
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
801
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
802
|
+
readonly icon: v.LooseObjectSchema<{
|
|
803
|
+
readonly name: v.StringSchema<undefined>;
|
|
804
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
805
|
+
}, undefined>;
|
|
806
|
+
}, undefined>, v.ObjectSchema<{
|
|
799
807
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
800
808
|
readonly emoji: v.StringSchema<undefined>;
|
|
801
809
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -866,6 +874,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
866
874
|
}, undefined>, v.ObjectSchema<{
|
|
867
875
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
868
876
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
877
|
+
}, undefined>, v.ObjectSchema<{
|
|
878
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
879
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
869
880
|
}, undefined>, v.ObjectSchema<{
|
|
870
881
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
871
882
|
}, undefined>], undefined>;
|
|
@@ -1008,17 +1019,17 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1008
1019
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1009
1020
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1010
1021
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1011
|
-
readonly name: v.StringSchema<undefined>;
|
|
1012
1022
|
readonly external: v.ObjectSchema<{
|
|
1013
1023
|
readonly url: v.StringSchema<undefined>;
|
|
1014
1024
|
}, undefined>;
|
|
1025
|
+
readonly name: v.StringSchema<undefined>;
|
|
1015
1026
|
}, undefined>, v.ObjectSchema<{
|
|
1016
1027
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1017
|
-
readonly name: v.StringSchema<undefined>;
|
|
1018
1028
|
readonly file: v.ObjectSchema<{
|
|
1019
1029
|
readonly url: v.StringSchema<undefined>;
|
|
1020
1030
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1021
1031
|
}, undefined>;
|
|
1032
|
+
readonly name: v.StringSchema<undefined>;
|
|
1022
1033
|
}, undefined>], undefined>, undefined>;
|
|
1023
1034
|
}, undefined>, v.ObjectSchema<{
|
|
1024
1035
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1055,10 +1066,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1055
1066
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1056
1067
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1057
1068
|
}, undefined>, undefined>;
|
|
1058
|
-
}, undefined>, v.ObjectSchema<{
|
|
1059
|
-
readonly id: v.StringSchema<undefined>;
|
|
1060
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1061
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1062
1069
|
}, undefined>, v.ObjectSchema<{
|
|
1063
1070
|
readonly id: v.StringSchema<undefined>;
|
|
1064
1071
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -1071,10 +1078,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1071
1078
|
readonly id: v.StringSchema<undefined>;
|
|
1072
1079
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1073
1080
|
readonly formula: v.StringSchema<undefined>;
|
|
1074
|
-
}, undefined>, v.ObjectSchema<{
|
|
1075
|
-
readonly id: v.StringSchema<undefined>;
|
|
1076
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1077
|
-
readonly location: v.StringSchema<undefined>;
|
|
1078
1081
|
}, undefined>, v.ObjectSchema<{
|
|
1079
1082
|
readonly id: v.StringSchema<undefined>;
|
|
1080
1083
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -1094,10 +1097,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1094
1097
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1095
1098
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1096
1099
|
}, undefined>, undefined>, null>;
|
|
1097
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1098
1100
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1099
1101
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1100
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
1102
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
1103
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
1104
|
+
readonly icon: v.LooseObjectSchema<{
|
|
1105
|
+
readonly name: v.StringSchema<undefined>;
|
|
1106
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
1107
|
+
}, undefined>;
|
|
1108
|
+
}, undefined>, v.ObjectSchema<{
|
|
1101
1109
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1102
1110
|
readonly emoji: v.StringSchema<undefined>;
|
|
1103
1111
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1167,6 +1175,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1167
1175
|
}, undefined>, v.ObjectSchema<{
|
|
1168
1176
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1169
1177
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1178
|
+
}, undefined>, v.ObjectSchema<{
|
|
1179
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
1180
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
1170
1181
|
}, undefined>, v.ObjectSchema<{
|
|
1171
1182
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1172
1183
|
}, undefined>], undefined>;
|
|
@@ -1309,17 +1320,17 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1309
1320
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1310
1321
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1311
1322
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1312
|
-
readonly name: v.StringSchema<undefined>;
|
|
1313
1323
|
readonly external: v.ObjectSchema<{
|
|
1314
1324
|
readonly url: v.StringSchema<undefined>;
|
|
1315
1325
|
}, undefined>;
|
|
1326
|
+
readonly name: v.StringSchema<undefined>;
|
|
1316
1327
|
}, undefined>, v.ObjectSchema<{
|
|
1317
1328
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1318
|
-
readonly name: v.StringSchema<undefined>;
|
|
1319
1329
|
readonly file: v.ObjectSchema<{
|
|
1320
1330
|
readonly url: v.StringSchema<undefined>;
|
|
1321
1331
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1322
1332
|
}, undefined>;
|
|
1333
|
+
readonly name: v.StringSchema<undefined>;
|
|
1323
1334
|
}, undefined>], undefined>, undefined>;
|
|
1324
1335
|
}, undefined>, v.ObjectSchema<{
|
|
1325
1336
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1356,10 +1367,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1356
1367
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1357
1368
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1358
1369
|
}, undefined>, undefined>;
|
|
1359
|
-
}, undefined>, v.ObjectSchema<{
|
|
1360
|
-
readonly id: v.StringSchema<undefined>;
|
|
1361
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1362
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1363
1370
|
}, undefined>, v.ObjectSchema<{
|
|
1364
1371
|
readonly id: v.StringSchema<undefined>;
|
|
1365
1372
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -1372,10 +1379,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1372
1379
|
readonly id: v.StringSchema<undefined>;
|
|
1373
1380
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1374
1381
|
readonly formula: v.StringSchema<undefined>;
|
|
1375
|
-
}, undefined>, v.ObjectSchema<{
|
|
1376
|
-
readonly id: v.StringSchema<undefined>;
|
|
1377
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1378
|
-
readonly location: v.StringSchema<undefined>;
|
|
1379
1382
|
}, undefined>, v.ObjectSchema<{
|
|
1380
1383
|
readonly id: v.StringSchema<undefined>;
|
|
1381
1384
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -1395,10 +1398,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1395
1398
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1396
1399
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1397
1400
|
}, undefined>, undefined>, null>;
|
|
1398
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1399
1401
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1400
1402
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1401
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
1403
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
1404
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
1405
|
+
readonly icon: v.LooseObjectSchema<{
|
|
1406
|
+
readonly name: v.StringSchema<undefined>;
|
|
1407
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
1408
|
+
}, undefined>;
|
|
1409
|
+
}, undefined>, v.ObjectSchema<{
|
|
1402
1410
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1403
1411
|
readonly emoji: v.StringSchema<undefined>;
|
|
1404
1412
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1468,6 +1476,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1468
1476
|
}, undefined>, v.ObjectSchema<{
|
|
1469
1477
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1470
1478
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1479
|
+
}, undefined>, v.ObjectSchema<{
|
|
1480
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
1481
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
1471
1482
|
}, undefined>, v.ObjectSchema<{
|
|
1472
1483
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1473
1484
|
}, undefined>], undefined>;
|
|
@@ -1610,17 +1621,17 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1610
1621
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1611
1622
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1612
1623
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1613
|
-
readonly name: v.StringSchema<undefined>;
|
|
1614
1624
|
readonly external: v.ObjectSchema<{
|
|
1615
1625
|
readonly url: v.StringSchema<undefined>;
|
|
1616
1626
|
}, undefined>;
|
|
1627
|
+
readonly name: v.StringSchema<undefined>;
|
|
1617
1628
|
}, undefined>, v.ObjectSchema<{
|
|
1618
1629
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1619
|
-
readonly name: v.StringSchema<undefined>;
|
|
1620
1630
|
readonly file: v.ObjectSchema<{
|
|
1621
1631
|
readonly url: v.StringSchema<undefined>;
|
|
1622
1632
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1623
1633
|
}, undefined>;
|
|
1634
|
+
readonly name: v.StringSchema<undefined>;
|
|
1624
1635
|
}, undefined>], undefined>, undefined>;
|
|
1625
1636
|
}, undefined>, v.ObjectSchema<{
|
|
1626
1637
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1657,10 +1668,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1657
1668
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1658
1669
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1659
1670
|
}, undefined>, undefined>;
|
|
1660
|
-
}, undefined>, v.ObjectSchema<{
|
|
1661
|
-
readonly id: v.StringSchema<undefined>;
|
|
1662
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1663
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1664
1671
|
}, undefined>, v.ObjectSchema<{
|
|
1665
1672
|
readonly id: v.StringSchema<undefined>;
|
|
1666
1673
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -1673,10 +1680,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1673
1680
|
readonly id: v.StringSchema<undefined>;
|
|
1674
1681
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1675
1682
|
readonly formula: v.StringSchema<undefined>;
|
|
1676
|
-
}, undefined>, v.ObjectSchema<{
|
|
1677
|
-
readonly id: v.StringSchema<undefined>;
|
|
1678
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1679
|
-
readonly location: v.StringSchema<undefined>;
|
|
1680
1683
|
}, undefined>, v.ObjectSchema<{
|
|
1681
1684
|
readonly id: v.StringSchema<undefined>;
|
|
1682
1685
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -1696,10 +1699,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1696
1699
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1697
1700
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1698
1701
|
}, undefined>, undefined>, null>;
|
|
1699
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1700
1702
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1701
1703
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1702
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
1704
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
1705
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
1706
|
+
readonly icon: v.LooseObjectSchema<{
|
|
1707
|
+
readonly name: v.StringSchema<undefined>;
|
|
1708
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
1709
|
+
}, undefined>;
|
|
1710
|
+
}, undefined>, v.ObjectSchema<{
|
|
1703
1711
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1704
1712
|
readonly emoji: v.StringSchema<undefined>;
|
|
1705
1713
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1773,6 +1781,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
1773
1781
|
}, undefined>, v.ObjectSchema<{
|
|
1774
1782
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1775
1783
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1784
|
+
}, undefined>, v.ObjectSchema<{
|
|
1785
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
1786
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
1776
1787
|
}, undefined>, v.ObjectSchema<{
|
|
1777
1788
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1778
1789
|
}, undefined>], undefined>;
|
|
@@ -1796,6 +1807,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
1796
1807
|
}, undefined>, v.ObjectSchema<{
|
|
1797
1808
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1798
1809
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1810
|
+
}, undefined>, v.ObjectSchema<{
|
|
1811
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
1812
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
1799
1813
|
}, undefined>, v.ObjectSchema<{
|
|
1800
1814
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1801
1815
|
}, undefined>], undefined>;
|
|
@@ -1822,22 +1836,33 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
1822
1836
|
readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1823
1837
|
readonly name: v.StringSchema<undefined>;
|
|
1824
1838
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1825
|
-
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "
|
|
1839
|
+
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
|
|
1826
1840
|
}, undefined>, undefined>, {}>;
|
|
1827
1841
|
}, undefined>, undefined>, {}>;
|
|
1828
|
-
readonly
|
|
1829
|
-
readonly
|
|
1830
|
-
readonly
|
|
1842
|
+
readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1843
|
+
readonly name: v.StringSchema<undefined>;
|
|
1844
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1845
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1846
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1847
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
1848
|
+
}, undefined>, v.ObjectSchema<{
|
|
1849
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1850
|
+
readonly url: v.StringSchema<undefined>;
|
|
1851
|
+
}, undefined>], undefined>, undefined>;
|
|
1852
|
+
}, undefined>, undefined>, undefined>;
|
|
1853
|
+
readonly grants: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1854
|
+
readonly action: v.StringSchema<undefined>;
|
|
1855
|
+
readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1831
1856
|
}, undefined>, undefined>, undefined>;
|
|
1832
1857
|
}, undefined>;
|
|
1833
1858
|
readonly dataSources: v.ObjectSchema<{
|
|
1834
1859
|
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1835
|
-
readonly
|
|
1860
|
+
readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
|
|
1836
1861
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1837
1862
|
readonly table: v.StringSchema<undefined>;
|
|
1838
1863
|
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
1839
1864
|
}, undefined>, undefined>;
|
|
1840
|
-
readonly
|
|
1865
|
+
readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
1841
1866
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
1842
1867
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1843
1868
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -1948,14 +1973,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
1948
1973
|
readonly name: v.StringSchema<undefined>;
|
|
1949
1974
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1950
1975
|
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
1951
|
-
}, undefined>, v.ObjectSchema<{
|
|
1952
|
-
readonly name: v.StringSchema<undefined>;
|
|
1953
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1954
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1955
|
-
}, undefined>, v.ObjectSchema<{
|
|
1956
|
-
readonly name: v.StringSchema<undefined>;
|
|
1957
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1958
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1959
1976
|
}, undefined>, v.ObjectSchema<{
|
|
1960
1977
|
readonly name: v.StringSchema<undefined>;
|
|
1961
1978
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2020,6 +2037,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2020
2037
|
}, undefined>, v.ObjectSchema<{
|
|
2021
2038
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2022
2039
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2040
|
+
}, undefined>, v.ObjectSchema<{
|
|
2041
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
2042
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
2023
2043
|
}, undefined>, v.ObjectSchema<{
|
|
2024
2044
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2025
2045
|
}, undefined>], undefined>;
|
|
@@ -2045,6 +2065,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2045
2065
|
}, undefined>, v.ObjectSchema<{
|
|
2046
2066
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2047
2067
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2068
|
+
}, undefined>, v.ObjectSchema<{
|
|
2069
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
2070
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
2048
2071
|
}, undefined>, v.ObjectSchema<{
|
|
2049
2072
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2050
2073
|
}, undefined>], undefined>;
|
|
@@ -2065,12 +2088,12 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2065
2088
|
readonly type: v.LiteralSchema<"dataSourcesChanged", undefined>;
|
|
2066
2089
|
readonly dataSources: v.ObjectSchema<{
|
|
2067
2090
|
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
2068
|
-
readonly
|
|
2091
|
+
readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
|
|
2069
2092
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
2070
2093
|
readonly table: v.StringSchema<undefined>;
|
|
2071
2094
|
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
2072
2095
|
}, undefined>, undefined>;
|
|
2073
|
-
readonly
|
|
2096
|
+
readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
2074
2097
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
2075
2098
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2076
2099
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -2181,14 +2204,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2181
2204
|
readonly name: v.StringSchema<undefined>;
|
|
2182
2205
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2183
2206
|
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
2184
|
-
}, undefined>, v.ObjectSchema<{
|
|
2185
|
-
readonly name: v.StringSchema<undefined>;
|
|
2186
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2187
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2188
|
-
}, undefined>, v.ObjectSchema<{
|
|
2189
|
-
readonly name: v.StringSchema<undefined>;
|
|
2190
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2191
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
2192
2207
|
}, undefined>, v.ObjectSchema<{
|
|
2193
2208
|
readonly name: v.StringSchema<undefined>;
|
|
2194
2209
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2293,6 +2308,7 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2293
2308
|
}, undefined>;
|
|
2294
2309
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2295
2310
|
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
2311
|
+
readonly requestId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2296
2312
|
readonly reason: v.StringSchema<undefined>;
|
|
2297
2313
|
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2298
2314
|
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
@@ -2316,6 +2332,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2316
2332
|
}, undefined>, v.ObjectSchema<{
|
|
2317
2333
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2318
2334
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2335
|
+
}, undefined>, v.ObjectSchema<{
|
|
2336
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
2337
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
2319
2338
|
}, undefined>, v.ObjectSchema<{
|
|
2320
2339
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2321
2340
|
}, undefined>], undefined>;
|
|
@@ -2458,17 +2477,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2458
2477
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
2459
2478
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2460
2479
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2461
|
-
readonly name: v.StringSchema<undefined>;
|
|
2462
2480
|
readonly external: v.ObjectSchema<{
|
|
2463
2481
|
readonly url: v.StringSchema<undefined>;
|
|
2464
2482
|
}, undefined>;
|
|
2483
|
+
readonly name: v.StringSchema<undefined>;
|
|
2465
2484
|
}, undefined>, v.ObjectSchema<{
|
|
2466
2485
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2467
|
-
readonly name: v.StringSchema<undefined>;
|
|
2468
2486
|
readonly file: v.ObjectSchema<{
|
|
2469
2487
|
readonly url: v.StringSchema<undefined>;
|
|
2470
2488
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2471
2489
|
}, undefined>;
|
|
2490
|
+
readonly name: v.StringSchema<undefined>;
|
|
2472
2491
|
}, undefined>], undefined>, undefined>;
|
|
2473
2492
|
}, undefined>, v.ObjectSchema<{
|
|
2474
2493
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -2505,10 +2524,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2505
2524
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2506
2525
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2507
2526
|
}, undefined>, undefined>;
|
|
2508
|
-
}, undefined>, v.ObjectSchema<{
|
|
2509
|
-
readonly id: v.StringSchema<undefined>;
|
|
2510
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2511
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2512
2527
|
}, undefined>, v.ObjectSchema<{
|
|
2513
2528
|
readonly id: v.StringSchema<undefined>;
|
|
2514
2529
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -2521,10 +2536,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2521
2536
|
readonly id: v.StringSchema<undefined>;
|
|
2522
2537
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
2523
2538
|
readonly formula: v.StringSchema<undefined>;
|
|
2524
|
-
}, undefined>, v.ObjectSchema<{
|
|
2525
|
-
readonly id: v.StringSchema<undefined>;
|
|
2526
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
2527
|
-
readonly location: v.StringSchema<undefined>;
|
|
2528
2539
|
}, undefined>, v.ObjectSchema<{
|
|
2529
2540
|
readonly id: v.StringSchema<undefined>;
|
|
2530
2541
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -2544,10 +2555,15 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2544
2555
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2545
2556
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2546
2557
|
}, undefined>, undefined>, null>;
|
|
2547
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2548
2558
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2549
2559
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2550
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
2560
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
2561
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
2562
|
+
readonly icon: v.LooseObjectSchema<{
|
|
2563
|
+
readonly name: v.StringSchema<undefined>;
|
|
2564
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
2565
|
+
}, undefined>;
|
|
2566
|
+
}, undefined>, v.ObjectSchema<{
|
|
2551
2567
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2552
2568
|
readonly emoji: v.StringSchema<undefined>;
|
|
2553
2569
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2683,6 +2699,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2683
2699
|
}, undefined>, v.ObjectSchema<{
|
|
2684
2700
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2685
2701
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2702
|
+
}, undefined>, v.ObjectSchema<{
|
|
2703
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
2704
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
2686
2705
|
}, undefined>, v.ObjectSchema<{
|
|
2687
2706
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2688
2707
|
}, undefined>], undefined>;
|
|
@@ -2825,17 +2844,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2825
2844
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
2826
2845
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2827
2846
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2828
|
-
readonly name: v.StringSchema<undefined>;
|
|
2829
2847
|
readonly external: v.ObjectSchema<{
|
|
2830
2848
|
readonly url: v.StringSchema<undefined>;
|
|
2831
2849
|
}, undefined>;
|
|
2850
|
+
readonly name: v.StringSchema<undefined>;
|
|
2832
2851
|
}, undefined>, v.ObjectSchema<{
|
|
2833
2852
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2834
|
-
readonly name: v.StringSchema<undefined>;
|
|
2835
2853
|
readonly file: v.ObjectSchema<{
|
|
2836
2854
|
readonly url: v.StringSchema<undefined>;
|
|
2837
2855
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2838
2856
|
}, undefined>;
|
|
2857
|
+
readonly name: v.StringSchema<undefined>;
|
|
2839
2858
|
}, undefined>], undefined>, undefined>;
|
|
2840
2859
|
}, undefined>, v.ObjectSchema<{
|
|
2841
2860
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -2872,10 +2891,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2872
2891
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2873
2892
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2874
2893
|
}, undefined>, undefined>;
|
|
2875
|
-
}, undefined>, v.ObjectSchema<{
|
|
2876
|
-
readonly id: v.StringSchema<undefined>;
|
|
2877
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2878
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2879
2894
|
}, undefined>, v.ObjectSchema<{
|
|
2880
2895
|
readonly id: v.StringSchema<undefined>;
|
|
2881
2896
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -2888,10 +2903,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2888
2903
|
readonly id: v.StringSchema<undefined>;
|
|
2889
2904
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
2890
2905
|
readonly formula: v.StringSchema<undefined>;
|
|
2891
|
-
}, undefined>, v.ObjectSchema<{
|
|
2892
|
-
readonly id: v.StringSchema<undefined>;
|
|
2893
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
2894
|
-
readonly location: v.StringSchema<undefined>;
|
|
2895
2906
|
}, undefined>, v.ObjectSchema<{
|
|
2896
2907
|
readonly id: v.StringSchema<undefined>;
|
|
2897
2908
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -2911,10 +2922,15 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2911
2922
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2912
2923
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2913
2924
|
}, undefined>, undefined>, null>;
|
|
2914
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2915
2925
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2916
2926
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2917
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
2927
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
2928
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
2929
|
+
readonly icon: v.LooseObjectSchema<{
|
|
2930
|
+
readonly name: v.StringSchema<undefined>;
|
|
2931
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
2932
|
+
}, undefined>;
|
|
2933
|
+
}, undefined>, v.ObjectSchema<{
|
|
2918
2934
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2919
2935
|
readonly emoji: v.StringSchema<undefined>;
|
|
2920
2936
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2970,6 +2986,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
2970
2986
|
}, undefined>, v.ObjectSchema<{
|
|
2971
2987
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2972
2988
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2989
|
+
}, undefined>, v.ObjectSchema<{
|
|
2990
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
2991
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
2973
2992
|
}, undefined>, v.ObjectSchema<{
|
|
2974
2993
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2975
2994
|
}, undefined>], undefined>;
|
|
@@ -3112,17 +3131,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3112
3131
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3113
3132
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3114
3133
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3115
|
-
readonly name: v.StringSchema<undefined>;
|
|
3116
3134
|
readonly external: v.ObjectSchema<{
|
|
3117
3135
|
readonly url: v.StringSchema<undefined>;
|
|
3118
3136
|
}, undefined>;
|
|
3137
|
+
readonly name: v.StringSchema<undefined>;
|
|
3119
3138
|
}, undefined>, v.ObjectSchema<{
|
|
3120
3139
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3121
|
-
readonly name: v.StringSchema<undefined>;
|
|
3122
3140
|
readonly file: v.ObjectSchema<{
|
|
3123
3141
|
readonly url: v.StringSchema<undefined>;
|
|
3124
3142
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3125
3143
|
}, undefined>;
|
|
3144
|
+
readonly name: v.StringSchema<undefined>;
|
|
3126
3145
|
}, undefined>], undefined>, undefined>;
|
|
3127
3146
|
}, undefined>, v.ObjectSchema<{
|
|
3128
3147
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3159,10 +3178,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3159
3178
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3160
3179
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3161
3180
|
}, undefined>, undefined>;
|
|
3162
|
-
}, undefined>, v.ObjectSchema<{
|
|
3163
|
-
readonly id: v.StringSchema<undefined>;
|
|
3164
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
3165
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3166
3181
|
}, undefined>, v.ObjectSchema<{
|
|
3167
3182
|
readonly id: v.StringSchema<undefined>;
|
|
3168
3183
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -3175,10 +3190,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3175
3190
|
readonly id: v.StringSchema<undefined>;
|
|
3176
3191
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
3177
3192
|
readonly formula: v.StringSchema<undefined>;
|
|
3178
|
-
}, undefined>, v.ObjectSchema<{
|
|
3179
|
-
readonly id: v.StringSchema<undefined>;
|
|
3180
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
3181
|
-
readonly location: v.StringSchema<undefined>;
|
|
3182
3193
|
}, undefined>, v.ObjectSchema<{
|
|
3183
3194
|
readonly id: v.StringSchema<undefined>;
|
|
3184
3195
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -3190,7 +3201,13 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3190
3201
|
}, undefined>], undefined>, undefined>;
|
|
3191
3202
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3192
3203
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3193
|
-
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.
|
|
3204
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
3205
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
3206
|
+
readonly icon: v.LooseObjectSchema<{
|
|
3207
|
+
readonly name: v.StringSchema<undefined>;
|
|
3208
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
3209
|
+
}, undefined>;
|
|
3210
|
+
}, undefined>, v.ObjectSchema<{
|
|
3194
3211
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3195
3212
|
readonly emoji: v.StringSchema<undefined>;
|
|
3196
3213
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -3260,6 +3277,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3260
3277
|
}, undefined>, v.ObjectSchema<{
|
|
3261
3278
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3262
3279
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3280
|
+
}, undefined>, v.ObjectSchema<{
|
|
3281
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
3282
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
3263
3283
|
}, undefined>, v.ObjectSchema<{
|
|
3264
3284
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3265
3285
|
}, undefined>], undefined>;
|
|
@@ -3402,17 +3422,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3402
3422
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3403
3423
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3404
3424
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3405
|
-
readonly name: v.StringSchema<undefined>;
|
|
3406
3425
|
readonly external: v.ObjectSchema<{
|
|
3407
3426
|
readonly url: v.StringSchema<undefined>;
|
|
3408
3427
|
}, undefined>;
|
|
3428
|
+
readonly name: v.StringSchema<undefined>;
|
|
3409
3429
|
}, undefined>, v.ObjectSchema<{
|
|
3410
3430
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3411
|
-
readonly name: v.StringSchema<undefined>;
|
|
3412
3431
|
readonly file: v.ObjectSchema<{
|
|
3413
3432
|
readonly url: v.StringSchema<undefined>;
|
|
3414
3433
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3415
3434
|
}, undefined>;
|
|
3435
|
+
readonly name: v.StringSchema<undefined>;
|
|
3416
3436
|
}, undefined>], undefined>, undefined>;
|
|
3417
3437
|
}, undefined>, v.ObjectSchema<{
|
|
3418
3438
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3449,10 +3469,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3449
3469
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3450
3470
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3451
3471
|
}, undefined>, undefined>;
|
|
3452
|
-
}, undefined>, v.ObjectSchema<{
|
|
3453
|
-
readonly id: v.StringSchema<undefined>;
|
|
3454
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
3455
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3456
3472
|
}, undefined>, v.ObjectSchema<{
|
|
3457
3473
|
readonly id: v.StringSchema<undefined>;
|
|
3458
3474
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -3465,10 +3481,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3465
3481
|
readonly id: v.StringSchema<undefined>;
|
|
3466
3482
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
3467
3483
|
readonly formula: v.StringSchema<undefined>;
|
|
3468
|
-
}, undefined>, v.ObjectSchema<{
|
|
3469
|
-
readonly id: v.StringSchema<undefined>;
|
|
3470
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
3471
|
-
readonly location: v.StringSchema<undefined>;
|
|
3472
3484
|
}, undefined>, v.ObjectSchema<{
|
|
3473
3485
|
readonly id: v.StringSchema<undefined>;
|
|
3474
3486
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -3488,10 +3500,15 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3488
3500
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3489
3501
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3490
3502
|
}, undefined>, undefined>, null>;
|
|
3491
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3492
3503
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3493
3504
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3494
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
3505
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
3506
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
3507
|
+
readonly icon: v.LooseObjectSchema<{
|
|
3508
|
+
readonly name: v.StringSchema<undefined>;
|
|
3509
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
3510
|
+
}, undefined>;
|
|
3511
|
+
}, undefined>, v.ObjectSchema<{
|
|
3495
3512
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3496
3513
|
readonly emoji: v.StringSchema<undefined>;
|
|
3497
3514
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -3547,6 +3564,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3547
3564
|
}, undefined>, v.ObjectSchema<{
|
|
3548
3565
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3549
3566
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3567
|
+
}, undefined>, v.ObjectSchema<{
|
|
3568
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
3569
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
3550
3570
|
}, undefined>, v.ObjectSchema<{
|
|
3551
3571
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3552
3572
|
}, undefined>], undefined>;
|
|
@@ -3689,17 +3709,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3689
3709
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3690
3710
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3691
3711
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3692
|
-
readonly name: v.StringSchema<undefined>;
|
|
3693
3712
|
readonly external: v.ObjectSchema<{
|
|
3694
3713
|
readonly url: v.StringSchema<undefined>;
|
|
3695
3714
|
}, undefined>;
|
|
3715
|
+
readonly name: v.StringSchema<undefined>;
|
|
3696
3716
|
}, undefined>, v.ObjectSchema<{
|
|
3697
3717
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3698
|
-
readonly name: v.StringSchema<undefined>;
|
|
3699
3718
|
readonly file: v.ObjectSchema<{
|
|
3700
3719
|
readonly url: v.StringSchema<undefined>;
|
|
3701
3720
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3702
3721
|
}, undefined>;
|
|
3722
|
+
readonly name: v.StringSchema<undefined>;
|
|
3703
3723
|
}, undefined>], undefined>, undefined>;
|
|
3704
3724
|
}, undefined>, v.ObjectSchema<{
|
|
3705
3725
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3736,10 +3756,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3736
3756
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3737
3757
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3738
3758
|
}, undefined>, undefined>;
|
|
3739
|
-
}, undefined>, v.ObjectSchema<{
|
|
3740
|
-
readonly id: v.StringSchema<undefined>;
|
|
3741
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
3742
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3743
3759
|
}, undefined>, v.ObjectSchema<{
|
|
3744
3760
|
readonly id: v.StringSchema<undefined>;
|
|
3745
3761
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -3752,10 +3768,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3752
3768
|
readonly id: v.StringSchema<undefined>;
|
|
3753
3769
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
3754
3770
|
readonly formula: v.StringSchema<undefined>;
|
|
3755
|
-
}, undefined>, v.ObjectSchema<{
|
|
3756
|
-
readonly id: v.StringSchema<undefined>;
|
|
3757
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
3758
|
-
readonly location: v.StringSchema<undefined>;
|
|
3759
3771
|
}, undefined>, v.ObjectSchema<{
|
|
3760
3772
|
readonly id: v.StringSchema<undefined>;
|
|
3761
3773
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -3767,7 +3779,13 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3767
3779
|
}, undefined>], undefined>, undefined>;
|
|
3768
3780
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3769
3781
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3770
|
-
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.
|
|
3782
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
3783
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
3784
|
+
readonly icon: v.LooseObjectSchema<{
|
|
3785
|
+
readonly name: v.StringSchema<undefined>;
|
|
3786
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
3787
|
+
}, undefined>;
|
|
3788
|
+
}, undefined>, v.ObjectSchema<{
|
|
3771
3789
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3772
3790
|
readonly emoji: v.StringSchema<undefined>;
|
|
3773
3791
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -3837,6 +3855,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3837
3855
|
}, undefined>, v.ObjectSchema<{
|
|
3838
3856
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3839
3857
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3858
|
+
}, undefined>, v.ObjectSchema<{
|
|
3859
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
3860
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
3840
3861
|
}, undefined>, v.ObjectSchema<{
|
|
3841
3862
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3842
3863
|
}, undefined>], undefined>;
|
|
@@ -3979,17 +4000,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
3979
4000
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3980
4001
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3981
4002
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3982
|
-
readonly name: v.StringSchema<undefined>;
|
|
3983
4003
|
readonly external: v.ObjectSchema<{
|
|
3984
4004
|
readonly url: v.StringSchema<undefined>;
|
|
3985
4005
|
}, undefined>;
|
|
4006
|
+
readonly name: v.StringSchema<undefined>;
|
|
3986
4007
|
}, undefined>, v.ObjectSchema<{
|
|
3987
4008
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3988
|
-
readonly name: v.StringSchema<undefined>;
|
|
3989
4009
|
readonly file: v.ObjectSchema<{
|
|
3990
4010
|
readonly url: v.StringSchema<undefined>;
|
|
3991
4011
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3992
4012
|
}, undefined>;
|
|
4013
|
+
readonly name: v.StringSchema<undefined>;
|
|
3993
4014
|
}, undefined>], undefined>, undefined>;
|
|
3994
4015
|
}, undefined>, v.ObjectSchema<{
|
|
3995
4016
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -4026,10 +4047,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4026
4047
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
4027
4048
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4028
4049
|
}, undefined>, undefined>;
|
|
4029
|
-
}, undefined>, v.ObjectSchema<{
|
|
4030
|
-
readonly id: v.StringSchema<undefined>;
|
|
4031
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
4032
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4033
4050
|
}, undefined>, v.ObjectSchema<{
|
|
4034
4051
|
readonly id: v.StringSchema<undefined>;
|
|
4035
4052
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -4042,10 +4059,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4042
4059
|
readonly id: v.StringSchema<undefined>;
|
|
4043
4060
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
4044
4061
|
readonly formula: v.StringSchema<undefined>;
|
|
4045
|
-
}, undefined>, v.ObjectSchema<{
|
|
4046
|
-
readonly id: v.StringSchema<undefined>;
|
|
4047
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
4048
|
-
readonly location: v.StringSchema<undefined>;
|
|
4049
4062
|
}, undefined>, v.ObjectSchema<{
|
|
4050
4063
|
readonly id: v.StringSchema<undefined>;
|
|
4051
4064
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -4065,10 +4078,15 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4065
4078
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
4066
4079
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4067
4080
|
}, undefined>, undefined>, null>;
|
|
4068
|
-
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
4069
4081
|
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
4070
4082
|
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
4071
|
-
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.
|
|
4083
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
4084
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
4085
|
+
readonly icon: v.LooseObjectSchema<{
|
|
4086
|
+
readonly name: v.StringSchema<undefined>;
|
|
4087
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
4088
|
+
}, undefined>;
|
|
4089
|
+
}, undefined>, v.ObjectSchema<{
|
|
4072
4090
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
4073
4091
|
readonly emoji: v.StringSchema<undefined>;
|
|
4074
4092
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -4124,6 +4142,9 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4124
4142
|
}, undefined>, v.ObjectSchema<{
|
|
4125
4143
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
4126
4144
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
4145
|
+
}, undefined>, v.ObjectSchema<{
|
|
4146
|
+
readonly type: v.LiteralSchema<"app_installation_id", undefined>;
|
|
4147
|
+
readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
|
|
4127
4148
|
}, undefined>, v.ObjectSchema<{
|
|
4128
4149
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
4129
4150
|
}, undefined>], undefined>;
|
|
@@ -4266,17 +4287,17 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4266
4287
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
4267
4288
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
4268
4289
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
4269
|
-
readonly name: v.StringSchema<undefined>;
|
|
4270
4290
|
readonly external: v.ObjectSchema<{
|
|
4271
4291
|
readonly url: v.StringSchema<undefined>;
|
|
4272
4292
|
}, undefined>;
|
|
4293
|
+
readonly name: v.StringSchema<undefined>;
|
|
4273
4294
|
}, undefined>, v.ObjectSchema<{
|
|
4274
4295
|
readonly type: v.LiteralSchema<"file", undefined>;
|
|
4275
|
-
readonly name: v.StringSchema<undefined>;
|
|
4276
4296
|
readonly file: v.ObjectSchema<{
|
|
4277
4297
|
readonly url: v.StringSchema<undefined>;
|
|
4278
4298
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4279
4299
|
}, undefined>;
|
|
4300
|
+
readonly name: v.StringSchema<undefined>;
|
|
4280
4301
|
}, undefined>], undefined>, undefined>;
|
|
4281
4302
|
}, undefined>, v.ObjectSchema<{
|
|
4282
4303
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -4313,10 +4334,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4313
4334
|
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
4314
4335
|
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4315
4336
|
}, undefined>, undefined>;
|
|
4316
|
-
}, undefined>, v.ObjectSchema<{
|
|
4317
|
-
readonly id: v.StringSchema<undefined>;
|
|
4318
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
4319
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4320
4337
|
}, undefined>, v.ObjectSchema<{
|
|
4321
4338
|
readonly id: v.StringSchema<undefined>;
|
|
4322
4339
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
@@ -4329,10 +4346,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4329
4346
|
readonly id: v.StringSchema<undefined>;
|
|
4330
4347
|
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
4331
4348
|
readonly formula: v.StringSchema<undefined>;
|
|
4332
|
-
}, undefined>, v.ObjectSchema<{
|
|
4333
|
-
readonly id: v.StringSchema<undefined>;
|
|
4334
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
4335
|
-
readonly location: v.StringSchema<undefined>;
|
|
4336
4349
|
}, undefined>, v.ObjectSchema<{
|
|
4337
4350
|
readonly id: v.StringSchema<undefined>;
|
|
4338
4351
|
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
@@ -4344,7 +4357,13 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
|
|
|
4344
4357
|
}, undefined>], undefined>, undefined>;
|
|
4345
4358
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4346
4359
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4347
|
-
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.
|
|
4360
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
|
|
4361
|
+
readonly type: v.LiteralSchema<"icon", undefined>;
|
|
4362
|
+
readonly icon: v.LooseObjectSchema<{
|
|
4363
|
+
readonly name: v.StringSchema<undefined>;
|
|
4364
|
+
readonly color: v.OptionalSchema<v.GenericSchema<import("../icons.js").BridgeIconColor>, undefined>;
|
|
4365
|
+
}, undefined>;
|
|
4366
|
+
}, undefined>, v.ObjectSchema<{
|
|
4348
4367
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
4349
4368
|
readonly emoji: v.StringSchema<undefined>;
|
|
4350
4369
|
}, undefined>, v.ObjectSchema<{
|