@notionhq/custom-blocks-host 0.3.6 → 0.3.8
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 +5 -0
- package/dist/browser.js +1 -1
- package/dist/dateValue.d.ts +11 -0
- package/dist/dateValue.d.ts.map +1 -0
- package/dist/dateValue.js +96 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/lifecycle/legacyPage.d.ts.map +1 -1
- package/dist/lifecycle/legacyPage.js +14 -62
- package/dist/protocol/dataSources/dateValue.d.ts +2 -2
- package/dist/protocol/dataSources/dateValue.js +9 -7
- package/dist/protocol/messages/createPage.d.ts +64 -2
- package/dist/protocol/messages/createPageResult.d.ts +192 -6
- package/dist/protocol/messages/getPage.d.ts +192 -6
- package/dist/protocol/messages/hostToSandbox.d.ts +704 -22
- package/dist/protocol/messages/queryDataSourceResult.d.ts +128 -4
- package/dist/protocol/messages/sandboxToHost.d.ts +128 -4
- package/dist/protocol/messages/updatePage.d.ts +64 -2
- package/dist/protocol/messages/updatePageResult.d.ts +192 -6
- package/dist/protocol/pages/page.d.ts +360 -12
- package/dist/protocol/pages/page.js +48 -2
- package/package.json +1 -1
- package/src/dateValue.ts +120 -0
- package/src/index.ts +5 -0
- package/src/lifecycle/legacyPage.ts +14 -73
|
@@ -109,11 +109,49 @@ export declare const queryDataSourceResultMessageSchema: v.VariantSchema<"status
|
|
|
109
109
|
}, undefined>, v.ObjectSchema<{
|
|
110
110
|
readonly id: v.StringSchema<undefined>;
|
|
111
111
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
112
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
112
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
113
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
114
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
115
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
116
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
117
|
+
readonly value: v.NumberSchema<undefined>;
|
|
118
|
+
readonly time: v.StringSchema<undefined>;
|
|
119
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
+
}, undefined>, v.ObjectSchema<{
|
|
121
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
122
|
+
readonly value: v.NumberSchema<undefined>;
|
|
123
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
124
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
125
|
+
}, undefined>], undefined>, undefined>;
|
|
126
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
127
|
+
}, undefined>, v.ObjectSchema<{
|
|
128
|
+
readonly start: v.StringSchema<undefined>;
|
|
129
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
130
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
131
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
132
|
+
readonly value: v.NumberSchema<undefined>;
|
|
133
|
+
readonly time: v.StringSchema<undefined>;
|
|
134
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
135
|
+
}, undefined>, v.ObjectSchema<{
|
|
136
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
137
|
+
readonly value: v.NumberSchema<undefined>;
|
|
138
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
139
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
140
|
+
}, undefined>], undefined>, undefined>;
|
|
141
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
142
|
+
}, undefined>, v.ObjectSchema<{
|
|
113
143
|
readonly start: v.StringSchema<undefined>;
|
|
114
144
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
115
145
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
116
|
-
|
|
146
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
147
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
148
|
+
readonly value: v.NumberSchema<undefined>;
|
|
149
|
+
readonly time: v.StringSchema<undefined>;
|
|
150
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
151
|
+
}, undefined>, v.ObjectSchema<{
|
|
152
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
153
|
+
}, undefined>], undefined>, undefined>;
|
|
154
|
+
}, undefined>], undefined>, undefined>;
|
|
117
155
|
}, undefined>, v.ObjectSchema<{
|
|
118
156
|
readonly id: v.StringSchema<undefined>;
|
|
119
157
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -188,6 +226,30 @@ export declare const queryDataSourceResultMessageSchema: v.VariantSchema<"status
|
|
|
188
226
|
readonly id: v.StringSchema<undefined>;
|
|
189
227
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
190
228
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
229
|
+
}, undefined>, v.ObjectSchema<{
|
|
230
|
+
readonly id: v.StringSchema<undefined>;
|
|
231
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
232
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
233
|
+
}, undefined>, v.ObjectSchema<{
|
|
234
|
+
readonly id: v.StringSchema<undefined>;
|
|
235
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
236
|
+
readonly button: v.StringSchema<undefined>;
|
|
237
|
+
}, undefined>, v.ObjectSchema<{
|
|
238
|
+
readonly id: v.StringSchema<undefined>;
|
|
239
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
240
|
+
readonly formula: v.StringSchema<undefined>;
|
|
241
|
+
}, undefined>, v.ObjectSchema<{
|
|
242
|
+
readonly id: v.StringSchema<undefined>;
|
|
243
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
244
|
+
readonly location: v.StringSchema<undefined>;
|
|
245
|
+
}, undefined>, v.ObjectSchema<{
|
|
246
|
+
readonly id: v.StringSchema<undefined>;
|
|
247
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
248
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
249
|
+
}, undefined>, v.ObjectSchema<{
|
|
250
|
+
readonly id: v.StringSchema<undefined>;
|
|
251
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
252
|
+
readonly verification: v.StringSchema<undefined>;
|
|
191
253
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
192
254
|
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
193
255
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -350,11 +412,49 @@ export declare const queryDataSourceResultMessageLegacySchema: v.VariantSchema<"
|
|
|
350
412
|
}, undefined>, v.ObjectSchema<{
|
|
351
413
|
readonly id: v.StringSchema<undefined>;
|
|
352
414
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
353
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
415
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
416
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
417
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
418
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
419
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
420
|
+
readonly value: v.NumberSchema<undefined>;
|
|
421
|
+
readonly time: v.StringSchema<undefined>;
|
|
422
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
423
|
+
}, undefined>, v.ObjectSchema<{
|
|
424
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
425
|
+
readonly value: v.NumberSchema<undefined>;
|
|
426
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
427
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
428
|
+
}, undefined>], undefined>, undefined>;
|
|
429
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
430
|
+
}, undefined>, v.ObjectSchema<{
|
|
431
|
+
readonly start: v.StringSchema<undefined>;
|
|
432
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
433
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
434
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
435
|
+
readonly value: v.NumberSchema<undefined>;
|
|
436
|
+
readonly time: v.StringSchema<undefined>;
|
|
437
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
438
|
+
}, undefined>, v.ObjectSchema<{
|
|
439
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
440
|
+
readonly value: v.NumberSchema<undefined>;
|
|
441
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
442
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
443
|
+
}, undefined>], undefined>, undefined>;
|
|
444
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
445
|
+
}, undefined>, v.ObjectSchema<{
|
|
354
446
|
readonly start: v.StringSchema<undefined>;
|
|
355
447
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
356
448
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
357
|
-
|
|
449
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
450
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
451
|
+
readonly value: v.NumberSchema<undefined>;
|
|
452
|
+
readonly time: v.StringSchema<undefined>;
|
|
453
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
}, undefined>, v.ObjectSchema<{
|
|
455
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
456
|
+
}, undefined>], undefined>, undefined>;
|
|
457
|
+
}, undefined>], undefined>, undefined>;
|
|
358
458
|
}, undefined>, v.ObjectSchema<{
|
|
359
459
|
readonly id: v.StringSchema<undefined>;
|
|
360
460
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -429,6 +529,30 @@ export declare const queryDataSourceResultMessageLegacySchema: v.VariantSchema<"
|
|
|
429
529
|
readonly id: v.StringSchema<undefined>;
|
|
430
530
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
431
531
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
532
|
+
}, undefined>, v.ObjectSchema<{
|
|
533
|
+
readonly id: v.StringSchema<undefined>;
|
|
534
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
535
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
536
|
+
}, undefined>, v.ObjectSchema<{
|
|
537
|
+
readonly id: v.StringSchema<undefined>;
|
|
538
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
539
|
+
readonly button: v.StringSchema<undefined>;
|
|
540
|
+
}, undefined>, v.ObjectSchema<{
|
|
541
|
+
readonly id: v.StringSchema<undefined>;
|
|
542
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
543
|
+
readonly formula: v.StringSchema<undefined>;
|
|
544
|
+
}, undefined>, v.ObjectSchema<{
|
|
545
|
+
readonly id: v.StringSchema<undefined>;
|
|
546
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
547
|
+
readonly location: v.StringSchema<undefined>;
|
|
548
|
+
}, undefined>, v.ObjectSchema<{
|
|
549
|
+
readonly id: v.StringSchema<undefined>;
|
|
550
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
551
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
552
|
+
}, undefined>, v.ObjectSchema<{
|
|
553
|
+
readonly id: v.StringSchema<undefined>;
|
|
554
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
555
|
+
readonly verification: v.StringSchema<undefined>;
|
|
432
556
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
433
557
|
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
434
558
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -650,11 +650,49 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
650
650
|
}, undefined>, v.ObjectSchema<{
|
|
651
651
|
readonly id: v.StringSchema<undefined>;
|
|
652
652
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
653
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
653
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
654
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
655
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
656
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
657
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
658
|
+
readonly value: v.NumberSchema<undefined>;
|
|
659
|
+
readonly time: v.StringSchema<undefined>;
|
|
660
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
+
}, undefined>, v.ObjectSchema<{
|
|
662
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
663
|
+
readonly value: v.NumberSchema<undefined>;
|
|
664
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
665
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
666
|
+
}, undefined>], undefined>, undefined>;
|
|
667
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
668
|
+
}, undefined>, v.ObjectSchema<{
|
|
669
|
+
readonly start: v.StringSchema<undefined>;
|
|
670
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
671
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
672
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
673
|
+
readonly value: v.NumberSchema<undefined>;
|
|
674
|
+
readonly time: v.StringSchema<undefined>;
|
|
675
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
676
|
+
}, undefined>, v.ObjectSchema<{
|
|
677
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
678
|
+
readonly value: v.NumberSchema<undefined>;
|
|
679
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
680
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
681
|
+
}, undefined>], undefined>, undefined>;
|
|
682
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
683
|
+
}, undefined>, v.ObjectSchema<{
|
|
654
684
|
readonly start: v.StringSchema<undefined>;
|
|
655
685
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
656
686
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
657
|
-
|
|
687
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
688
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
689
|
+
readonly value: v.NumberSchema<undefined>;
|
|
690
|
+
readonly time: v.StringSchema<undefined>;
|
|
691
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
692
|
+
}, undefined>, v.ObjectSchema<{
|
|
693
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
694
|
+
}, undefined>], undefined>, undefined>;
|
|
695
|
+
}, undefined>], undefined>, undefined>;
|
|
658
696
|
}, undefined>, v.ObjectSchema<{
|
|
659
697
|
readonly id: v.StringSchema<undefined>;
|
|
660
698
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -729,6 +767,30 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
729
767
|
readonly id: v.StringSchema<undefined>;
|
|
730
768
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
731
769
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
770
|
+
}, undefined>, v.ObjectSchema<{
|
|
771
|
+
readonly id: v.StringSchema<undefined>;
|
|
772
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
773
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
774
|
+
}, undefined>, v.ObjectSchema<{
|
|
775
|
+
readonly id: v.StringSchema<undefined>;
|
|
776
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
777
|
+
readonly button: v.StringSchema<undefined>;
|
|
778
|
+
}, undefined>, v.ObjectSchema<{
|
|
779
|
+
readonly id: v.StringSchema<undefined>;
|
|
780
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
781
|
+
readonly formula: v.StringSchema<undefined>;
|
|
782
|
+
}, undefined>, v.ObjectSchema<{
|
|
783
|
+
readonly id: v.StringSchema<undefined>;
|
|
784
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
785
|
+
readonly location: v.StringSchema<undefined>;
|
|
786
|
+
}, undefined>, v.ObjectSchema<{
|
|
787
|
+
readonly id: v.StringSchema<undefined>;
|
|
788
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
789
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
790
|
+
}, undefined>, v.ObjectSchema<{
|
|
791
|
+
readonly id: v.StringSchema<undefined>;
|
|
792
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
793
|
+
readonly verification: v.StringSchema<undefined>;
|
|
732
794
|
}, undefined>], undefined>, undefined>;
|
|
733
795
|
readonly position: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
734
796
|
readonly type: v.LiteralSchema<"start", undefined>;
|
|
@@ -842,11 +904,49 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
842
904
|
}, undefined>, v.ObjectSchema<{
|
|
843
905
|
readonly id: v.StringSchema<undefined>;
|
|
844
906
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
845
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
907
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
908
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
909
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
910
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
911
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
912
|
+
readonly value: v.NumberSchema<undefined>;
|
|
913
|
+
readonly time: v.StringSchema<undefined>;
|
|
914
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
915
|
+
}, undefined>, v.ObjectSchema<{
|
|
916
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
917
|
+
readonly value: v.NumberSchema<undefined>;
|
|
918
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
919
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
920
|
+
}, undefined>], undefined>, undefined>;
|
|
921
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
922
|
+
}, undefined>, v.ObjectSchema<{
|
|
923
|
+
readonly start: v.StringSchema<undefined>;
|
|
924
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
925
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
926
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
927
|
+
readonly value: v.NumberSchema<undefined>;
|
|
928
|
+
readonly time: v.StringSchema<undefined>;
|
|
929
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
930
|
+
}, undefined>, v.ObjectSchema<{
|
|
931
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
932
|
+
readonly value: v.NumberSchema<undefined>;
|
|
933
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
934
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
935
|
+
}, undefined>], undefined>, undefined>;
|
|
936
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
937
|
+
}, undefined>, v.ObjectSchema<{
|
|
846
938
|
readonly start: v.StringSchema<undefined>;
|
|
847
939
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
848
940
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
849
|
-
|
|
941
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
942
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
943
|
+
readonly value: v.NumberSchema<undefined>;
|
|
944
|
+
readonly time: v.StringSchema<undefined>;
|
|
945
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
946
|
+
}, undefined>, v.ObjectSchema<{
|
|
947
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
948
|
+
}, undefined>], undefined>, undefined>;
|
|
949
|
+
}, undefined>], undefined>, undefined>;
|
|
850
950
|
}, undefined>, v.ObjectSchema<{
|
|
851
951
|
readonly id: v.StringSchema<undefined>;
|
|
852
952
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -921,6 +1021,30 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
921
1021
|
readonly id: v.StringSchema<undefined>;
|
|
922
1022
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
923
1023
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1024
|
+
}, undefined>, v.ObjectSchema<{
|
|
1025
|
+
readonly id: v.StringSchema<undefined>;
|
|
1026
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
1027
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
1028
|
+
}, undefined>, v.ObjectSchema<{
|
|
1029
|
+
readonly id: v.StringSchema<undefined>;
|
|
1030
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
1031
|
+
readonly button: v.StringSchema<undefined>;
|
|
1032
|
+
}, undefined>, v.ObjectSchema<{
|
|
1033
|
+
readonly id: v.StringSchema<undefined>;
|
|
1034
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1035
|
+
readonly formula: v.StringSchema<undefined>;
|
|
1036
|
+
}, undefined>, v.ObjectSchema<{
|
|
1037
|
+
readonly id: v.StringSchema<undefined>;
|
|
1038
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1039
|
+
readonly location: v.StringSchema<undefined>;
|
|
1040
|
+
}, undefined>, v.ObjectSchema<{
|
|
1041
|
+
readonly id: v.StringSchema<undefined>;
|
|
1042
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
1043
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
1044
|
+
}, undefined>, v.ObjectSchema<{
|
|
1045
|
+
readonly id: v.StringSchema<undefined>;
|
|
1046
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
1047
|
+
readonly verification: v.StringSchema<undefined>;
|
|
924
1048
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
925
1049
|
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
926
1050
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
@@ -87,11 +87,49 @@ export declare const updatePageMessageSchema: v.ObjectSchema<{
|
|
|
87
87
|
}, undefined>, v.ObjectSchema<{
|
|
88
88
|
readonly id: v.StringSchema<undefined>;
|
|
89
89
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
90
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
90
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
91
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
92
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
93
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
94
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
95
|
+
readonly value: v.NumberSchema<undefined>;
|
|
96
|
+
readonly time: v.StringSchema<undefined>;
|
|
97
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
}, undefined>, v.ObjectSchema<{
|
|
99
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
100
|
+
readonly value: v.NumberSchema<undefined>;
|
|
101
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
102
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
103
|
+
}, undefined>], undefined>, undefined>;
|
|
104
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
105
|
+
}, undefined>, v.ObjectSchema<{
|
|
106
|
+
readonly start: v.StringSchema<undefined>;
|
|
107
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
108
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
109
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
110
|
+
readonly value: v.NumberSchema<undefined>;
|
|
111
|
+
readonly time: v.StringSchema<undefined>;
|
|
112
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
}, undefined>, v.ObjectSchema<{
|
|
114
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
115
|
+
readonly value: v.NumberSchema<undefined>;
|
|
116
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
117
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
118
|
+
}, undefined>], undefined>, undefined>;
|
|
119
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
120
|
+
}, undefined>, v.ObjectSchema<{
|
|
91
121
|
readonly start: v.StringSchema<undefined>;
|
|
92
122
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
93
123
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
94
|
-
|
|
124
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
125
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
126
|
+
readonly value: v.NumberSchema<undefined>;
|
|
127
|
+
readonly time: v.StringSchema<undefined>;
|
|
128
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
129
|
+
}, undefined>, v.ObjectSchema<{
|
|
130
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
131
|
+
}, undefined>], undefined>, undefined>;
|
|
132
|
+
}, undefined>], undefined>, undefined>;
|
|
95
133
|
}, undefined>, v.ObjectSchema<{
|
|
96
134
|
readonly id: v.StringSchema<undefined>;
|
|
97
135
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -166,6 +204,30 @@ export declare const updatePageMessageSchema: v.ObjectSchema<{
|
|
|
166
204
|
readonly id: v.StringSchema<undefined>;
|
|
167
205
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
168
206
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
}, undefined>, v.ObjectSchema<{
|
|
208
|
+
readonly id: v.StringSchema<undefined>;
|
|
209
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
210
|
+
readonly unique_id: v.StringSchema<undefined>;
|
|
211
|
+
}, undefined>, v.ObjectSchema<{
|
|
212
|
+
readonly id: v.StringSchema<undefined>;
|
|
213
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
214
|
+
readonly button: v.StringSchema<undefined>;
|
|
215
|
+
}, undefined>, v.ObjectSchema<{
|
|
216
|
+
readonly id: v.StringSchema<undefined>;
|
|
217
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
218
|
+
readonly formula: v.StringSchema<undefined>;
|
|
219
|
+
}, undefined>, v.ObjectSchema<{
|
|
220
|
+
readonly id: v.StringSchema<undefined>;
|
|
221
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
222
|
+
readonly location: v.StringSchema<undefined>;
|
|
223
|
+
}, undefined>, v.ObjectSchema<{
|
|
224
|
+
readonly id: v.StringSchema<undefined>;
|
|
225
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
226
|
+
readonly rollup: v.StringSchema<undefined>;
|
|
227
|
+
}, undefined>, v.ObjectSchema<{
|
|
228
|
+
readonly id: v.StringSchema<undefined>;
|
|
229
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
230
|
+
readonly verification: v.StringSchema<undefined>;
|
|
169
231
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
170
232
|
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
171
233
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|