@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
|
@@ -130,11 +130,49 @@ export declare const createPageMessageSchema: v.ObjectSchema<{
|
|
|
130
130
|
}, undefined>, v.ObjectSchema<{
|
|
131
131
|
readonly id: v.StringSchema<undefined>;
|
|
132
132
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
133
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
133
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
134
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
135
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
136
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
137
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
138
|
+
readonly value: v.NumberSchema<undefined>;
|
|
139
|
+
readonly time: v.StringSchema<undefined>;
|
|
140
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
141
|
+
}, undefined>, v.ObjectSchema<{
|
|
142
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
143
|
+
readonly value: v.NumberSchema<undefined>;
|
|
144
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
145
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
146
|
+
}, undefined>], undefined>, undefined>;
|
|
147
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
148
|
+
}, undefined>, v.ObjectSchema<{
|
|
149
|
+
readonly start: v.StringSchema<undefined>;
|
|
150
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
151
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
152
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
153
|
+
readonly value: v.NumberSchema<undefined>;
|
|
154
|
+
readonly time: v.StringSchema<undefined>;
|
|
155
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
+
}, undefined>, v.ObjectSchema<{
|
|
157
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
158
|
+
readonly value: v.NumberSchema<undefined>;
|
|
159
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
160
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
161
|
+
}, undefined>], undefined>, undefined>;
|
|
162
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
163
|
+
}, undefined>, v.ObjectSchema<{
|
|
134
164
|
readonly start: v.StringSchema<undefined>;
|
|
135
165
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
136
166
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
137
|
-
|
|
167
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
168
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
169
|
+
readonly value: v.NumberSchema<undefined>;
|
|
170
|
+
readonly time: v.StringSchema<undefined>;
|
|
171
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
172
|
+
}, undefined>, v.ObjectSchema<{
|
|
173
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
174
|
+
}, undefined>], undefined>, undefined>;
|
|
175
|
+
}, undefined>], undefined>, undefined>;
|
|
138
176
|
}, undefined>, v.ObjectSchema<{
|
|
139
177
|
readonly id: v.StringSchema<undefined>;
|
|
140
178
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -110,11 +110,49 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
|
|
|
110
110
|
}, undefined>, v.ObjectSchema<{
|
|
111
111
|
readonly id: v.StringSchema<undefined>;
|
|
112
112
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
113
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
113
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
114
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
115
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
116
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
117
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
118
|
+
readonly value: v.NumberSchema<undefined>;
|
|
119
|
+
readonly time: v.StringSchema<undefined>;
|
|
120
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
121
|
+
}, undefined>, v.ObjectSchema<{
|
|
122
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
123
|
+
readonly value: v.NumberSchema<undefined>;
|
|
124
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
125
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
126
|
+
}, undefined>], undefined>, undefined>;
|
|
127
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
128
|
+
}, undefined>, v.ObjectSchema<{
|
|
129
|
+
readonly start: v.StringSchema<undefined>;
|
|
130
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
131
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
132
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
133
|
+
readonly value: v.NumberSchema<undefined>;
|
|
134
|
+
readonly time: v.StringSchema<undefined>;
|
|
135
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
}, undefined>, v.ObjectSchema<{
|
|
137
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
138
|
+
readonly value: v.NumberSchema<undefined>;
|
|
139
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
140
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
141
|
+
}, undefined>], undefined>, undefined>;
|
|
142
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
143
|
+
}, undefined>, v.ObjectSchema<{
|
|
114
144
|
readonly start: v.StringSchema<undefined>;
|
|
115
145
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
116
146
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
117
|
-
|
|
147
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
148
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
149
|
+
readonly value: v.NumberSchema<undefined>;
|
|
150
|
+
readonly time: v.StringSchema<undefined>;
|
|
151
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
+
}, undefined>, v.ObjectSchema<{
|
|
153
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
154
|
+
}, undefined>], undefined>, undefined>;
|
|
155
|
+
}, undefined>], undefined>, undefined>;
|
|
118
156
|
}, undefined>, v.ObjectSchema<{
|
|
119
157
|
readonly id: v.StringSchema<undefined>;
|
|
120
158
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -351,11 +389,49 @@ export declare const createPageResultMessageLegacySchema: v.VariantSchema<"statu
|
|
|
351
389
|
}, undefined>, v.ObjectSchema<{
|
|
352
390
|
readonly id: v.StringSchema<undefined>;
|
|
353
391
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
354
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
392
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
393
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
394
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
395
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
396
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
397
|
+
readonly value: v.NumberSchema<undefined>;
|
|
398
|
+
readonly time: v.StringSchema<undefined>;
|
|
399
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
400
|
+
}, undefined>, v.ObjectSchema<{
|
|
401
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
402
|
+
readonly value: v.NumberSchema<undefined>;
|
|
403
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
404
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
405
|
+
}, undefined>], undefined>, undefined>;
|
|
406
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
407
|
+
}, undefined>, v.ObjectSchema<{
|
|
408
|
+
readonly start: v.StringSchema<undefined>;
|
|
409
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
410
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
411
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
412
|
+
readonly value: v.NumberSchema<undefined>;
|
|
413
|
+
readonly time: v.StringSchema<undefined>;
|
|
414
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
415
|
+
}, undefined>, v.ObjectSchema<{
|
|
416
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
417
|
+
readonly value: v.NumberSchema<undefined>;
|
|
418
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
419
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
420
|
+
}, undefined>], undefined>, undefined>;
|
|
421
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
422
|
+
}, undefined>, v.ObjectSchema<{
|
|
355
423
|
readonly start: v.StringSchema<undefined>;
|
|
356
424
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
357
425
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
358
|
-
|
|
426
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
427
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
428
|
+
readonly value: v.NumberSchema<undefined>;
|
|
429
|
+
readonly time: v.StringSchema<undefined>;
|
|
430
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
431
|
+
}, undefined>, v.ObjectSchema<{
|
|
432
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
433
|
+
}, undefined>], undefined>, undefined>;
|
|
434
|
+
}, undefined>], undefined>, undefined>;
|
|
359
435
|
}, undefined>, v.ObjectSchema<{
|
|
360
436
|
readonly id: v.StringSchema<undefined>;
|
|
361
437
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -576,11 +652,49 @@ export declare const createPageResultMessageLegacySchema: v.VariantSchema<"statu
|
|
|
576
652
|
}, undefined>, v.ObjectSchema<{
|
|
577
653
|
readonly id: v.StringSchema<undefined>;
|
|
578
654
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
579
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
655
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
656
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
657
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
658
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
659
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
660
|
+
readonly value: v.NumberSchema<undefined>;
|
|
661
|
+
readonly time: v.StringSchema<undefined>;
|
|
662
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
663
|
+
}, undefined>, v.ObjectSchema<{
|
|
664
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
665
|
+
readonly value: v.NumberSchema<undefined>;
|
|
666
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
667
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
668
|
+
}, undefined>], undefined>, undefined>;
|
|
669
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
670
|
+
}, undefined>, v.ObjectSchema<{
|
|
671
|
+
readonly start: v.StringSchema<undefined>;
|
|
672
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
673
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
674
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
675
|
+
readonly value: v.NumberSchema<undefined>;
|
|
676
|
+
readonly time: v.StringSchema<undefined>;
|
|
677
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
678
|
+
}, undefined>, v.ObjectSchema<{
|
|
679
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
680
|
+
readonly value: v.NumberSchema<undefined>;
|
|
681
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
682
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
683
|
+
}, undefined>], undefined>, undefined>;
|
|
684
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
685
|
+
}, undefined>, v.ObjectSchema<{
|
|
580
686
|
readonly start: v.StringSchema<undefined>;
|
|
581
687
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
582
688
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
583
|
-
|
|
689
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
690
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
691
|
+
readonly value: v.NumberSchema<undefined>;
|
|
692
|
+
readonly time: v.StringSchema<undefined>;
|
|
693
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
694
|
+
}, undefined>, v.ObjectSchema<{
|
|
695
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
696
|
+
}, undefined>], undefined>, undefined>;
|
|
697
|
+
}, undefined>], undefined>, undefined>;
|
|
584
698
|
}, undefined>, v.ObjectSchema<{
|
|
585
699
|
readonly id: v.StringSchema<undefined>;
|
|
586
700
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -116,11 +116,49 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
116
116
|
}, undefined>, v.ObjectSchema<{
|
|
117
117
|
readonly id: v.StringSchema<undefined>;
|
|
118
118
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
119
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
119
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
120
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
121
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
122
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
123
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
124
|
+
readonly value: v.NumberSchema<undefined>;
|
|
125
|
+
readonly time: v.StringSchema<undefined>;
|
|
126
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
127
|
+
}, undefined>, v.ObjectSchema<{
|
|
128
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
129
|
+
readonly value: v.NumberSchema<undefined>;
|
|
130
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
131
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
132
|
+
}, undefined>], undefined>, undefined>;
|
|
133
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
134
|
+
}, undefined>, v.ObjectSchema<{
|
|
135
|
+
readonly start: v.StringSchema<undefined>;
|
|
136
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
137
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
138
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
139
|
+
readonly value: v.NumberSchema<undefined>;
|
|
140
|
+
readonly time: v.StringSchema<undefined>;
|
|
141
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
+
}, undefined>, v.ObjectSchema<{
|
|
143
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
144
|
+
readonly value: v.NumberSchema<undefined>;
|
|
145
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
146
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
147
|
+
}, undefined>], undefined>, undefined>;
|
|
148
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
149
|
+
}, undefined>, v.ObjectSchema<{
|
|
120
150
|
readonly start: v.StringSchema<undefined>;
|
|
121
151
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
122
152
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
123
|
-
|
|
153
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
154
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
155
|
+
readonly value: v.NumberSchema<undefined>;
|
|
156
|
+
readonly time: v.StringSchema<undefined>;
|
|
157
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
158
|
+
}, undefined>, v.ObjectSchema<{
|
|
159
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
160
|
+
}, undefined>], undefined>, undefined>;
|
|
161
|
+
}, undefined>], undefined>, undefined>;
|
|
124
162
|
}, undefined>, v.ObjectSchema<{
|
|
125
163
|
readonly id: v.StringSchema<undefined>;
|
|
126
164
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -356,11 +394,49 @@ export declare const getPageResultMessageLegacySchema: v.VariantSchema<"status",
|
|
|
356
394
|
}, undefined>, v.ObjectSchema<{
|
|
357
395
|
readonly id: v.StringSchema<undefined>;
|
|
358
396
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
359
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
397
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
398
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
399
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
400
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
401
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
402
|
+
readonly value: v.NumberSchema<undefined>;
|
|
403
|
+
readonly time: v.StringSchema<undefined>;
|
|
404
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
405
|
+
}, undefined>, v.ObjectSchema<{
|
|
406
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
407
|
+
readonly value: v.NumberSchema<undefined>;
|
|
408
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
409
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
410
|
+
}, undefined>], undefined>, undefined>;
|
|
411
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
412
|
+
}, undefined>, v.ObjectSchema<{
|
|
413
|
+
readonly start: v.StringSchema<undefined>;
|
|
414
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
415
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
416
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
417
|
+
readonly value: v.NumberSchema<undefined>;
|
|
418
|
+
readonly time: v.StringSchema<undefined>;
|
|
419
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
420
|
+
}, undefined>, v.ObjectSchema<{
|
|
421
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
422
|
+
readonly value: v.NumberSchema<undefined>;
|
|
423
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
424
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
425
|
+
}, undefined>], undefined>, undefined>;
|
|
426
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
427
|
+
}, undefined>, v.ObjectSchema<{
|
|
360
428
|
readonly start: v.StringSchema<undefined>;
|
|
361
429
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
362
430
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
363
|
-
|
|
431
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
432
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
433
|
+
readonly value: v.NumberSchema<undefined>;
|
|
434
|
+
readonly time: v.StringSchema<undefined>;
|
|
435
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
436
|
+
}, undefined>, v.ObjectSchema<{
|
|
437
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
438
|
+
}, undefined>], undefined>, undefined>;
|
|
439
|
+
}, undefined>], undefined>, undefined>;
|
|
364
440
|
}, undefined>, v.ObjectSchema<{
|
|
365
441
|
readonly id: v.StringSchema<undefined>;
|
|
366
442
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -581,11 +657,49 @@ export declare const getPageResultMessageLegacySchema: v.VariantSchema<"status",
|
|
|
581
657
|
}, undefined>, v.ObjectSchema<{
|
|
582
658
|
readonly id: v.StringSchema<undefined>;
|
|
583
659
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
584
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
660
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
661
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
662
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
663
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
664
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
665
|
+
readonly value: v.NumberSchema<undefined>;
|
|
666
|
+
readonly time: v.StringSchema<undefined>;
|
|
667
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
668
|
+
}, undefined>, v.ObjectSchema<{
|
|
669
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
670
|
+
readonly value: v.NumberSchema<undefined>;
|
|
671
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
672
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
673
|
+
}, undefined>], undefined>, undefined>;
|
|
674
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
675
|
+
}, undefined>, v.ObjectSchema<{
|
|
676
|
+
readonly start: v.StringSchema<undefined>;
|
|
677
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
678
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
679
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
680
|
+
readonly value: v.NumberSchema<undefined>;
|
|
681
|
+
readonly time: v.StringSchema<undefined>;
|
|
682
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
683
|
+
}, undefined>, v.ObjectSchema<{
|
|
684
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
685
|
+
readonly value: v.NumberSchema<undefined>;
|
|
686
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
687
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
688
|
+
}, undefined>], undefined>, undefined>;
|
|
689
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
690
|
+
}, undefined>, v.ObjectSchema<{
|
|
585
691
|
readonly start: v.StringSchema<undefined>;
|
|
586
692
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
587
693
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
588
|
-
|
|
694
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
695
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
696
|
+
readonly value: v.NumberSchema<undefined>;
|
|
697
|
+
readonly time: v.StringSchema<undefined>;
|
|
698
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
699
|
+
}, undefined>, v.ObjectSchema<{
|
|
700
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
701
|
+
}, undefined>], undefined>, undefined>;
|
|
702
|
+
}, undefined>], undefined>, undefined>;
|
|
589
703
|
}, undefined>, v.ObjectSchema<{
|
|
590
704
|
readonly id: v.StringSchema<undefined>;
|
|
591
705
|
readonly type: v.LiteralSchema<"people", undefined>;
|