@notionhq/custom-blocks-host 0.2.7 → 0.2.9
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.
|
@@ -122,21 +122,44 @@ export declare const customBlockContainsFilterOperatorSchema: v.UnionSchema<[v.S
|
|
|
122
122
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
123
123
|
}, undefined>], undefined>], undefined>;
|
|
124
124
|
export type CustomBlockContainsFilterOperator = v.InferOutput<typeof customBlockContainsFilterOperatorSchema>;
|
|
125
|
+
export declare const customBlockRelativeDateValueSchema: v.PicklistSchema<["today", "tomorrow", "yesterday", "one_week_ago", "one_week_from_now", "one_month_ago", "one_month_from_now"], undefined>;
|
|
126
|
+
export type CustomBlockRelativeDateValue = v.InferOutput<typeof customBlockRelativeDateValueSchema>;
|
|
125
127
|
export declare const customBlockDateFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
126
128
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
127
|
-
readonly equals: v.StringSchema<undefined>;
|
|
129
|
+
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>;
|
|
130
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
131
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
132
|
+
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>;
|
|
133
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
134
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
135
|
+
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>;
|
|
136
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
137
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
138
|
+
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>;
|
|
139
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
140
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
141
|
+
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>;
|
|
128
142
|
}, undefined>, v.StrictObjectSchema<{
|
|
129
143
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
130
|
-
readonly
|
|
144
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
131
145
|
}, undefined>, v.StrictObjectSchema<{
|
|
132
146
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
133
|
-
readonly
|
|
147
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
134
148
|
}, undefined>, v.StrictObjectSchema<{
|
|
135
149
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
136
|
-
readonly
|
|
150
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
137
151
|
}, undefined>, v.StrictObjectSchema<{
|
|
138
152
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
139
|
-
readonly
|
|
153
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
154
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
155
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
156
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
157
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
158
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
159
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
160
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
161
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
162
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
140
163
|
}, undefined>, v.StrictObjectSchema<{
|
|
141
164
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
142
165
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -326,19 +349,40 @@ export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionS
|
|
|
326
349
|
readonly propertyId: v.StringSchema<undefined>;
|
|
327
350
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
328
351
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
329
|
-
readonly equals: v.StringSchema<undefined>;
|
|
352
|
+
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>;
|
|
353
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
354
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
355
|
+
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>;
|
|
330
356
|
}, undefined>, v.StrictObjectSchema<{
|
|
331
357
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
332
|
-
readonly
|
|
358
|
+
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>;
|
|
333
359
|
}, undefined>, v.StrictObjectSchema<{
|
|
334
360
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
335
|
-
readonly
|
|
361
|
+
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>;
|
|
336
362
|
}, undefined>, v.StrictObjectSchema<{
|
|
337
363
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
338
|
-
readonly
|
|
364
|
+
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>;
|
|
339
365
|
}, undefined>, v.StrictObjectSchema<{
|
|
340
366
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
341
|
-
readonly
|
|
367
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
368
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
369
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
370
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
371
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
372
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
373
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
374
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
375
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
376
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
377
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
378
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
379
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
380
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
381
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
382
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
383
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
384
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
385
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
342
386
|
}, undefined>, v.StrictObjectSchema<{
|
|
343
387
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
344
388
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -546,19 +590,40 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
546
590
|
readonly propertyId: v.StringSchema<undefined>;
|
|
547
591
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
548
592
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
549
|
-
readonly equals: v.StringSchema<undefined>;
|
|
593
|
+
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>;
|
|
594
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
595
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
596
|
+
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>;
|
|
597
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
598
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
599
|
+
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>;
|
|
600
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
601
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
602
|
+
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>;
|
|
603
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
604
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
605
|
+
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>;
|
|
606
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
607
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
608
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
609
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
610
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
611
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
612
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
613
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
614
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
550
615
|
}, undefined>, v.StrictObjectSchema<{
|
|
551
616
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
552
|
-
readonly
|
|
617
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
553
618
|
}, undefined>, v.StrictObjectSchema<{
|
|
554
619
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
555
|
-
readonly
|
|
620
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
556
621
|
}, undefined>, v.StrictObjectSchema<{
|
|
557
622
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
558
|
-
readonly
|
|
623
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
559
624
|
}, undefined>, v.StrictObjectSchema<{
|
|
560
625
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
561
|
-
readonly
|
|
626
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
562
627
|
}, undefined>, v.StrictObjectSchema<{
|
|
563
628
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
564
629
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -765,19 +830,40 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
765
830
|
readonly propertyId: v.StringSchema<undefined>;
|
|
766
831
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
767
832
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
768
|
-
readonly equals: v.StringSchema<undefined>;
|
|
833
|
+
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>;
|
|
834
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
835
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
836
|
+
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>;
|
|
837
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
838
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
839
|
+
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>;
|
|
840
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
841
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
842
|
+
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>;
|
|
843
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
844
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
845
|
+
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>;
|
|
769
846
|
}, undefined>, v.StrictObjectSchema<{
|
|
770
847
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
771
|
-
readonly
|
|
848
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
772
849
|
}, undefined>, v.StrictObjectSchema<{
|
|
773
850
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
774
|
-
readonly
|
|
851
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
775
852
|
}, undefined>, v.StrictObjectSchema<{
|
|
776
853
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
777
|
-
readonly
|
|
854
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
778
855
|
}, undefined>, v.StrictObjectSchema<{
|
|
779
856
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
780
|
-
readonly
|
|
857
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
858
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
859
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
860
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
861
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
862
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
863
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
864
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
865
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
866
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
781
867
|
}, undefined>, v.StrictObjectSchema<{
|
|
782
868
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
783
869
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -1009,19 +1095,40 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
1009
1095
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1010
1096
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1011
1097
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1012
|
-
readonly equals: v.StringSchema<undefined>;
|
|
1098
|
+
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>;
|
|
1099
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1100
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1101
|
+
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>;
|
|
1013
1102
|
}, undefined>, v.StrictObjectSchema<{
|
|
1014
1103
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1015
|
-
readonly
|
|
1104
|
+
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>;
|
|
1016
1105
|
}, undefined>, v.StrictObjectSchema<{
|
|
1017
1106
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1018
|
-
readonly
|
|
1107
|
+
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>;
|
|
1019
1108
|
}, undefined>, v.StrictObjectSchema<{
|
|
1020
1109
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1021
|
-
readonly
|
|
1110
|
+
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>;
|
|
1022
1111
|
}, undefined>, v.StrictObjectSchema<{
|
|
1023
1112
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1024
|
-
readonly
|
|
1113
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
1114
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1115
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1116
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
1117
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1118
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1119
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
1120
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1121
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1122
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
1123
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1124
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1125
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
1126
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1127
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1128
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
1129
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1130
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1131
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
1025
1132
|
}, undefined>, v.StrictObjectSchema<{
|
|
1026
1133
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1027
1134
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -1228,19 +1335,40 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
1228
1335
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1229
1336
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1230
1337
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1231
|
-
readonly equals: v.StringSchema<undefined>;
|
|
1338
|
+
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>;
|
|
1339
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1340
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1341
|
+
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>;
|
|
1342
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1343
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1344
|
+
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>;
|
|
1345
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1346
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1347
|
+
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>;
|
|
1348
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1349
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1350
|
+
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>;
|
|
1351
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1352
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1353
|
+
readonly this_week: v.StrictObjectSchema<{}, undefined>;
|
|
1354
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1355
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1356
|
+
readonly past_week: v.StrictObjectSchema<{}, undefined>;
|
|
1357
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1358
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1359
|
+
readonly past_month: v.StrictObjectSchema<{}, undefined>;
|
|
1232
1360
|
}, undefined>, v.StrictObjectSchema<{
|
|
1233
1361
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1234
|
-
readonly
|
|
1362
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
1235
1363
|
}, undefined>, v.StrictObjectSchema<{
|
|
1236
1364
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1237
|
-
readonly
|
|
1365
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
1238
1366
|
}, undefined>, v.StrictObjectSchema<{
|
|
1239
1367
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1240
|
-
readonly
|
|
1368
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
1241
1369
|
}, undefined>, v.StrictObjectSchema<{
|
|
1242
1370
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1243
|
-
readonly
|
|
1371
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
1244
1372
|
}, undefined>, v.StrictObjectSchema<{
|
|
1245
1373
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1246
1374
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -83,26 +83,67 @@ export const customBlockContainsFilterOperatorSchema = v.union([
|
|
|
83
83
|
emptyOperatorSchema,
|
|
84
84
|
]);
|
|
85
85
|
const dateTargetSchema = v.picklist(["start_date", "end_date"]);
|
|
86
|
+
export const customBlockRelativeDateValueSchema = v.picklist([
|
|
87
|
+
"today",
|
|
88
|
+
"tomorrow",
|
|
89
|
+
"yesterday",
|
|
90
|
+
"one_week_ago",
|
|
91
|
+
"one_week_from_now",
|
|
92
|
+
"one_month_ago",
|
|
93
|
+
"one_month_from_now",
|
|
94
|
+
]);
|
|
95
|
+
const dateComparisonValueSchema = v.union([
|
|
96
|
+
customBlockRelativeDateValueSchema,
|
|
97
|
+
v.string(),
|
|
98
|
+
]);
|
|
86
99
|
export const customBlockDateFilterOperatorSchema = v.union([
|
|
87
100
|
v.strictObject({
|
|
88
101
|
target: v.optional(dateTargetSchema),
|
|
89
|
-
equals:
|
|
102
|
+
equals: dateComparisonValueSchema,
|
|
103
|
+
}),
|
|
104
|
+
v.strictObject({
|
|
105
|
+
target: v.optional(dateTargetSchema),
|
|
106
|
+
before: dateComparisonValueSchema,
|
|
107
|
+
}),
|
|
108
|
+
v.strictObject({
|
|
109
|
+
target: v.optional(dateTargetSchema),
|
|
110
|
+
after: dateComparisonValueSchema,
|
|
111
|
+
}),
|
|
112
|
+
v.strictObject({
|
|
113
|
+
target: v.optional(dateTargetSchema),
|
|
114
|
+
on_or_before: dateComparisonValueSchema,
|
|
115
|
+
}),
|
|
116
|
+
v.strictObject({
|
|
117
|
+
target: v.optional(dateTargetSchema),
|
|
118
|
+
on_or_after: dateComparisonValueSchema,
|
|
119
|
+
}),
|
|
120
|
+
v.strictObject({
|
|
121
|
+
target: v.optional(dateTargetSchema),
|
|
122
|
+
this_week: v.strictObject({}),
|
|
123
|
+
}),
|
|
124
|
+
v.strictObject({
|
|
125
|
+
target: v.optional(dateTargetSchema),
|
|
126
|
+
past_week: v.strictObject({}),
|
|
127
|
+
}),
|
|
128
|
+
v.strictObject({
|
|
129
|
+
target: v.optional(dateTargetSchema),
|
|
130
|
+
past_month: v.strictObject({}),
|
|
90
131
|
}),
|
|
91
132
|
v.strictObject({
|
|
92
133
|
target: v.optional(dateTargetSchema),
|
|
93
|
-
|
|
134
|
+
past_year: v.strictObject({}),
|
|
94
135
|
}),
|
|
95
136
|
v.strictObject({
|
|
96
137
|
target: v.optional(dateTargetSchema),
|
|
97
|
-
|
|
138
|
+
next_week: v.strictObject({}),
|
|
98
139
|
}),
|
|
99
140
|
v.strictObject({
|
|
100
141
|
target: v.optional(dateTargetSchema),
|
|
101
|
-
|
|
142
|
+
next_month: v.strictObject({}),
|
|
102
143
|
}),
|
|
103
144
|
v.strictObject({
|
|
104
145
|
target: v.optional(dateTargetSchema),
|
|
105
|
-
|
|
146
|
+
next_year: v.strictObject({}),
|
|
106
147
|
}),
|
|
107
148
|
v.strictObject({
|
|
108
149
|
target: v.optional(dateTargetSchema),
|
|
@@ -239,19 +239,40 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
239
239
|
readonly propertyId: v.StringSchema<undefined>;
|
|
240
240
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
241
241
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
242
|
-
readonly equals: v.StringSchema<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>;
|
|
243
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
246
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
249
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
252
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
243
264
|
}, undefined>, v.StrictObjectSchema<{
|
|
244
265
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
245
|
-
readonly
|
|
266
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
246
267
|
}, undefined>, v.StrictObjectSchema<{
|
|
247
268
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
248
|
-
readonly
|
|
269
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
249
270
|
}, undefined>, v.StrictObjectSchema<{
|
|
250
271
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
251
|
-
readonly
|
|
272
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
252
273
|
}, undefined>, v.StrictObjectSchema<{
|
|
253
274
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
254
|
-
readonly
|
|
275
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
255
276
|
}, undefined>, v.StrictObjectSchema<{
|
|
256
277
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
257
278
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
@@ -458,19 +479,40 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
458
479
|
readonly propertyId: v.StringSchema<undefined>;
|
|
459
480
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
460
481
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
461
|
-
readonly equals: v.StringSchema<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>;
|
|
483
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
486
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
489
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
492
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
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>;
|
|
462
504
|
}, undefined>, v.StrictObjectSchema<{
|
|
463
505
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
464
|
-
readonly
|
|
506
|
+
readonly past_year: v.StrictObjectSchema<{}, undefined>;
|
|
465
507
|
}, undefined>, v.StrictObjectSchema<{
|
|
466
508
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
467
|
-
readonly
|
|
509
|
+
readonly next_week: v.StrictObjectSchema<{}, undefined>;
|
|
468
510
|
}, undefined>, v.StrictObjectSchema<{
|
|
469
511
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
470
|
-
readonly
|
|
512
|
+
readonly next_month: v.StrictObjectSchema<{}, undefined>;
|
|
471
513
|
}, undefined>, v.StrictObjectSchema<{
|
|
472
514
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
473
|
-
readonly
|
|
515
|
+
readonly next_year: v.StrictObjectSchema<{}, undefined>;
|
|
474
516
|
}, undefined>, v.StrictObjectSchema<{
|
|
475
517
|
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
476
518
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|