@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.
@@ -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
- }, undefined>, undefined>;
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 updatePageResultMessageSchema: v.VariantSchema<"status", [v
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>;
@@ -349,11 +411,49 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
349
411
  }, undefined>, v.ObjectSchema<{
350
412
  readonly id: v.StringSchema<undefined>;
351
413
  readonly type: v.LiteralSchema<"date", undefined>;
352
- readonly date: v.NullableSchema<v.ObjectSchema<{
414
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
415
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
416
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
417
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
418
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
419
+ readonly value: v.NumberSchema<undefined>;
420
+ readonly time: v.StringSchema<undefined>;
421
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
422
+ }, undefined>, v.ObjectSchema<{
423
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
424
+ readonly value: v.NumberSchema<undefined>;
425
+ }, undefined>], undefined>, v.ObjectSchema<{
426
+ readonly unit: v.LiteralSchema<"none", undefined>;
427
+ }, undefined>], undefined>, undefined>;
428
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
429
+ }, undefined>, v.ObjectSchema<{
430
+ readonly start: v.StringSchema<undefined>;
431
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
432
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
433
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
434
+ readonly value: v.NumberSchema<undefined>;
435
+ readonly time: v.StringSchema<undefined>;
436
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
437
+ }, undefined>, v.ObjectSchema<{
438
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
439
+ readonly value: v.NumberSchema<undefined>;
440
+ }, undefined>], undefined>, v.ObjectSchema<{
441
+ readonly unit: v.LiteralSchema<"none", undefined>;
442
+ }, undefined>], undefined>, undefined>;
443
+ readonly time_zone: v.StringSchema<undefined>;
444
+ }, undefined>, v.ObjectSchema<{
353
445
  readonly start: v.StringSchema<undefined>;
354
446
  readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
355
447
  readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
356
- }, undefined>, undefined>;
448
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
449
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
450
+ readonly value: v.NumberSchema<undefined>;
451
+ readonly time: v.StringSchema<undefined>;
452
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
453
+ }, undefined>, v.ObjectSchema<{
454
+ readonly unit: v.LiteralSchema<"none", undefined>;
455
+ }, undefined>], undefined>, undefined>;
456
+ }, undefined>], undefined>, undefined>;
357
457
  }, undefined>, v.ObjectSchema<{
358
458
  readonly id: v.StringSchema<undefined>;
359
459
  readonly type: v.LiteralSchema<"people", undefined>;
@@ -428,6 +528,30 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
428
528
  readonly id: v.StringSchema<undefined>;
429
529
  readonly type: v.LiteralSchema<"last_visited_time", undefined>;
430
530
  readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
531
+ }, undefined>, v.ObjectSchema<{
532
+ readonly id: v.StringSchema<undefined>;
533
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
534
+ readonly unique_id: v.StringSchema<undefined>;
535
+ }, undefined>, v.ObjectSchema<{
536
+ readonly id: v.StringSchema<undefined>;
537
+ readonly type: v.LiteralSchema<"button", undefined>;
538
+ readonly button: v.StringSchema<undefined>;
539
+ }, undefined>, v.ObjectSchema<{
540
+ readonly id: v.StringSchema<undefined>;
541
+ readonly type: v.LiteralSchema<"formula", undefined>;
542
+ readonly formula: v.StringSchema<undefined>;
543
+ }, undefined>, v.ObjectSchema<{
544
+ readonly id: v.StringSchema<undefined>;
545
+ readonly type: v.LiteralSchema<"location", undefined>;
546
+ readonly location: v.StringSchema<undefined>;
547
+ }, undefined>, v.ObjectSchema<{
548
+ readonly id: v.StringSchema<undefined>;
549
+ readonly type: v.LiteralSchema<"rollup", undefined>;
550
+ readonly rollup: v.StringSchema<undefined>;
551
+ }, undefined>, v.ObjectSchema<{
552
+ readonly id: v.StringSchema<undefined>;
553
+ readonly type: v.LiteralSchema<"verification", undefined>;
554
+ readonly verification: v.StringSchema<undefined>;
431
555
  }, undefined>], undefined>, undefined>, undefined>;
