@notionhq/custom-blocks-host 0.6.0 → 0.7.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.
Files changed (48) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/compatibility/normalizeSandboxToHostMessage.d.ts +13 -14
  3. package/dist/compatibility/normalizeSandboxToHostMessage.d.ts.map +1 -1
  4. package/dist/compatibility/pages/toPageWithNullTextFallbackProperties.d.ts.map +1 -1
  5. package/dist/compatibility/pages/toPageWithNullTextFallbackProperties.js +0 -1
  6. package/dist/compatibility/protocol3To4/addMetadataReadSchemasForProtocol3To4.d.ts +15 -34
  7. package/dist/compatibility/protocol3To4/addMetadataReadSchemasForProtocol3To4.d.ts.map +1 -1
  8. package/dist/compatibility/protocol3To5/toPropertyValueForProtocol3To5.d.ts.map +1 -1
  9. package/dist/compatibility/protocol3To5/toPropertyValueForProtocol3To5.js +0 -2
  10. package/dist/context/initialState.d.ts +39 -38
  11. package/dist/context/initialState.d.ts.map +1 -1
  12. package/dist/manifest/types.d.ts +13 -2
  13. package/dist/manifest/types.d.ts.map +1 -1
  14. package/dist/protocol/compatibility/protocol3To5/bridgePage.d.ts +0 -4
  15. package/dist/protocol/dataSources/bridgeDataSourceBinding.d.ts +0 -4
  16. package/dist/protocol/dataSources/bridgeDataSourceBindings.d.ts +0 -4
  17. package/dist/protocol/dataSources/collectionSchema.d.ts +0 -4
  18. package/dist/protocol/dataSources/messages/dataSourcesChanged.d.ts +0 -4
  19. package/dist/protocol/dataSources/messages/queryDataSource.d.ts +0 -10
  20. package/dist/protocol/dataSources/notionDataSource.d.ts +0 -8
  21. package/dist/protocol/dataSources/properties/propertySchema.d.ts +3 -7
  22. package/dist/protocol/dataSources/properties/propertySchema.js +1 -3
  23. package/dist/protocol/handshake/connect.d.ts +13 -2
  24. package/dist/protocol/handshake/init.d.ts +13 -6
  25. package/dist/protocol/index.d.ts +3 -3
  26. package/dist/protocol/index.js +1 -1
  27. package/dist/protocol/manifest/capabilities.d.ts +19 -8
  28. package/dist/protocol/manifest/capabilities.js +9 -3
  29. package/dist/protocol/manifest/manifest.d.ts +27 -4
  30. package/dist/protocol/manifest/manifest.js +6 -0
  31. package/dist/protocol/messages/hostToSandbox.d.ts +26 -72
  32. package/dist/protocol/messages/sandboxToHost.d.ts +13 -14
  33. package/dist/protocol/pages/bridgePage.d.ts +0 -5
  34. package/dist/protocol/pages/bridgePage.js +0 -1
  35. package/dist/protocol/pages/messages/createPage.d.ts +0 -22
  36. package/dist/protocol/pages/messages/getPage.d.ts +0 -14
  37. package/dist/protocol/pages/messages/updatePage.d.ts +0 -18
  38. package/dist/protocol/pages/properties/bridgePagePropertyMaps.d.ts +0 -8
  39. package/dist/protocol/pages/properties/bridgePagePropertyValue.d.ts +0 -4
  40. package/dist/protocol/pages/properties/bridgePagePropertyValue.js +0 -5
  41. package/dist/protocol/utils/protocolVersion.d.ts +1 -1
  42. package/dist/protocol/utils/protocolVersion.js +1 -1
  43. package/docs/bridge/changelog.md +11 -3
  44. package/docs/bridge/protocol.md +9 -3
  45. package/docs/compatibility.md +1 -1
  46. package/package.json +1 -1
  47. package/src/compatibility/pages/toPageWithNullTextFallbackProperties.ts +0 -1
  48. package/src/compatibility/protocol3To5/toPropertyValueForProtocol3To5.ts +0 -2
@@ -15,9 +15,21 @@ export type ManifestIcon = v.InferOutput<typeof manifestIconSchema>;
15
15
  export declare const manifestPropertySchema: v.ObjectSchema<{
16
16
  readonly name: v.StringSchema<undefined>;
17
17
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
18
- 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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
18
+ 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
19
19
  }, undefined>;
