@notionhq/custom-blocks-host 0.3.8 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +143 -225
- package/THIRD_PARTY_LICENSES.md +9 -0
- package/dist/autoBindProperties.d.ts +5 -2
- package/dist/autoBindProperties.d.ts.map +1 -1
- package/dist/autoBindProperties.js +5 -2
- package/dist/browser.js +1 -1
- package/dist/compatibility/addMetadataReadSchemasForProtocol3To4.d.ts +1215 -0
- package/dist/compatibility/addMetadataReadSchemasForProtocol3To4.d.ts.map +1 -0
- package/dist/compatibility/addMetadataReadSchemasForProtocol3To4.js +27 -0
- package/dist/compatibility/normalizeHostToSandboxMessage.d.ts +8 -0
- package/dist/compatibility/normalizeHostToSandboxMessage.d.ts.map +1 -0
- package/dist/compatibility/normalizeHostToSandboxMessage.js +39 -0
- package/dist/compatibility/normalizePageResultsForProtocol3To5.d.ts +11 -0
- package/dist/compatibility/normalizePageResultsForProtocol3To5.d.ts.map +1 -0
- package/dist/compatibility/normalizePageResultsForProtocol3To5.js +18 -0
- package/dist/compatibility/normalizePageResultsForProtocol6.d.ts +9 -0
- package/dist/compatibility/normalizePageResultsForProtocol6.d.ts.map +1 -0
- package/dist/compatibility/normalizePageResultsForProtocol6.js +18 -0
- package/dist/compatibility/normalizeSandboxToHostMessage.d.ts +1091 -0
- package/dist/compatibility/normalizeSandboxToHostMessage.d.ts.map +1 -0
- package/dist/compatibility/normalizeSandboxToHostMessage.js +9 -0
- package/dist/compatibility/pageForProtocol3To5.d.ts +159 -0
- package/dist/compatibility/pageForProtocol3To5.d.ts.map +1 -0
- package/dist/{lifecycle/legacyPage.js → compatibility/pageForProtocol3To5.js} +50 -9
- package/dist/compatibility/pageResult.d.ts +11 -0
- package/dist/compatibility/pageResult.d.ts.map +1 -0
- package/dist/compatibility/pageWithNullTextFallbackProperties.d.ts +9 -0
- package/dist/compatibility/pageWithNullTextFallbackProperties.d.ts.map +1 -0
- package/dist/compatibility/pageWithNullTextFallbackProperties.js +46 -0
- package/dist/createCustomBlockHost.d.ts +18 -19
- package/dist/createCustomBlockHost.d.ts.map +1 -1
- package/dist/createCustomBlockHost.js +103 -38
- package/dist/index.d.ts +2 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/{localBlockUrl.d.ts → isAllowedLocalPreviewUrl.d.ts} +2 -2
- package/dist/isAllowedLocalPreviewUrl.d.ts.map +1 -0
- package/dist/{localBlockUrl.js → isAllowedLocalPreviewUrl.js} +3 -7
- package/dist/lifecycle/initErrors.d.ts +1 -0
- package/dist/lifecycle/initErrors.d.ts.map +1 -1
- package/dist/lifecycle/initErrors.js +7 -0
- package/dist/lifecycle/initializationController.d.ts +6 -4
- package/dist/lifecycle/initializationController.d.ts.map +1 -1
- package/dist/lifecycle/initializationController.js +24 -15
- package/dist/lifecycle/resolveManifest.d.ts +13 -0
- package/dist/lifecycle/resolveManifest.d.ts.map +1 -0
- package/dist/lifecycle/resolveManifest.js +21 -0
- package/dist/lifecycle/types.d.ts +1637 -17
- package/dist/lifecycle/types.d.ts.map +1 -1
- package/dist/lifecycle/types.js +18 -0
- package/dist/messages/sandboxMessageRouter.d.ts.map +1 -1
- package/dist/messages/sandboxMessageRouter.js +2 -2
- package/dist/protocol/dataSources/dataSourcePage.d.ts +3 -4
- package/dist/protocol/dataSources/dataSourcePage.js +2 -3
- package/dist/protocol/index.d.ts +1 -0
- package/dist/protocol/index.js +1 -0
- package/dist/protocol/isLocalBlockServerUrl.d.ts +2 -0
- package/dist/protocol/isLocalBlockServerUrl.js +9 -0
- package/dist/protocol/messages/connect.d.ts +2 -2
- package/dist/protocol/messages/connect.js +2 -2
- package/dist/protocol/messages/createPageResult.d.ts +2 -2
- package/dist/protocol/messages/createPageResult.js +3 -3
- package/dist/protocol/messages/getPage.d.ts +2 -2
- package/dist/protocol/messages/getPage.js +3 -3
- package/dist/protocol/messages/hostToSandbox.d.ts +3 -3
- package/dist/protocol/messages/hostToSandbox.js +10 -10
- package/dist/protocol/messages/init.d.ts +1 -1
- package/dist/protocol/messages/queryDataSourceResult.d.ts +3 -3
- package/dist/protocol/messages/queryDataSourceResult.js +6 -3
- package/dist/protocol/messages/updatePageResult.d.ts +2 -2
- package/dist/protocol/messages/updatePageResult.js +3 -3
- package/dist/protocol/pages/page.d.ts +2 -2
- package/dist/protocol/pages/page.js +1 -1
- package/dist/protocol/protocolVersion.d.ts +3 -2
- package/dist/protocol/protocolVersion.js +4 -2
- package/dist/protocol.d.ts +9 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +8 -0
- package/docs/bridge/changelog.md +67 -0
- package/docs/bridge/protocol.md +182 -0
- package/docs/bridge/versioning.md +38 -0
- package/docs/compatibility.md +68 -0
- package/docs/handlers.md +199 -0
- package/docs/lifecycle.md +117 -0
- package/package.json +11 -3
- package/src/autoBindProperties.ts +5 -2
- package/src/compatibility/addMetadataReadSchemasForProtocol3To4.ts +36 -0
- package/src/compatibility/normalizeHostToSandboxMessage.ts +54 -0
- package/src/compatibility/normalizePageResultsForProtocol3To5.ts +28 -0
- package/src/compatibility/normalizePageResultsForProtocol6.ts +23 -0
- package/src/compatibility/normalizeSandboxToHostMessage.ts +10 -0
- package/src/{lifecycle/legacyPage.ts → compatibility/pageForProtocol3To5.ts} +52 -11
- package/src/compatibility/pageResult.ts +18 -0
- package/src/compatibility/pageWithNullTextFallbackProperties.ts +53 -0
- package/src/createCustomBlockHost.ts +152 -62
- package/src/index.ts +4 -51
- package/src/{localBlockUrl.ts → isAllowedLocalPreviewUrl.ts} +4 -7
- package/src/lifecycle/initErrors.ts +9 -0
- package/src/lifecycle/initializationController.ts +34 -19
- package/src/lifecycle/resolveManifest.ts +31 -0
- package/src/lifecycle/types.ts +84 -16
- package/src/messages/sandboxMessageRouter.ts +2 -2
- package/src/protocol.ts +8 -0
- package/dist/lifecycle/legacyPage.d.ts +0 -70
- package/dist/lifecycle/legacyPage.d.ts.map +0 -1
- package/dist/lifecycle/loadCustomBlockManifest.d.ts +0 -16
- package/dist/lifecycle/loadCustomBlockManifest.d.ts.map +0 -1
- package/dist/lifecycle/loadCustomBlockManifest.js +0 -65
- package/dist/lifecycle/manifestOptions.d.ts +0 -17
- package/dist/lifecycle/manifestOptions.d.ts.map +0 -1
- package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts +0 -6
- package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts.map +0 -1
- package/dist/lifecycle/normalizeHostToSandboxMessage.js +0 -16
- package/dist/lifecycle/normalizePage.d.ts +0 -7
- package/dist/lifecycle/normalizePage.d.ts.map +0 -1
- package/dist/lifecycle/normalizePage.js +0 -22
- package/dist/localBlockUrl.d.ts.map +0 -1
- package/src/lifecycle/loadCustomBlockManifest.ts +0 -89
- package/src/lifecycle/manifestOptions.ts +0 -19
- package/src/lifecycle/normalizeHostToSandboxMessage.ts +0 -29
- package/src/lifecycle/normalizePage.ts +0 -35
- /package/dist/{lifecycle/manifestOptions.js → compatibility/pageResult.js} +0 -0
|
@@ -0,0 +1,1091 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/**
|
|
3
|
+
* Validates sandbox wire messages before handler dispatch. Supported requests
|
|
4
|
+
* currently share one schema, so parsing produces the current handler shape.
|
|
5
|
+
*/
|
|
6
|
+
export declare function normalizeSandboxToHostMessage(payload: unknown): v.SafeParseResult<v.VariantSchema<"type", [v.VariantSchema<"status", [v.ObjectSchema<{
|
|
7
|
+
readonly type: v.LiteralSchema<"connect", undefined>;
|
|
8
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
9
|
+
readonly bridgeProtocolVersion: v.NumberSchema<undefined>;
|
|
10
|
+
readonly sdkVersion: v.StringSchema<undefined>;
|
|
11
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
12
|
+
readonly manifest: v.OptionalSchema<v.ObjectSchema<{
|
|
13
|
+
readonly version: v.LiteralSchema<1, undefined>;
|
|
14
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly slashCommand: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly icon: v.OptionalSchema<v.ObjectSchema<{
|
|
18
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
19
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
20
|
+
}, undefined>, undefined>;
|
|
21
|
+
readonly dataSources: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
22
|
+
readonly name: v.StringSchema<undefined>;
|
|
23
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
25
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
26
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
27
|
+
}, undefined>, v.ObjectSchema<{
|
|
28
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
29
|
+
readonly url: v.StringSchema<undefined>;
|
|
30
|
+
}, undefined>], undefined>, undefined>;
|
|
31
|
+
readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
32
|
+
readonly name: v.StringSchema<undefined>;
|
|
33
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
|
|
35
|
+
}, undefined>, undefined>, {}>;
|
|
36
|
+
}, undefined>, undefined>, {}>;
|
|
37
|
+
}, undefined>, undefined>;
|
|
38
|
+
}, undefined>, v.ObjectSchema<{
|
|
39
|
+
readonly type: v.LiteralSchema<"connect", undefined>;
|
|
40
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
41
|
+
readonly bridgeProtocolVersion: v.NumberSchema<undefined>;
|
|
42
|
+
readonly sdkVersion: v.StringSchema<undefined>;
|
|
43
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
44
|
+
readonly error: v.ObjectSchema<{
|
|
45
|
+
readonly code: v.StringSchema<undefined>;
|
|
46
|
+
readonly message: v.StringSchema<undefined>;
|
|
47
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
48
|
+
}, undefined>;
|
|
49
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
50
|
+
readonly type: v.LiteralSchema<"initResult", undefined>;
|
|
51
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
52
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
53
|
+
readonly initialHeight: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.FiniteAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
54
|
+
}, undefined>, v.ObjectSchema<{
|
|
55
|
+
readonly type: v.LiteralSchema<"initResult", undefined>;
|
|
56
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
57
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
58
|
+
readonly error: v.ObjectSchema<{
|
|
59
|
+
readonly code: v.StringSchema<undefined>;
|
|
60
|
+
readonly message: v.StringSchema<undefined>;
|
|
61
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
62
|
+
}, undefined>;
|
|
63
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
64
|
+
readonly type: v.LiteralSchema<"queryDataSource", undefined>;
|
|
65
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
66
|
+
readonly dataSourceId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
67
|
+
readonly limit: v.NumberSchema<undefined>;
|
|
68
|
+
readonly filter: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
69
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
70
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
71
|
+
readonly contains: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>, v.RegexAction<string & v.Brand<"NotionPageId">, undefined>, v.TransformAction<string & v.Brand<"NotionPageId">, string>]>;
|
|
72
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
73
|
+
readonly does_not_contain: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>, v.RegexAction<string & v.Brand<"NotionPageId">, undefined>, v.TransformAction<string & v.Brand<"NotionPageId">, string>]>;
|
|
74
|
+
}, undefined>], undefined>;
|
|
75
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
76
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
77
|
+
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
78
|
+
readonly contains: v.StrictObjectSchema<{
|
|
79
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
80
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
81
|
+
}, undefined>;
|
|
82
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
83
|
+
readonly does_not_contain: v.StrictObjectSchema<{
|
|
84
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
85
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
88
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
89
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
90
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
91
|
+
}, undefined>], undefined>;
|
|
92
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
93
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
94
|
+
readonly title: v.UnionSchema<[v.StrictObjectSchema<{
|
|
95
|
+
readonly equals: v.StringSchema<undefined>;
|
|
96
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
97
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
98
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
99
|
+
readonly contains: v.StringSchema<undefined>;
|
|
100
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
101
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
102
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
103
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
104
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
105
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
106
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
107
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
108
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
109
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
110
|
+
}, undefined>], undefined>], undefined>;
|
|
111
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
112
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
113
|
+
readonly rich_text: v.UnionSchema<[v.StrictObjectSchema<{
|
|
114
|
+
readonly equals: v.StringSchema<undefined>;
|
|
115
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
116
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
117
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
118
|
+
readonly contains: v.StringSchema<undefined>;
|
|
119
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
120
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
121
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
122
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
123
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
124
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
125
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
126
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
127
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
128
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
129
|
+
}, undefined>], undefined>], undefined>;
|
|
130
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
131
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
132
|
+
readonly url: v.UnionSchema<[v.StrictObjectSchema<{
|
|
133
|
+
readonly equals: v.StringSchema<undefined>;
|
|
134
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
135
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
136
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
137
|
+
readonly contains: v.StringSchema<undefined>;
|
|
138
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
139
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
140
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
141
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
142
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
143
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
144
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
145
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
146
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
147
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
148
|
+
}, undefined>], undefined>], undefined>;
|
|
149
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
150
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
151
|
+
readonly email: v.UnionSchema<[v.StrictObjectSchema<{
|
|
152
|
+
readonly equals: v.StringSchema<undefined>;
|
|
153
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
154
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
155
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
156
|
+
readonly contains: v.StringSchema<undefined>;
|
|
157
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
158
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
159
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
160
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
161
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
162
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
163
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
164
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
165
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
166
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
167
|
+
}, undefined>], undefined>], undefined>;
|
|
168
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
169
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
170
|
+
readonly phone_number: v.UnionSchema<[v.StrictObjectSchema<{
|
|
171
|
+
readonly equals: v.StringSchema<undefined>;
|
|
172
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
173
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
174
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
175
|
+
readonly contains: v.StringSchema<undefined>;
|
|
176
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
177
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
178
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
179
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
180
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
181
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
182
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
183
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
184
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
185
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
186
|
+
}, undefined>], undefined>], undefined>;
|
|
187
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
188
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
189
|
+
readonly number: v.UnionSchema<[v.StrictObjectSchema<{
|
|
190
|
+
readonly equals: v.NumberSchema<undefined>;
|
|
191
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
192
|
+
readonly does_not_equal: v.NumberSchema<undefined>;
|
|
193
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
194
|
+
readonly greater_than: v.NumberSchema<undefined>;
|
|
195
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
196
|
+
readonly less_than: v.NumberSchema<undefined>;
|
|
197
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
198
|
+
readonly greater_than_or_equal_to: v.NumberSchema<undefined>;
|
|
199
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
200
|
+
readonly less_than_or_equal_to: v.NumberSchema<undefined>;
|
|
201
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
202
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
203
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
204
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
205
|
+
}, undefined>], undefined>], undefined>;
|
|
206
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
207
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
208
|
+
readonly checkbox: v.UnionSchema<[v.StrictObjectSchema<{
|
|
209
|
+
readonly equals: v.BooleanSchema<undefined>;
|
|
210
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
211
|
+
readonly does_not_equal: v.BooleanSchema<undefined>;
|
|
212
|
+
}, undefined>], undefined>;
|
|
213
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
214
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
215
|
+
readonly select: v.UnionSchema<[v.StrictObjectSchema<{
|
|
216
|
+
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
217
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
218
|
+
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
219
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
220
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
221
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
222
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
223
|
+
}, undefined>], undefined>], undefined>;
|
|
224
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
225
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
226
|
+
readonly multi_select: v.UnionSchema<[v.StrictObjectSchema<{
|
|
227
|
+
readonly contains: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
228
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
229
|
+
readonly contains_all: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
230
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
231
|
+
readonly does_not_contain: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
232
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
233
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
234
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
235
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
236
|
+
}, undefined>], undefined>], undefined>;
|
|
237
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
238
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
239
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
240
|
+
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
241
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
242
|
+
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
243
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
244
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
245
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
246
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
247
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
248
|
+
readonly group_equals: v.UnionSchema<[v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, undefined>, v.MinLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 1, undefined>, v.MaxLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 5, undefined>]>], undefined>;
|
|
249
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
250
|
+
readonly group_does_not_equal: v.UnionSchema<[v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, undefined>, v.MinLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 1, undefined>, v.MaxLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 5, undefined>]>], undefined>;
|
|
251
|
+
}, undefined>], undefined>], undefined>;
|
|
252
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
253
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
254
|
+
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
255
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
256
|
+
readonly equals: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
257
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
258
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
259
|
+
readonly before: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
260
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
261
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
262
|
+
readonly after: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
263
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
264
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
265
|
+
readonly on_or_before: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
266
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
267
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
268
|
+
readonly on_or_after: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
269
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
270
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
271
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
272
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
273
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
274
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
275
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
276
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
277
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
278
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
279
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
280
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
281
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
282
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
283
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
284
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
285
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
286
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
287
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
288
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
289
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
290
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
291
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
292
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
293
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
294
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
295
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
296
|
+
}, undefined>], undefined>;
|
|
297
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
298
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
299
|
+
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
300
|
+
readonly contains: v.StrictObjectSchema<{
|
|
301
|
+
readonly object: v.PicklistSchema<["user", "group"], undefined>;
|
|
302
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
303
|
+
}, undefined>;
|
|
304
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
305
|
+
readonly does_not_contain: v.StrictObjectSchema<{
|
|
306
|
+
readonly object: v.PicklistSchema<["user", "group"], undefined>;
|
|
307
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
308
|
+
}, undefined>;
|
|
309
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
310
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
311
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
312
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
313
|
+
}, undefined>], undefined>], undefined>;
|
|
314
|
+
}, undefined>], undefined>, v.StrictObjectSchema<{
|
|
315
|
+
readonly and: v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
316
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
317
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
318
|
+
readonly contains: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>, v.RegexAction<string & v.Brand<"NotionPageId">, undefined>, v.TransformAction<string & v.Brand<"NotionPageId">, string>]>;
|
|
319
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
320
|
+
readonly does_not_contain: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>, v.RegexAction<string & v.Brand<"NotionPageId">, undefined>, v.TransformAction<string & v.Brand<"NotionPageId">, string>]>;
|
|
321
|
+
}, undefined>], undefined>;
|
|
322
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
323
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
324
|
+
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
325
|
+
readonly contains: v.StrictObjectSchema<{
|
|
326
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
327
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
328
|
+
}, undefined>;
|
|
329
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
330
|
+
readonly does_not_contain: v.StrictObjectSchema<{
|
|
331
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
332
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
333
|
+
}, undefined>;
|
|
334
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
335
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
336
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
337
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
338
|
+
}, undefined>], undefined>;
|
|
339
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
340
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
341
|
+
readonly title: v.UnionSchema<[v.StrictObjectSchema<{
|
|
342
|
+
readonly equals: v.StringSchema<undefined>;
|
|
343
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
344
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
345
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
346
|
+
readonly contains: v.StringSchema<undefined>;
|
|
347
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
348
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
349
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
350
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
351
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
352
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
353
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
354
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
355
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
356
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
357
|
+
}, undefined>], undefined>], undefined>;
|
|
358
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
359
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
360
|
+
readonly rich_text: v.UnionSchema<[v.StrictObjectSchema<{
|
|
361
|
+
readonly equals: v.StringSchema<undefined>;
|
|
362
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
363
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
364
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
365
|
+
readonly contains: v.StringSchema<undefined>;
|
|
366
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
367
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
368
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
369
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
370
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
371
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
372
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
373
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
374
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
375
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
376
|
+
}, undefined>], undefined>], undefined>;
|
|
377
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
378
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
379
|
+
readonly url: v.UnionSchema<[v.StrictObjectSchema<{
|
|
380
|
+
readonly equals: v.StringSchema<undefined>;
|
|
381
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
382
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
383
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
384
|
+
readonly contains: v.StringSchema<undefined>;
|
|
385
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
386
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
387
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
388
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
389
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
390
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
391
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
392
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
393
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
394
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
395
|
+
}, undefined>], undefined>], undefined>;
|
|
396
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
397
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
398
|
+
readonly email: v.UnionSchema<[v.StrictObjectSchema<{
|
|
399
|
+
readonly equals: v.StringSchema<undefined>;
|
|
400
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
401
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
402
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
403
|
+
readonly contains: v.StringSchema<undefined>;
|
|
404
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
405
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
406
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
407
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
408
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
409
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
410
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
411
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
412
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
413
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
414
|
+
}, undefined>], undefined>], undefined>;
|
|
415
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
416
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
417
|
+
readonly phone_number: v.UnionSchema<[v.StrictObjectSchema<{
|
|
418
|
+
readonly equals: v.StringSchema<undefined>;
|
|
419
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
420
|
+
readonly does_not_equal: v.StringSchema<undefined>;
|
|
421
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
422
|
+
readonly contains: v.StringSchema<undefined>;
|
|
423
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
424
|
+
readonly does_not_contain: v.StringSchema<undefined>;
|
|
425
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
426
|
+
readonly starts_with: v.StringSchema<undefined>;
|
|
427
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
428
|
+
readonly ends_with: v.StringSchema<undefined>;
|
|
429
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
430
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
431
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
432
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
433
|
+
}, undefined>], undefined>], undefined>;
|
|
434
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
435
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
436
|
+
readonly number: v.UnionSchema<[v.StrictObjectSchema<{
|
|
437
|
+
readonly equals: v.NumberSchema<undefined>;
|
|
438
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
439
|
+
readonly does_not_equal: v.NumberSchema<undefined>;
|
|
440
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
441
|
+
readonly greater_than: v.NumberSchema<undefined>;
|
|
442
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
443
|
+
readonly less_than: v.NumberSchema<undefined>;
|
|
444
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
445
|
+
readonly greater_than_or_equal_to: v.NumberSchema<undefined>;
|
|
446
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
447
|
+
readonly less_than_or_equal_to: v.NumberSchema<undefined>;
|
|
448
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
449
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
450
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
451
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
452
|
+
}, undefined>], undefined>], undefined>;
|
|
453
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
454
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
455
|
+
readonly checkbox: v.UnionSchema<[v.StrictObjectSchema<{
|
|
456
|
+
readonly equals: v.BooleanSchema<undefined>;
|
|
457
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
458
|
+
readonly does_not_equal: v.BooleanSchema<undefined>;
|
|
459
|
+
}, undefined>], undefined>;
|
|
460
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
461
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
462
|
+
readonly select: v.UnionSchema<[v.StrictObjectSchema<{
|
|
463
|
+
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
464
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
465
|
+
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
466
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
467
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
468
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
469
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
470
|
+
}, undefined>], undefined>], undefined>;
|
|
471
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
472
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
473
|
+
readonly multi_select: v.UnionSchema<[v.StrictObjectSchema<{
|
|
474
|
+
readonly contains: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
475
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
476
|
+
readonly contains_all: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
477
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
478
|
+
readonly does_not_contain: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
479
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
480
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
481
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
482
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
483
|
+
}, undefined>], undefined>], undefined>;
|
|
484
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
485
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
486
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
487
|
+
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
488
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
489
|
+
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
490
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
491
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
492
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
493
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
494
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
495
|
+
readonly group_equals: v.UnionSchema<[v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, undefined>, v.MinLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 1, undefined>, v.MaxLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 5, undefined>]>], undefined>;
|
|
496
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
497
|
+
readonly group_does_not_equal: v.UnionSchema<[v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>, undefined>, v.MinLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 1, undefined>, v.MaxLengthAction<("Complete" | "Current" | "Future" | "In progress" | "To-do")[], 5, undefined>]>], undefined>;
|
|
498
|
+
}, undefined>], undefined>], undefined>;
|
|
499
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
500
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
501
|
+
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
502
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
503
|
+
readonly equals: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
504
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
505
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
506
|
+
readonly before: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
507
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
508
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
509
|
+
readonly after: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
510
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
511
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
512
|
+
readonly on_or_before: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
513
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
514
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
515
|
+
readonly on_or_after: v.UnionSchema<[v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>, v.StringSchema<undefined>], undefined>;
|
|
516
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
517
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
518
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
519
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
520
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
521
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
522
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
523
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
524
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
525
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
526
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
527
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
528
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
529
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
530
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
531
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
532
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
533
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
534
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
535
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
536
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
537
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
538
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
539
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
540
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
541
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
542
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
543
|
+
}, undefined>], undefined>;
|
|
544
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
545
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
546
|
+
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
547
|
+
readonly contains: v.StrictObjectSchema<{
|
|
548
|
+
readonly object: v.PicklistSchema<["user", "group"], undefined>;
|
|
549
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
550
|
+
}, undefined>;
|
|
551
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
552
|
+
readonly does_not_contain: v.StrictObjectSchema<{
|
|
553
|
+
readonly object: v.PicklistSchema<["user", "group"], undefined>;
|
|
554
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
555
|
+
}, undefined>;
|
|
556
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
557
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
558
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
559
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
560
|
+
}, undefined>], undefined>], undefined>;
|
|
561
|
+
}, undefined>], undefined>, undefined>;
|
|
562
|
+
}, undefined>], undefined>, undefined>;
|
|
563
|
+
readonly sorts: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
564
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
565
|
+
readonly direction: v.PicklistSchema<["ascending", "descending"], undefined>;
|
|
566
|
+
}, undefined>, undefined>, undefined>;
|
|
567
|
+
}, undefined>, v.ObjectSchema<{
|
|
568
|
+
readonly type: v.LiteralSchema<"unsubscribeDataSourceQuery", undefined>;
|
|
569
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
570
|
+
}, undefined>, v.ObjectSchema<{
|
|
571
|
+
readonly type: v.LiteralSchema<"createPage", undefined>;
|
|
572
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
573
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
574
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
575
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
576
|
+
}, undefined>, v.ObjectSchema<{
|
|
577
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
578
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
579
|
+
}, undefined>], undefined>;
|
|
580
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
581
|
+
readonly id: v.StringSchema<undefined>;
|
|
582
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
583
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
584
|
+
}, undefined>, v.ObjectSchema<{
|
|
585
|
+
readonly id: v.StringSchema<undefined>;
|
|
586
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
587
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
588
|
+
}, undefined>, v.ObjectSchema<{
|
|
589
|
+
readonly id: v.StringSchema<undefined>;
|
|
590
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
591
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
592
|
+
}, undefined>, v.ObjectSchema<{
|
|
593
|
+
readonly id: v.StringSchema<undefined>;
|
|
594
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
595
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
596
|
+
}, undefined>, v.ObjectSchema<{
|
|
597
|
+
readonly id: v.StringSchema<undefined>;
|
|
598
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
599
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
600
|
+
}, undefined>, v.ObjectSchema<{
|
|
601
|
+
readonly id: v.StringSchema<undefined>;
|
|
602
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
603
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
604
|
+
}, undefined>, v.ObjectSchema<{
|
|
605
|
+
readonly id: v.StringSchema<undefined>;
|
|
606
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
607
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
608
|
+
}, undefined>, v.ObjectSchema<{
|
|
609
|
+
readonly id: v.StringSchema<undefined>;
|
|
610
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
611
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
612
|
+
readonly id: v.StringSchema<undefined>;
|
|
613
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
614
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
615
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
616
|
+
}, undefined>, v.ObjectSchema<{
|
|
617
|
+
readonly name: v.StringSchema<undefined>;
|
|
618
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
619
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
620
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
621
|
+
}, undefined>], undefined>, undefined>;
|
|
622
|
+
}, undefined>, v.ObjectSchema<{
|
|
623
|
+
readonly id: v.StringSchema<undefined>;
|
|
624
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
625
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
626
|
+
readonly id: v.StringSchema<undefined>;
|
|
627
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
628
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
629
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
630
|
+
}, undefined>, v.ObjectSchema<{
|
|
631
|
+
readonly name: v.StringSchema<undefined>;
|
|
632
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
633
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
634
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
635
|
+
}, undefined>], undefined>, undefined>;
|
|
636
|
+
}, undefined>, v.ObjectSchema<{
|
|
637
|
+
readonly id: v.StringSchema<undefined>;
|
|
638
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
639
|
+
readonly multi_select: v.ArraySchema<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
|
+
}, undefined>, v.ObjectSchema<{
|
|
651
|
+
readonly id: v.StringSchema<undefined>;
|
|
652
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
653
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
654
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
655
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
656
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
657
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
658
|
+
readonly value: v.NumberSchema<undefined>;
|
|
659
|
+
readonly time: v.StringSchema<undefined>;
|
|
660
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
+
}, undefined>, v.ObjectSchema<{
|
|
662
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
663
|
+
readonly value: v.NumberSchema<undefined>;
|
|
664
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
665
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
666
|
+
}, undefined>], undefined>, undefined>;
|
|
667
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
668
|
+
}, undefined>, v.ObjectSchema<{
|
|
669
|
+
readonly start: v.StringSchema<undefined>;
|
|
670
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
671
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
672
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
673
|
+
readonly value: v.NumberSchema<undefined>;
|
|
674
|
+
readonly time: v.StringSchema<undefined>;
|
|
675
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
676
|
+
}, undefined>, v.ObjectSchema<{
|
|
677
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
678
|
+
readonly value: v.NumberSchema<undefined>;
|
|
679
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
680
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
681
|
+
}, undefined>], undefined>, undefined>;
|
|
682
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
683
|
+
}, undefined>, v.ObjectSchema<{
|
|
684
|
+
readonly start: v.StringSchema<undefined>;
|
|
685
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
686
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
687
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
688
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
689
|
+
readonly value: v.NumberSchema<undefined>;
|
|
690
|
+
readonly time: v.StringSchema<undefined>;
|
|
691
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
692
|
+
}, undefined>, v.ObjectSchema<{
|
|
693
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
694
|
+
}, undefined>], undefined>, undefined>;
|
|
695
|
+
}, undefined>], undefined>, undefined>;
|
|
696
|
+
}, undefined>, v.ObjectSchema<{
|
|
697
|
+
readonly id: v.StringSchema<undefined>;
|
|
698
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
699
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
700
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
701
|
+
readonly id: v.StringSchema<undefined>;
|
|
702
|
+
}, undefined>, v.ObjectSchema<{
|
|
703
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
704
|
+
readonly id: v.StringSchema<undefined>;
|
|
705
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
706
|
+
}, undefined>], undefined>, undefined>;
|
|
707
|
+
}, undefined>, v.ObjectSchema<{
|
|
708
|
+
readonly id: v.StringSchema<undefined>;
|
|
709
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
710
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
711
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
712
|
+
readonly id: v.StringSchema<undefined>;
|
|
713
|
+
}, undefined>, undefined>;
|
|
714
|
+
}, undefined>, v.ObjectSchema<{
|
|
715
|
+
readonly id: v.StringSchema<undefined>;
|
|
716
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
717
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
718
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
719
|
+
readonly name: v.StringSchema<undefined>;
|
|
720
|
+
readonly external: v.ObjectSchema<{
|
|
721
|
+
readonly url: v.StringSchema<undefined>;
|
|
722
|
+
}, undefined>;
|
|
723
|
+
}, undefined>, v.ObjectSchema<{
|
|
724
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
725
|
+
readonly name: v.StringSchema<undefined>;
|
|
726
|
+
readonly file: v.ObjectSchema<{
|
|
727
|
+
readonly url: v.StringSchema<undefined>;
|
|
728
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
729
|
+
}, undefined>;
|
|
730
|
+
}, undefined>], undefined>, undefined>;
|
|
731
|
+
}, undefined>, v.ObjectSchema<{
|
|
732
|
+
readonly id: v.StringSchema<undefined>;
|
|
733
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
734
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
735
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
736
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
737
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
738
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
739
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
740
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
741
|
+
}, undefined>, undefined>;
|
|
742
|
+
}, undefined>, v.ObjectSchema<{
|
|
743
|
+
readonly id: v.StringSchema<undefined>;
|
|
744
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
745
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
746
|
+
}, undefined>, v.ObjectSchema<{
|
|
747
|
+
readonly id: v.StringSchema<undefined>;
|
|
748
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
749
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
750
|
+
}, undefined>, v.ObjectSchema<{
|
|
751
|
+
readonly id: v.StringSchema<undefined>;
|
|
752
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
753
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
754
|
+
readonly id: v.StringSchema<undefined>;
|
|
755
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
756
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
757
|
+
}, undefined>, undefined>;
|
|
758
|
+
}, undefined>, v.ObjectSchema<{
|
|
759
|
+
readonly id: v.StringSchema<undefined>;
|
|
760
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
761
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
762
|
+
readonly id: v.StringSchema<undefined>;
|
|
763
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
764
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
765
|
+
}, undefined>, undefined>;
|
|
766
|
+
}, undefined>, v.ObjectSchema<{
|
|
767
|
+
readonly id: v.StringSchema<undefined>;
|
|
768
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
769
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
770
|
+
}, undefined>, v.ObjectSchema<{
|
|
771
|
+
readonly id: v.StringSchema<undefined>;
|
|
772
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
773
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
774
|
+
}, undefined>, v.ObjectSchema<{
|
|
775
|
+
readonly id: v.StringSchema<undefined>;
|
|
776
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
777
|
+
readonly button: v.StringSchema<undefined>;
|
|
778
|
+
}, undefined>, v.ObjectSchema<{
|
|
779
|
+
readonly id: v.StringSchema<undefined>;
|
|
780
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
781
|
+
readonly formula: v.StringSchema<undefined>;
|
|
782
|
+
}, undefined>, v.ObjectSchema<{
|
|
783
|
+
readonly id: v.StringSchema<undefined>;
|
|
784
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
785
|
+
readonly location: v.StringSchema<undefined>;
|
|
786
|
+
}, undefined>, v.ObjectSchema<{
|
|
787
|
+
readonly id: v.StringSchema<undefined>;
|
|
788
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
789
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
790
|
+
}, undefined>, v.ObjectSchema<{
|
|
791
|
+
readonly id: v.StringSchema<undefined>;
|
|
792
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
793
|
+
readonly verification: v.StringSchema<undefined>;
|
|
794
|
+
}, undefined>], undefined>, undefined>;
|
|
795
|
+
readonly position: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
796
|
+
readonly type: v.LiteralSchema<"start", undefined>;
|
|
797
|
+
}, undefined>, v.ObjectSchema<{
|
|
798
|
+
readonly type: v.LiteralSchema<"end", undefined>;
|
|
799
|
+
}, undefined>, v.ObjectSchema<{
|
|
800
|
+
readonly type: v.LiteralSchema<"before", undefined>;
|
|
801
|
+
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
802
|
+
}, undefined>, v.ObjectSchema<{
|
|
803
|
+
readonly type: v.LiteralSchema<"after", undefined>;
|
|
804
|
+
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
805
|
+
}, undefined>], undefined>, undefined>;
|
|
806
|
+
}, undefined>, v.ObjectSchema<{
|
|
807
|
+
readonly type: v.LiteralSchema<"getPage", undefined>;
|
|
808
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
809
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
810
|
+
readonly dataSourceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
811
|
+
}, undefined>, v.ObjectSchema<{
|
|
812
|
+
readonly type: v.LiteralSchema<"getUser", undefined>;
|
|
813
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
814
|
+
readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
815
|
+
}, undefined>, v.ObjectSchema<{
|
|
816
|
+
readonly type: v.LiteralSchema<"listUsers", undefined>;
|
|
817
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
818
|
+
readonly startCursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
819
|
+
readonly pageSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
820
|
+
}, undefined>, v.ObjectSchema<{
|
|
821
|
+
readonly type: v.LiteralSchema<"openPage", undefined>;
|
|
822
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
823
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
824
|
+
readonly mode: v.PicklistSchema<["side_peek", "center_peek"], undefined>;
|
|
825
|
+
}, undefined>, v.ObjectSchema<{
|
|
826
|
+
readonly type: v.LiteralSchema<"openExternalUrl", undefined>;
|
|
827
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
828
|
+
readonly url: v.StringSchema<undefined>;
|
|
829
|
+
}, undefined>, v.ObjectSchema<{
|
|
830
|
+
readonly type: v.LiteralSchema<"updatePage", undefined>;
|
|
831
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
832
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
833
|
+
readonly dataSourceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
834
|
+
readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
835
|
+
readonly id: v.StringSchema<undefined>;
|
|
836
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
837
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
838
|
+
}, undefined>, v.ObjectSchema<{
|
|
839
|
+
readonly id: v.StringSchema<undefined>;
|
|
840
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
841
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
842
|
+
}, undefined>, v.ObjectSchema<{
|
|
843
|
+
readonly id: v.StringSchema<undefined>;
|
|
844
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
845
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
846
|
+
}, undefined>, v.ObjectSchema<{
|
|
847
|
+
readonly id: v.StringSchema<undefined>;
|
|
848
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
849
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
850
|
+
}, undefined>, v.ObjectSchema<{
|
|
851
|
+
readonly id: v.StringSchema<undefined>;
|
|
852
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
853
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
854
|
+
}, undefined>, v.ObjectSchema<{
|
|
855
|
+
readonly id: v.StringSchema<undefined>;
|
|
856
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
857
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
858
|
+
}, undefined>, v.ObjectSchema<{
|
|
859
|
+
readonly id: v.StringSchema<undefined>;
|
|
860
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
861
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
862
|
+
}, undefined>, v.ObjectSchema<{
|
|
863
|
+
readonly id: v.StringSchema<undefined>;
|
|
864
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
865
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
866
|
+
readonly id: v.StringSchema<undefined>;
|
|
867
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
868
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
869
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
870
|
+
}, undefined>, v.ObjectSchema<{
|
|
871
|
+
readonly name: v.StringSchema<undefined>;
|
|
872
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
873
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
874
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
875
|
+
}, undefined>], undefined>, undefined>;
|
|
876
|
+
}, undefined>, v.ObjectSchema<{
|
|
877
|
+
readonly id: v.StringSchema<undefined>;
|
|
878
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
879
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
880
|
+
readonly id: v.StringSchema<undefined>;
|
|
881
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
882
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
883
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
884
|
+
}, undefined>, v.ObjectSchema<{
|
|
885
|
+
readonly name: v.StringSchema<undefined>;
|
|
886
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
887
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
888
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
889
|
+
}, undefined>], undefined>, undefined>;
|
|
890
|
+
}, undefined>, v.ObjectSchema<{
|
|
891
|
+
readonly id: v.StringSchema<undefined>;
|
|
892
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
893
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
894
|
+
readonly id: v.StringSchema<undefined>;
|
|
895
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
896
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
897
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
898
|
+
}, undefined>, v.ObjectSchema<{
|
|
899
|
+
readonly name: v.StringSchema<undefined>;
|
|
900
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
901
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
902
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
903
|
+
}, undefined>], undefined>, undefined>;
|
|
904
|
+
}, undefined>, v.ObjectSchema<{
|
|
905
|
+
readonly id: v.StringSchema<undefined>;
|
|
906
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
907
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
908
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
909
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
910
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
911
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
912
|
+
readonly value: v.NumberSchema<undefined>;
|
|
913
|
+
readonly time: v.StringSchema<undefined>;
|
|
914
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
915
|
+
}, undefined>, v.ObjectSchema<{
|
|
916
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
917
|
+
readonly value: v.NumberSchema<undefined>;
|
|
918
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
919
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
920
|
+
}, undefined>], undefined>, undefined>;
|
|
921
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
922
|
+
}, undefined>, v.ObjectSchema<{
|
|
923
|
+
readonly start: v.StringSchema<undefined>;
|
|
924
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
925
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
926
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
927
|
+
readonly value: v.NumberSchema<undefined>;
|
|
928
|
+
readonly time: v.StringSchema<undefined>;
|
|
929
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
930
|
+
}, undefined>, v.ObjectSchema<{
|
|
931
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
932
|
+
readonly value: v.NumberSchema<undefined>;
|
|
933
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
934
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
935
|
+
}, undefined>], undefined>, undefined>;
|
|
936
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
937
|
+
}, undefined>, v.ObjectSchema<{
|
|
938
|
+
readonly start: v.StringSchema<undefined>;
|
|
939
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
940
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
941
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
942
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
943
|
+
readonly value: v.NumberSchema<undefined>;
|
|
944
|
+
readonly time: v.StringSchema<undefined>;
|
|
945
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
946
|
+
}, undefined>, v.ObjectSchema<{
|
|
947
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
948
|
+
}, undefined>], undefined>, undefined>;
|
|
949
|
+
}, undefined>], undefined>, undefined>;
|
|
950
|
+
}, undefined>, v.ObjectSchema<{
|
|
951
|
+
readonly id: v.StringSchema<undefined>;
|
|
952
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
953
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
954
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
955
|
+
readonly id: v.StringSchema<undefined>;
|
|
956
|
+
}, undefined>, v.ObjectSchema<{
|
|
957
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
958
|
+
readonly id: v.StringSchema<undefined>;
|
|
959
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
960
|
+
}, undefined>], undefined>, undefined>;
|
|
961
|
+
}, undefined>, v.ObjectSchema<{
|
|
962
|
+
readonly id: v.StringSchema<undefined>;
|
|
963
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
964
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
965
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
966
|
+
readonly id: v.StringSchema<undefined>;
|
|
967
|
+
}, undefined>, undefined>;
|
|
968
|
+
}, undefined>, v.ObjectSchema<{
|
|
969
|
+
readonly id: v.StringSchema<undefined>;
|
|
970
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
971
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
972
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
973
|
+
readonly name: v.StringSchema<undefined>;
|
|
974
|
+
readonly external: v.ObjectSchema<{
|
|
975
|
+
readonly url: v.StringSchema<undefined>;
|
|
976
|
+
}, undefined>;
|
|
977
|
+
}, undefined>, v.ObjectSchema<{
|
|
978
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
979
|
+
readonly name: v.StringSchema<undefined>;
|
|
980
|
+
readonly file: v.ObjectSchema<{
|
|
981
|
+
readonly url: v.StringSchema<undefined>;
|
|
982
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
983
|
+
}, undefined>;
|
|
984
|
+
}, undefined>], undefined>, undefined>;
|
|
985
|
+
}, undefined>, v.ObjectSchema<{
|
|
986
|
+
readonly id: v.StringSchema<undefined>;
|
|
987
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
988
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
989
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
990
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
991
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
992
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
993
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
994
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
995
|
+
}, undefined>, undefined>;
|
|
996
|
+
}, undefined>, v.ObjectSchema<{
|
|
997
|
+
readonly id: v.StringSchema<undefined>;
|
|
998
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
999
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1000
|
+
}, undefined>, v.ObjectSchema<{
|
|
1001
|
+
readonly id: v.StringSchema<undefined>;
|
|
1002
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
1003
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1004
|
+
}, undefined>, v.ObjectSchema<{
|
|
1005
|
+
readonly id: v.StringSchema<undefined>;
|
|
1006
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
1007
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
1008
|
+
readonly id: v.StringSchema<undefined>;
|
|
1009
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1010
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1011
|
+
}, undefined>, undefined>;
|
|
1012
|
+
}, undefined>, v.ObjectSchema<{
|
|
1013
|
+
readonly id: v.StringSchema<undefined>;
|
|
1014
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
1015
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
1016
|
+
readonly id: v.StringSchema<undefined>;
|
|
1017
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1018
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1019
|
+
}, undefined>, undefined>;
|
|
1020
|
+
}, undefined>, v.ObjectSchema<{
|
|
1021
|
+
readonly id: v.StringSchema<undefined>;
|
|
1022
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1023
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1024
|
+
}, undefined>, v.ObjectSchema<{
|
|
1025
|
+
readonly id: v.StringSchema<undefined>;
|
|
1026
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
1027
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
1028
|
+
}, undefined>, v.ObjectSchema<{
|
|
1029
|
+
readonly id: v.StringSchema<undefined>;
|
|
1030
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
1031
|
+
readonly button: v.StringSchema<undefined>;
|
|
1032
|
+
}, undefined>, v.ObjectSchema<{
|
|
1033
|
+
readonly id: v.StringSchema<undefined>;
|
|
1034
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1035
|
+
readonly formula: v.StringSchema<undefined>;
|
|
1036
|
+
}, undefined>, v.ObjectSchema<{
|
|
1037
|
+
readonly id: v.StringSchema<undefined>;
|
|
1038
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1039
|
+
readonly location: v.StringSchema<undefined>;
|
|
1040
|
+
}, undefined>, v.ObjectSchema<{
|
|
1041
|
+
readonly id: v.StringSchema<undefined>;
|
|
1042
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
1043
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
1044
|
+
}, undefined>, v.ObjectSchema<{
|
|
1045
|
+
readonly id: v.StringSchema<undefined>;
|
|
1046
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
1047
|
+
readonly verification: v.StringSchema<undefined>;
|
|
1048
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1049
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1050
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1051
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
1052
|
+
}, undefined>, v.ObjectSchema<{
|
|
1053
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
1054
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
1055
|
+
readonly id: v.StringSchema<undefined>;
|
|
1056
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1057
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1058
|
+
}, undefined>;
|
|
1059
|
+
}, undefined>, v.ObjectSchema<{
|
|
1060
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1061
|
+
readonly external: v.ObjectSchema<{
|
|
1062
|
+
readonly url: v.StringSchema<undefined>;
|
|
1063
|
+
}, undefined>;
|
|
1064
|
+
}, undefined>, v.ObjectSchema<{
|
|
1065
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1066
|
+
readonly file: v.ObjectSchema<{
|
|
1067
|
+
readonly url: v.StringSchema<undefined>;
|
|
1068
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1069
|
+
}, undefined>;
|
|
1070
|
+
}, undefined>], undefined>, undefined>;
|
|
1071
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1072
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1073
|
+
readonly external: v.ObjectSchema<{
|
|
1074
|
+
readonly url: v.StringSchema<undefined>;
|
|
1075
|
+
}, undefined>;
|
|
1076
|
+
}, undefined>, v.ObjectSchema<{
|
|
1077
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1078
|
+
readonly file: v.ObjectSchema<{
|
|
1079
|
+
readonly url: v.StringSchema<undefined>;
|
|
1080
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1081
|
+
}, undefined>;
|
|
1082
|
+
}, undefined>], undefined>, undefined>;
|
|
1083
|
+
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1084
|
+
}, undefined>, v.ObjectSchema<{
|
|
1085
|
+
readonly type: v.LiteralSchema<"resize", undefined>;
|
|
1086
|
+
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.FiniteAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1087
|
+
}, undefined>, v.ObjectSchema<{
|
|
1088
|
+
readonly type: v.LiteralSchema<"invalidHostMessage", undefined>;
|
|
1089
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1090
|
+
}, undefined>], undefined>>;
|
|
1091
|
+
//# sourceMappingURL=normalizeSandboxToHostMessage.d.ts.map
|