432
556
  readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
433
557
  readonly id: v.StringSchema<undefined>;
@@ -574,11 +698,49 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
574
698
  }, undefined>, v.ObjectSchema<{
575
699
  readonly id: v.StringSchema<undefined>;
576
700
  readonly type: v.LiteralSchema<"date", undefined>;
577
- readonly date: v.NullableSchema<v.ObjectSchema<{
701
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
702
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
703
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
704
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
705
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
706
+ readonly value: v.NumberSchema<undefined>;
707
+ readonly time: v.StringSchema<undefined>;
708
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
709
+ }, undefined>, v.ObjectSchema<{
710
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
711
+ readonly value: v.NumberSchema<undefined>;
712
+ }, undefined>], undefined>, v.ObjectSchema<{
713
+ readonly unit: v.LiteralSchema<"none", undefined>;
714
+ }, undefined>], undefined>, undefined>;
715
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
716
+ }, undefined>, v.ObjectSchema<{
717
+ readonly start: v.StringSchema<undefined>;
718
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
719
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
720
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
721
+ readonly value: v.NumberSchema<undefined>;
722
+ readonly time: v.StringSchema<undefined>;
723
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
724
+ }, undefined>, v.ObjectSchema<{
725
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
726
+ readonly value: v.NumberSchema<undefined>;
727
+ }, undefined>], undefined>, v.ObjectSchema<{
728
+ readonly unit: v.LiteralSchema<"none", undefined>;
729
+ }, undefined>], undefined>, undefined>;
730
+ readonly time_zone: v.StringSchema<undefined>;
731
+ }, undefined>, v.ObjectSchema<{
578
732
  readonly start: v.StringSchema<undefined>;
579
733
  readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
580
734
  readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
581
- }, undefined>, undefined>;
735
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
736
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
737
+ readonly value: v.NumberSchema<undefined>;
738
+ readonly time: v.StringSchema<undefined>;
739
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
740
+ }, undefined>, v.ObjectSchema<{
741
+ readonly unit: v.LiteralSchema<"none", undefined>;
742
+ }, undefined>], undefined>, undefined>;
743
+ }, undefined>], undefined>, undefined>;
582
744
  }, undefined>, v.ObjectSchema<{
583
745
  readonly id: v.StringSchema<undefined>;
584
746
  readonly type: v.LiteralSchema<"people", undefined>;
@@ -653,6 +815,30 @@ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"statu
653
815
  readonly id: v.StringSchema<undefined>;
654
816
  readonly type: v.LiteralSchema<"last_visited_time", undefined>;
655
817
  readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
818
+ }, undefined>, v.ObjectSchema<{
819
+ readonly id: v.StringSchema<undefined>;
820
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
821
+ readonly unique_id: v.StringSchema<undefined>;
822
+ }, undefined>, v.ObjectSchema<{
823
+ readonly id: v.StringSchema<undefined>;
824
+ readonly type: v.LiteralSchema<"button", undefined>;
825
+ readonly button: v.StringSchema<undefined>;
826
+ }, undefined>, v.ObjectSchema<{
827
+ readonly id: v.StringSchema<undefined>;
828
+ readonly type: v.LiteralSchema<"formula", undefined>;
829
+ readonly formula: v.StringSchema<undefined>;
830
+ }, undefined>, v.ObjectSchema<{
831
+ readonly id: v.StringSchema<undefined>;
832
+ readonly type: v.LiteralSchema<"location", undefined>;
833
+ readonly location: v.StringSchema<undefined>;
834
+ }, undefined>, v.ObjectSchema<{
835
+ readonly id: v.StringSchema<undefined>;
836
+ readonly type: v.LiteralSchema<"rollup", undefined>;
837
+ readonly rollup: v.StringSchema<undefined>;
838
+ }, undefined>, v.ObjectSchema<{
839
+ readonly id: v.StringSchema<undefined>;
840
+ readonly type: v.LiteralSchema<"verification", undefined>;
841
+ readonly verification: v.StringSchema<undefined>;
656
842
  }, undefined>], undefined>, undefined>;
657
843
  readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
658
844
  readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;