20
20
  export type ManifestProperty = v.InferOutput<typeof manifestPropertySchema>;
21
+ export declare const manifestPageSchema: v.ObjectSchema<{
22
+ readonly name: v.StringSchema<undefined>;
23
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
24
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
25
+ readonly type: v.LiteralSchema<"emoji", undefined>;
26
+ readonly emoji: v.StringSchema<undefined>;
27
+ }, undefined>, v.ObjectSchema<{
28
+ readonly type: v.LiteralSchema<"external", undefined>;
29
+ readonly url: v.StringSchema<undefined>;
30
+ }, undefined>], undefined>, undefined>;
31
+ }, undefined>;
32
+ export type ManifestPage = v.InferOutput<typeof manifestPageSchema>;
21
33
  export declare const manifestDataSourceSchema: v.ObjectSchema<{
22
34
  readonly name: v.StringSchema<undefined>;
23
35
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -31,7 +43,7 @@ export declare const manifestDataSourceSchema: v.ObjectSchema<{
31
43
  readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
32
44
  readonly name: v.StringSchema<undefined>;
33
45
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
34
- 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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
46
+ 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
35
47
  }, undefined>, undefined>, {}>;
36
48
  }, undefined>;
37
49
  export type ManifestDataSource = v.InferOutput<typeof manifestDataSourceSchema>;
@@ -57,9 +69,20 @@ export declare const manifestSchema: v.ObjectSchema<{
57
69
  readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
58
70
  readonly name: v.StringSchema<undefined>;
59
71
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
60
- 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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
72
+ 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
61
73
  }, undefined>, undefined>, {}>;
62
74
  }, undefined>, undefined>, {}>;
75
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
76
+ readonly name: v.StringSchema<undefined>;
77
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
78
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
79
+ readonly type: v.LiteralSchema<"emoji", undefined>;
80
+ readonly emoji: v.StringSchema<undefined>;
81
+ }, undefined>, v.ObjectSchema<{
82
+ readonly type: v.LiteralSchema<"external", undefined>;
83
+ readonly url: v.StringSchema<undefined>;
84
+ }, undefined>], undefined>, undefined>;
85
+ }, undefined>, undefined>, undefined>;
63
86
  /**
64
87
  * Capabilities the block needs. Omitted means the block predates capability
65
88
  * approval, so hosts do not ask the viewer. An empty array declares no
@@ -67,7 +90,7 @@ export declare const manifestSchema: v.ObjectSchema<{
67
90
  */
68
91
  readonly capabilities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
69
92
  readonly capability: v.StringSchema<undefined>;
70
- readonly resource: v.StringSchema<undefined>;
93
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
71
94
  }, undefined>, undefined>, undefined>;
72
95
  }, undefined>;
