@notionhq/custom-blocks-host 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/protocol/dataSources/dataSource.d.ts +135 -135
- package/dist/protocol/dataSources/propertySchema.d.ts +27 -27
- package/dist/protocol/messages/createPage.d.ts +15 -15
- package/dist/protocol/messages/createPageResult.d.ts +15 -15
- package/dist/protocol/messages/dataSourcesChanged.d.ts +27 -27
- package/dist/protocol/messages/getPage.d.ts +15 -15
- package/dist/protocol/messages/hostToSandbox.d.ts +100 -100
- package/dist/protocol/messages/init.d.ts +28 -28
- package/dist/protocol/messages/sandboxToHost.d.ts +30 -30
- package/dist/protocol/messages/updatePage.d.ts +15 -15
- package/dist/protocol/messages/updatePageResult.d.ts +15 -15
- package/dist/protocol/pages/page.d.ts +45 -45
- package/dist/queries/querySubscriptions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -8,34 +8,36 @@ export type NotionCollectionPointer = v.InferOutput<typeof collectionPointerVali
|
|
|
8
8
|
export declare const notionCollectionSchemaValidator: v.ObjectSchema<{
|
|
9
9
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
10
10
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
11
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
12
11
|
readonly name: v.StringSchema<undefined>;
|
|
13
12
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
14
14
|
}, undefined>, v.ObjectSchema<{
|
|
15
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
16
15
|
readonly name: v.StringSchema<undefined>;
|
|
17
16
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
18
18
|
}, undefined>, v.ObjectSchema<{
|
|
19
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
20
19
|
readonly name: v.StringSchema<undefined>;
|
|
21
20
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
22
22
|
}, undefined>, v.ObjectSchema<{
|
|
23
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
24
23
|
readonly name: v.StringSchema<undefined>;
|
|
25
24
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
26
26
|
}, undefined>, v.ObjectSchema<{
|
|
27
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
28
27
|
readonly name: v.StringSchema<undefined>;
|
|
29
28
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
30
30
|
}, undefined>, v.ObjectSchema<{
|
|
31
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
32
31
|
readonly name: v.StringSchema<undefined>;
|
|
33
32
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
34
34
|
}, undefined>, v.ObjectSchema<{
|
|
35
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
36
35
|
readonly name: v.StringSchema<undefined>;
|
|
37
36
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
38
38
|
}, undefined>, v.ObjectSchema<{
|
|
39
|
+
readonly name: v.StringSchema<undefined>;
|
|
40
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
39
41
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
40
42
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
41
43
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -43,9 +45,9 @@ export declare const notionCollectionSchemaValidator: v.ObjectSchema<{
|
|
|
43
45
|
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>;
|
|
44
46
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
45
47
|
}, undefined>, undefined>;
|
|
48
|
+
}, undefined>, v.ObjectSchema<{
|
|
46
49
|
readonly name: v.StringSchema<undefined>;
|
|
47
50
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
48
|
-
}, undefined>, v.ObjectSchema<{
|
|
49
51
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
50
52
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
51
53
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -53,9 +55,9 @@ export declare const notionCollectionSchemaValidator: v.ObjectSchema<{
|
|
|
53
55
|
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>;
|
|
54
56
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
57
|
}, undefined>, undefined>;
|
|
58
|
+
}, undefined>, v.ObjectSchema<{
|
|
56
59
|
readonly name: v.StringSchema<undefined>;
|
|
57
60
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
-
}, undefined>, v.ObjectSchema<{
|
|
59
61
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
60
62
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
61
63
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -69,77 +71,75 @@ export declare const notionCollectionSchemaValidator: v.ObjectSchema<{
|
|
|
69
71
|
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>;
|
|
70
72
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
71
73
|
}, undefined>, undefined>;
|
|
74
|
+
}, undefined>, v.ObjectSchema<{
|
|
72
75
|
readonly name: v.StringSchema<undefined>;
|
|
73
76
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
-
}, undefined>, v.ObjectSchema<{
|
|
75
77
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
78
|
+
}, undefined>, v.ObjectSchema<{
|
|
76
79
|
readonly name: v.StringSchema<undefined>;
|
|
77
80
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
78
|
-
}, undefined>, v.ObjectSchema<{
|
|
79
81
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
82
|
+
}, undefined>, v.ObjectSchema<{
|
|
80
83
|
readonly name: v.StringSchema<undefined>;
|
|
81
84
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
}, undefined>, v.ObjectSchema<{
|
|
83
85
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
86
|
+
}, undefined>, v.ObjectSchema<{
|
|
84
87
|
readonly name: v.StringSchema<undefined>;
|
|
85
88
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
}, undefined>, v.ObjectSchema<{
|
|
87
89
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
90
|
+
}, undefined>, v.ObjectSchema<{
|
|
88
91
|
readonly name: v.StringSchema<undefined>;
|
|
89
92
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
-
}, undefined>, v.ObjectSchema<{
|
|
91
93
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
92
94
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
93
95
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
94
96
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
95
97
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
96
98
|
}, undefined>, undefined>;
|
|
97
|
-
readonly name: v.StringSchema<undefined>;
|
|
98
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
99
|
}, undefined>, v.ObjectSchema<{
|
|
100
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
101
100
|
readonly name: v.StringSchema<undefined>;
|
|
102
101
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
102
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
103
103
|
}, undefined>, v.ObjectSchema<{
|
|
104
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
105
104
|
readonly name: v.StringSchema<undefined>;
|
|
106
105
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
106
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
107
107
|
}, undefined>, v.ObjectSchema<{
|
|
108
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
109
108
|
readonly name: v.StringSchema<undefined>;
|
|
110
109
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
111
111
|
}, undefined>, v.ObjectSchema<{
|
|
112
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
113
112
|
readonly name: v.StringSchema<undefined>;
|
|
114
113
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
114
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
115
115
|
}, undefined>, v.ObjectSchema<{
|
|
116
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
117
116
|
readonly name: v.StringSchema<undefined>;
|
|
118
117
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
118
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
119
119
|
}, undefined>, v.ObjectSchema<{
|
|
120
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
121
120
|
readonly name: v.StringSchema<undefined>;
|
|
122
121
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
122
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
123
123
|
}, undefined>, v.ObjectSchema<{
|
|
124
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
125
124
|
readonly name: v.StringSchema<undefined>;
|
|
126
125
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
126
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
127
127
|
}, undefined>, v.ObjectSchema<{
|
|
128
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
129
128
|
readonly name: v.StringSchema<undefined>;
|
|
130
129
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
130
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
131
131
|
}, undefined>, v.ObjectSchema<{
|
|
132
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
133
132
|
readonly name: v.StringSchema<undefined>;
|
|
134
133
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
134
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
135
135
|
}, undefined>, v.ObjectSchema<{
|
|
136
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
137
136
|
readonly name: v.StringSchema<undefined>;
|
|
138
137
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
138
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
139
139
|
}, undefined>, v.ObjectSchema<{
|
|
140
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
141
140
|
readonly name: v.StringSchema<undefined>;
|
|
142
141
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
143
143
|
}, undefined>], undefined>, undefined>;
|
|
144
144
|
}, undefined>;
|
|
145
145
|
export type NotionCollectionSchema = v.InferOutput<typeof notionCollectionSchemaValidator>;
|
|
@@ -157,34 +157,36 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
157
157
|
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
158
158
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
159
159
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
160
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
161
160
|
readonly name: v.StringSchema<undefined>;
|
|
162
161
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
162
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
163
163
|
}, undefined>, v.ObjectSchema<{
|
|
164
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
165
164
|
readonly name: v.StringSchema<undefined>;
|
|
166
165
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
167
167
|
}, undefined>, v.ObjectSchema<{
|
|
168
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
169
168
|
readonly name: v.StringSchema<undefined>;
|
|
170
169
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
170
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
171
171
|
}, undefined>, v.ObjectSchema<{
|
|
172
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
173
172
|
readonly name: v.StringSchema<undefined>;
|
|
174
173
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
174
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
175
175
|
}, undefined>, v.ObjectSchema<{
|
|
176
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
177
176
|
readonly name: v.StringSchema<undefined>;
|
|
178
177
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
179
179
|
}, undefined>, v.ObjectSchema<{
|
|
180
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
181
180
|
readonly name: v.StringSchema<undefined>;
|
|
182
181
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
182
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
183
183
|
}, undefined>, v.ObjectSchema<{
|
|
184
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
185
184
|
readonly name: v.StringSchema<undefined>;
|
|
186
185
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
186
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
187
187
|
}, undefined>, v.ObjectSchema<{
|
|
188
|
+
readonly name: v.StringSchema<undefined>;
|
|
189
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
188
190
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
189
191
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
190
192
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -192,9 +194,9 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
192
194
|
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>;
|
|
193
195
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
194
196
|
}, undefined>, undefined>;
|
|
197
|
+
}, undefined>, v.ObjectSchema<{
|
|
195
198
|
readonly name: v.StringSchema<undefined>;
|
|
196
199
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
197
|
-
}, undefined>, v.ObjectSchema<{
|
|
198
200
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
199
201
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
200
202
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -202,9 +204,9 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
202
204
|
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>;
|
|
203
205
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
204
206
|
}, undefined>, undefined>;
|
|
207
|
+
}, undefined>, v.ObjectSchema<{
|
|
205
208
|
readonly name: v.StringSchema<undefined>;
|
|
206
209
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
-
}, undefined>, v.ObjectSchema<{
|
|
208
210
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
209
211
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
210
212
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -218,77 +220,75 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
218
220
|
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>;
|
|
219
221
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
220
222
|
}, undefined>, undefined>;
|
|
223
|
+
}, undefined>, v.ObjectSchema<{
|
|
221
224
|
readonly name: v.StringSchema<undefined>;
|
|
222
225
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
223
|
-
}, undefined>, v.ObjectSchema<{
|
|
224
226
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
227
|
+
}, undefined>, v.ObjectSchema<{
|
|
225
228
|
readonly name: v.StringSchema<undefined>;
|
|
226
229
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
227
|
-
}, undefined>, v.ObjectSchema<{
|
|
228
230
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
231
|
+
}, undefined>, v.ObjectSchema<{
|
|
229
232
|
readonly name: v.StringSchema<undefined>;
|
|
230
233
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
-
}, undefined>, v.ObjectSchema<{
|
|
232
234
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
235
|
+
}, undefined>, v.ObjectSchema<{
|
|
233
236
|
readonly name: v.StringSchema<undefined>;
|
|
234
237
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
235
|
-
}, undefined>, v.ObjectSchema<{
|
|
236
238
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
239
|
+
}, undefined>, v.ObjectSchema<{
|
|
237
240
|
readonly name: v.StringSchema<undefined>;
|
|
238
241
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
239
|
-
}, undefined>, v.ObjectSchema<{
|
|
240
242
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
241
243
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
242
244
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
243
245
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
244
246
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
245
247
|
}, undefined>, undefined>;
|
|
246
|
-
readonly name: v.StringSchema<undefined>;
|
|
247
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
248
248
|
}, undefined>, v.ObjectSchema<{
|
|
249
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
250
249
|
readonly name: v.StringSchema<undefined>;
|
|
251
250
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
251
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
252
252
|
}, undefined>, v.ObjectSchema<{
|
|
253
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
254
253
|
readonly name: v.StringSchema<undefined>;
|
|
255
254
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
256
256
|
}, undefined>, v.ObjectSchema<{
|
|
257
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
258
257
|
readonly name: v.StringSchema<undefined>;
|
|
259
258
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
259
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
260
260
|
}, undefined>, v.ObjectSchema<{
|
|
261
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
262
261
|
readonly name: v.StringSchema<undefined>;
|
|
263
262
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
263
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
264
264
|
}, undefined>, v.ObjectSchema<{
|
|
265
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
266
265
|
readonly name: v.StringSchema<undefined>;
|
|
267
266
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
267
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
268
268
|
}, undefined>, v.ObjectSchema<{
|
|
269
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
270
269
|
readonly name: v.StringSchema<undefined>;
|
|
271
270
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
271
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
272
272
|
}, undefined>, v.ObjectSchema<{
|
|
273
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
274
273
|
readonly name: v.StringSchema<undefined>;
|
|
275
274
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
275
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
276
276
|
}, undefined>, v.ObjectSchema<{
|
|
277
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
278
277
|
readonly name: v.StringSchema<undefined>;
|
|
279
278
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
279
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
280
280
|
}, undefined>, v.ObjectSchema<{
|
|
281
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
282
281
|
readonly name: v.StringSchema<undefined>;
|
|
283
282
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
283
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
284
284
|
}, undefined>, v.ObjectSchema<{
|
|
285
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
286
285
|
readonly name: v.StringSchema<undefined>;
|
|
287
286
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
287
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
288
288
|
}, undefined>, v.ObjectSchema<{
|
|
289
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
290
289
|
readonly name: v.StringSchema<undefined>;
|
|
291
290
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
291
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
292
292
|
}, undefined>], undefined>, undefined>;
|
|
293
293
|
}, undefined>, undefined>;
|
|
294
294
|
/**
|
|
@@ -301,34 +301,36 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
301
301
|
* (`created_time`, `last_edited_time`, `created_by`, `last_edited_by`).
|
|
302
302
|
*/
|
|
303
303
|
readonly propertySchemasById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
304
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
305
304
|
readonly name: v.StringSchema<undefined>;
|
|
306
305
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
306
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
307
307
|
}, undefined>, v.ObjectSchema<{
|
|
308
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
309
308
|
readonly name: v.StringSchema<undefined>;
|
|
310
309
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
310
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
311
311
|
}, undefined>, v.ObjectSchema<{
|
|
312
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
313
312
|
readonly name: v.StringSchema<undefined>;
|
|
314
313
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
314
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
315
315
|
}, undefined>, v.ObjectSchema<{
|
|
316
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
317
316
|
readonly name: v.StringSchema<undefined>;
|
|
318
317
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
318
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
319
319
|
}, undefined>, v.ObjectSchema<{
|
|
320
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
321
320
|
readonly name: v.StringSchema<undefined>;
|
|
322
321
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
322
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
323
323
|
}, undefined>, v.ObjectSchema<{
|
|
324
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
325
324
|
readonly name: v.StringSchema<undefined>;
|
|
326
325
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
326
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
327
327
|
}, undefined>, v.ObjectSchema<{
|
|
328
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
329
328
|
readonly name: v.StringSchema<undefined>;
|
|
330
329
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
331
331
|
}, undefined>, v.ObjectSchema<{
|
|
332
|
+
readonly name: v.StringSchema<undefined>;
|
|
333
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
332
334
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
333
335
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
334
336
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -336,9 +338,9 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
336
338
|
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>;
|
|
337
339
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
338
340
|
}, undefined>, undefined>;
|
|
341
|
+
}, undefined>, v.ObjectSchema<{
|
|
339
342
|
readonly name: v.StringSchema<undefined>;
|
|
340
343
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
341
|
-
}, undefined>, v.ObjectSchema<{
|
|
342
344
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
343
345
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
344
346
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -346,9 +348,9 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
346
348
|
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>;
|
|
347
349
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
348
350
|
}, undefined>, undefined>;
|
|
351
|
+
}, undefined>, v.ObjectSchema<{
|
|
349
352
|
readonly name: v.StringSchema<undefined>;
|
|
350
353
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
351
|
-
}, undefined>, v.ObjectSchema<{
|
|
352
354
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
353
355
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
354
356
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -362,77 +364,75 @@ export declare const notionDataSourceSchema: v.ObjectSchema<{
|
|
|
362
364
|
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>;
|
|
363
365
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
364
366
|
}, undefined>, undefined>;
|
|
367
|
+
}, undefined>, v.ObjectSchema<{
|
|
365
368
|
readonly name: v.StringSchema<undefined>;
|
|
366
369
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
367
|
-
}, undefined>, v.ObjectSchema<{
|
|
368
370
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
371
|
+
}, undefined>, v.ObjectSchema<{
|
|
369
372
|
readonly name: v.StringSchema<undefined>;
|
|
370
373
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
371
|
-
}, undefined>, v.ObjectSchema<{
|
|
372
374
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
375
|
+
}, undefined>, v.ObjectSchema<{
|
|
373
376
|
readonly name: v.StringSchema<undefined>;
|
|
374
377
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
375
|
-
}, undefined>, v.ObjectSchema<{
|
|
376
378
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
379
|
+
}, undefined>, v.ObjectSchema<{
|
|
377
380
|
readonly name: v.StringSchema<undefined>;
|
|
378
381
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
379
|
-
}, undefined>, v.ObjectSchema<{
|
|
380
382
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
383
|
+
}, undefined>, v.ObjectSchema<{
|
|
381
384
|
readonly name: v.StringSchema<undefined>;
|
|
382
385
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
383
|
-
}, undefined>, v.ObjectSchema<{
|
|
384
386
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
385
387
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
386
388
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
387
389
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
388
390
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
389
391
|
}, undefined>, undefined>;
|
|
390
|
-
readonly name: v.StringSchema<undefined>;
|
|
391
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
392
392
|
}, undefined>, v.ObjectSchema<{
|
|
393
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
394
393
|
readonly name: v.StringSchema<undefined>;
|
|
395
394
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
395
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
396
396
|
}, undefined>, v.ObjectSchema<{
|
|
397
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
398
397
|
readonly name: v.StringSchema<undefined>;
|
|
399
398
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
399
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
400
400
|
}, undefined>, v.ObjectSchema<{
|
|
401
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
402
401
|
readonly name: v.StringSchema<undefined>;
|
|
403
402
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
403
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
404
404
|
}, undefined>, v.ObjectSchema<{
|
|
405
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
406
405
|
readonly name: v.StringSchema<undefined>;
|
|
407
406
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
407
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
408
408
|
}, undefined>, v.ObjectSchema<{
|
|
409
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
410
409
|
readonly name: v.StringSchema<undefined>;
|
|
411
410
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
411
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
412
412
|
}, undefined>, v.ObjectSchema<{
|
|
413
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
414
413
|
readonly name: v.StringSchema<undefined>;
|
|
415
414
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
415
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
416
416
|
}, undefined>, v.ObjectSchema<{
|
|
417
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
418
417
|
readonly name: v.StringSchema<undefined>;
|
|
419
418
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
419
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
420
420
|
}, undefined>, v.ObjectSchema<{
|
|
421
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
422
421
|
readonly name: v.StringSchema<undefined>;
|
|
423
422
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
423
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
424
424
|
}, undefined>, v.ObjectSchema<{
|
|
425
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
426
425
|
readonly name: v.StringSchema<undefined>;
|
|
427
426
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
427
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
428
428
|
}, undefined>, v.ObjectSchema<{
|
|
429
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
430
429
|
readonly name: v.StringSchema<undefined>;
|
|
431
430
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
431
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
432
432
|
}, undefined>, v.ObjectSchema<{
|
|
433
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
434
433
|
readonly name: v.StringSchema<undefined>;
|
|
435
434
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
435
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
436
436
|
}, undefined>], undefined>, undefined>;
|
|
437
437
|
}, undefined>;
|
|
438
438
|
export type NotionDataSource = v.InferOutput<typeof notionDataSourceSchema>;
|
|
@@ -445,34 +445,36 @@ export declare const notionDataSourceBindingSchema: v.ObjectSchema<{
|
|
|
445
445
|
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
446
446
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
447
447
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
448
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
449
448
|
readonly name: v.StringSchema<undefined>;
|
|
450
449
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
451
451
|
}, undefined>, v.ObjectSchema<{
|
|
452
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
453
452
|
readonly name: v.StringSchema<undefined>;
|
|
454
453
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
455
455
|
}, undefined>, v.ObjectSchema<{
|
|
456
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
457
456
|
readonly name: v.StringSchema<undefined>;
|
|
458
457
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
458
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
459
459
|
}, undefined>, v.ObjectSchema<{
|
|
460
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
461
460
|
readonly name: v.StringSchema<undefined>;
|
|
462
461
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
462
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
463
463
|
}, undefined>, v.ObjectSchema<{
|
|
464
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
465
464
|
readonly name: v.StringSchema<undefined>;
|
|
466
465
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
466
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
467
467
|
}, undefined>, v.ObjectSchema<{
|
|
468
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
469
468
|
readonly name: v.StringSchema<undefined>;
|
|
470
469
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
470
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
471
471
|
}, undefined>, v.ObjectSchema<{
|
|
472
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
473
472
|
readonly name: v.StringSchema<undefined>;
|
|
474
473
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
474
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
475
475
|
}, undefined>, v.ObjectSchema<{
|
|
476
|
+
readonly name: v.StringSchema<undefined>;
|
|
477
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
476
478
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
477
479
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
478
480
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -480,9 +482,9 @@ export declare const notionDataSourceBindingSchema: v.ObjectSchema<{
|
|
|
480
482
|
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>;
|
|
481
483
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
482
484
|
}, undefined>, undefined>;
|
|
485
|
+
}, undefined>, v.ObjectSchema<{
|
|
483
486
|
readonly name: v.StringSchema<undefined>;
|
|
484
487
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
485
|
-
}, undefined>, v.ObjectSchema<{
|
|
486
488
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
487
489
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
488
490
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -490,9 +492,9 @@ export declare const notionDataSourceBindingSchema: v.ObjectSchema<{
|
|
|
490
492
|
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>;
|
|
491
493
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
492
494
|
}, undefined>, undefined>;
|
|
495
|
+
}, undefined>, v.ObjectSchema<{
|
|
493
496
|
readonly name: v.StringSchema<undefined>;
|
|
494
497
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
495
|
-
}, undefined>, v.ObjectSchema<{
|
|
496
498
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
497
499
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
498
500
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -506,77 +508,75 @@ export declare const notionDataSourceBindingSchema: v.ObjectSchema<{
|
|
|
506
508
|
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>;
|
|
507
509
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
508
510
|
}, undefined>, undefined>;
|
|
511
|
+
}, undefined>, v.ObjectSchema<{
|
|
509
512
|
readonly name: v.StringSchema<undefined>;
|
|
510
513
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
511
|
-
}, undefined>, v.ObjectSchema<{
|
|
512
514
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
515
|
+
}, undefined>, v.ObjectSchema<{
|
|
513
516
|
readonly name: v.StringSchema<undefined>;
|
|
514
517
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
515
|
-
}, undefined>, v.ObjectSchema<{
|
|
516
518
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
519
|
+
}, undefined>, v.ObjectSchema<{
|
|
517
520
|
readonly name: v.StringSchema<undefined>;
|
|
518
521
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
519
|
-
}, undefined>, v.ObjectSchema<{
|
|
520
522
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
523
|
+
}, undefined>, v.ObjectSchema<{
|
|
521
524
|
readonly name: v.StringSchema<undefined>;
|
|
522
525
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
523
|
-
}, undefined>, v.ObjectSchema<{
|
|
524
526
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
527
|
+
}, undefined>, v.ObjectSchema<{
|
|
525
528
|
readonly name: v.StringSchema<undefined>;
|
|
526
529
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
527
|
-
}, undefined>, v.ObjectSchema<{
|
|
528
530
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
529
531
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
530
532
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
531
533
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
532
534
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
533
535
|
}, undefined>, undefined>;
|
|
534
|
-
readonly name: v.StringSchema<undefined>;
|
|
535
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
536
536
|
}, undefined>, v.ObjectSchema<{
|
|
537
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
538
537
|
readonly name: v.StringSchema<undefined>;
|
|
539
538
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
539
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
540
540
|
}, undefined>, v.ObjectSchema<{
|
|
541
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
542
541
|
readonly name: v.StringSchema<undefined>;
|
|
543
542
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
543
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
544
544
|
}, undefined>, v.ObjectSchema<{
|
|
545
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
546
545
|
readonly name: v.StringSchema<undefined>;
|
|
547
546
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
547
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
548
548
|
}, undefined>, v.ObjectSchema<{
|
|
549
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
550
549
|
readonly name: v.StringSchema<undefined>;
|
|
551
550
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
551
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
552
552
|
}, undefined>, v.ObjectSchema<{
|
|
553
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
554
553
|
readonly name: v.StringSchema<undefined>;
|
|
555
554
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
555
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
556
556
|
}, undefined>, v.ObjectSchema<{
|
|
557
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
558
557
|
readonly name: v.StringSchema<undefined>;
|
|
559
558
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
559
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
560
560
|
}, undefined>, v.ObjectSchema<{
|
|
561
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
562
561
|
readonly name: v.StringSchema<undefined>;
|
|
563
562
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
563
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
564
564
|
}, undefined>, v.ObjectSchema<{
|
|
565
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
566
565
|
readonly name: v.StringSchema<undefined>;
|
|
567
566
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
567
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
568
568
|
}, undefined>, v.ObjectSchema<{
|
|
569
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
570
569
|
readonly name: v.StringSchema<undefined>;
|
|
571
570
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
571
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
572
572
|
}, undefined>, v.ObjectSchema<{
|
|
573
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
574
573
|
readonly name: v.StringSchema<undefined>;
|
|
575
574
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
575
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
576
576
|
}, undefined>, v.ObjectSchema<{
|
|
577
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
578
577
|
readonly name: v.StringSchema<undefined>;
|
|
579
578
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
579
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
580
580
|
}, undefined>], undefined>, undefined>;
|
|
581
581
|
}, undefined>, undefined>;
|
|
582
582
|
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
@@ -591,34 +591,36 @@ export declare const notionDataSourceBindingsSchema: v.RecordSchema<v.StringSche
|
|
|
591
591
|
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
592
592
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
593
593
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
594
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
595
594
|
readonly name: v.StringSchema<undefined>;
|
|
596
595
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
596
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
597
597
|
}, undefined>, v.ObjectSchema<{
|
|
598
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
599
598
|
readonly name: v.StringSchema<undefined>;
|
|
600
599
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
600
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
601
601
|
}, undefined>, v.ObjectSchema<{
|
|
602
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
603
602
|
readonly name: v.StringSchema<undefined>;
|
|
604
603
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
604
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
605
605
|
}, undefined>, v.ObjectSchema<{
|
|
606
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
607
606
|
readonly name: v.StringSchema<undefined>;
|
|
608
607
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
608
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
609
609
|
}, undefined>, v.ObjectSchema<{
|
|
610
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
611
610
|
readonly name: v.StringSchema<undefined>;
|
|
612
611
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
612
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
613
613
|
}, undefined>, v.ObjectSchema<{
|
|
614
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
615
614
|
readonly name: v.StringSchema<undefined>;
|
|
616
615
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
616
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
617
617
|
}, undefined>, v.ObjectSchema<{
|
|
618
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
619
618
|
readonly name: v.StringSchema<undefined>;
|
|
620
619
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
620
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
621
621
|
}, undefined>, v.ObjectSchema<{
|
|
622
|
+
readonly name: v.StringSchema<undefined>;
|
|
623
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
622
624
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
623
625
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
624
626
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -626,9 +628,9 @@ export declare const notionDataSourceBindingsSchema: v.RecordSchema<v.StringSche
|
|
|
626
628
|
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>;
|
|
627
629
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
628
630
|
}, undefined>, undefined>;
|
|
631
|
+
}, undefined>, v.ObjectSchema<{
|
|
629
632
|
readonly name: v.StringSchema<undefined>;
|
|
630
633
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
631
|
-
}, undefined>, v.ObjectSchema<{
|
|
632
634
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
633
635
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
634
636
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -636,9 +638,9 @@ export declare const notionDataSourceBindingsSchema: v.RecordSchema<v.StringSche
|
|
|
636
638
|
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>;
|
|
637
639
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
638
640
|
}, undefined>, undefined>;
|
|
641
|
+
}, undefined>, v.ObjectSchema<{
|
|
639
642
|
readonly name: v.StringSchema<undefined>;
|
|
640
643
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
641
|
-
}, undefined>, v.ObjectSchema<{
|
|
642
644
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
643
645
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
644
646
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -652,77 +654,75 @@ export declare const notionDataSourceBindingsSchema: v.RecordSchema<v.StringSche
|
|
|
652
654
|
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>;
|
|
653
655
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
654
656
|
}, undefined>, undefined>;
|
|
657
|
+
}, undefined>, v.ObjectSchema<{
|
|
655
658
|
readonly name: v.StringSchema<undefined>;
|
|
656
659
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
657
|
-
}, undefined>, v.ObjectSchema<{
|
|
658
660
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
661
|
+
}, undefined>, v.ObjectSchema<{
|
|
659
662
|
readonly name: v.StringSchema<undefined>;
|
|
660
663
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
-
}, undefined>, v.ObjectSchema<{
|
|
662
664
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
665
|
+
}, undefined>, v.ObjectSchema<{
|
|
663
666
|
readonly name: v.StringSchema<undefined>;
|
|
664
667
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
665
|
-
}, undefined>, v.ObjectSchema<{
|
|
666
668
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
669
|
+
}, undefined>, v.ObjectSchema<{
|
|
667
670
|
readonly name: v.StringSchema<undefined>;
|
|
668
671
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
669
|
-
}, undefined>, v.ObjectSchema<{
|
|
670
672
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
673
|
+
}, undefined>, v.ObjectSchema<{
|
|
671
674
|
readonly name: v.StringSchema<undefined>;
|
|
672
675
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
673
|
-
}, undefined>, v.ObjectSchema<{
|
|
674
676
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
675
677
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
676
678
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
677
679
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
678
680
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
679
681
|
}, undefined>, undefined>;
|
|
680
|
-
readonly name: v.StringSchema<undefined>;
|
|
681
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
682
682
|
}, undefined>, v.ObjectSchema<{
|
|
683
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
684
683
|
readonly name: v.StringSchema<undefined>;
|
|
685
684
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
685
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
686
686
|
}, undefined>, v.ObjectSchema<{
|
|
687
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
688
687
|
readonly name: v.StringSchema<undefined>;
|
|
689
688
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
689
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
690
690
|
}, undefined>, v.ObjectSchema<{
|
|
691
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
692
691
|
readonly name: v.StringSchema<undefined>;
|
|
693
692
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
693
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
694
694
|
}, undefined>, v.ObjectSchema<{
|
|
695
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
696
695
|
readonly name: v.StringSchema<undefined>;
|
|
697
696
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
697
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
698
698
|
}, undefined>, v.ObjectSchema<{
|
|
699
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
700
699
|
readonly name: v.StringSchema<undefined>;
|
|
701
700
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
701
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
702
702
|
}, undefined>, v.ObjectSchema<{
|
|
703
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
704
703
|
readonly name: v.StringSchema<undefined>;
|
|
705
704
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
705
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
706
706
|
}, undefined>, v.ObjectSchema<{
|
|
707
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
708
707
|
readonly name: v.StringSchema<undefined>;
|
|
709
708
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
709
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
710
710
|
}, undefined>, v.ObjectSchema<{
|
|
711
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
712
711
|
readonly name: v.StringSchema<undefined>;
|
|
713
712
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
713
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
714
714
|
}, undefined>, v.ObjectSchema<{
|
|
715
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
716
715
|
readonly name: v.StringSchema<undefined>;
|
|
717
716
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
717
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
718
718
|
}, undefined>, v.ObjectSchema<{
|
|
719
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
720
719
|
readonly name: v.StringSchema<undefined>;
|
|
721
720
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
721
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
722
722
|
}, undefined>, v.ObjectSchema<{
|
|
723
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
724
723
|
readonly name: v.StringSchema<undefined>;
|
|
725
724
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
725
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
726
726
|
}, undefined>], undefined>, undefined>;
|
|
727
727
|
}, undefined>, undefined>;
|
|
728
728
|
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|