@mdxui/do 2.1.1 → 4.0.0
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 +115 -323
- package/dist/{agents-xcIn2dUB.d.ts → agents-2_r9e9i7.d.ts} +213 -2
- package/dist/app/index.d.ts +347 -0
- package/dist/app/index.js +14 -0
- package/dist/app/index.js.map +1 -0
- package/dist/breadcrumbs-C9Qn3S7d.d.ts +81 -0
- package/dist/capnweb-client-Bq78FtEA.d.ts +229 -0
- package/dist/chunk-3XKYQRXY.js +192 -0
- package/dist/chunk-3XKYQRXY.js.map +1 -0
- package/dist/chunk-4KXVN3EQ.js +56 -0
- package/dist/chunk-4KXVN3EQ.js.map +1 -0
- package/dist/chunk-5SHZZC7L.js +234 -0
- package/dist/chunk-5SHZZC7L.js.map +1 -0
- package/dist/chunk-7UFINK3Q.js +1994 -0
- package/dist/chunk-7UFINK3Q.js.map +1 -0
- package/dist/chunk-JJLAES6W.js +76 -0
- package/dist/chunk-JJLAES6W.js.map +1 -0
- package/dist/chunk-KT52UU3U.js +985 -0
- package/dist/chunk-KT52UU3U.js.map +1 -0
- package/dist/chunk-LJIWB7KE.js +95 -0
- package/dist/chunk-LJIWB7KE.js.map +1 -0
- package/dist/chunk-NA652ART.js +596 -0
- package/dist/chunk-NA652ART.js.map +1 -0
- package/dist/chunk-OVLO7UOH.js +1071 -0
- package/dist/chunk-OVLO7UOH.js.map +1 -0
- package/dist/chunk-VRLUXCLD.js +31 -0
- package/dist/chunk-VRLUXCLD.js.map +1 -0
- package/dist/chunk-WMNT4OIE.js +249 -0
- package/dist/chunk-WMNT4OIE.js.map +1 -0
- package/dist/chunk-Y52IEYVM.js +131 -0
- package/dist/chunk-Y52IEYVM.js.map +1 -0
- package/dist/components/index.d.ts +14 -732
- package/dist/components/index.js +3 -6
- package/dist/config-CxvpD8Y6.d.ts +111 -0
- package/dist/{do-CaQVueZw.d.ts → do-D27i5bU0.d.ts} +32 -33
- package/dist/errors-DratdVIz.d.ts +346 -0
- package/dist/hooks/index.d.ts +450 -691
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/things/index.d.ts +298 -0
- package/dist/hooks/things/index.js +8 -0
- package/dist/hooks/things/index.js.map +1 -0
- package/dist/index.d.ts +62 -989
- package/dist/index.js +12 -839
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +798 -0
- package/dist/lib/index.js +6 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/providers/index.d.ts +130 -34
- package/dist/providers/index.js +3 -2
- package/dist/query-keys-CZNFikIi.d.ts +153 -0
- package/dist/schemas/index.d.ts +5 -5
- package/dist/schemas/index.js +2 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/{thing-DtI25yZh.d.ts → thing-BF25aUtJ.d.ts} +72 -72
- package/dist/types/index.d.ts +693 -658
- package/dist/types/index.js +1 -2
- package/dist/views/index.d.ts +131 -0
- package/dist/views/index.js +11 -0
- package/dist/views/index.js.map +1 -0
- package/package.json +39 -17
- package/dist/__test-utils__/index.d.ts +0 -399
- package/dist/__test-utils__/index.js +0 -34641
- package/dist/__test-utils__/index.js.map +0 -1
- package/dist/chunk-EEDMN7UF.js +0 -1351
- package/dist/chunk-EEDMN7UF.js.map +0 -1
- package/dist/chunk-G3PMV62Z.js +0 -33
- package/dist/chunk-G3PMV62Z.js.map +0 -1
- package/dist/chunk-NXPXL5NA.js +0 -3789
- package/dist/chunk-NXPXL5NA.js.map +0 -1
- package/dist/chunk-PC5FJY6M.js +0 -20
- package/dist/chunk-PC5FJY6M.js.map +0 -1
- package/dist/chunk-XF6LKY2M.js +0 -445
- package/dist/chunk-XF6LKY2M.js.map +0 -1
- package/dist/magic-string.es-J7BYFTTJ.js +0 -1307
- package/dist/magic-string.es-J7BYFTTJ.js.map +0 -1
|
@@ -95,10 +95,6 @@ declare const ThingSchema: z.ZodObject<{
|
|
|
95
95
|
'@id': z.ZodOptional<z.ZodString>;
|
|
96
96
|
}, z.ZodTypeAny, "passthrough">>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
type: string;
|
|
99
|
-
ns: string;
|
|
100
|
-
id: string;
|
|
101
|
-
name: string;
|
|
102
98
|
data: {
|
|
103
99
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
104
100
|
'@type'?: string | undefined;
|
|
@@ -106,18 +102,18 @@ declare const ThingSchema: z.ZodObject<{
|
|
|
106
102
|
} & {
|
|
107
103
|
[k: string]: unknown;
|
|
108
104
|
};
|
|
105
|
+
id: string;
|
|
106
|
+
type: string;
|
|
107
|
+
name: string;
|
|
108
|
+
ns: string;
|
|
109
109
|
ts: Date;
|
|
110
110
|
createdAt: Date;
|
|
111
111
|
updatedAt: Date;
|
|
112
|
+
variant?: string | undefined;
|
|
112
113
|
createdBy?: string | undefined;
|
|
113
114
|
updatedBy?: string | undefined;
|
|
114
115
|
deletedAt?: Date | null | undefined;
|
|
115
|
-
variant?: string | undefined;
|
|
116
116
|
}, {
|
|
117
|
-
type: string;
|
|
118
|
-
ns: string;
|
|
119
|
-
id: string;
|
|
120
|
-
name: string;
|
|
121
117
|
data: {
|
|
122
118
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
123
119
|
'@type'?: string | undefined;
|
|
@@ -125,13 +121,17 @@ declare const ThingSchema: z.ZodObject<{
|
|
|
125
121
|
} & {
|
|
126
122
|
[k: string]: unknown;
|
|
127
123
|
};
|
|
124
|
+
id: string;
|
|
125
|
+
type: string;
|
|
126
|
+
name: string;
|
|
127
|
+
ns: string;
|
|
128
128
|
ts: Date;
|
|
129
129
|
createdAt: Date;
|
|
130
130
|
updatedAt: Date;
|
|
131
|
+
variant?: string | undefined;
|
|
131
132
|
createdBy?: string | undefined;
|
|
132
133
|
updatedBy?: string | undefined;
|
|
133
134
|
deletedAt?: Date | null | undefined;
|
|
134
|
-
variant?: string | undefined;
|
|
135
135
|
}>;
|
|
136
136
|
/**
|
|
137
137
|
* Base Thing record from database.
|
|
@@ -223,11 +223,11 @@ declare const ThingSortSchema: z.ZodObject<{
|
|
|
223
223
|
/** Sort direction */
|
|
224
224
|
order: z.ZodEnum<["asc", "desc"]>;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
order: "desc" | "asc";
|
|
226
227
|
field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
|
|
227
|
-
order: "asc" | "desc";
|
|
228
228
|
}, {
|
|
229
|
+
order: "desc" | "asc";
|
|
229
230
|
field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
|
|
230
|
-
order: "asc" | "desc";
|
|
231
231
|
}>;
|
|
232
232
|
/**
|
|
233
233
|
* Sort options for Things.
|
|
@@ -304,10 +304,6 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
304
304
|
'@id': z.ZodOptional<z.ZodString>;
|
|
305
305
|
}, z.ZodTypeAny, "passthrough">>;
|
|
306
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
type: string;
|
|
308
|
-
ns: string;
|
|
309
|
-
id: string;
|
|
310
|
-
name: string;
|
|
311
307
|
data: {
|
|
312
308
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
313
309
|
'@type'?: string | undefined;
|
|
@@ -315,18 +311,18 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
315
311
|
} & {
|
|
316
312
|
[k: string]: unknown;
|
|
317
313
|
};
|
|
314
|
+
id: string;
|
|
315
|
+
type: string;
|
|
316
|
+
name: string;
|
|
317
|
+
ns: string;
|
|
318
318
|
ts: Date;
|
|
319
319
|
createdAt: Date;
|
|
320
320
|
updatedAt: Date;
|
|
321
|
+
variant?: string | undefined;
|
|
321
322
|
createdBy?: string | undefined;
|
|
322
323
|
updatedBy?: string | undefined;
|
|
323
324
|
deletedAt?: Date | null | undefined;
|
|
324
|
-
variant?: string | undefined;
|
|
325
325
|
}, {
|
|
326
|
-
type: string;
|
|
327
|
-
ns: string;
|
|
328
|
-
id: string;
|
|
329
|
-
name: string;
|
|
330
326
|
data: {
|
|
331
327
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
332
328
|
'@type'?: string | undefined;
|
|
@@ -334,13 +330,17 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
334
330
|
} & {
|
|
335
331
|
[k: string]: unknown;
|
|
336
332
|
};
|
|
333
|
+
id: string;
|
|
334
|
+
type: string;
|
|
335
|
+
name: string;
|
|
336
|
+
ns: string;
|
|
337
337
|
ts: Date;
|
|
338
338
|
createdAt: Date;
|
|
339
339
|
updatedAt: Date;
|
|
340
|
+
variant?: string | undefined;
|
|
340
341
|
createdBy?: string | undefined;
|
|
341
342
|
updatedBy?: string | undefined;
|
|
342
343
|
deletedAt?: Date | null | undefined;
|
|
343
|
-
variant?: string | undefined;
|
|
344
344
|
}>, "many">;
|
|
345
345
|
/** Total count (without pagination) */
|
|
346
346
|
total: z.ZodNumber;
|
|
@@ -351,13 +351,7 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
351
351
|
/** Total pages */
|
|
352
352
|
totalPages: z.ZodNumber;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
page: number;
|
|
355
|
-
perPage: number;
|
|
356
354
|
data: {
|
|
357
|
-
type: string;
|
|
358
|
-
ns: string;
|
|
359
|
-
id: string;
|
|
360
|
-
name: string;
|
|
361
355
|
data: {
|
|
362
356
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
363
357
|
'@type'?: string | undefined;
|
|
@@ -365,24 +359,24 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
365
359
|
} & {
|
|
366
360
|
[k: string]: unknown;
|
|
367
361
|
};
|
|
362
|
+
id: string;
|
|
363
|
+
type: string;
|
|
364
|
+
name: string;
|
|
365
|
+
ns: string;
|
|
368
366
|
ts: Date;
|
|
369
367
|
createdAt: Date;
|
|
370
368
|
updatedAt: Date;
|
|
369
|
+
variant?: string | undefined;
|
|
371
370
|
createdBy?: string | undefined;
|
|
372
371
|
updatedBy?: string | undefined;
|
|
373
372
|
deletedAt?: Date | null | undefined;
|
|
374
|
-
variant?: string | undefined;
|
|
375
373
|
}[];
|
|
374
|
+
page: number;
|
|
375
|
+
perPage: number;
|
|
376
376
|
total: number;
|
|
377
377
|
totalPages: number;
|
|
378
378
|
}, {
|
|
379
|
-
page: number;
|
|
380
|
-
perPage: number;
|
|
381
379
|
data: {
|
|
382
|
-
type: string;
|
|
383
|
-
ns: string;
|
|
384
|
-
id: string;
|
|
385
|
-
name: string;
|
|
386
380
|
data: {
|
|
387
381
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
388
382
|
'@type'?: string | undefined;
|
|
@@ -390,14 +384,20 @@ declare const ThingQueryResultSchema: z.ZodObject<{
|
|
|
390
384
|
} & {
|
|
391
385
|
[k: string]: unknown;
|
|
392
386
|
};
|
|
387
|
+
id: string;
|
|
388
|
+
type: string;
|
|
389
|
+
name: string;
|
|
390
|
+
ns: string;
|
|
393
391
|
ts: Date;
|
|
394
392
|
createdAt: Date;
|
|
395
393
|
updatedAt: Date;
|
|
394
|
+
variant?: string | undefined;
|
|
396
395
|
createdBy?: string | undefined;
|
|
397
396
|
updatedBy?: string | undefined;
|
|
398
397
|
deletedAt?: Date | null | undefined;
|
|
399
|
-
variant?: string | undefined;
|
|
400
398
|
}[];
|
|
399
|
+
page: number;
|
|
400
|
+
perPage: number;
|
|
401
401
|
total: number;
|
|
402
402
|
totalPages: number;
|
|
403
403
|
}>;
|
|
@@ -443,9 +443,6 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
443
443
|
/** Variant for A/B testing */
|
|
444
444
|
variant: z.ZodOptional<z.ZodString>;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
type: string;
|
|
447
|
-
ns: string;
|
|
448
|
-
name: string;
|
|
449
446
|
data: {
|
|
450
447
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
451
448
|
'@type'?: string | undefined;
|
|
@@ -453,12 +450,12 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
453
450
|
} & {
|
|
454
451
|
[k: string]: unknown;
|
|
455
452
|
};
|
|
453
|
+
type: string;
|
|
454
|
+
name: string;
|
|
455
|
+
ns: string;
|
|
456
456
|
id?: string | undefined;
|
|
457
457
|
variant?: string | undefined;
|
|
458
458
|
}, {
|
|
459
|
-
type: string;
|
|
460
|
-
ns: string;
|
|
461
|
-
name: string;
|
|
462
459
|
data: {
|
|
463
460
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
464
461
|
'@type'?: string | undefined;
|
|
@@ -466,6 +463,9 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
466
463
|
} & {
|
|
467
464
|
[k: string]: unknown;
|
|
468
465
|
};
|
|
466
|
+
type: string;
|
|
467
|
+
name: string;
|
|
468
|
+
ns: string;
|
|
469
469
|
id?: string | undefined;
|
|
470
470
|
variant?: string | undefined;
|
|
471
471
|
}>;
|
|
@@ -496,20 +496,20 @@ declare const ThingUpdateInputSchema: z.ZodObject<{
|
|
|
496
496
|
/** Updated variant */
|
|
497
497
|
variant: z.ZodOptional<z.ZodString>;
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
|
-
name?: string | undefined;
|
|
500
499
|
data?: z.objectOutputType<{
|
|
501
500
|
'@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
502
501
|
'@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
503
502
|
'@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
504
503
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
504
|
+
name?: string | undefined;
|
|
505
505
|
variant?: string | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
name?: string | undefined;
|
|
508
507
|
data?: z.objectInputType<{
|
|
509
508
|
'@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
510
509
|
'@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
511
510
|
'@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
512
511
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
512
|
+
name?: string | undefined;
|
|
513
513
|
variant?: string | undefined;
|
|
514
514
|
}>;
|
|
515
515
|
/**
|
|
@@ -599,11 +599,11 @@ declare const ThingVersionSchema: z.ZodObject<{
|
|
|
599
599
|
} & {
|
|
600
600
|
[k: string]: unknown;
|
|
601
601
|
};
|
|
602
|
+
metadata: Record<string, unknown>;
|
|
602
603
|
ts: Date;
|
|
603
604
|
eventId: string;
|
|
604
|
-
eventType: "
|
|
605
|
+
eventType: "delete" | "create" | "update" | "create_version" | "update_version";
|
|
605
606
|
userId: string;
|
|
606
|
-
metadata: Record<string, unknown>;
|
|
607
607
|
delta?: z.objectOutputType<{
|
|
608
608
|
/** JSON-LD context */
|
|
609
609
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -620,11 +620,11 @@ declare const ThingVersionSchema: z.ZodObject<{
|
|
|
620
620
|
} & {
|
|
621
621
|
[k: string]: unknown;
|
|
622
622
|
};
|
|
623
|
+
metadata: Record<string, unknown>;
|
|
623
624
|
ts: Date;
|
|
624
625
|
eventId: string;
|
|
625
|
-
eventType: "
|
|
626
|
+
eventType: "delete" | "create" | "update" | "create_version" | "update_version";
|
|
626
627
|
userId: string;
|
|
627
|
-
metadata: Record<string, unknown>;
|
|
628
628
|
delta?: z.objectInputType<{
|
|
629
629
|
/** JSON-LD context */
|
|
630
630
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -659,21 +659,21 @@ declare const SemanticPropertySchema: z.ZodObject<{
|
|
|
659
659
|
/** Default value */
|
|
660
660
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
|
-
name: string;
|
|
663
662
|
label: string;
|
|
663
|
+
name: string;
|
|
664
664
|
description: string;
|
|
665
|
+
required: boolean;
|
|
665
666
|
rangeIncludes: string[];
|
|
666
667
|
domainIncludes: string[];
|
|
667
|
-
required: boolean;
|
|
668
668
|
isArray: boolean;
|
|
669
669
|
defaultValue?: unknown;
|
|
670
670
|
}, {
|
|
671
|
-
name: string;
|
|
672
671
|
label: string;
|
|
672
|
+
name: string;
|
|
673
673
|
description: string;
|
|
674
|
+
required: boolean;
|
|
674
675
|
rangeIncludes: string[];
|
|
675
676
|
domainIncludes: string[];
|
|
676
|
-
required: boolean;
|
|
677
677
|
isArray: boolean;
|
|
678
678
|
defaultValue?: unknown;
|
|
679
679
|
}>;
|
|
@@ -694,7 +694,7 @@ declare const SemanticTypeSchema: z.ZodObject<{
|
|
|
694
694
|
/** Human-readable label */
|
|
695
695
|
label: z.ZodString;
|
|
696
696
|
/** Type description */
|
|
697
|
-
description: z.ZodString
|
|
697
|
+
description: z.ZodOptional<z.ZodString>;
|
|
698
698
|
/** Parent types (inheritance) */
|
|
699
699
|
parentTypes: z.ZodArray<z.ZodString, "many">;
|
|
700
700
|
/** Properties defined by this type */
|
|
@@ -716,21 +716,21 @@ declare const SemanticTypeSchema: z.ZodObject<{
|
|
|
716
716
|
/** Default value */
|
|
717
717
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
name: string;
|
|
720
719
|
label: string;
|
|
720
|
+
name: string;
|
|
721
721
|
description: string;
|
|
722
|
+
required: boolean;
|
|
722
723
|
rangeIncludes: string[];
|
|
723
724
|
domainIncludes: string[];
|
|
724
|
-
required: boolean;
|
|
725
725
|
isArray: boolean;
|
|
726
726
|
defaultValue?: unknown;
|
|
727
727
|
}, {
|
|
728
|
-
name: string;
|
|
729
728
|
label: string;
|
|
729
|
+
name: string;
|
|
730
730
|
description: string;
|
|
731
|
+
required: boolean;
|
|
731
732
|
rangeIncludes: string[];
|
|
732
733
|
domainIncludes: string[];
|
|
733
|
-
required: boolean;
|
|
734
734
|
isArray: boolean;
|
|
735
735
|
defaultValue?: unknown;
|
|
736
736
|
}>, "many">;
|
|
@@ -760,23 +760,23 @@ declare const SemanticTypeSchema: z.ZodObject<{
|
|
|
760
760
|
'@id': z.ZodOptional<z.ZodString>;
|
|
761
761
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
label: string;
|
|
763
764
|
id: string;
|
|
764
765
|
name: string;
|
|
766
|
+
namespace: string;
|
|
765
767
|
properties: {
|
|
766
|
-
name: string;
|
|
767
768
|
label: string;
|
|
769
|
+
name: string;
|
|
768
770
|
description: string;
|
|
771
|
+
required: boolean;
|
|
769
772
|
rangeIncludes: string[];
|
|
770
773
|
domainIncludes: string[];
|
|
771
|
-
required: boolean;
|
|
772
774
|
isArray: boolean;
|
|
773
775
|
defaultValue?: unknown;
|
|
774
776
|
}[];
|
|
775
|
-
label: string;
|
|
776
|
-
description: string;
|
|
777
|
-
namespace: string;
|
|
778
777
|
parentTypes: string[];
|
|
779
778
|
subtypes: string[];
|
|
779
|
+
description?: string | undefined;
|
|
780
780
|
examples?: z.objectOutputType<{
|
|
781
781
|
/** JSON-LD context */
|
|
782
782
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -786,23 +786,23 @@ declare const SemanticTypeSchema: z.ZodObject<{
|
|
|
786
786
|
'@id': z.ZodOptional<z.ZodString>;
|
|
787
787
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
788
788
|
}, {
|
|
789
|
+
label: string;
|
|
789
790
|
id: string;
|
|
790
791
|
name: string;
|
|
792
|
+
namespace: string;
|
|
791
793
|
properties: {
|
|
792
|
-
name: string;
|
|
793
794
|
label: string;
|
|
795
|
+
name: string;
|
|
794
796
|
description: string;
|
|
797
|
+
required: boolean;
|
|
795
798
|
rangeIncludes: string[];
|
|
796
799
|
domainIncludes: string[];
|
|
797
|
-
required: boolean;
|
|
798
800
|
isArray: boolean;
|
|
799
801
|
defaultValue?: unknown;
|
|
800
802
|
}[];
|
|
801
|
-
label: string;
|
|
802
|
-
description: string;
|
|
803
|
-
namespace: string;
|
|
804
803
|
parentTypes: string[];
|
|
805
804
|
subtypes: string[];
|
|
805
|
+
description?: string | undefined;
|
|
806
806
|
examples?: z.objectInputType<{
|
|
807
807
|
/** JSON-LD context */
|
|
808
808
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -837,16 +837,16 @@ declare const NamespaceSchema: z.ZodObject<{
|
|
|
837
837
|
}, "strip", z.ZodTypeAny, {
|
|
838
838
|
id: string;
|
|
839
839
|
name: string;
|
|
840
|
-
createdAt: Date;
|
|
841
840
|
types: string[];
|
|
841
|
+
createdAt: Date;
|
|
842
842
|
thingCount: number;
|
|
843
843
|
description?: string | undefined;
|
|
844
844
|
baseUrl?: string | undefined;
|
|
845
845
|
}, {
|
|
846
846
|
id: string;
|
|
847
847
|
name: string;
|
|
848
|
-
createdAt: Date;
|
|
849
848
|
types: string[];
|
|
849
|
+
createdAt: Date;
|
|
850
850
|
thingCount: number;
|
|
851
851
|
description?: string | undefined;
|
|
852
852
|
baseUrl?: string | undefined;
|
|
@@ -877,8 +877,8 @@ declare const TypeStatsSchema: z.ZodObject<{
|
|
|
877
877
|
lastUpdatedAt: z.ZodOptional<z.ZodDate>;
|
|
878
878
|
}, "strip", z.ZodTypeAny, {
|
|
879
879
|
type: string;
|
|
880
|
-
ns: string;
|
|
881
880
|
count: number;
|
|
881
|
+
ns: string;
|
|
882
882
|
activeCount: number;
|
|
883
883
|
createdToday: number;
|
|
884
884
|
updatedToday: number;
|
|
@@ -886,8 +886,8 @@ declare const TypeStatsSchema: z.ZodObject<{
|
|
|
886
886
|
lastUpdatedAt?: Date | undefined;
|
|
887
887
|
}, {
|
|
888
888
|
type: string;
|
|
889
|
-
ns: string;
|
|
890
889
|
count: number;
|
|
890
|
+
ns: string;
|
|
891
891
|
activeCount: number;
|
|
892
892
|
createdToday: number;
|
|
893
893
|
updatedToday: number;
|
|
@@ -899,4 +899,4 @@ declare const TypeStatsSchema: z.ZodObject<{
|
|
|
899
899
|
*/
|
|
900
900
|
type TypeStats = z.infer<typeof TypeStatsSchema>;
|
|
901
901
|
|
|
902
|
-
export { type Namespace as N, type SemanticType as S, type Thing as T, type
|
|
902
|
+
export { type Namespace as N, type SemanticType as S, type Thing as T, type ThingData as a, type SemanticProperty as b, type ThingFilter as c, type ThingSort as d, type ThingPagination as e, type ThingQueryResult as f, type ThingCreateInput as g, type ThingUpdateInput as h, type ThingDeleteOptions as i, type ThingVersion as j, type TypeStats as k, ThingDataSchema as l, ThingSchema as m, ThingFilterSchema as n, ThingSortSchema as o, ThingPaginationSchema as p, ThingQueryResultSchema as q, ThingCreateInputSchema as r, ThingUpdateInputSchema as s, ThingDeleteOptionsSchema as t, ThingVersionSchema as u, SemanticPropertySchema as v, SemanticTypeSchema as w, NamespaceSchema as x, TypeStatsSchema as y };
|