73
96
  /**
@@ -21,6 +21,11 @@ export const manifestPropertySchema = v.object({
21
21
  description: v.optional(v.string()),
22
22
  type: notionPropertyTypeSchema,
23
23
  });
24
+ export const manifestPageSchema = v.object({
25
+ name: v.string(),
26
+ description: v.optional(v.string()),
27
+ icon: v.optional(manifestIconSchema),
28
+ });
24
29
  export const manifestDataSourceSchema = v.object({
25
30
  name: v.string(),
26
31
  description: v.optional(v.string()),
@@ -34,6 +39,7 @@ export const manifestSchema = v.object({
34
39
  slashCommand: v.optional(v.string()),
35
40
  icon: v.optional(v.object({ type: v.literal("emoji"), emoji: v.string() })),
36
41
  dataSources: v.optional(v.record(v.string(), manifestDataSourceSchema), {}),
42
+ pages: v.optional(v.record(v.string(), manifestPageSchema)),
37
43
  /**
38
44
  * Capabilities the block needs. Omitted means the block predates capability
39
45
  * approval, so hosts do not ask the viewer. An empty array declares no
@@ -70,12 +70,23 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
70
70
  readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
71
71
  readonly name: v.StringSchema<undefined>;
72
72
  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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
74
74
  }, undefined>, undefined>, {}>;
75
75
  }, undefined>, undefined>, {}>;
76
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
77
+ readonly name: v.StringSchema<undefined>;
78
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
79
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
80
+ readonly type: v.LiteralSchema<"emoji", undefined>;
81
+ readonly emoji: v.StringSchema<undefined>;
82
+ }, undefined>, v.ObjectSchema<{
83
+ readonly type: v.LiteralSchema<"external", undefined>;
84
+ readonly url: v.StringSchema<undefined>;
85
+ }, undefined>], undefined>, undefined>;
86
+ }, undefined>, undefined>, undefined>;
76
87
  readonly capabilities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
77
88
  readonly capability: v.StringSchema<undefined>;
78
- readonly resource: v.StringSchema<undefined>;
89
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
79
90
  }, undefined>, undefined>, undefined>;
80
91
  }, undefined>;
81
92
  readonly dataSources: v.ObjectSchema<{
@@ -196,10 +207,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
196
207
  readonly name: v.StringSchema<undefined>;
197
208
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
198
209
  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
210
  }, undefined>, v.ObjectSchema<{
204
211
  readonly name: v.StringSchema<undefined>;
205
212
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -429,10 +436,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
429
436
  readonly name: v.StringSchema<undefined>;
430
437
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
431
438
  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
439
  }, undefined>, v.ObjectSchema<{
437
440
  readonly name: v.StringSchema<undefined>;
438
441
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -754,10 +757,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
754
757
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
755
758
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
756
759
  }, undefined>, undefined>;
757
- }, undefined>, v.ObjectSchema<{
758
- readonly id: v.StringSchema<undefined>;
759
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
760
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
761
760
  }, undefined>, v.ObjectSchema<{
762
761
  readonly id: v.StringSchema<undefined>;
763
762
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -793,7 +792,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
793
792
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
794
793
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
795
794
  }, undefined>, undefined>, null>;
796
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
797
795
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
798
796
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
799
797
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -1062,10 +1060,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1062
1060
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1063
1061
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1064
1062
  }, undefined>, undefined>;
1065
- }, undefined>, v.ObjectSchema<{
1066
- readonly id: v.StringSchema<undefined>;
1067
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1068
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1069
1063
  }, undefined>, v.ObjectSchema<{
1070
1064
  readonly id: v.StringSchema<undefined>;
1071
1065
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1101,7 +1095,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1101
1095
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1102
1096
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1103
1097
  }, undefined>, undefined>, null>;
1104
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1105
1098
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1106
1099
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1107
1100
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -1369,10 +1362,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1369
1362
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1370
1363
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1371
1364
  }, undefined>, undefined>;
1372
- }, undefined>, v.ObjectSchema<{
1373
- readonly id: v.StringSchema<undefined>;
1374
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1375
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1376
1365
  }, undefined>, v.ObjectSchema<{
1377
1366
  readonly id: v.StringSchema<undefined>;
1378
1367
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1408,7 +1397,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1408
1397
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1409
1398
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1410
1399
  }, undefined>, undefined>, null>;
1411
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1412
1400
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1413
1401
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1414
1402
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -1676,10 +1664,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1676
1664
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1677
1665
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1678
1666
  }, undefined>, undefined>;
1679
- }, undefined>, v.ObjectSchema<{
1680
- readonly id: v.StringSchema<undefined>;
1681
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1682
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1683
1667
  }, undefined>, v.ObjectSchema<{
1684
1668
  readonly id: v.StringSchema<undefined>;
1685
1669
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1715,7 +1699,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
1715
1699
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1716
1700
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1717
1701
  }, undefined>, undefined>, null>;
1718
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1719
1702
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1720
1703
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
1721
1704
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -1847,12 +1830,23 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
1847
1830
  readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1848
1831
  readonly name: v.StringSchema<undefined>;
1849
1832
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1850
- 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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
1833
+ 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
1851
1834
  }, undefined>, undefined>, {}>;
1852
1835
  }, undefined>, undefined>, {}>;
1836
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1837
+ readonly name: v.StringSchema<undefined>;
1838
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1839
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
1840
+ readonly type: v.LiteralSchema<"emoji", undefined>;
1841
+ readonly emoji: v.StringSchema<undefined>;
1842
+ }, undefined>, v.ObjectSchema<{
1843
+ readonly type: v.LiteralSchema<"external", undefined>;
1844
+ readonly url: v.StringSchema<undefined>;
1845
+ }, undefined>], undefined>, undefined>;
1846
+ }, undefined>, undefined>, undefined>;
1853
1847
  readonly capabilities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1854
1848
  readonly capability: v.StringSchema<undefined>;
1855
- readonly resource: v.StringSchema<undefined>;
1849
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
1856
1850
  }, undefined>, undefined>, undefined>;
1857
1851
  }, undefined>;
1858
1852
  readonly dataSources: v.ObjectSchema<{
@@ -1973,10 +1967,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
1973
1967
  readonly name: v.StringSchema<undefined>;
1974
1968
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1975
1969
  readonly type: v.LiteralSchema<"verification", undefined>;
1976
- }, undefined>, v.ObjectSchema<{
1977
- readonly name: v.StringSchema<undefined>;
1978
- readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1979
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1980
1970
  }, undefined>, v.ObjectSchema<{
1981
1971
  readonly name: v.StringSchema<undefined>;
1982
1972
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -2206,10 +2196,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
2206
2196
  readonly name: v.StringSchema<undefined>;
2207
2197
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2208
2198
  readonly type: v.LiteralSchema<"verification", undefined>;
2209
- }, undefined>, v.ObjectSchema<{
2210
- readonly name: v.StringSchema<undefined>;
2211
- readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2212
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
2213
2199
  }, undefined>, v.ObjectSchema<{
2214
2200
  readonly name: v.StringSchema<undefined>;
2215
2201
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -2531,10 +2517,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
2531
2517
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
2532
2518
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2533
2519
  }, undefined>, undefined>;
2534
- }, undefined>, v.ObjectSchema<{
2535
- readonly id: v.StringSchema<undefined>;
2536
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
2537
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2538
2520
  }, undefined>, v.ObjectSchema<{
2539
2521
  readonly id: v.StringSchema<undefined>;
2540
2522
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -2570,7 +2552,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
2570
2552
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
2571
2553
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2572
2554
  }, undefined>, undefined>, null>;
2573
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2574
2555
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2575
2556
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2576
2557
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -2904,10 +2885,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
2904
2885
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
2905
2886
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2906
2887
  }, undefined>, undefined>;
2907
- }, undefined>, v.ObjectSchema<{
2908
- readonly id: v.StringSchema<undefined>;
2909
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
2910
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2911
2888
  }, undefined>, v.ObjectSchema<{
2912
2889
  readonly id: v.StringSchema<undefined>;
2913
2890
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -2943,7 +2920,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
2943
2920
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
2944
2921
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2945
2922
  }, undefined>, undefined>, null>;
2946
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2947
2923
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2948
2924
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2949
2925
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -3197,10 +3173,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
3197
3173
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
3198
3174
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3199
3175
  }, undefined>, undefined>;
3200
- }, undefined>, v.ObjectSchema<{
3201
- readonly id: v.StringSchema<undefined>;
3202
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
3203
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3204
3176
  }, undefined>, v.ObjectSchema<{
3205
3177
  readonly id: v.StringSchema<undefined>;
3206
3178
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -3493,10 +3465,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
3493
3465
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
3494
3466
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3495
3467
  }, undefined>, undefined>;
3496
- }, undefined>, v.ObjectSchema<{
3497
- readonly id: v.StringSchema<undefined>;
3498
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
3499
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3500
3468
  }, undefined>, v.ObjectSchema<{
3501
3469
  readonly id: v.StringSchema<undefined>;
3502
3470
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -3532,7 +3500,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
3532
3500
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
3533
3501
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3534
3502
  }, undefined>, undefined>, null>;
3535
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3536
3503
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3537
3504
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3538
3505
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -3786,10 +3753,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
3786
3753
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
3787
3754
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3788
3755
  }, undefined>, undefined>;
3789
- }, undefined>, v.ObjectSchema<{
3790
- readonly id: v.StringSchema<undefined>;
3791
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
3792
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3793
3756
  }, undefined>, v.ObjectSchema<{
3794
3757
  readonly id: v.StringSchema<undefined>;
3795
3758
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -4082,10 +4045,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
4082
4045
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
4083
4046
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4084
4047
  }, undefined>, undefined>;
4085
- }, undefined>, v.ObjectSchema<{
4086
- readonly id: v.StringSchema<undefined>;
4087
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
4088
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4089
4048
  }, undefined>, v.ObjectSchema<{
4090
4049
  readonly id: v.StringSchema<undefined>;
4091
4050
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -4121,7 +4080,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
4121
4080
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
4122
4081
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4123
4082
  }, undefined>, undefined>, null>;
4124
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
4125
4083
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
4126
4084
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
4127
4085
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -4375,10 +4333,6 @@ export declare const hostToSandboxMessageWithProtocol3To5CompatibilitySchema: v.
4375
4333
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
4376
4334
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4377
4335
  }, undefined>, undefined>;
4378
- }, undefined>, v.ObjectSchema<{
4379
- readonly id: v.StringSchema<undefined>;
4380
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
4381
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4382
4336
  }, undefined>, v.ObjectSchema<{
4383
4337
  readonly id: v.StringSchema<undefined>;
4384
4338
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -31,12 +31,23 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
31
31
  readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
32
32
  readonly name: v.StringSchema<undefined>;
33
33
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
34
- 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", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
34
+ 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", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
35
35
  }, undefined>, undefined>, {}>;
36
36
  }, undefined>, undefined>, {}>;
37
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
38
+ readonly name: v.StringSchema<undefined>;
39
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
40
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
41
+ readonly type: v.LiteralSchema<"emoji", undefined>;
42
+ readonly emoji: v.StringSchema<undefined>;
43
+ }, undefined>, v.ObjectSchema<{
44
+ readonly type: v.LiteralSchema<"external", undefined>;
45
+ readonly url: v.StringSchema<undefined>;
46
+ }, undefined>], undefined>, undefined>;
47
+ }, undefined>, undefined>, undefined>;
37
48
  readonly capabilities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
38
49
  readonly capability: v.StringSchema<undefined>;
39
- readonly resource: v.StringSchema<undefined>;
50
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
40
51
  }, undefined>, undefined>, undefined>;
41
52
  }, undefined>, undefined>;
42
53
  }, undefined>, v.ObjectSchema<{
@@ -768,10 +779,6 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
768
779
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
769
780
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
770
781
  }, undefined>, undefined>;
771
- }, undefined>, v.ObjectSchema<{
772
- readonly id: v.StringSchema<undefined>;
773
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
774
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
775
782
  }, undefined>, v.ObjectSchema<{
776
783
  readonly id: v.StringSchema<undefined>;
777
784
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1041,10 +1048,6 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
1041
1048
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1042
1049
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1043
1050
  }, undefined>, undefined>;
1044
- }, undefined>, v.ObjectSchema<{
1045
- readonly id: v.StringSchema<undefined>;
1046
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1047
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1048
1051
  }, undefined>, v.ObjectSchema<{
1049
1052
  readonly id: v.StringSchema<undefined>;
1050
1053
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1329,10 +1332,6 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
1329
1332
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1330
1333
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1331
1334
  }, undefined>, undefined>;
1332
- }, undefined>, v.ObjectSchema<{
1333
- readonly id: v.StringSchema<undefined>;
1334
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1335
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1336
1335
  }, undefined>, v.ObjectSchema<{
1337
1336
  readonly id: v.StringSchema<undefined>;
1338
1337
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -206,10 +206,6 @@ export declare const bridgePageSchema: v.ObjectSchema<{
206
206
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
207
207
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
208
208
  }, undefined>, undefined>;
209
- }, undefined>, v.ObjectSchema<{
210
- readonly id: v.StringSchema<undefined>;
211
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
212
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
213
209
  }, undefined>, v.ObjectSchema<{
214
210
  readonly id: v.StringSchema<undefined>;
215
211
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -245,7 +241,6 @@ export declare const bridgePageSchema: v.ObjectSchema<{
245
241
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
246
242
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
247
243
  }, undefined>, undefined>, null>;
248
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
249
244
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
250
245
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
251
246
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -11,7 +11,6 @@ export const bridgePageSchema = v.object({
11
11
  properties: bridgePagePropertyReadMapSchema,
12
12
  created_by: v.optional(metadataActorSchema, null),
13
13
  last_edited_by: v.optional(metadataActorSchema, null),
14
- last_visited_time: v.optional(v.nullable(v.string()), null),
15
14
  created_time: v.optional(v.nullable(v.string()), null),
16
15
  last_edited_time: v.optional(v.nullable(v.string()), null),
17
16
  icon: v.optional(v.nullable(notionPageIconSchema), null),
@@ -223,10 +223,6 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
223
223
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
224
224
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
225
225
  }, undefined>, undefined>;
226
- }, undefined>, v.ObjectSchema<{
227
- readonly id: v.StringSchema<undefined>;
228
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
229
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
230
226
  }, undefined>, v.ObjectSchema<{
231
227
  readonly id: v.StringSchema<undefined>;
232
228
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -262,7 +258,6 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
262
258
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
263
259
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
264
260
  }, undefined>, undefined>, null>;
265
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
266
261
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
267
262
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
268
263
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -532,10 +527,6 @@ export declare const createPageResultMessageWithProtocol3To5CompatibilitySchema:
532
527
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
533
528
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
534
529
  }, undefined>, undefined>;
535
- }, undefined>, v.ObjectSchema<{
536
- readonly id: v.StringSchema<undefined>;
537
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
538
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
539
530
  }, undefined>, v.ObjectSchema<{
540
531
  readonly id: v.StringSchema<undefined>;
541
532
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -571,7 +562,6 @@ export declare const createPageResultMessageWithProtocol3To5CompatibilitySchema:
571
562
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
572
563
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
573
564
  }, undefined>, undefined>, null>;
574
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
575
565
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
576
566
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
577
567
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -825,10 +815,6 @@ export declare const createPageResultMessageWithProtocol3To5CompatibilitySchema:
825
815
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
826
816
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
827
817
  }, undefined>, undefined>;
828
- }, undefined>, v.ObjectSchema<{
829
- readonly id: v.StringSchema<undefined>;
830
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
831
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
832
818
  }, undefined>, v.ObjectSchema<{
833
819
  readonly id: v.StringSchema<undefined>;
834
820
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1139,10 +1125,6 @@ export declare const createPageMessageSchema: v.VariantSchema<"type", [v.ObjectS
1139
1125
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1140
1126
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1141
1127
  }, undefined>, undefined>;
1142
- }, undefined>, v.ObjectSchema<{
1143
- readonly id: v.StringSchema<undefined>;
1144
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1145
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1146
1128
  }, undefined>, v.ObjectSchema<{
1147
1129
  readonly id: v.StringSchema<undefined>;
1148
1130
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -1412,10 +1394,6 @@ export declare const createPageMessageSchema: v.VariantSchema<"type", [v.ObjectS
1412
1394
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
1413
1395
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1414
1396
  }, undefined>, undefined>;
1415
- }, undefined>, v.ObjectSchema<{
1416
- readonly id: v.StringSchema<undefined>;
1417
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
1418
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1419
1397
  }, undefined>, v.ObjectSchema<{
1420
1398
  readonly id: v.StringSchema<undefined>;
1421
1399
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -229,10 +229,6 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
229
229
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
230
230
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
231
231
  }, undefined>, undefined>;
232
- }, undefined>, v.ObjectSchema<{
233
- readonly id: v.StringSchema<undefined>;
234
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
235
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
236
232
  }, undefined>, v.ObjectSchema<{
237
233
  readonly id: v.StringSchema<undefined>;
238
234
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -268,7 +264,6 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
268
264
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
269
265
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
270
266
  }, undefined>, undefined>, null>;
271
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
272
267
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
273
268
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
274
269
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -537,10 +532,6 @@ export declare const getPageResultMessageWithProtocol3To5CompatibilitySchema: v.
537
532
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
538
533
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
539
534
  }, undefined>, undefined>;
540
- }, undefined>, v.ObjectSchema<{
541
- readonly id: v.StringSchema<undefined>;
542
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
543
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
544
535
  }, undefined>, v.ObjectSchema<{
545
536
  readonly id: v.StringSchema<undefined>;
546
537
  readonly type: v.LiteralSchema<"unique_id", undefined>;
@@ -576,7 +567,6 @@ export declare const getPageResultMessageWithProtocol3To5CompatibilitySchema: v.
576
567
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
577
568
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
578
569
  }, undefined>, undefined>, null>;
579
- readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
580
570
  readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
581
571
  readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
582
572
  readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.LooseObjectSchema<{
@@ -830,10 +820,6 @@ export declare const getPageResultMessageWithProtocol3To5CompatibilitySchema: v.
830
820
  readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
831
821
  readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
832
822
  }, undefined>, undefined>;
833
- }, undefined>, v.ObjectSchema<{
834
- readonly id: v.StringSchema<undefined>;
835
- readonly type: v.LiteralSchema<"last_visited_time", undefined>;
836
- readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
837
823
  }, undefined>, v.ObjectSchema<{
838
824
  readonly id: v.StringSchema<undefined>;
839
825
  readonly type: v.LiteralSchema<"unique_id", undefined>;