@notionhq/custom-blocks-host 0.3.6 → 0.3.7
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 +2 -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 +40 -2
- package/dist/protocol/messages/createPageResult.d.ts +120 -6
- package/dist/protocol/messages/getPage.d.ts +120 -6
- package/dist/protocol/messages/hostToSandbox.d.ts +440 -22
- package/dist/protocol/messages/queryDataSourceResult.d.ts +80 -4
- package/dist/protocol/messages/sandboxToHost.d.ts +80 -4
- package/dist/protocol/messages/updatePage.d.ts +40 -2
- package/dist/protocol/messages/updatePageResult.d.ts +120 -6
- package/dist/protocol/pages/page.d.ts +240 -12
- package/dist/protocol/pages/page.js +18 -2
- package/package.json +1 -1
- package/src/dateValue.ts +120 -0
- package/src/index.ts +5 -0
- package/src/lifecycle/legacyPage.ts +2 -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>;
|
|
@@ -350,11 +388,49 @@ export declare const queryDataSourceResultMessageLegacySchema: v.VariantSchema<"
|
|
|
350
388
|
}, undefined>, v.ObjectSchema<{
|
|
351
389
|
readonly id: v.StringSchema<undefined>;
|
|
352
390
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
353
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
391
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
392
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
393
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
394
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
395
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
396
|
+
readonly value: v.NumberSchema<undefined>;
|
|
397
|
+
readonly time: v.StringSchema<undefined>;
|
|
398
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
399
|
+
}, undefined>, v.ObjectSchema<{
|
|
400
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
401
|
+
readonly value: v.NumberSchema<undefined>;
|
|
402
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
403
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
404
|
+
}, undefined>], undefined>, undefined>;
|
|
405
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
406
|
+
}, undefined>, v.ObjectSchema<{
|
|
407
|
+
readonly start: v.StringSchema<undefined>;
|
|
408
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
409
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
410
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
411
|
+
readonly value: v.NumberSchema<undefined>;
|
|
412
|
+
readonly time: v.StringSchema<undefined>;
|
|
413
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
414
|
+
}, undefined>, v.ObjectSchema<{
|
|
415
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
416
|
+
readonly value: v.NumberSchema<undefined>;
|
|
417
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
418
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
419
|
+
}, undefined>], undefined>, undefined>;
|
|
420
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
421
|
+
}, undefined>, v.ObjectSchema<{
|
|
354
422
|
readonly start: v.StringSchema<undefined>;
|
|
355
423
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
356
424
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
357
|
-
|
|
425
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
426
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
427
|
+
readonly value: v.NumberSchema<undefined>;
|
|
428
|
+
readonly time: v.StringSchema<undefined>;
|
|
429
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
430
|
+
}, undefined>, v.ObjectSchema<{
|
|
431
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
432
|
+
}, undefined>], undefined>, undefined>;
|
|
433
|
+
}, undefined>], undefined>, undefined>;
|
|
358
434
|
}, undefined>, v.ObjectSchema<{
|
|
359
435
|
readonly id: v.StringSchema<undefined>;
|
|
360
436
|
readonly type: v.LiteralSchema<"people", 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>;
|
|
@@ -842,11 +880,49 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
842
880
|
}, undefined>, v.ObjectSchema<{
|
|
843
881
|
readonly id: v.StringSchema<undefined>;
|
|
844
882
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
845
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
883
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
884
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
885
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
886
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
887
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
888
|
+
readonly value: v.NumberSchema<undefined>;
|
|
889
|
+
readonly time: v.StringSchema<undefined>;
|
|
890
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
891
|
+
}, undefined>, v.ObjectSchema<{
|
|
892
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
893
|
+
readonly value: v.NumberSchema<undefined>;
|
|
894
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
895
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
896
|
+
}, undefined>], undefined>, undefined>;
|
|
897
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
898
|
+
}, undefined>, v.ObjectSchema<{
|
|
899
|
+
readonly start: v.StringSchema<undefined>;
|
|
900
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
901
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
902
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
903
|
+
readonly value: v.NumberSchema<undefined>;
|
|
904
|
+
readonly time: v.StringSchema<undefined>;
|
|
905
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
906
|
+
}, undefined>, v.ObjectSchema<{
|
|
907
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
908
|
+
readonly value: v.NumberSchema<undefined>;
|
|
909
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
910
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
911
|
+
}, undefined>], undefined>, undefined>;
|
|
912
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
913
|
+
}, undefined>, v.ObjectSchema<{
|
|
846
914
|
readonly start: v.StringSchema<undefined>;
|
|
847
915
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
848
916
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
849
|
-
|
|
917
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
918
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
919
|
+
readonly value: v.NumberSchema<undefined>;
|
|
920
|
+
readonly time: v.StringSchema<undefined>;
|
|
921
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
922
|
+
}, undefined>, v.ObjectSchema<{
|
|
923
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
924
|
+
}, undefined>], undefined>, undefined>;
|
|
925
|
+
}, undefined>], undefined>, undefined>;
|
|
850
926
|
}, undefined>, v.ObjectSchema<{
|
|
851
927
|
readonly id: v.StringSchema<undefined>;
|
|
852
928
|
readonly type: v.LiteralSchema<"people", 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>;
|
|
@@ -109,11 +109,49 @@ export declare const updatePageResultMessageSchema: v.VariantSchema<"status", [v
|
|
|
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>;
|
|
@@ -349,11 +387,49 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
|
|
|
349
387
|
}, undefined>, v.ObjectSchema<{
|
|
350
388
|
readonly id: v.StringSchema<undefined>;
|
|
351
389
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
352
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
390
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
391
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
392
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
393
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
394
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
395
|
+
readonly value: v.NumberSchema<undefined>;
|
|
396
|
+
readonly time: v.StringSchema<undefined>;
|
|
397
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
398
|
+
}, undefined>, v.ObjectSchema<{
|
|
399
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
400
|
+
readonly value: v.NumberSchema<undefined>;
|
|
401
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
402
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
403
|
+
}, undefined>], undefined>, undefined>;
|
|
404
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
405
|
+
}, undefined>, v.ObjectSchema<{
|
|
406
|
+
readonly start: v.StringSchema<undefined>;
|
|
407
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
408
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
409
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
410
|
+
readonly value: v.NumberSchema<undefined>;
|
|
411
|
+
readonly time: v.StringSchema<undefined>;
|
|
412
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
413
|
+
}, undefined>, v.ObjectSchema<{
|
|
414
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
415
|
+
readonly value: v.NumberSchema<undefined>;
|
|
416
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
417
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
418
|
+
}, undefined>], undefined>, undefined>;
|
|
419
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
420
|
+
}, undefined>, v.ObjectSchema<{
|
|
353
421
|
readonly start: v.StringSchema<undefined>;
|
|
354
422
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
355
423
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
356
|
-
|
|
424
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
425
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
426
|
+
readonly value: v.NumberSchema<undefined>;
|
|
427
|
+
readonly time: v.StringSchema<undefined>;
|
|
428
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
429
|
+
}, undefined>, v.ObjectSchema<{
|
|
430
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
431
|
+
}, undefined>], undefined>, undefined>;
|
|
432
|
+
}, undefined>], undefined>, undefined>;
|
|
357
433
|
}, undefined>, v.ObjectSchema<{
|
|
358
434
|
readonly id: v.StringSchema<undefined>;
|
|
359
435
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -574,11 +650,49 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
|
|
|
574
650
|
}, undefined>, v.ObjectSchema<{
|
|
575
651
|
readonly id: v.StringSchema<undefined>;
|
|
576
652
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
577
|
-
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<{
|
|
578
684
|
readonly start: v.StringSchema<undefined>;
|
|
579
685
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
580
686
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
581
|
-
|
|
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>;
|
|
582
696
|
}, undefined>, v.ObjectSchema<{
|
|
583
697
|
readonly id: v.StringSchema<undefined>;
|
|
584
698
|
readonly type: v.LiteralSchema<"people", undefined>;
|