@notionhq/custom-blocks 0.2.21 → 0.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/bridge/SandboxBridge.d.ts +14 -18
- package/dist/bridge/SandboxBridge.d.ts.map +1 -1
- package/dist/bridge/SandboxBridge.js +59 -201
- package/dist/bridge/SandboxInitialization.d.ts +52 -0
- package/dist/bridge/SandboxInitialization.d.ts.map +1 -0
- package/dist/bridge/SandboxInitialization.js +217 -0
- package/dist/bridge/dataSources/query.d.ts.map +1 -1
- package/dist/bridge/dataSources/query.js +39 -23
- package/dist/bridge/messageInterceptor.d.ts +4 -0
- package/dist/bridge/messageInterceptor.d.ts.map +1 -0
- package/dist/bridge/messageInterceptor.js +1 -0
- package/dist/bridge/sandboxClient.d.ts +3 -2
- package/dist/bridge/sandboxClient.d.ts.map +1 -1
- package/dist/bridge/sandboxClient.js +3 -5
- package/dist/bridge.d.ts +11 -0
- package/dist/bridge.d.ts.map +1 -0
- package/dist/bridge.js +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/init.d.ts +4 -38
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +4 -91
- package/dist/initTypes.d.ts +31 -0
- package/dist/initTypes.d.ts.map +1 -0
- package/dist/initTypes.js +18 -0
- package/dist/protocol/dataSources/propertySchema.d.ts +1 -1
- package/dist/protocol/dataSources/propertySchema.js +2 -0
- package/dist/protocol/dataSources/sortDirection.d.ts +3 -0
- package/dist/protocol/dataSources/sortDirection.js +2 -0
- package/dist/protocol/index.d.ts +1 -0
- package/dist/protocol/index.js +1 -0
- package/dist/protocol/manifest.d.ts +10 -3
- package/dist/protocol/manifest.js +5 -1
- package/dist/protocol/messages/connect.d.ts +9 -2
- package/dist/protocol/messages/hostToSandbox.d.ts +9 -5
- package/dist/protocol/messages/init.d.ts +10 -3
- package/dist/protocol/messages/queryDataSource.d.ts +300 -47
- package/dist/protocol/messages/queryDataSource.js +107 -9
- package/dist/protocol/messages/sandboxToHost.d.ts +103 -18
- package/dist/styles/nds.css +1 -1
- package/dist/types.d.ts +8 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/docs/bridge-interceptors.md +27 -0
- package/docs/data-sources.md +93 -13
- package/docs/errors.md +3 -2
- package/docs/lifecycle.md +1 -1
- package/docs/pages.md +22 -10
- package/package.json +4 -4
- package/src/bridge/SandboxBridge.ts +74 -239
- package/src/bridge/SandboxInitialization.ts +295 -0
- package/src/bridge/dataSources/query.ts +51 -25
- package/src/bridge/messageInterceptor.ts +6 -0
- package/src/bridge/sandboxClient.ts +6 -5
- package/src/bridge.ts +17 -0
- package/src/index.ts +1 -0
- package/src/init.ts +8 -119
- package/src/initTypes.ts +43 -0
- package/src/styles/nds.css +1 -1
- package/src/styles/nds.css.metadata.json +3 -3
- package/src/types.ts +11 -2
- package/dist/bridge/primedResponses.d.ts +0 -8
- package/dist/bridge/primedResponses.d.ts.map +0 -1
- package/dist/bridge/primedResponses.js +0 -5
- package/dist/testing.d.ts +0 -12
- package/dist/testing.d.ts.map +0 -1
- package/dist/testing.js +0 -9
- package/src/bridge/primedResponses.ts +0 -11
- package/src/testing.ts +0 -19
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
+
export declare const customBlockRelationFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
3
|
+
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>]>;
|
|
4
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
5
|
+
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>]>;
|
|
6
|
+
}, undefined>], undefined>;
|
|
7
|
+
export type CustomBlockRelationFilterOperator = v.InferOutput<typeof customBlockRelationFilterOperatorSchema>;
|
|
2
8
|
declare const customBlockPersonFilterValueSchema: v.StrictObjectSchema<{
|
|
3
9
|
readonly object: v.PicklistSchema<["user", "group"], undefined>;
|
|
4
10
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -88,6 +94,28 @@ export declare const customBlockOptionFilterOperatorSchema: v.UnionSchema<[v.Str
|
|
|
88
94
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
89
95
|
}, undefined>], undefined>], undefined>;
|
|
90
96
|
export type CustomBlockOptionFilterOperator = v.InferOutput<typeof customBlockOptionFilterOperatorSchema>;
|
|
97
|
+
export declare const customBlockStatusGroupNameSchema: v.PicklistSchema<["To-do", "In progress", "Complete", "Current", "Future"], undefined>;
|
|
98
|
+
export type CustomBlockStatusGroupName = v.InferOutput<typeof customBlockStatusGroupNameSchema>;
|
|
99
|
+
export declare const customBlockStatusGroupFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
100
|
+
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>;
|
|
101
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
102
|
+
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>;
|
|
103
|
+
}, undefined>], undefined>;
|
|
104
|
+
export type CustomBlockStatusGroupFilterOperator = v.InferOutput<typeof customBlockStatusGroupFilterOperatorSchema>;
|
|
105
|
+
export declare const customBlockStatusFilterOperatorSchema: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
106
|
+
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
107
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
108
|
+
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
109
|
+
}, undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
110
|
+
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
111
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
112
|
+
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
113
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
114
|
+
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>;
|
|
115
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
116
|
+
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>;
|
|
117
|
+
}, undefined>], undefined>], undefined>;
|
|
118
|
+
export type CustomBlockStatusFilterOperator = v.InferOutput<typeof customBlockStatusFilterOperatorSchema>;
|
|
91
119
|
export declare const customBlockContainsFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
92
120
|
readonly contains: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
93
121
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -100,23 +128,60 @@ export declare const customBlockContainsFilterOperatorSchema: v.UnionSchema<[v.S
|
|
|
100
128
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
101
129
|
}, undefined>], undefined>], undefined>;
|
|
102
130
|
export type CustomBlockContainsFilterOperator = v.InferOutput<typeof customBlockContainsFilterOperatorSchema>;
|
|
131
|
+
export declare const customBlockRelativeDateValueSchema: v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>;
|
|
132
|
+
export type CustomBlockRelativeDateValue = v.InferOutput<typeof customBlockRelativeDateValueSchema>;
|
|
103
133
|
export declare const customBlockDateFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
104
|
-
readonly
|
|
134
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
135
|
+
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>;
|
|
105
136
|
}, undefined>, v.StrictObjectSchema<{
|
|
106
|
-
readonly
|
|
137
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
138
|
+
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>;
|
|
107
139
|
}, undefined>, v.StrictObjectSchema<{
|
|
108
|
-
readonly
|
|
140
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
141
|
+
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>;
|
|
109
142
|
}, undefined>, v.StrictObjectSchema<{
|
|
110
|
-
readonly
|
|
143
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
144
|
+
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>;
|
|
111
145
|
}, undefined>, v.StrictObjectSchema<{
|
|
112
|
-
readonly
|
|
113
|
-
|
|
146
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
147
|
+
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>;
|
|
148
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
149
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
150
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
151
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
152
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
153
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
154
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
155
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
156
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
157
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
158
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
159
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
160
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
161
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
162
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
163
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
164
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
165
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
166
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
167
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
168
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
169
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
170
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
114
171
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
115
172
|
}, undefined>, v.StrictObjectSchema<{
|
|
173
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
116
174
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
117
|
-
}, undefined>], undefined
|
|
175
|
+
}, undefined>], undefined>;
|
|
118
176
|
export type CustomBlockDateFilterOperator = v.InferOutput<typeof customBlockDateFilterOperatorSchema>;
|
|
119
177
|
export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
178
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
179
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
180
|
+
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>]>;
|
|
181
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
182
|
+
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>]>;
|
|
183
|
+
}, undefined>], undefined>;
|
|
184
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
120
185
|
readonly propertyId: v.StringSchema<undefined>;
|
|
121
186
|
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
122
187
|
readonly contains: v.StrictObjectSchema<{
|
|
@@ -280,7 +345,7 @@ export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionS
|
|
|
280
345
|
}, undefined>], undefined>], undefined>;
|
|
281
346
|
}, undefined>, v.StrictObjectSchema<{
|
|
282
347
|
readonly propertyId: v.StringSchema<undefined>;
|
|
283
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
348
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
284
349
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
285
350
|
}, undefined>, v.StrictObjectSchema<{
|
|
286
351
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -288,24 +353,56 @@ export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionS
|
|
|
288
353
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
289
354
|
}, undefined>, v.StrictObjectSchema<{
|
|
290
355
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
356
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
357
|
+
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>;
|
|
358
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
359
|
+
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>;
|
|
291
360
|
}, undefined>], undefined>], undefined>;
|
|
292
361
|
}, undefined>, v.StrictObjectSchema<{
|
|
293
362
|
readonly propertyId: v.StringSchema<undefined>;
|
|
294
363
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
295
|
-
readonly
|
|
364
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
365
|
+
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>;
|
|
296
366
|
}, undefined>, v.StrictObjectSchema<{
|
|
297
|
-
readonly
|
|
367
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
368
|
+
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>;
|
|
298
369
|
}, undefined>, v.StrictObjectSchema<{
|
|
299
|
-
readonly
|
|
370
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
371
|
+
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>;
|
|
300
372
|
}, undefined>, v.StrictObjectSchema<{
|
|
301
|
-
readonly
|
|
373
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
374
|
+
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>;
|
|
302
375
|
}, undefined>, v.StrictObjectSchema<{
|
|
303
|
-
readonly
|
|
304
|
-
|
|
376
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
377
|
+
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>;
|
|
378
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
379
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
380
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
381
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
382
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
383
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
384
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
385
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
386
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
387
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
388
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
389
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
390
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
391
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
392
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
393
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
394
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
395
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
396
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
397
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
398
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
399
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
400
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
305
401
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
306
402
|
}, undefined>, v.StrictObjectSchema<{
|
|
403
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
307
404
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
308
|
-
}, undefined>], undefined
|
|
405
|
+
}, undefined>], undefined>;
|
|
309
406
|
}, undefined>, v.StrictObjectSchema<{
|
|
310
407
|
readonly propertyId: v.StringSchema<undefined>;
|
|
311
408
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -326,6 +423,13 @@ export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionS
|
|
|
326
423
|
}, undefined>], undefined>;
|
|
327
424
|
export type ResolvedCustomBlockDataSourcePropertyFilter = v.InferOutput<typeof resolvedCustomBlockDataSourcePropertyFilterSchema>;
|
|
328
425
|
export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
426
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
427
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
428
|
+
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>]>;
|
|
429
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
430
|
+
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>]>;
|
|
431
|
+
}, undefined>], undefined>;
|
|
432
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
329
433
|
readonly propertyId: v.StringSchema<undefined>;
|
|
330
434
|
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
331
435
|
readonly contains: v.StrictObjectSchema<{
|
|
@@ -489,7 +593,7 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
489
593
|
}, undefined>], undefined>], undefined>;
|
|
490
594
|
}, undefined>, v.StrictObjectSchema<{
|
|
491
595
|
readonly propertyId: v.StringSchema<undefined>;
|
|
492
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
596
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
493
597
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
494
598
|
}, undefined>, v.StrictObjectSchema<{
|
|
495
599
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -497,24 +601,56 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
497
601
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
498
602
|
}, undefined>, v.StrictObjectSchema<{
|
|
499
603
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
604
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
605
|
+
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>;
|
|
606
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
607
|
+
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>;
|
|
500
608
|
}, undefined>], undefined>], undefined>;
|
|
501
609
|
}, undefined>, v.StrictObjectSchema<{
|
|
502
610
|
readonly propertyId: v.StringSchema<undefined>;
|
|
503
611
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
504
|
-
readonly
|
|
612
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
613
|
+
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>;
|
|
505
614
|
}, undefined>, v.StrictObjectSchema<{
|
|
506
|
-
readonly
|
|
615
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
616
|
+
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
617
|
}, undefined>, v.StrictObjectSchema<{
|
|
508
|
-
readonly
|
|
618
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
619
|
+
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>;
|
|
509
620
|
}, undefined>, v.StrictObjectSchema<{
|
|
510
|
-
readonly
|
|
621
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
622
|
+
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>;
|
|
511
623
|
}, undefined>, v.StrictObjectSchema<{
|
|
512
|
-
readonly
|
|
513
|
-
|
|
624
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
625
|
+
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>;
|
|
626
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
627
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
628
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
629
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
630
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
631
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
632
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
633
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
634
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
635
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
636
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
637
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
638
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
639
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
640
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
641
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
642
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
643
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
644
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
645
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
646
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
647
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
648
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
514
649
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
515
650
|
}, undefined>, v.StrictObjectSchema<{
|
|
651
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
516
652
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
517
|
-
}, undefined>], undefined
|
|
653
|
+
}, undefined>], undefined>;
|
|
518
654
|
}, undefined>, v.StrictObjectSchema<{
|
|
519
655
|
readonly propertyId: v.StringSchema<undefined>;
|
|
520
656
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -534,6 +670,13 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
534
670
|
}, undefined>], undefined>], undefined>;
|
|
535
671
|
}, undefined>], undefined>, v.StrictObjectSchema<{
|
|
536
672
|
readonly and: v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
673
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
674
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
675
|
+
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>]>;
|
|
676
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
677
|
+
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>]>;
|
|
678
|
+
}, undefined>], undefined>;
|
|
679
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
537
680
|
readonly propertyId: v.StringSchema<undefined>;
|
|
538
681
|
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
539
682
|
readonly contains: v.StrictObjectSchema<{
|
|
@@ -697,7 +840,7 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
697
840
|
}, undefined>], undefined>], undefined>;
|
|
698
841
|
}, undefined>, v.StrictObjectSchema<{
|
|
699
842
|
readonly propertyId: v.StringSchema<undefined>;
|
|
700
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
843
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
701
844
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
702
845
|
}, undefined>, v.StrictObjectSchema<{
|
|
703
846
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -705,24 +848,56 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
705
848
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
706
849
|
}, undefined>, v.StrictObjectSchema<{
|
|
707
850
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
851
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
852
|
+
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>;
|
|
853
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
854
|
+
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>;
|
|
708
855
|
}, undefined>], undefined>], undefined>;
|
|
709
856
|
}, undefined>, v.StrictObjectSchema<{
|
|
710
857
|
readonly propertyId: v.StringSchema<undefined>;
|
|
711
858
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
712
|
-
readonly
|
|
859
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
860
|
+
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>;
|
|
713
861
|
}, undefined>, v.StrictObjectSchema<{
|
|
714
|
-
readonly
|
|
862
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
863
|
+
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>;
|
|
715
864
|
}, undefined>, v.StrictObjectSchema<{
|
|
716
|
-
readonly
|
|
865
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
866
|
+
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>;
|
|
717
867
|
}, undefined>, v.StrictObjectSchema<{
|
|
718
|
-
readonly
|
|
868
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
869
|
+
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>;
|
|
719
870
|
}, undefined>, v.StrictObjectSchema<{
|
|
720
|
-
readonly
|
|
721
|
-
|
|
871
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
872
|
+
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>;
|
|
873
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
874
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
875
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
876
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
877
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
878
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
879
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
880
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
881
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
882
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
883
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
884
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
885
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
886
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
887
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
888
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
889
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
890
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
891
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
892
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
893
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
894
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
895
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
722
896
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
723
897
|
}, undefined>, v.StrictObjectSchema<{
|
|
898
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
724
899
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
725
|
-
}, undefined>], undefined
|
|
900
|
+
}, undefined>], undefined>;
|
|
726
901
|
}, undefined>, v.StrictObjectSchema<{
|
|
727
902
|
readonly propertyId: v.StringSchema<undefined>;
|
|
728
903
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -767,6 +942,13 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
767
942
|
readonly limit: v.NumberSchema<undefined>;
|
|
768
943
|
/** A sandbox-resolved property filter. */
|
|
769
944
|
readonly filter: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
945
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
946
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
947
|
+
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>]>;
|
|
948
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
949
|
+
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>]>;
|
|
950
|
+
}, undefined>], undefined>;
|
|
951
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
770
952
|
readonly propertyId: v.StringSchema<undefined>;
|
|
771
953
|
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
772
954
|
readonly contains: v.StrictObjectSchema<{
|
|
@@ -930,7 +1112,7 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
930
1112
|
}, undefined>], undefined>], undefined>;
|
|
931
1113
|
}, undefined>, v.StrictObjectSchema<{
|
|
932
1114
|
readonly propertyId: v.StringSchema<undefined>;
|
|
933
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1115
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
934
1116
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
935
1117
|
}, undefined>, v.StrictObjectSchema<{
|
|
936
1118
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -938,24 +1120,56 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
938
1120
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
939
1121
|
}, undefined>, v.StrictObjectSchema<{
|
|
940
1122
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
1123
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
1124
|
+
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>;
|
|
1125
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1126
|
+
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>;
|
|
941
1127
|
}, undefined>], undefined>], undefined>;
|
|
942
1128
|
}, undefined>, v.StrictObjectSchema<{
|
|
943
1129
|
readonly propertyId: v.StringSchema<undefined>;
|
|
944
1130
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
945
|
-
readonly
|
|
1131
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1132
|
+
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>;
|
|
946
1133
|
}, undefined>, v.StrictObjectSchema<{
|
|
947
|
-
readonly
|
|
1134
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1135
|
+
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>;
|
|
948
1136
|
}, undefined>, v.StrictObjectSchema<{
|
|
949
|
-
readonly
|
|
1137
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1138
|
+
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>;
|
|
950
1139
|
}, undefined>, v.StrictObjectSchema<{
|
|
951
|
-
readonly
|
|
1140
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1141
|
+
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>;
|
|
952
1142
|
}, undefined>, v.StrictObjectSchema<{
|
|
953
|
-
readonly
|
|
954
|
-
|
|
1143
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1144
|
+
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>;
|
|
1145
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1146
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1147
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
1148
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1149
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1150
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
1151
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1152
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1153
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
1154
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1155
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1156
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
1157
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1158
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1159
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
1160
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1161
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1162
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
1163
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1164
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1165
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
1166
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1167
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
955
1168
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
956
1169
|
}, undefined>, v.StrictObjectSchema<{
|
|
1170
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
957
1171
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
958
|
-
}, undefined>], undefined
|
|
1172
|
+
}, undefined>], undefined>;
|
|
959
1173
|
}, undefined>, v.StrictObjectSchema<{
|
|
960
1174
|
readonly propertyId: v.StringSchema<undefined>;
|
|
961
1175
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -975,6 +1189,13 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
975
1189
|
}, undefined>], undefined>], undefined>;
|
|
976
1190
|
}, undefined>], undefined>, v.StrictObjectSchema<{
|
|
977
1191
|
readonly and: v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1192
|
+
readonly propertyId: v.StringSchema<undefined>;
|
|
1193
|
+
readonly relation: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1194
|
+
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>]>;
|
|
1195
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1196
|
+
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>]>;
|
|
1197
|
+
}, undefined>], undefined>;
|
|
1198
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
978
1199
|
readonly propertyId: v.StringSchema<undefined>;
|
|
979
1200
|
readonly created_by: v.UnionSchema<[v.StrictObjectSchema<{
|
|
980
1201
|
readonly contains: v.StrictObjectSchema<{
|
|
@@ -1138,7 +1359,7 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
1138
1359
|
}, undefined>], undefined>], undefined>;
|
|
1139
1360
|
}, undefined>, v.StrictObjectSchema<{
|
|
1140
1361
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1141
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1362
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
1142
1363
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
1143
1364
|
}, undefined>, v.StrictObjectSchema<{
|
|
1144
1365
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -1146,24 +1367,56 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
1146
1367
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
1147
1368
|
}, undefined>, v.StrictObjectSchema<{
|
|
1148
1369
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
1370
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
1371
|
+
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>;
|
|
1372
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1373
|
+
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>;
|
|
1149
1374
|
}, undefined>], undefined>], undefined>;
|
|
1150
1375
|
}, undefined>, v.StrictObjectSchema<{
|
|
1151
1376
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1152
1377
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1153
|
-
readonly
|
|
1378
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1379
|
+
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>;
|
|
1154
1380
|
}, undefined>, v.StrictObjectSchema<{
|
|
1155
|
-
readonly
|
|
1381
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1382
|
+
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>;
|
|
1156
1383
|
}, undefined>, v.StrictObjectSchema<{
|
|
1157
|
-
readonly
|
|
1384
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1385
|
+
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>;
|
|
1158
1386
|
}, undefined>, v.StrictObjectSchema<{
|
|
1159
|
-
readonly
|
|
1387
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1388
|
+
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>;
|
|
1160
1389
|
}, undefined>, v.StrictObjectSchema<{
|
|
1161
|
-
readonly
|
|
1162
|
-
|
|
1390
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1391
|
+
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>;
|
|
1392
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1393
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1394
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
1395
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1396
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1397
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
1398
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1399
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1400
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
1401
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1402
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1403
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
1404
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1405
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1406
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
1407
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1408
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1409
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
1410
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1411
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1412
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
1413
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1414
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1163
1415
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
1164
1416
|
}, undefined>, v.StrictObjectSchema<{
|
|
1417
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1165
1418
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
1166
|
-
}, undefined>], undefined
|
|
1419
|
+
}, undefined>], undefined>;
|
|
1167
1420
|
}, undefined>, v.StrictObjectSchema<{
|
|
1168
1421
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1169
1422
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|