@notionhq/custom-blocks 0.2.20 → 0.2.22
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 +30 -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/messages/hostToSandbox.d.ts +0 -3
- package/dist/protocol/messages/init.d.ts +1 -1
- package/dist/protocol/messages/queryDataSource.d.ts +259 -47
- package/dist/protocol/messages/queryDataSource.js +94 -8
- package/dist/protocol/messages/sandboxToHost.d.ts +80 -16
- package/dist/styles/nds.css +1 -1
- package/dist/types.d.ts +5 -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 +80 -13
- package/docs/errors.md +2 -0
- 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 +38 -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 +6 -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,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
+
import { notionSortDirectionSchema } from "../dataSources/sortDirection.js";
|
|
2
3
|
import { notionDataSourceIdSchema } from "../ids.js";
|
|
3
4
|
const emptyOperatorSchema = v.union([
|
|
4
5
|
v.strictObject({ is_empty: v.literal(true) }),
|
|
@@ -55,19 +56,104 @@ export const customBlockOptionFilterOperatorSchema = v.union([
|
|
|
55
56
|
v.strictObject({ does_not_equal: stringOrStringArraySchema }),
|
|
56
57
|
emptyOperatorSchema,
|
|
57
58
|
]);
|
|
59
|
+
export const customBlockStatusGroupNameSchema = v.picklist([
|
|
60
|
+
"To-do",
|
|
61
|
+
"In progress",
|
|
62
|
+
"Complete",
|
|
63
|
+
"Current",
|
|
64
|
+
"Future",
|
|
65
|
+
]);
|
|
66
|
+
const customBlockStatusGroupFilterValueSchema = v.union([
|
|
67
|
+
customBlockStatusGroupNameSchema,
|
|
68
|
+
v.pipe(v.array(customBlockStatusGroupNameSchema), v.minLength(1), v.maxLength(5)),
|
|
69
|
+
]);
|
|
70
|
+
export const customBlockStatusGroupFilterOperatorSchema = v.union([
|
|
71
|
+
v.strictObject({ group_equals: customBlockStatusGroupFilterValueSchema }),
|
|
72
|
+
v.strictObject({
|
|
73
|
+
group_does_not_equal: customBlockStatusGroupFilterValueSchema,
|
|
74
|
+
}),
|
|
75
|
+
]);
|
|
76
|
+
export const customBlockStatusFilterOperatorSchema = v.union([
|
|
77
|
+
customBlockOptionFilterOperatorSchema,
|
|
78
|
+
customBlockStatusGroupFilterOperatorSchema,
|
|
79
|
+
]);
|
|
58
80
|
export const customBlockContainsFilterOperatorSchema = v.union([
|
|
59
81
|
v.strictObject({ contains: stringOrStringArraySchema }),
|
|
60
82
|
v.strictObject({ contains_all: stringOrStringArraySchema }),
|
|
61
83
|
v.strictObject({ does_not_contain: stringOrStringArraySchema }),
|
|
62
84
|
emptyOperatorSchema,
|
|
63
85
|
]);
|
|
86
|
+
const dateTargetSchema = v.picklist(["start_date", "end_date"]);
|
|
87
|
+
export const customBlockRelativeDateValueSchema = v.picklist([
|
|
88
|
+
"today",
|
|
89
|
+
"tomorrow",
|
|
90
|
+
"yesterday",
|
|
91
|
+
"one_week_ago",
|
|
92
|
+
"one_week_from_now",
|
|
93
|
+
"one_month_ago",
|
|
94
|
+
"one_month_from_now",
|
|
95
|
+
]);
|
|
96
|
+
const dateComparisonValueSchema = v.union([
|
|
97
|
+
customBlockRelativeDateValueSchema,
|
|
98
|
+
v.string(),
|
|
99
|
+
]);
|
|
64
100
|
export const customBlockDateFilterOperatorSchema = v.union([
|
|
65
|
-
v.strictObject({
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
v.strictObject({
|
|
70
|
-
|
|
101
|
+
v.strictObject({
|
|
102
|
+
target: v.optional(dateTargetSchema),
|
|
103
|
+
equals: dateComparisonValueSchema,
|
|
104
|
+
}),
|
|
105
|
+
v.strictObject({
|
|
106
|
+
target: v.optional(dateTargetSchema),
|
|
107
|
+
before: dateComparisonValueSchema,
|
|
108
|
+
}),
|
|
109
|
+
v.strictObject({
|
|
110
|
+
target: v.optional(dateTargetSchema),
|
|
111
|
+
after: dateComparisonValueSchema,
|
|
112
|
+
}),
|
|
113
|
+
v.strictObject({
|
|
114
|
+
target: v.optional(dateTargetSchema),
|
|
115
|
+
on_or_before: dateComparisonValueSchema,
|
|
116
|
+
}),
|
|
117
|
+
v.strictObject({
|
|
118
|
+
target: v.optional(dateTargetSchema),
|
|
119
|
+
on_or_after: dateComparisonValueSchema,
|
|
120
|
+
}),
|
|
121
|
+
v.strictObject({
|
|
122
|
+
target: v.optional(dateTargetSchema),
|
|
123
|
+
this_week: v.strictObject({}),
|
|
124
|
+
}),
|
|
125
|
+
v.strictObject({
|
|
126
|
+
target: v.optional(dateTargetSchema),
|
|
127
|
+
past_week: v.strictObject({}),
|
|
128
|
+
}),
|
|
129
|
+
v.strictObject({
|
|
130
|
+
target: v.optional(dateTargetSchema),
|
|
131
|
+
past_month: v.strictObject({}),
|
|
132
|
+
}),
|
|
133
|
+
v.strictObject({
|
|
134
|
+
target: v.optional(dateTargetSchema),
|
|
135
|
+
past_year: v.strictObject({}),
|
|
136
|
+
}),
|
|
137
|
+
v.strictObject({
|
|
138
|
+
target: v.optional(dateTargetSchema),
|
|
139
|
+
next_week: v.strictObject({}),
|
|
140
|
+
}),
|
|
141
|
+
v.strictObject({
|
|
142
|
+
target: v.optional(dateTargetSchema),
|
|
143
|
+
next_month: v.strictObject({}),
|
|
144
|
+
}),
|
|
145
|
+
v.strictObject({
|
|
146
|
+
target: v.optional(dateTargetSchema),
|
|
147
|
+
next_year: v.strictObject({}),
|
|
148
|
+
}),
|
|
149
|
+
v.strictObject({
|
|
150
|
+
target: v.optional(dateTargetSchema),
|
|
151
|
+
is_empty: v.literal(true),
|
|
152
|
+
}),
|
|
153
|
+
v.strictObject({
|
|
154
|
+
target: v.optional(dateTargetSchema),
|
|
155
|
+
is_not_empty: v.literal(true),
|
|
156
|
+
}),
|
|
71
157
|
]);
|
|
72
158
|
export const resolvedCustomBlockDataSourcePropertyFilterSchema = v.union([
|
|
73
159
|
v.strictObject({
|
|
@@ -112,7 +198,7 @@ export const resolvedCustomBlockDataSourcePropertyFilterSchema = v.union([
|
|
|
112
198
|
}),
|
|
113
199
|
v.strictObject({
|
|
114
200
|
propertyId: v.string(),
|
|
115
|
-
status:
|
|
201
|
+
status: customBlockStatusFilterOperatorSchema,
|
|
116
202
|
}),
|
|
117
203
|
v.strictObject({
|
|
118
204
|
propertyId: v.string(),
|
|
@@ -133,7 +219,7 @@ export const resolvedCustomBlockDataSourceFilterSchema = v.union([
|
|
|
133
219
|
export const CUSTOM_BLOCK_DATA_SOURCE_QUERY_MAX_SORTS = 10;
|
|
134
220
|
export const resolvedCustomBlockDataSourceSortSchema = v.strictObject({
|
|
135
221
|
propertyId: v.string(),
|
|
136
|
-
direction:
|
|
222
|
+
direction: notionSortDirectionSchema,
|
|
137
223
|
});
|
|
138
224
|
/**
|
|
139
225
|
* Message sent by the sandbox to ask the host for the current rows in a resolved
|
|
@@ -222,7 +222,7 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
222
222
|
}, undefined>], undefined>], undefined>;
|
|
223
223
|
}, undefined>, v.StrictObjectSchema<{
|
|
224
224
|
readonly propertyId: v.StringSchema<undefined>;
|
|
225
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
225
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
226
226
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
227
227
|
}, undefined>, v.StrictObjectSchema<{
|
|
228
228
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -230,24 +230,56 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
230
230
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
231
231
|
}, undefined>, v.StrictObjectSchema<{
|
|
232
232
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
233
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
234
|
+
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>;
|
|
235
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
236
|
+
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>;
|
|
233
237
|
}, undefined>], undefined>], undefined>;
|
|
234
238
|
}, undefined>, v.StrictObjectSchema<{
|
|
235
239
|
readonly propertyId: v.StringSchema<undefined>;
|
|
236
240
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
237
|
-
readonly
|
|
241
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
242
|
+
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>;
|
|
238
243
|
}, undefined>, v.StrictObjectSchema<{
|
|
239
|
-
readonly
|
|
244
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
245
|
+
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>;
|
|
240
246
|
}, undefined>, v.StrictObjectSchema<{
|
|
241
|
-
readonly
|
|
247
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
248
|
+
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>;
|
|
242
249
|
}, undefined>, v.StrictObjectSchema<{
|
|
243
|
-
readonly
|
|
250
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
251
|
+
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>;
|
|
244
252
|
}, undefined>, v.StrictObjectSchema<{
|
|
245
|
-
readonly
|
|
246
|
-
|
|
253
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
254
|
+
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>;
|
|
255
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
256
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
257
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
258
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
259
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
260
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
261
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
262
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
263
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
264
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
265
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
266
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
267
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
268
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
269
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
270
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
271
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
272
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
273
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
274
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
275
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
276
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
277
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
247
278
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
248
279
|
}, undefined>, v.StrictObjectSchema<{
|
|
280
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
249
281
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
250
|
-
}, undefined>], undefined
|
|
282
|
+
}, undefined>], undefined>;
|
|
251
283
|
}, undefined>, v.StrictObjectSchema<{
|
|
252
284
|
readonly propertyId: v.StringSchema<undefined>;
|
|
253
285
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -430,7 +462,7 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
430
462
|
}, undefined>], undefined>], undefined>;
|
|
431
463
|
}, undefined>, v.StrictObjectSchema<{
|
|
432
464
|
readonly propertyId: v.StringSchema<undefined>;
|
|
433
|
-
readonly status: v.UnionSchema<[v.StrictObjectSchema<{
|
|
465
|
+
readonly status: v.UnionSchema<[v.UnionSchema<[v.StrictObjectSchema<{
|
|
434
466
|
readonly equals: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
435
467
|
}, undefined>, v.StrictObjectSchema<{
|
|
436
468
|
readonly does_not_equal: v.UnionSchema<[v.StringSchema<undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>], undefined>;
|
|
@@ -438,24 +470,56 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
438
470
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
439
471
|
}, undefined>, v.StrictObjectSchema<{
|
|
440
472
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
473
|
+
}, undefined>], undefined>], undefined>, v.UnionSchema<[v.StrictObjectSchema<{
|
|
474
|
+
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>;
|
|
475
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
476
|
+
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>;
|
|
441
477
|
}, undefined>], undefined>], undefined>;
|
|
442
478
|
}, undefined>, v.StrictObjectSchema<{
|
|
443
479
|
readonly propertyId: v.StringSchema<undefined>;
|
|
444
480
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
445
|
-
readonly
|
|
481
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
482
|
+
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>;
|
|
446
483
|
}, undefined>, v.StrictObjectSchema<{
|
|
447
|
-
readonly
|
|
484
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
485
|
+
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>;
|
|
448
486
|
}, undefined>, v.StrictObjectSchema<{
|
|
449
|
-
readonly
|
|
487
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
488
|
+
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>;
|
|
450
489
|
}, undefined>, v.StrictObjectSchema<{
|
|
451
|
-
readonly
|
|
490
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
491
|
+
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>;
|
|
452
492
|
}, undefined>, v.StrictObjectSchema<{
|
|
453
|
-
readonly
|
|
454
|
-
|
|
493
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
494
|
+
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>;
|
|
495
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
496
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
497
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
498
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
499
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
500
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
501
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
502
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
503
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
504
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
505
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
506
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
507
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
508
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
509
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
510
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
511
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
512
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
513
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
514
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
515
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
516
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
517
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
455
518
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
456
519
|
}, undefined>, v.StrictObjectSchema<{
|
|
520
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
457
521
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
458
|
-
}, undefined>], undefined
|
|
522
|
+
}, undefined>], undefined>;
|
|
459
523
|
}, undefined>, v.StrictObjectSchema<{
|
|
460
524
|
readonly propertyId: v.StringSchema<undefined>;
|
|
461
525
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|