@notionhq/custom-blocks-host 0.2.5 → 0.2.6
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.
|
@@ -123,20 +123,27 @@ export declare const customBlockContainsFilterOperatorSchema: v.UnionSchema<[v.S
|
|
|
123
123
|
}, undefined>], undefined>], undefined>;
|
|
124
124
|
export type CustomBlockContainsFilterOperator = v.InferOutput<typeof customBlockContainsFilterOperatorSchema>;
|
|
125
125
|
export declare const customBlockDateFilterOperatorSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
126
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
126
127
|
readonly equals: v.StringSchema<undefined>;
|
|
127
128
|
}, undefined>, v.StrictObjectSchema<{
|
|
129
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
128
130
|
readonly before: v.StringSchema<undefined>;
|
|
129
131
|
}, undefined>, v.StrictObjectSchema<{
|
|
132
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
130
133
|
readonly after: v.StringSchema<undefined>;
|
|
131
134
|
}, undefined>, v.StrictObjectSchema<{
|
|
135
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
132
136
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
133
137
|
}, undefined>, v.StrictObjectSchema<{
|
|
138
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
134
139
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
135
|
-
}, undefined>, v.
|
|
140
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
141
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
136
142
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
137
143
|
}, undefined>, v.StrictObjectSchema<{
|
|
144
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
138
145
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
139
|
-
}, undefined>], undefined
|
|
146
|
+
}, undefined>], undefined>;
|
|
140
147
|
export type CustomBlockDateFilterOperator = v.InferOutput<typeof customBlockDateFilterOperatorSchema>;
|
|
141
148
|
export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
142
149
|
readonly propertyId: v.StringSchema<undefined>;
|
|
@@ -318,20 +325,27 @@ export declare const resolvedCustomBlockDataSourcePropertyFilterSchema: v.UnionS
|
|
|
318
325
|
}, undefined>, v.StrictObjectSchema<{
|
|
319
326
|
readonly propertyId: v.StringSchema<undefined>;
|
|
320
327
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
328
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
321
329
|
readonly equals: v.StringSchema<undefined>;
|
|
322
330
|
}, undefined>, v.StrictObjectSchema<{
|
|
331
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
323
332
|
readonly before: v.StringSchema<undefined>;
|
|
324
333
|
}, undefined>, v.StrictObjectSchema<{
|
|
334
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
325
335
|
readonly after: v.StringSchema<undefined>;
|
|
326
336
|
}, undefined>, v.StrictObjectSchema<{
|
|
337
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
327
338
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
328
339
|
}, undefined>, v.StrictObjectSchema<{
|
|
340
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
329
341
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
330
|
-
}, undefined>, v.
|
|
342
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
343
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
331
344
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
332
345
|
}, undefined>, v.StrictObjectSchema<{
|
|
346
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
333
347
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
334
|
-
}, undefined>], undefined
|
|
348
|
+
}, undefined>], undefined>;
|
|
335
349
|
}, undefined>, v.StrictObjectSchema<{
|
|
336
350
|
readonly propertyId: v.StringSchema<undefined>;
|
|
337
351
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -531,20 +545,27 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
531
545
|
}, undefined>, v.StrictObjectSchema<{
|
|
532
546
|
readonly propertyId: v.StringSchema<undefined>;
|
|
533
547
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
548
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
534
549
|
readonly equals: v.StringSchema<undefined>;
|
|
535
550
|
}, undefined>, v.StrictObjectSchema<{
|
|
551
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
536
552
|
readonly before: v.StringSchema<undefined>;
|
|
537
553
|
}, undefined>, v.StrictObjectSchema<{
|
|
554
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
538
555
|
readonly after: v.StringSchema<undefined>;
|
|
539
556
|
}, undefined>, v.StrictObjectSchema<{
|
|
557
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
540
558
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
541
559
|
}, undefined>, v.StrictObjectSchema<{
|
|
560
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
542
561
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
543
|
-
}, undefined>, v.
|
|
562
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
563
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
544
564
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
545
565
|
}, undefined>, v.StrictObjectSchema<{
|
|
566
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
546
567
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
547
|
-
}, undefined>], undefined
|
|
568
|
+
}, undefined>], undefined>;
|
|
548
569
|
}, undefined>, v.StrictObjectSchema<{
|
|
549
570
|
readonly propertyId: v.StringSchema<undefined>;
|
|
550
571
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -743,20 +764,27 @@ export declare const resolvedCustomBlockDataSourceFilterSchema: v.UnionSchema<[v
|
|
|
743
764
|
}, undefined>, v.StrictObjectSchema<{
|
|
744
765
|
readonly propertyId: v.StringSchema<undefined>;
|
|
745
766
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
767
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
746
768
|
readonly equals: v.StringSchema<undefined>;
|
|
747
769
|
}, undefined>, v.StrictObjectSchema<{
|
|
770
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
748
771
|
readonly before: v.StringSchema<undefined>;
|
|
749
772
|
}, undefined>, v.StrictObjectSchema<{
|
|
773
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
750
774
|
readonly after: v.StringSchema<undefined>;
|
|
751
775
|
}, undefined>, v.StrictObjectSchema<{
|
|
776
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
752
777
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
753
778
|
}, undefined>, v.StrictObjectSchema<{
|
|
779
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
754
780
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
755
|
-
}, undefined>, v.
|
|
781
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
782
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
756
783
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
757
784
|
}, undefined>, v.StrictObjectSchema<{
|
|
785
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
758
786
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
759
|
-
}, undefined>], undefined
|
|
787
|
+
}, undefined>], undefined>;
|
|
760
788
|
}, undefined>, v.StrictObjectSchema<{
|
|
761
789
|
readonly propertyId: v.StringSchema<undefined>;
|
|
762
790
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -980,20 +1008,27 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
980
1008
|
}, undefined>, v.StrictObjectSchema<{
|
|
981
1009
|
readonly propertyId: v.StringSchema<undefined>;
|
|
982
1010
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1011
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
983
1012
|
readonly equals: v.StringSchema<undefined>;
|
|
984
1013
|
}, undefined>, v.StrictObjectSchema<{
|
|
1014
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
985
1015
|
readonly before: v.StringSchema<undefined>;
|
|
986
1016
|
}, undefined>, v.StrictObjectSchema<{
|
|
1017
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
987
1018
|
readonly after: v.StringSchema<undefined>;
|
|
988
1019
|
}, undefined>, v.StrictObjectSchema<{
|
|
1020
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
989
1021
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
990
1022
|
}, undefined>, v.StrictObjectSchema<{
|
|
1023
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
991
1024
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
992
|
-
}, undefined>, v.
|
|
1025
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1026
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
993
1027
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
994
1028
|
}, undefined>, v.StrictObjectSchema<{
|
|
1029
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
995
1030
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
996
|
-
}, undefined>], undefined
|
|
1031
|
+
}, undefined>], undefined>;
|
|
997
1032
|
}, undefined>, v.StrictObjectSchema<{
|
|
998
1033
|
readonly propertyId: v.StringSchema<undefined>;
|
|
999
1034
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -1192,20 +1227,27 @@ export declare const queryDataSourceMessageSchema: v.ObjectSchema<{
|
|
|
1192
1227
|
}, undefined>, v.StrictObjectSchema<{
|
|
1193
1228
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1194
1229
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1230
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1195
1231
|
readonly equals: v.StringSchema<undefined>;
|
|
1196
1232
|
}, undefined>, v.StrictObjectSchema<{
|
|
1233
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1197
1234
|
readonly before: v.StringSchema<undefined>;
|
|
1198
1235
|
}, undefined>, v.StrictObjectSchema<{
|
|
1236
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1199
1237
|
readonly after: v.StringSchema<undefined>;
|
|
1200
1238
|
}, undefined>, v.StrictObjectSchema<{
|
|
1239
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1201
1240
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
1202
1241
|
}, undefined>, v.StrictObjectSchema<{
|
|
1242
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1203
1243
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
1204
|
-
}, undefined>, v.
|
|
1244
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1245
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1205
1246
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
1206
1247
|
}, undefined>, v.StrictObjectSchema<{
|
|
1248
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
1207
1249
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
1208
|
-
}, undefined>], undefined
|
|
1250
|
+
}, undefined>], undefined>;
|
|
1209
1251
|
}, undefined>, v.StrictObjectSchema<{
|
|
1210
1252
|
readonly propertyId: v.StringSchema<undefined>;
|
|
1211
1253
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -82,13 +82,36 @@ export const customBlockContainsFilterOperatorSchema = v.union([
|
|
|
82
82
|
v.strictObject({ does_not_contain: stringOrStringArraySchema }),
|
|
83
83
|
emptyOperatorSchema,
|
|
84
84
|
]);
|
|
85
|
+
const dateTargetSchema = v.picklist(["start_date", "end_date"]);
|
|
85
86
|
export const customBlockDateFilterOperatorSchema = v.union([
|
|
86
|
-
v.strictObject({
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
v.strictObject({
|
|
91
|
-
|
|
87
|
+
v.strictObject({
|
|
88
|
+
target: v.optional(dateTargetSchema),
|
|
89
|
+
equals: v.string(),
|
|
90
|
+
}),
|
|
91
|
+
v.strictObject({
|
|
92
|
+
target: v.optional(dateTargetSchema),
|
|
93
|
+
before: v.string(),
|
|
94
|
+
}),
|
|
95
|
+
v.strictObject({
|
|
96
|
+
target: v.optional(dateTargetSchema),
|
|
97
|
+
after: v.string(),
|
|
98
|
+
}),
|
|
99
|
+
v.strictObject({
|
|
100
|
+
target: v.optional(dateTargetSchema),
|
|
101
|
+
on_or_before: v.string(),
|
|
102
|
+
}),
|
|
103
|
+
v.strictObject({
|
|
104
|
+
target: v.optional(dateTargetSchema),
|
|
105
|
+
on_or_after: v.string(),
|
|
106
|
+
}),
|
|
107
|
+
v.strictObject({
|
|
108
|
+
target: v.optional(dateTargetSchema),
|
|
109
|
+
is_empty: v.literal(true),
|
|
110
|
+
}),
|
|
111
|
+
v.strictObject({
|
|
112
|
+
target: v.optional(dateTargetSchema),
|
|
113
|
+
is_not_empty: v.literal(true),
|
|
114
|
+
}),
|
|
92
115
|
]);
|
|
93
116
|
export const resolvedCustomBlockDataSourcePropertyFilterSchema = v.union([
|
|
94
117
|
v.strictObject({
|
|
@@ -238,20 +238,27 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
238
238
|
}, undefined>, v.StrictObjectSchema<{
|
|
239
239
|
readonly propertyId: v.StringSchema<undefined>;
|
|
240
240
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
241
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
241
242
|
readonly equals: v.StringSchema<undefined>;
|
|
242
243
|
}, undefined>, v.StrictObjectSchema<{
|
|
244
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
243
245
|
readonly before: v.StringSchema<undefined>;
|
|
244
246
|
}, undefined>, v.StrictObjectSchema<{
|
|
247
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
245
248
|
readonly after: v.StringSchema<undefined>;
|
|
246
249
|
}, undefined>, v.StrictObjectSchema<{
|
|
250
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
247
251
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
248
252
|
}, undefined>, v.StrictObjectSchema<{
|
|
253
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
249
254
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
250
|
-
}, undefined>, v.
|
|
255
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
256
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
251
257
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
252
258
|
}, undefined>, v.StrictObjectSchema<{
|
|
259
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
253
260
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
254
|
-
}, undefined>], undefined
|
|
261
|
+
}, undefined>], undefined>;
|
|
255
262
|
}, undefined>, v.StrictObjectSchema<{
|
|
256
263
|
readonly propertyId: v.StringSchema<undefined>;
|
|
257
264
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -450,20 +457,27 @@ export declare const sandboxToHostMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
450
457
|
}, undefined>, v.StrictObjectSchema<{
|
|
451
458
|
readonly propertyId: v.StringSchema<undefined>;
|
|
452
459
|
readonly date: v.UnionSchema<[v.StrictObjectSchema<{
|
|
460
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
453
461
|
readonly equals: v.StringSchema<undefined>;
|
|
454
462
|
}, undefined>, v.StrictObjectSchema<{
|
|
463
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
455
464
|
readonly before: v.StringSchema<undefined>;
|
|
456
465
|
}, undefined>, v.StrictObjectSchema<{
|
|
466
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
457
467
|
readonly after: v.StringSchema<undefined>;
|
|
458
468
|
}, undefined>, v.StrictObjectSchema<{
|
|
469
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
459
470
|
readonly on_or_before: v.StringSchema<undefined>;
|
|
460
471
|
}, undefined>, v.StrictObjectSchema<{
|
|
472
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
461
473
|
readonly on_or_after: v.StringSchema<undefined>;
|
|
462
|
-
}, undefined>, v.
|
|
474
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
475
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
463
476
|
readonly is_empty: v.LiteralSchema<true, undefined>;
|
|
464
477
|
}, undefined>, v.StrictObjectSchema<{
|
|
478
|
+
readonly target: v.OptionalSchema<v.PicklistSchema<["start_date", "end_date"], undefined>, undefined>;
|
|
465
479
|
readonly is_not_empty: v.LiteralSchema<true, undefined>;
|
|
466
|
-
}, undefined>], undefined
|
|
480
|
+
}, undefined>], undefined>;
|
|
467
481
|
}, undefined>, v.StrictObjectSchema<{
|
|
468
482
|
readonly propertyId: v.StringSchema<undefined>;
|
|
469
483
|
readonly people: v.UnionSchema<[v.StrictObjectSchema<{
|