ncblock 0.0.1
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 +286 -0
- package/dist/bridge/context.d.ts +44 -0
- package/dist/bridge/context.d.ts.map +1 -0
- package/dist/bridge/context.js +42 -0
- package/dist/bridge/dataSources/dataSource.d.ts +732 -0
- package/dist/bridge/dataSources/dataSource.d.ts.map +1 -0
- package/dist/bridge/dataSources/dataSource.js +37 -0
- package/dist/bridge/dataSources/dataSourcePage.d.ts +117 -0
- package/dist/bridge/dataSources/dataSourcePage.d.ts.map +1 -0
- package/dist/bridge/dataSources/dataSourcePage.js +13 -0
- package/dist/bridge/dataSources/dataSourceValue.d.ts +67 -0
- package/dist/bridge/dataSources/dataSourceValue.d.ts.map +1 -0
- package/dist/bridge/dataSources/dataSourceValue.js +14 -0
- package/dist/bridge/dataSources/dateValue.d.ts +158 -0
- package/dist/bridge/dataSources/dateValue.d.ts.map +1 -0
- package/dist/bridge/dataSources/dateValue.js +59 -0
- package/dist/bridge/dataSources/propertySchema.d.ts +191 -0
- package/dist/bridge/dataSources/propertySchema.d.ts.map +1 -0
- package/dist/bridge/dataSources/propertySchema.js +148 -0
- package/dist/bridge/dataSources/recordPointer.d.ts +10 -0
- package/dist/bridge/dataSources/recordPointer.d.ts.map +1 -0
- package/dist/bridge/dataSources/recordPointer.js +8 -0
- package/dist/bridge/ids.d.ts +21 -0
- package/dist/bridge/ids.d.ts.map +1 -0
- package/dist/bridge/ids.js +3 -0
- package/dist/bridge/incomingType.d.ts +10 -0
- package/dist/bridge/incomingType.d.ts.map +1 -0
- package/dist/bridge/incomingType.js +17 -0
- package/dist/bridge/manifest.d.ts +66 -0
- package/dist/bridge/manifest.d.ts.map +1 -0
- package/dist/bridge/manifest.js +40 -0
- package/dist/bridge/messages/contextChanged.d.ts +20 -0
- package/dist/bridge/messages/contextChanged.d.ts.map +1 -0
- package/dist/bridge/messages/contextChanged.js +10 -0
- package/dist/bridge/messages/createPage.d.ts +233 -0
- package/dist/bridge/messages/createPage.d.ts.map +1 -0
- package/dist/bridge/messages/createPage.js +45 -0
- package/dist/bridge/messages/createPageResult.d.ts +198 -0
- package/dist/bridge/messages/createPageResult.d.ts.map +1 -0
- package/dist/bridge/messages/createPageResult.js +20 -0
- package/dist/bridge/messages/dataSourcesChanged.d.ts +158 -0
- package/dist/bridge/messages/dataSourcesChanged.d.ts.map +1 -0
- package/dist/bridge/messages/dataSourcesChanged.js +13 -0
- package/dist/bridge/messages/getPage.d.ts +203 -0
- package/dist/bridge/messages/getPage.d.ts.map +1 -0
- package/dist/bridge/messages/getPage.js +24 -0
- package/dist/bridge/messages/hostToSandbox.d.ts +974 -0
- package/dist/bridge/messages/hostToSandbox.d.ts.map +1 -0
- package/dist/bridge/messages/hostToSandbox.js +24 -0
- package/dist/bridge/messages/init.d.ts +169 -0
- package/dist/bridge/messages/init.d.ts.map +1 -0
- package/dist/bridge/messages/init.js +17 -0
- package/dist/bridge/messages/invalidHostMessage.d.ts +15 -0
- package/dist/bridge/messages/invalidHostMessage.d.ts.map +1 -0
- package/dist/bridge/messages/invalidHostMessage.js +13 -0
- package/dist/bridge/messages/invalidSandboxMessage.d.ts +15 -0
- package/dist/bridge/messages/invalidSandboxMessage.d.ts.map +1 -0
- package/dist/bridge/messages/invalidSandboxMessage.js +13 -0
- package/dist/bridge/messages/queryDataSource.d.ts +13 -0
- package/dist/bridge/messages/queryDataSource.d.ts.map +1 -0
- package/dist/bridge/messages/queryDataSource.js +11 -0
- package/dist/bridge/messages/queryDataSourceResult.d.ts +77 -0
- package/dist/bridge/messages/queryDataSourceResult.d.ts.map +1 -0
- package/dist/bridge/messages/queryDataSourceResult.js +13 -0
- package/dist/bridge/messages/ready.d.ts +41 -0
- package/dist/bridge/messages/ready.d.ts.map +1 -0
- package/dist/bridge/messages/ready.js +22 -0
- package/dist/bridge/messages/resize.d.ts +12 -0
- package/dist/bridge/messages/resize.d.ts.map +1 -0
- package/dist/bridge/messages/resize.js +10 -0
- package/dist/bridge/messages/sandboxToHost.d.ts +389 -0
- package/dist/bridge/messages/sandboxToHost.d.ts.map +1 -0
- package/dist/bridge/messages/sandboxToHost.js +21 -0
- package/dist/bridge/messages/themeChanged.d.ts +11 -0
- package/dist/bridge/messages/themeChanged.d.ts.map +1 -0
- package/dist/bridge/messages/themeChanged.js +10 -0
- package/dist/bridge/messages/updatePage.d.ts +171 -0
- package/dist/bridge/messages/updatePage.d.ts.map +1 -0
- package/dist/bridge/messages/updatePage.js +14 -0
- package/dist/bridge/messages/updatePageResult.d.ts +197 -0
- package/dist/bridge/messages/updatePageResult.d.ts.map +1 -0
- package/dist/bridge/messages/updatePageResult.js +19 -0
- package/dist/bridge/pages/page.d.ts +651 -0
- package/dist/bridge/pages/page.d.ts.map +1 -0
- package/dist/bridge/pages/page.js +229 -0
- package/dist/bridge/pendingRequests.d.ts +14 -0
- package/dist/bridge/pendingRequests.d.ts.map +1 -0
- package/dist/bridge/pendingRequests.js +27 -0
- package/dist/bridge/theme.d.ts +4 -0
- package/dist/bridge/theme.d.ts.map +1 -0
- package/dist/bridge/theme.js +2 -0
- package/dist/host.d.ts +52 -0
- package/dist/host.d.ts.map +1 -0
- package/dist/host.js +32 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/notion.d.ts +113 -0
- package/dist/notion.d.ts.map +1 -0
- package/dist/notion.js +773 -0
- package/dist/pages.d.ts +23 -0
- package/dist/pages.d.ts.map +1 -0
- package/dist/pages.js +30 -0
- package/dist/react.d.ts +171 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +284 -0
- package/dist/types.d.ts +124 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/dist/utils.d.ts +9 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +10 -0
- package/package.json +48 -0
|
@@ -0,0 +1,974 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/**
|
|
3
|
+
* Discriminated union of every message the host is allowed to send the sandbox.
|
|
4
|
+
*/
|
|
5
|
+
export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
6
|
+
readonly type: v.LiteralSchema<"init", undefined>;
|
|
7
|
+
readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
|
|
8
|
+
readonly context: v.ObjectSchema<{
|
|
9
|
+
readonly customBlockId: v.StringSchema<undefined>;
|
|
10
|
+
readonly parent: v.ObjectSchema<{
|
|
11
|
+
readonly id: v.StringSchema<undefined>;
|
|
12
|
+
readonly type: v.StringSchema<undefined>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
readonly page: v.ObjectSchema<{
|
|
15
|
+
readonly id: v.StringSchema<undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
readonly dataSources: v.ObjectSchema<{
|
|
19
|
+
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
20
|
+
readonly collectionPointer: v.OptionalSchema<v.ObjectSchema<{
|
|
21
|
+
readonly id: v.CustomSchema<import("../ids").NotionDataSourceId, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
22
|
+
readonly table: v.StringSchema<undefined>;
|
|
23
|
+
readonly spaceId: v.OptionalSchema<v.CustomSchema<import("../ids").NotionSpaceId, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
24
|
+
}, undefined>, undefined>;
|
|
25
|
+
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
26
|
+
readonly id: v.OptionalSchema<v.CustomSchema<import("../ids").NotionDataSourceId, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
27
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
28
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
29
|
+
readonly name: v.StringSchema<undefined>;
|
|
30
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
31
|
+
}, undefined>, v.ObjectSchema<{
|
|
32
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
33
|
+
readonly name: v.StringSchema<undefined>;
|
|
34
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
35
|
+
}, undefined>, v.ObjectSchema<{
|
|
36
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
37
|
+
readonly name: v.StringSchema<undefined>;
|
|
38
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
}, undefined>, v.ObjectSchema<{
|
|
40
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
41
|
+
readonly name: v.StringSchema<undefined>;
|
|
42
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
43
|
+
}, undefined>, v.ObjectSchema<{
|
|
44
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
45
|
+
readonly name: v.StringSchema<undefined>;
|
|
46
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
47
|
+
}, undefined>, v.ObjectSchema<{
|
|
48
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
49
|
+
readonly name: v.StringSchema<undefined>;
|
|
50
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
}, undefined>, v.ObjectSchema<{
|
|
52
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
53
|
+
readonly name: v.StringSchema<undefined>;
|
|
54
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
+
}, undefined>, v.ObjectSchema<{
|
|
56
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
57
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
58
|
+
readonly id: v.StringSchema<undefined>;
|
|
59
|
+
readonly name: v.StringSchema<undefined>;
|
|
60
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
61
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
}, undefined>, undefined>;
|
|
63
|
+
readonly name: v.StringSchema<undefined>;
|
|
64
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
+
}, undefined>, v.ObjectSchema<{
|
|
66
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
67
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
68
|
+
readonly id: v.StringSchema<undefined>;
|
|
69
|
+
readonly name: v.StringSchema<undefined>;
|
|
70
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
71
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
+
}, undefined>, undefined>;
|
|
73
|
+
readonly name: v.StringSchema<undefined>;
|
|
74
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
}, undefined>, v.ObjectSchema<{
|
|
76
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
77
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
78
|
+
readonly id: v.StringSchema<undefined>;
|
|
79
|
+
readonly name: v.StringSchema<undefined>;
|
|
80
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
81
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
}, undefined>, undefined>;
|
|
83
|
+
readonly groups: v.ArraySchema<v.ObjectSchema<{
|
|
84
|
+
readonly id: v.StringSchema<undefined>;
|
|
85
|
+
readonly name: v.StringSchema<undefined>;
|
|
86
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
87
|
+
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
88
|
+
}, undefined>, undefined>;
|
|
89
|
+
readonly name: v.StringSchema<undefined>;
|
|
90
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
}, undefined>, v.ObjectSchema<{
|
|
92
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
93
|
+
readonly name: v.StringSchema<undefined>;
|
|
94
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
95
|
+
}, undefined>, v.ObjectSchema<{
|
|
96
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
97
|
+
readonly name: v.StringSchema<undefined>;
|
|
98
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
+
}, undefined>, v.ObjectSchema<{
|
|
100
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
101
|
+
readonly name: v.StringSchema<undefined>;
|
|
102
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
103
|
+
}, undefined>, v.ObjectSchema<{
|
|
104
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
105
|
+
readonly name: v.StringSchema<undefined>;
|
|
106
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
107
|
+
}, undefined>, v.ObjectSchema<{
|
|
108
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
109
|
+
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
111
|
+
readonly synced_property_id: v.StringSchema<undefined>;
|
|
112
|
+
readonly synced_property_name: v.StringSchema<undefined>;
|
|
113
|
+
}, undefined>, undefined>;
|
|
114
|
+
readonly name: v.StringSchema<undefined>;
|
|
115
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
+
}, undefined>, v.ObjectSchema<{
|
|
117
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
118
|
+
readonly name: v.StringSchema<undefined>;
|
|
119
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
+
}, undefined>, v.ObjectSchema<{
|
|
121
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
122
|
+
readonly name: v.StringSchema<undefined>;
|
|
123
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
|
+
}, undefined>, v.ObjectSchema<{
|
|
125
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
126
|
+
readonly name: v.StringSchema<undefined>;
|
|
127
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
+
}, undefined>, v.ObjectSchema<{
|
|
129
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
130
|
+
readonly name: v.StringSchema<undefined>;
|
|
131
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
}, undefined>, v.ObjectSchema<{
|
|
133
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
134
|
+
readonly name: v.StringSchema<undefined>;
|
|
135
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
}, undefined>, v.ObjectSchema<{
|
|
137
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
138
|
+
readonly name: v.StringSchema<undefined>;
|
|
139
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
+
}, undefined>, v.ObjectSchema<{
|
|
141
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
142
|
+
readonly name: v.StringSchema<undefined>;
|
|
143
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
144
|
+
}, undefined>, v.ObjectSchema<{
|
|
145
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
146
|
+
readonly name: v.StringSchema<undefined>;
|
|
147
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
+
}, undefined>, v.ObjectSchema<{
|
|
149
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
150
|
+
readonly name: v.StringSchema<undefined>;
|
|
151
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
+
}, undefined>, v.ObjectSchema<{
|
|
153
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
154
|
+
readonly name: v.StringSchema<undefined>;
|
|
155
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
+
}, undefined>, v.ObjectSchema<{
|
|
157
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
158
|
+
readonly name: v.StringSchema<undefined>;
|
|
159
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
160
|
+
}, undefined>], undefined>, undefined>;
|
|
161
|
+
}, undefined>, undefined>;
|
|
162
|
+
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
163
|
+
}, undefined>, undefined>;
|
|
164
|
+
}, undefined>;
|
|
165
|
+
}, undefined>, v.ObjectSchema<{
|
|
166
|
+
readonly type: v.LiteralSchema<"themeChanged", undefined>;
|
|
167
|
+
readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
|
|
168
|
+
}, undefined>, v.ObjectSchema<{
|
|
169
|
+
readonly type: v.LiteralSchema<"contextChanged", undefined>;
|
|
170
|
+
readonly context: v.ObjectSchema<{
|
|
171
|
+
readonly customBlockId: v.StringSchema<undefined>;
|
|
172
|
+
readonly parent: v.ObjectSchema<{
|
|
173
|
+
readonly id: v.StringSchema<undefined>;
|
|
174
|
+
readonly type: v.StringSchema<undefined>;
|
|
175
|
+
}, undefined>;
|
|
176
|
+
readonly page: v.ObjectSchema<{
|
|
177
|
+
readonly id: v.StringSchema<undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
}, undefined>, v.ObjectSchema<{
|
|
181
|
+
readonly type: v.LiteralSchema<"dataSourcesChanged", undefined>;
|
|
182
|
+
readonly dataSources: v.ObjectSchema<{
|
|
183
|
+
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
184
|
+
readonly collectionPointer: v.OptionalSchema<v.ObjectSchema<{
|
|
185
|
+
readonly id: v.CustomSchema<import("../ids").NotionDataSourceId, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
186
|
+
readonly table: v.StringSchema<undefined>;
|
|
187
|
+
readonly spaceId: v.OptionalSchema<v.CustomSchema<import("../ids").NotionSpaceId, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
188
|
+
}, undefined>, undefined>;
|
|
189
|
+
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
190
|
+
readonly id: v.OptionalSchema<v.CustomSchema<import("../ids").NotionDataSourceId, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
191
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
192
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
193
|
+
readonly name: v.StringSchema<undefined>;
|
|
194
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
195
|
+
}, undefined>, v.ObjectSchema<{
|
|
196
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
197
|
+
readonly name: v.StringSchema<undefined>;
|
|
198
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
199
|
+
}, undefined>, v.ObjectSchema<{
|
|
200
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
201
|
+
readonly name: v.StringSchema<undefined>;
|
|
202
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
203
|
+
}, undefined>, v.ObjectSchema<{
|
|
204
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
205
|
+
readonly name: v.StringSchema<undefined>;
|
|
206
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
}, undefined>, v.ObjectSchema<{
|
|
208
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
209
|
+
readonly name: v.StringSchema<undefined>;
|
|
210
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
211
|
+
}, undefined>, v.ObjectSchema<{
|
|
212
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
213
|
+
readonly name: v.StringSchema<undefined>;
|
|
214
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
215
|
+
}, undefined>, v.ObjectSchema<{
|
|
216
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
217
|
+
readonly name: v.StringSchema<undefined>;
|
|
218
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
219
|
+
}, undefined>, v.ObjectSchema<{
|
|
220
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
221
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
222
|
+
readonly id: v.StringSchema<undefined>;
|
|
223
|
+
readonly name: v.StringSchema<undefined>;
|
|
224
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
225
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
+
}, undefined>, undefined>;
|
|
227
|
+
readonly name: v.StringSchema<undefined>;
|
|
228
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
229
|
+
}, undefined>, v.ObjectSchema<{
|
|
230
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
231
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
232
|
+
readonly id: v.StringSchema<undefined>;
|
|
233
|
+
readonly name: v.StringSchema<undefined>;
|
|
234
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
235
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
236
|
+
}, undefined>, undefined>;
|
|
237
|
+
readonly name: v.StringSchema<undefined>;
|
|
238
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
239
|
+
}, undefined>, v.ObjectSchema<{
|
|
240
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
241
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
242
|
+
readonly id: v.StringSchema<undefined>;
|
|
243
|
+
readonly name: v.StringSchema<undefined>;
|
|
244
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
245
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
}, undefined>, undefined>;
|
|
247
|
+
readonly groups: v.ArraySchema<v.ObjectSchema<{
|
|
248
|
+
readonly id: v.StringSchema<undefined>;
|
|
249
|
+
readonly name: v.StringSchema<undefined>;
|
|
250
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
251
|
+
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
252
|
+
}, undefined>, undefined>;
|
|
253
|
+
readonly name: v.StringSchema<undefined>;
|
|
254
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
}, undefined>, v.ObjectSchema<{
|
|
256
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
257
|
+
readonly name: v.StringSchema<undefined>;
|
|
258
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
259
|
+
}, undefined>, v.ObjectSchema<{
|
|
260
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
261
|
+
readonly name: v.StringSchema<undefined>;
|
|
262
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
263
|
+
}, undefined>, v.ObjectSchema<{
|
|
264
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
265
|
+
readonly name: v.StringSchema<undefined>;
|
|
266
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
267
|
+
}, undefined>, v.ObjectSchema<{
|
|
268
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
269
|
+
readonly name: v.StringSchema<undefined>;
|
|
270
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
271
|
+
}, undefined>, v.ObjectSchema<{
|
|
272
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
273
|
+
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
274
|
+
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
275
|
+
readonly synced_property_id: v.StringSchema<undefined>;
|
|
276
|
+
readonly synced_property_name: v.StringSchema<undefined>;
|
|
277
|
+
}, undefined>, undefined>;
|
|
278
|
+
readonly name: v.StringSchema<undefined>;
|
|
279
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
280
|
+
}, undefined>, v.ObjectSchema<{
|
|
281
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
282
|
+
readonly name: v.StringSchema<undefined>;
|
|
283
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
284
|
+
}, undefined>, v.ObjectSchema<{
|
|
285
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
286
|
+
readonly name: v.StringSchema<undefined>;
|
|
287
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
288
|
+
}, undefined>, v.ObjectSchema<{
|
|
289
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
290
|
+
readonly name: v.StringSchema<undefined>;
|
|
291
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
292
|
+
}, undefined>, v.ObjectSchema<{
|
|
293
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
294
|
+
readonly name: v.StringSchema<undefined>;
|
|
295
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
296
|
+
}, undefined>, v.ObjectSchema<{
|
|
297
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
298
|
+
readonly name: v.StringSchema<undefined>;
|
|
299
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
300
|
+
}, undefined>, v.ObjectSchema<{
|
|
301
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
302
|
+
readonly name: v.StringSchema<undefined>;
|
|
303
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
304
|
+
}, undefined>, v.ObjectSchema<{
|
|
305
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
306
|
+
readonly name: v.StringSchema<undefined>;
|
|
307
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
308
|
+
}, undefined>, v.ObjectSchema<{
|
|
309
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
310
|
+
readonly name: v.StringSchema<undefined>;
|
|
311
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
312
|
+
}, undefined>, v.ObjectSchema<{
|
|
313
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
314
|
+
readonly name: v.StringSchema<undefined>;
|
|
315
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
316
|
+
}, undefined>, v.ObjectSchema<{
|
|
317
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
318
|
+
readonly name: v.StringSchema<undefined>;
|
|
319
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
320
|
+
}, undefined>, v.ObjectSchema<{
|
|
321
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
322
|
+
readonly name: v.StringSchema<undefined>;
|
|
323
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
324
|
+
}, undefined>], undefined>, undefined>;
|
|
325
|
+
}, undefined>, undefined>;
|
|
326
|
+
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
327
|
+
}, undefined>, undefined>;
|
|
328
|
+
}, undefined>;
|
|
329
|
+
}, undefined>, v.ObjectSchema<{
|
|
330
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
331
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
332
|
+
readonly key: v.StringSchema<undefined>;
|
|
333
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
334
|
+
readonly id: v.StringSchema<undefined>;
|
|
335
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
336
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
337
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
338
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
339
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
340
|
+
readonly value: v.NumberSchema<undefined>;
|
|
341
|
+
readonly time: v.StringSchema<undefined>;
|
|
342
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
343
|
+
}, undefined>, v.ObjectSchema<{
|
|
344
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
345
|
+
}, undefined>], undefined>, undefined>;
|
|
346
|
+
}, undefined>, v.ObjectSchema<{
|
|
347
|
+
readonly type: v.LiteralSchema<"daterange", undefined>;
|
|
348
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
349
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
350
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
351
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
352
|
+
readonly value: v.NumberSchema<undefined>;
|
|
353
|
+
readonly time: v.StringSchema<undefined>;
|
|
354
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
355
|
+
}, undefined>, v.ObjectSchema<{
|
|
356
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
357
|
+
}, undefined>], undefined>, undefined>;
|
|
358
|
+
}, undefined>, v.ObjectSchema<{
|
|
359
|
+
readonly type: v.LiteralSchema<"datetime", undefined>;
|
|
360
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
361
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
362
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
363
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
364
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
365
|
+
readonly value: v.NumberSchema<undefined>;
|
|
366
|
+
readonly time: v.StringSchema<undefined>;
|
|
367
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
368
|
+
}, undefined>, v.ObjectSchema<{
|
|
369
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
370
|
+
readonly value: v.NumberSchema<undefined>;
|
|
371
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
372
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
373
|
+
}, undefined>], undefined>, undefined>;
|
|
374
|
+
}, undefined>, v.ObjectSchema<{
|
|
375
|
+
readonly type: v.LiteralSchema<"datetimerange", undefined>;
|
|
376
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
377
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
378
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
379
|
+
readonly end_time: v.StringSchema<undefined>;
|
|
380
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
381
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
382
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
383
|
+
readonly value: v.NumberSchema<undefined>;
|
|
384
|
+
readonly time: v.StringSchema<undefined>;
|
|
385
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
386
|
+
}, undefined>, v.ObjectSchema<{
|
|
387
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
388
|
+
readonly value: v.NumberSchema<undefined>;
|
|
389
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
390
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
391
|
+
}, undefined>], undefined>, undefined>;
|
|
392
|
+
}, undefined>], undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ArraySchema<v.ObjectSchema<{
|
|
393
|
+
readonly id: v.StringSchema<undefined>;
|
|
394
|
+
readonly table: v.StringSchema<undefined>;
|
|
395
|
+
}, undefined>, undefined>], undefined>, undefined>, undefined>;
|
|
396
|
+
}, undefined>, undefined>;
|
|
397
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
398
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
399
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
400
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
401
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
402
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
403
|
+
readonly page: v.ObjectSchema<{
|
|
404
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
405
|
+
readonly id: v.StringSchema<undefined>;
|
|
406
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
407
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
408
|
+
readonly page_id: v.StringSchema<undefined>;
|
|
409
|
+
}, undefined>, v.ObjectSchema<{
|
|
410
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
411
|
+
readonly data_source_id: v.StringSchema<undefined>;
|
|
412
|
+
}, undefined>, v.ObjectSchema<{
|
|
413
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
414
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
415
|
+
}, undefined>, v.ObjectSchema<{
|
|
416
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
417
|
+
readonly block_id: v.StringSchema<undefined>;
|
|
418
|
+
}, undefined>], undefined>;
|
|
419
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
420
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
421
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
422
|
+
readonly id: v.StringSchema<undefined>;
|
|
423
|
+
}, undefined>, v.ObjectSchema<{
|
|
424
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
425
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
426
|
+
readonly id: v.StringSchema<undefined>;
|
|
427
|
+
}, undefined>, v.ObjectSchema<{
|
|
428
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
429
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
430
|
+
readonly id: v.StringSchema<undefined>;
|
|
431
|
+
}, undefined>, v.ObjectSchema<{
|
|
432
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
433
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
434
|
+
readonly id: v.StringSchema<undefined>;
|
|
435
|
+
}, undefined>, v.ObjectSchema<{
|
|
436
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
437
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
438
|
+
readonly id: v.StringSchema<undefined>;
|
|
439
|
+
}, undefined>, v.ObjectSchema<{
|
|
440
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
441
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
442
|
+
readonly id: v.StringSchema<undefined>;
|
|
443
|
+
}, undefined>, v.ObjectSchema<{
|
|
444
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
445
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
446
|
+
readonly id: v.StringSchema<undefined>;
|
|
447
|
+
}, undefined>, v.ObjectSchema<{
|
|
448
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
449
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
450
|
+
readonly id: v.StringSchema<undefined>;
|
|
451
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
452
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
453
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
454
|
+
}, undefined>, v.ObjectSchema<{
|
|
455
|
+
readonly name: v.StringSchema<undefined>;
|
|
456
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
457
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
458
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
459
|
+
}, undefined>], undefined>, undefined>;
|
|
460
|
+
readonly id: v.StringSchema<undefined>;
|
|
461
|
+
}, undefined>, v.ObjectSchema<{
|
|
462
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
463
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
464
|
+
readonly id: v.StringSchema<undefined>;
|
|
465
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
466
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
467
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
468
|
+
}, undefined>, v.ObjectSchema<{
|
|
469
|
+
readonly name: v.StringSchema<undefined>;
|
|
470
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
471
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
472
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
473
|
+
}, undefined>], undefined>, undefined>;
|
|
474
|
+
readonly id: v.StringSchema<undefined>;
|
|
475
|
+
}, undefined>, v.ObjectSchema<{
|
|
476
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
477
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
478
|
+
readonly id: v.StringSchema<undefined>;
|
|
479
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
480
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
481
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
482
|
+
}, undefined>, v.ObjectSchema<{
|
|
483
|
+
readonly name: v.StringSchema<undefined>;
|
|
484
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
485
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
486
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
487
|
+
}, undefined>], undefined>, undefined>;
|
|
488
|
+
readonly id: v.StringSchema<undefined>;
|
|
489
|
+
}, undefined>, v.ObjectSchema<{
|
|
490
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
491
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
492
|
+
readonly start: v.StringSchema<undefined>;
|
|
493
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
494
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
495
|
+
}, undefined>, undefined>;
|
|
496
|
+
readonly id: v.StringSchema<undefined>;
|
|
497
|
+
}, undefined>, v.ObjectSchema<{
|
|
498
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
499
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
500
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
501
|
+
readonly id: v.StringSchema<undefined>;
|
|
502
|
+
}, undefined>, v.ObjectSchema<{
|
|
503
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
504
|
+
readonly id: v.StringSchema<undefined>;
|
|
505
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
506
|
+
}, undefined>], undefined>, undefined>;
|
|
507
|
+
readonly id: v.StringSchema<undefined>;
|
|
508
|
+
}, undefined>, v.ObjectSchema<{
|
|
509
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
510
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
511
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
512
|
+
readonly id: v.StringSchema<undefined>;
|
|
513
|
+
}, undefined>, undefined>;
|
|
514
|
+
readonly id: v.StringSchema<undefined>;
|
|
515
|
+
}, undefined>, v.ObjectSchema<{
|
|
516
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
517
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
518
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
519
|
+
readonly name: v.StringSchema<undefined>;
|
|
520
|
+
readonly external: v.ObjectSchema<{
|
|
521
|
+
readonly url: v.StringSchema<undefined>;
|
|
522
|
+
}, undefined>;
|
|
523
|
+
}, undefined>, v.ObjectSchema<{
|
|
524
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
525
|
+
readonly name: v.StringSchema<undefined>;
|
|
526
|
+
readonly file: v.ObjectSchema<{
|
|
527
|
+
readonly url: v.StringSchema<undefined>;
|
|
528
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
529
|
+
}, undefined>;
|
|
530
|
+
}, undefined>], undefined>, undefined>;
|
|
531
|
+
readonly id: v.StringSchema<undefined>;
|
|
532
|
+
}, undefined>, v.ObjectSchema<{
|
|
533
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
534
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
535
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
536
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
537
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
538
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
539
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
540
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
541
|
+
}, undefined>, undefined>;
|
|
542
|
+
readonly id: v.StringSchema<undefined>;
|
|
543
|
+
}, undefined>], undefined>, undefined>;
|
|
544
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
545
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
546
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
547
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
548
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
549
|
+
}, undefined>, v.ObjectSchema<{
|
|
550
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
551
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
552
|
+
readonly id: v.StringSchema<undefined>;
|
|
553
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
554
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
555
|
+
}, undefined>;
|
|
556
|
+
}, undefined>, v.ObjectSchema<{
|
|
557
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
558
|
+
readonly external: v.ObjectSchema<{
|
|
559
|
+
readonly url: v.StringSchema<undefined>;
|
|
560
|
+
}, undefined>;
|
|
561
|
+
}, undefined>, v.ObjectSchema<{
|
|
562
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
563
|
+
readonly file: v.ObjectSchema<{
|
|
564
|
+
readonly url: v.StringSchema<undefined>;
|
|
565
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
566
|
+
}, undefined>;
|
|
567
|
+
}, undefined>], undefined>, undefined>;
|
|
568
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
569
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
570
|
+
readonly external: v.ObjectSchema<{
|
|
571
|
+
readonly url: v.StringSchema<undefined>;
|
|
572
|
+
}, undefined>;
|
|
573
|
+
}, undefined>, v.ObjectSchema<{
|
|
574
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
575
|
+
readonly file: v.ObjectSchema<{
|
|
576
|
+
readonly url: v.StringSchema<undefined>;
|
|
577
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
578
|
+
}, undefined>;
|
|
579
|
+
}, undefined>], undefined>, undefined>;
|
|
580
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
581
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
582
|
+
readonly in_trash: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
583
|
+
}, undefined>;
|
|
584
|
+
}, undefined>, v.ObjectSchema<{
|
|
585
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
586
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
587
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
588
|
+
readonly error: v.StringSchema<undefined>;
|
|
589
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
590
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
591
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
592
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
593
|
+
readonly page: v.ObjectSchema<{
|
|
594
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
595
|
+
readonly id: v.StringSchema<undefined>;
|
|
596
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
597
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
598
|
+
readonly page_id: v.StringSchema<undefined>;
|
|
599
|
+
}, undefined>, v.ObjectSchema<{
|
|
600
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
601
|
+
readonly data_source_id: v.StringSchema<undefined>;
|
|
602
|
+
}, undefined>, v.ObjectSchema<{
|
|
603
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
604
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
605
|
+
}, undefined>, v.ObjectSchema<{
|
|
606
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
607
|
+
readonly block_id: v.StringSchema<undefined>;
|
|
608
|
+
}, undefined>], undefined>;
|
|
609
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
610
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
611
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
612
|
+
readonly id: v.StringSchema<undefined>;
|
|
613
|
+
}, undefined>, v.ObjectSchema<{
|
|
614
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
615
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
616
|
+
readonly id: v.StringSchema<undefined>;
|
|
617
|
+
}, undefined>, v.ObjectSchema<{
|
|
618
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
619
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
620
|
+
readonly id: v.StringSchema<undefined>;
|
|
621
|
+
}, undefined>, v.ObjectSchema<{
|
|
622
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
623
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
624
|
+
readonly id: v.StringSchema<undefined>;
|
|
625
|
+
}, undefined>, v.ObjectSchema<{
|
|
626
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
627
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
628
|
+
readonly id: v.StringSchema<undefined>;
|
|
629
|
+
}, undefined>, v.ObjectSchema<{
|
|
630
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
631
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
632
|
+
readonly id: v.StringSchema<undefined>;
|
|
633
|
+
}, undefined>, v.ObjectSchema<{
|
|
634
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
635
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
636
|
+
readonly id: v.StringSchema<undefined>;
|
|
637
|
+
}, undefined>, v.ObjectSchema<{
|
|
638
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
639
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
640
|
+
readonly id: v.StringSchema<undefined>;
|
|
641
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
642
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
643
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
644
|
+
}, undefined>, v.ObjectSchema<{
|
|
645
|
+
readonly name: v.StringSchema<undefined>;
|
|
646
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
647
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
648
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
649
|
+
}, undefined>], undefined>, undefined>;
|
|
650
|
+
readonly id: v.StringSchema<undefined>;
|
|
651
|
+
}, undefined>, v.ObjectSchema<{
|
|
652
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
653
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
654
|
+
readonly id: v.StringSchema<undefined>;
|
|
655
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
656
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
657
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
658
|
+
}, undefined>, v.ObjectSchema<{
|
|
659
|
+
readonly name: v.StringSchema<undefined>;
|
|
660
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
662
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
663
|
+
}, undefined>], undefined>, undefined>;
|
|
664
|
+
readonly id: v.StringSchema<undefined>;
|
|
665
|
+
}, undefined>, v.ObjectSchema<{
|
|
666
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
667
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
668
|
+
readonly id: v.StringSchema<undefined>;
|
|
669
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
670
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
671
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
672
|
+
}, undefined>, v.ObjectSchema<{
|
|
673
|
+
readonly name: v.StringSchema<undefined>;
|
|
674
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
675
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
676
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
677
|
+
}, undefined>], undefined>, undefined>;
|
|
678
|
+
readonly id: v.StringSchema<undefined>;
|
|
679
|
+
}, undefined>, v.ObjectSchema<{
|
|
680
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
681
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
682
|
+
readonly start: v.StringSchema<undefined>;
|
|
683
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
684
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
685
|
+
}, undefined>, undefined>;
|
|
686
|
+
readonly id: v.StringSchema<undefined>;
|
|
687
|
+
}, undefined>, v.ObjectSchema<{
|
|
688
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
689
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
690
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
691
|
+
readonly id: v.StringSchema<undefined>;
|
|
692
|
+
}, undefined>, v.ObjectSchema<{
|
|
693
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
694
|
+
readonly id: v.StringSchema<undefined>;
|
|
695
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
696
|
+
}, undefined>], undefined>, undefined>;
|
|
697
|
+
readonly id: v.StringSchema<undefined>;
|
|
698
|
+
}, undefined>, v.ObjectSchema<{
|
|
699
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
700
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
701
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
702
|
+
readonly id: v.StringSchema<undefined>;
|
|
703
|
+
}, undefined>, undefined>;
|
|
704
|
+
readonly id: v.StringSchema<undefined>;
|
|
705
|
+
}, undefined>, v.ObjectSchema<{
|
|
706
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
707
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
708
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
709
|
+
readonly name: v.StringSchema<undefined>;
|
|
710
|
+
readonly external: v.ObjectSchema<{
|
|
711
|
+
readonly url: v.StringSchema<undefined>;
|
|
712
|
+
}, undefined>;
|
|
713
|
+
}, undefined>, v.ObjectSchema<{
|
|
714
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
715
|
+
readonly name: v.StringSchema<undefined>;
|
|
716
|
+
readonly file: v.ObjectSchema<{
|
|
717
|
+
readonly url: v.StringSchema<undefined>;
|
|
718
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
719
|
+
}, undefined>;
|
|
720
|
+
}, undefined>], undefined>, undefined>;
|
|
721
|
+
readonly id: v.StringSchema<undefined>;
|
|
722
|
+
}, undefined>, v.ObjectSchema<{
|
|
723
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
724
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
725
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
726
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
727
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
728
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
729
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
730
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
731
|
+
}, undefined>, undefined>;
|
|
732
|
+
readonly id: v.StringSchema<undefined>;
|
|
733
|
+
}, undefined>], undefined>, undefined>;
|
|
734
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
735
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
736
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
737
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
738
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
739
|
+
}, undefined>, v.ObjectSchema<{
|
|
740
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
741
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
742
|
+
readonly id: v.StringSchema<undefined>;
|
|
743
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
744
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
745
|
+
}, undefined>;
|
|
746
|
+
}, undefined>, v.ObjectSchema<{
|
|
747
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
748
|
+
readonly external: v.ObjectSchema<{
|
|
749
|
+
readonly url: v.StringSchema<undefined>;
|
|
750
|
+
}, undefined>;
|
|
751
|
+
}, undefined>, v.ObjectSchema<{
|
|
752
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
753
|
+
readonly file: v.ObjectSchema<{
|
|
754
|
+
readonly url: v.StringSchema<undefined>;
|
|
755
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
756
|
+
}, undefined>;
|
|
757
|
+
}, undefined>], undefined>, undefined>;
|
|
758
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
759
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
760
|
+
readonly external: v.ObjectSchema<{
|
|
761
|
+
readonly url: v.StringSchema<undefined>;
|
|
762
|
+
}, undefined>;
|
|
763
|
+
}, undefined>, v.ObjectSchema<{
|
|
764
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
765
|
+
readonly file: v.ObjectSchema<{
|
|
766
|
+
readonly url: v.StringSchema<undefined>;
|
|
767
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
768
|
+
}, undefined>;
|
|
769
|
+
}, undefined>], undefined>, undefined>;
|
|
770
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
771
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
772
|
+
readonly in_trash: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
773
|
+
}, undefined>;
|
|
774
|
+
}, undefined>, v.ObjectSchema<{
|
|
775
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
776
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
777
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
778
|
+
readonly error: v.StringSchema<undefined>;
|
|
779
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
780
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
781
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
782
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
783
|
+
readonly page: v.ObjectSchema<{
|
|
784
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
785
|
+
readonly id: v.StringSchema<undefined>;
|
|
786
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
787
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
788
|
+
readonly page_id: v.StringSchema<undefined>;
|
|
789
|
+
}, undefined>, v.ObjectSchema<{
|
|
790
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
791
|
+
readonly data_source_id: v.StringSchema<undefined>;
|
|
792
|
+
}, undefined>, v.ObjectSchema<{
|
|
793
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
794
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
795
|
+
}, undefined>, v.ObjectSchema<{
|
|
796
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
797
|
+
readonly block_id: v.StringSchema<undefined>;
|
|
798
|
+
}, undefined>], undefined>;
|
|
799
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
800
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
801
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
802
|
+
readonly id: v.StringSchema<undefined>;
|
|
803
|
+
}, undefined>, v.ObjectSchema<{
|
|
804
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
805
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
806
|
+
readonly id: v.StringSchema<undefined>;
|
|
807
|
+
}, undefined>, v.ObjectSchema<{
|
|
808
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
809
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
810
|
+
readonly id: v.StringSchema<undefined>;
|
|
811
|
+
}, undefined>, v.ObjectSchema<{
|
|
812
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
813
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
814
|
+
readonly id: v.StringSchema<undefined>;
|
|
815
|
+
}, undefined>, v.ObjectSchema<{
|
|
816
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
817
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
818
|
+
readonly id: v.StringSchema<undefined>;
|
|
819
|
+
}, undefined>, v.ObjectSchema<{
|
|
820
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
821
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
822
|
+
readonly id: v.StringSchema<undefined>;
|
|
823
|
+
}, undefined>, v.ObjectSchema<{
|
|
824
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
825
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
826
|
+
readonly id: v.StringSchema<undefined>;
|
|
827
|
+
}, undefined>, v.ObjectSchema<{
|
|
828
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
829
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
830
|
+
readonly id: v.StringSchema<undefined>;
|
|
831
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
832
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
833
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
834
|
+
}, undefined>, v.ObjectSchema<{
|
|
835
|
+
readonly name: v.StringSchema<undefined>;
|
|
836
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
837
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
838
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
839
|
+
}, undefined>], undefined>, undefined>;
|
|
840
|
+
readonly id: v.StringSchema<undefined>;
|
|
841
|
+
}, undefined>, v.ObjectSchema<{
|
|
842
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
843
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
844
|
+
readonly id: v.StringSchema<undefined>;
|
|
845
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
846
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
847
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
848
|
+
}, undefined>, v.ObjectSchema<{
|
|
849
|
+
readonly name: v.StringSchema<undefined>;
|
|
850
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
851
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
852
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
853
|
+
}, undefined>], undefined>, undefined>;
|
|
854
|
+
readonly id: v.StringSchema<undefined>;
|
|
855
|
+
}, undefined>, v.ObjectSchema<{
|
|
856
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
857
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
858
|
+
readonly id: v.StringSchema<undefined>;
|
|
859
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
860
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
861
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
862
|
+
}, undefined>, v.ObjectSchema<{
|
|
863
|
+
readonly name: v.StringSchema<undefined>;
|
|
864
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
865
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
866
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
867
|
+
}, undefined>], undefined>, undefined>;
|
|
868
|
+
readonly id: v.StringSchema<undefined>;
|
|
869
|
+
}, undefined>, v.ObjectSchema<{
|
|
870
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
871
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
872
|
+
readonly start: v.StringSchema<undefined>;
|
|
873
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
874
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
875
|
+
}, undefined>, undefined>;
|
|
876
|
+
readonly id: v.StringSchema<undefined>;
|
|
877
|
+
}, undefined>, v.ObjectSchema<{
|
|
878
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
879
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
880
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
881
|
+
readonly id: v.StringSchema<undefined>;
|
|
882
|
+
}, undefined>, v.ObjectSchema<{
|
|
883
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
884
|
+
readonly id: v.StringSchema<undefined>;
|
|
885
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
886
|
+
}, undefined>], undefined>, undefined>;
|
|
887
|
+
readonly id: v.StringSchema<undefined>;
|
|
888
|
+
}, undefined>, v.ObjectSchema<{
|
|
889
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
890
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
891
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
892
|
+
readonly id: v.StringSchema<undefined>;
|
|
893
|
+
}, undefined>, undefined>;
|
|
894
|
+
readonly id: v.StringSchema<undefined>;
|
|
895
|
+
}, undefined>, v.ObjectSchema<{
|
|
896
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
897
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
898
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
899
|
+
readonly name: v.StringSchema<undefined>;
|
|
900
|
+
readonly external: v.ObjectSchema<{
|
|
901
|
+
readonly url: v.StringSchema<undefined>;
|
|
902
|
+
}, undefined>;
|
|
903
|
+
}, undefined>, v.ObjectSchema<{
|
|
904
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
905
|
+
readonly name: v.StringSchema<undefined>;
|
|
906
|
+
readonly file: v.ObjectSchema<{
|
|
907
|
+
readonly url: v.StringSchema<undefined>;
|
|
908
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
909
|
+
}, undefined>;
|
|
910
|
+
}, undefined>], undefined>, undefined>;
|
|
911
|
+
readonly id: v.StringSchema<undefined>;
|
|
912
|
+
}, undefined>, v.ObjectSchema<{
|
|
913
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
914
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
915
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
916
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
917
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
918
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
919
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
920
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
921
|
+
}, undefined>, undefined>;
|
|
922
|
+
readonly id: v.StringSchema<undefined>;
|
|
923
|
+
}, undefined>], undefined>, undefined>;
|
|
924
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
925
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
926
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
927
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
928
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
929
|
+
}, undefined>, v.ObjectSchema<{
|
|
930
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
931
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
932
|
+
readonly id: v.StringSchema<undefined>;
|
|
933
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
934
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
935
|
+
}, undefined>;
|
|
936
|
+
}, undefined>, v.ObjectSchema<{
|
|
937
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
938
|
+
readonly external: v.ObjectSchema<{
|
|
939
|
+
readonly url: v.StringSchema<undefined>;
|
|
940
|
+
}, undefined>;
|
|
941
|
+
}, undefined>, v.ObjectSchema<{
|
|
942
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
943
|
+
readonly file: v.ObjectSchema<{
|
|
944
|
+
readonly url: v.StringSchema<undefined>;
|
|
945
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
946
|
+
}, undefined>;
|
|
947
|
+
}, undefined>], undefined>, undefined>;
|
|
948
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
949
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
950
|
+
readonly external: v.ObjectSchema<{
|
|
951
|
+
readonly url: v.StringSchema<undefined>;
|
|
952
|
+
}, undefined>;
|
|
953
|
+
}, undefined>, v.ObjectSchema<{
|
|
954
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
955
|
+
readonly file: v.ObjectSchema<{
|
|
956
|
+
readonly url: v.StringSchema<undefined>;
|
|
957
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
958
|
+
}, undefined>;
|
|
959
|
+
}, undefined>], undefined>, undefined>;
|
|
960
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
961
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
962
|
+
readonly in_trash: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
963
|
+
}, undefined>;
|
|
964
|
+
}, undefined>, v.ObjectSchema<{
|
|
965
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
966
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
967
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
968
|
+
readonly error: v.StringSchema<undefined>;
|
|
969
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
970
|
+
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
971
|
+
readonly reason: v.StringSchema<undefined>;
|
|
972
|
+
}, undefined>], undefined>;
|
|
973
|
+
export type HostToSandboxMessage = v.InferOutput<typeof hostToSandboxMessageSchema>;
|
|
974
|
+
//# sourceMappingURL=hostToSandbox.d.ts.map
|