@fairspec/agent 0.9.3 → 0.11.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/build/package.json +1 -1
- package/build/server.js +3 -3
- package/build/tools/data/validate.d.ts +29 -28
- package/build/tools/dataSchema/infer.d.ts +29 -28
- package/build/tools/dataSchema/infer.js +4 -4
- package/build/tools/dataSchema/infer.spec.js +10 -10
- package/build/tools/dataSchema/validate.d.ts +4 -4
- package/build/tools/dataset/infer.d.ts +56 -54
- package/build/tools/dataset/infer.spec.js +7 -7
- package/build/tools/dataset/validate.d.ts +29 -28
- package/build/tools/{dialect → fileDialect}/infer.d.ts +31 -30
- package/build/tools/fileDialect/infer.js +19 -0
- package/build/tools/fileDialect/infer.spec.js +140 -0
- package/build/tools/table/query.d.ts +28 -27
- package/build/tools/table/query.spec.js +7 -7
- package/build/tools/table/validate.d.ts +29 -28
- package/build/tools/tableSchema/infer.d.ts +52 -50
- package/build/tools/tableSchema/infer.js +5 -5
- package/build/tools/tableSchema/infer.spec.js +34 -34
- package/build/tools/tableSchema/validate.d.ts +4 -4
- package/package.json +2 -2
- package/build/tools/dialect/infer.js +0 -19
- package/build/tools/dialect/infer.spec.js +0 -140
- /package/build/tools/{dialect → fileDialect}/infer.spec.d.ts +0 -0
|
@@ -197,7 +197,11 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
197
197
|
data?: unknown;
|
|
198
198
|
name?: string | undefined;
|
|
199
199
|
textual?: boolean | undefined;
|
|
200
|
-
|
|
200
|
+
integrity?: {
|
|
201
|
+
type: "md5" | "sha1" | "sha256" | "sha512";
|
|
202
|
+
hash: string;
|
|
203
|
+
} | undefined;
|
|
204
|
+
fileDialect?: string | {
|
|
201
205
|
format: "csv";
|
|
202
206
|
$schema?: string | undefined;
|
|
203
207
|
title?: string | undefined;
|
|
@@ -287,18 +291,15 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
287
291
|
title?: string | undefined;
|
|
288
292
|
description?: string | undefined;
|
|
289
293
|
} | undefined;
|
|
290
|
-
integrity?: {
|
|
291
|
-
type: "md5" | "sha1" | "sha256" | "sha512";
|
|
292
|
-
hash: string;
|
|
293
|
-
} | undefined;
|
|
294
294
|
dataSchema?: string | Record<string, unknown> | undefined;
|
|
295
295
|
tableSchema?: string | {
|
|
296
296
|
$schema?: string | undefined;
|
|
297
297
|
title?: string | undefined;
|
|
298
298
|
description?: string | undefined;
|
|
299
299
|
required?: string[] | undefined;
|
|
300
|
+
allRequired?: boolean | undefined;
|
|
300
301
|
properties?: Record<string, {
|
|
301
|
-
type: "boolean";
|
|
302
|
+
type: "boolean" | ["boolean", "null"] | ["null", "boolean"];
|
|
302
303
|
title?: string | undefined;
|
|
303
304
|
description?: string | undefined;
|
|
304
305
|
rdfType?: string | undefined;
|
|
@@ -314,7 +315,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
314
315
|
trueValues?: string[] | undefined;
|
|
315
316
|
falseValues?: string[] | undefined;
|
|
316
317
|
} | {
|
|
317
|
-
type: "integer";
|
|
318
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
318
319
|
title?: string | undefined;
|
|
319
320
|
description?: string | undefined;
|
|
320
321
|
rdfType?: string | undefined;
|
|
@@ -335,7 +336,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
335
336
|
withText?: boolean | undefined;
|
|
336
337
|
format?: "" | undefined;
|
|
337
338
|
} | {
|
|
338
|
-
type: "integer";
|
|
339
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
339
340
|
format: "categorical";
|
|
340
341
|
title?: string | undefined;
|
|
341
342
|
description?: string | undefined;
|
|
@@ -361,7 +362,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
361
362
|
})[] | undefined;
|
|
362
363
|
withOrder?: boolean | undefined;
|
|
363
364
|
} | {
|
|
364
|
-
type: "number";
|
|
365
|
+
type: "number" | ["number", "null"] | ["null", "number"];
|
|
365
366
|
title?: string | undefined;
|
|
366
367
|
description?: string | undefined;
|
|
367
368
|
rdfType?: string | undefined;
|
|
@@ -383,7 +384,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
383
384
|
withText?: boolean | undefined;
|
|
384
385
|
format?: "" | undefined;
|
|
385
386
|
} | {
|
|
386
|
-
type: "string";
|
|
387
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
387
388
|
format: "list";
|
|
388
389
|
title?: string | undefined;
|
|
389
390
|
description?: string | undefined;
|
|
@@ -404,7 +405,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
404
405
|
minItems?: number | undefined;
|
|
405
406
|
maxItems?: number | undefined;
|
|
406
407
|
} | {
|
|
407
|
-
type: "string";
|
|
408
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
408
409
|
format: "base64";
|
|
409
410
|
title?: string | undefined;
|
|
410
411
|
description?: string | undefined;
|
|
@@ -421,7 +422,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
421
422
|
maxLength?: number | undefined;
|
|
422
423
|
pattern?: string | undefined;
|
|
423
424
|
} | {
|
|
424
|
-
type: "string";
|
|
425
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
425
426
|
format: "hex";
|
|
426
427
|
title?: string | undefined;
|
|
427
428
|
description?: string | undefined;
|
|
@@ -438,7 +439,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
438
439
|
maxLength?: number | undefined;
|
|
439
440
|
pattern?: string | undefined;
|
|
440
441
|
} | {
|
|
441
|
-
type: "string";
|
|
442
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
442
443
|
format: "email";
|
|
443
444
|
title?: string | undefined;
|
|
444
445
|
description?: string | undefined;
|
|
@@ -455,7 +456,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
455
456
|
maxLength?: number | undefined;
|
|
456
457
|
pattern?: string | undefined;
|
|
457
458
|
} | {
|
|
458
|
-
type: "string";
|
|
459
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
459
460
|
format: "url";
|
|
460
461
|
title?: string | undefined;
|
|
461
462
|
description?: string | undefined;
|
|
@@ -472,7 +473,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
472
473
|
maxLength?: number | undefined;
|
|
473
474
|
pattern?: string | undefined;
|
|
474
475
|
} | {
|
|
475
|
-
type: "string";
|
|
476
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
476
477
|
format: "date-time";
|
|
477
478
|
title?: string | undefined;
|
|
478
479
|
description?: string | undefined;
|
|
@@ -490,7 +491,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
490
491
|
pattern?: string | undefined;
|
|
491
492
|
temporalFormat?: string | undefined;
|
|
492
493
|
} | {
|
|
493
|
-
type: "string";
|
|
494
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
494
495
|
format: "date";
|
|
495
496
|
title?: string | undefined;
|
|
496
497
|
description?: string | undefined;
|
|
@@ -508,7 +509,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
508
509
|
pattern?: string | undefined;
|
|
509
510
|
temporalFormat?: string | undefined;
|
|
510
511
|
} | {
|
|
511
|
-
type: "string";
|
|
512
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
512
513
|
format: "time";
|
|
513
514
|
title?: string | undefined;
|
|
514
515
|
description?: string | undefined;
|
|
@@ -526,7 +527,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
526
527
|
pattern?: string | undefined;
|
|
527
528
|
temporalFormat?: string | undefined;
|
|
528
529
|
} | {
|
|
529
|
-
type: "string";
|
|
530
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
530
531
|
format: "duration";
|
|
531
532
|
title?: string | undefined;
|
|
532
533
|
description?: string | undefined;
|
|
@@ -543,7 +544,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
543
544
|
maxLength?: number | undefined;
|
|
544
545
|
pattern?: string | undefined;
|
|
545
546
|
} | {
|
|
546
|
-
type: "string";
|
|
547
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
547
548
|
format: "wkt";
|
|
548
549
|
title?: string | undefined;
|
|
549
550
|
description?: string | undefined;
|
|
@@ -560,7 +561,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
560
561
|
maxLength?: number | undefined;
|
|
561
562
|
pattern?: string | undefined;
|
|
562
563
|
} | {
|
|
563
|
-
type: "string";
|
|
564
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
564
565
|
format: "wkb";
|
|
565
566
|
title?: string | undefined;
|
|
566
567
|
description?: string | undefined;
|
|
@@ -577,7 +578,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
577
578
|
maxLength?: number | undefined;
|
|
578
579
|
pattern?: string | undefined;
|
|
579
580
|
} | {
|
|
580
|
-
type: "string";
|
|
581
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
581
582
|
title?: string | undefined;
|
|
582
583
|
description?: string | undefined;
|
|
583
584
|
rdfType?: string | undefined;
|
|
@@ -594,7 +595,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
594
595
|
pattern?: string | undefined;
|
|
595
596
|
format?: "" | undefined;
|
|
596
597
|
} | {
|
|
597
|
-
type: "string";
|
|
598
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
598
599
|
format: "categorical";
|
|
599
600
|
title?: string | undefined;
|
|
600
601
|
description?: string | undefined;
|
|
@@ -616,7 +617,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
616
617
|
})[] | undefined;
|
|
617
618
|
withOrder?: boolean | undefined;
|
|
618
619
|
} | {
|
|
619
|
-
type: "string";
|
|
620
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
620
621
|
format: "decimal";
|
|
621
622
|
title?: string | undefined;
|
|
622
623
|
description?: string | undefined;
|
|
@@ -641,7 +642,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
641
642
|
groupChar?: string | undefined;
|
|
642
643
|
withText?: boolean | undefined;
|
|
643
644
|
} | {
|
|
644
|
-
type: "array";
|
|
645
|
+
type: "array" | ["array", "null"] | ["null", "array"];
|
|
645
646
|
title?: string | undefined;
|
|
646
647
|
description?: string | undefined;
|
|
647
648
|
rdfType?: string | undefined;
|
|
@@ -671,7 +672,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
671
672
|
minItems?: number | undefined;
|
|
672
673
|
uniqueItems?: boolean | undefined;
|
|
673
674
|
} | {
|
|
674
|
-
type: "object";
|
|
675
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
675
676
|
format: "geojson";
|
|
676
677
|
title?: string | undefined;
|
|
677
678
|
description?: string | undefined;
|
|
@@ -702,7 +703,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
702
703
|
dependentSchemas?: unknown;
|
|
703
704
|
required?: unknown;
|
|
704
705
|
} | {
|
|
705
|
-
type: "object";
|
|
706
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
706
707
|
format: "topojson";
|
|
707
708
|
title?: string | undefined;
|
|
708
709
|
description?: string | undefined;
|
|
@@ -733,7 +734,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
733
734
|
dependentSchemas?: unknown;
|
|
734
735
|
required?: unknown;
|
|
735
736
|
} | {
|
|
736
|
-
type: "object";
|
|
737
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
737
738
|
title?: string | undefined;
|
|
738
739
|
description?: string | undefined;
|
|
739
740
|
rdfType?: string | undefined;
|
|
@@ -870,7 +871,7 @@ export declare const validateTableTool: import("@mastra/core/tools").Tool<{
|
|
|
870
871
|
columnName: string;
|
|
871
872
|
rowNumber: number;
|
|
872
873
|
cell: string;
|
|
873
|
-
type: "cell/
|
|
874
|
+
type: "cell/missing";
|
|
874
875
|
resourceName?: string | undefined;
|
|
875
876
|
} | {
|
|
876
877
|
columnName: string;
|
|
@@ -197,7 +197,11 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
197
197
|
data?: unknown;
|
|
198
198
|
name?: string | undefined;
|
|
199
199
|
textual?: boolean | undefined;
|
|
200
|
-
|
|
200
|
+
integrity?: {
|
|
201
|
+
type: "md5" | "sha1" | "sha256" | "sha512";
|
|
202
|
+
hash: string;
|
|
203
|
+
} | undefined;
|
|
204
|
+
fileDialect?: string | {
|
|
201
205
|
format: "csv";
|
|
202
206
|
$schema?: string | undefined;
|
|
203
207
|
title?: string | undefined;
|
|
@@ -287,18 +291,15 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
287
291
|
title?: string | undefined;
|
|
288
292
|
description?: string | undefined;
|
|
289
293
|
} | undefined;
|
|
290
|
-
integrity?: {
|
|
291
|
-
type: "md5" | "sha1" | "sha256" | "sha512";
|
|
292
|
-
hash: string;
|
|
293
|
-
} | undefined;
|
|
294
294
|
dataSchema?: string | Record<string, unknown> | undefined;
|
|
295
295
|
tableSchema?: string | {
|
|
296
296
|
$schema?: string | undefined;
|
|
297
297
|
title?: string | undefined;
|
|
298
298
|
description?: string | undefined;
|
|
299
299
|
required?: string[] | undefined;
|
|
300
|
+
allRequired?: boolean | undefined;
|
|
300
301
|
properties?: Record<string, {
|
|
301
|
-
type: "boolean";
|
|
302
|
+
type: "boolean" | ["boolean", "null"] | ["null", "boolean"];
|
|
302
303
|
title?: string | undefined;
|
|
303
304
|
description?: string | undefined;
|
|
304
305
|
rdfType?: string | undefined;
|
|
@@ -314,7 +315,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
314
315
|
trueValues?: string[] | undefined;
|
|
315
316
|
falseValues?: string[] | undefined;
|
|
316
317
|
} | {
|
|
317
|
-
type: "integer";
|
|
318
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
318
319
|
title?: string | undefined;
|
|
319
320
|
description?: string | undefined;
|
|
320
321
|
rdfType?: string | undefined;
|
|
@@ -335,7 +336,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
335
336
|
withText?: boolean | undefined;
|
|
336
337
|
format?: "" | undefined;
|
|
337
338
|
} | {
|
|
338
|
-
type: "integer";
|
|
339
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
339
340
|
format: "categorical";
|
|
340
341
|
title?: string | undefined;
|
|
341
342
|
description?: string | undefined;
|
|
@@ -361,7 +362,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
361
362
|
})[] | undefined;
|
|
362
363
|
withOrder?: boolean | undefined;
|
|
363
364
|
} | {
|
|
364
|
-
type: "number";
|
|
365
|
+
type: "number" | ["number", "null"] | ["null", "number"];
|
|
365
366
|
title?: string | undefined;
|
|
366
367
|
description?: string | undefined;
|
|
367
368
|
rdfType?: string | undefined;
|
|
@@ -383,7 +384,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
383
384
|
withText?: boolean | undefined;
|
|
384
385
|
format?: "" | undefined;
|
|
385
386
|
} | {
|
|
386
|
-
type: "string";
|
|
387
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
387
388
|
format: "list";
|
|
388
389
|
title?: string | undefined;
|
|
389
390
|
description?: string | undefined;
|
|
@@ -404,7 +405,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
404
405
|
minItems?: number | undefined;
|
|
405
406
|
maxItems?: number | undefined;
|
|
406
407
|
} | {
|
|
407
|
-
type: "string";
|
|
408
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
408
409
|
format: "base64";
|
|
409
410
|
title?: string | undefined;
|
|
410
411
|
description?: string | undefined;
|
|
@@ -421,7 +422,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
421
422
|
maxLength?: number | undefined;
|
|
422
423
|
pattern?: string | undefined;
|
|
423
424
|
} | {
|
|
424
|
-
type: "string";
|
|
425
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
425
426
|
format: "hex";
|
|
426
427
|
title?: string | undefined;
|
|
427
428
|
description?: string | undefined;
|
|
@@ -438,7 +439,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
438
439
|
maxLength?: number | undefined;
|
|
439
440
|
pattern?: string | undefined;
|
|
440
441
|
} | {
|
|
441
|
-
type: "string";
|
|
442
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
442
443
|
format: "email";
|
|
443
444
|
title?: string | undefined;
|
|
444
445
|
description?: string | undefined;
|
|
@@ -455,7 +456,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
455
456
|
maxLength?: number | undefined;
|
|
456
457
|
pattern?: string | undefined;
|
|
457
458
|
} | {
|
|
458
|
-
type: "string";
|
|
459
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
459
460
|
format: "url";
|
|
460
461
|
title?: string | undefined;
|
|
461
462
|
description?: string | undefined;
|
|
@@ -472,7 +473,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
472
473
|
maxLength?: number | undefined;
|
|
473
474
|
pattern?: string | undefined;
|
|
474
475
|
} | {
|
|
475
|
-
type: "string";
|
|
476
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
476
477
|
format: "date-time";
|
|
477
478
|
title?: string | undefined;
|
|
478
479
|
description?: string | undefined;
|
|
@@ -490,7 +491,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
490
491
|
pattern?: string | undefined;
|
|
491
492
|
temporalFormat?: string | undefined;
|
|
492
493
|
} | {
|
|
493
|
-
type: "string";
|
|
494
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
494
495
|
format: "date";
|
|
495
496
|
title?: string | undefined;
|
|
496
497
|
description?: string | undefined;
|
|
@@ -508,7 +509,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
508
509
|
pattern?: string | undefined;
|
|
509
510
|
temporalFormat?: string | undefined;
|
|
510
511
|
} | {
|
|
511
|
-
type: "string";
|
|
512
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
512
513
|
format: "time";
|
|
513
514
|
title?: string | undefined;
|
|
514
515
|
description?: string | undefined;
|
|
@@ -526,7 +527,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
526
527
|
pattern?: string | undefined;
|
|
527
528
|
temporalFormat?: string | undefined;
|
|
528
529
|
} | {
|
|
529
|
-
type: "string";
|
|
530
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
530
531
|
format: "duration";
|
|
531
532
|
title?: string | undefined;
|
|
532
533
|
description?: string | undefined;
|
|
@@ -543,7 +544,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
543
544
|
maxLength?: number | undefined;
|
|
544
545
|
pattern?: string | undefined;
|
|
545
546
|
} | {
|
|
546
|
-
type: "string";
|
|
547
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
547
548
|
format: "wkt";
|
|
548
549
|
title?: string | undefined;
|
|
549
550
|
description?: string | undefined;
|
|
@@ -560,7 +561,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
560
561
|
maxLength?: number | undefined;
|
|
561
562
|
pattern?: string | undefined;
|
|
562
563
|
} | {
|
|
563
|
-
type: "string";
|
|
564
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
564
565
|
format: "wkb";
|
|
565
566
|
title?: string | undefined;
|
|
566
567
|
description?: string | undefined;
|
|
@@ -577,7 +578,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
577
578
|
maxLength?: number | undefined;
|
|
578
579
|
pattern?: string | undefined;
|
|
579
580
|
} | {
|
|
580
|
-
type: "string";
|
|
581
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
581
582
|
title?: string | undefined;
|
|
582
583
|
description?: string | undefined;
|
|
583
584
|
rdfType?: string | undefined;
|
|
@@ -594,7 +595,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
594
595
|
pattern?: string | undefined;
|
|
595
596
|
format?: "" | undefined;
|
|
596
597
|
} | {
|
|
597
|
-
type: "string";
|
|
598
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
598
599
|
format: "categorical";
|
|
599
600
|
title?: string | undefined;
|
|
600
601
|
description?: string | undefined;
|
|
@@ -616,7 +617,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
616
617
|
})[] | undefined;
|
|
617
618
|
withOrder?: boolean | undefined;
|
|
618
619
|
} | {
|
|
619
|
-
type: "string";
|
|
620
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
620
621
|
format: "decimal";
|
|
621
622
|
title?: string | undefined;
|
|
622
623
|
description?: string | undefined;
|
|
@@ -641,7 +642,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
641
642
|
groupChar?: string | undefined;
|
|
642
643
|
withText?: boolean | undefined;
|
|
643
644
|
} | {
|
|
644
|
-
type: "array";
|
|
645
|
+
type: "array" | ["array", "null"] | ["null", "array"];
|
|
645
646
|
title?: string | undefined;
|
|
646
647
|
description?: string | undefined;
|
|
647
648
|
rdfType?: string | undefined;
|
|
@@ -671,7 +672,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
671
672
|
minItems?: number | undefined;
|
|
672
673
|
uniqueItems?: boolean | undefined;
|
|
673
674
|
} | {
|
|
674
|
-
type: "object";
|
|
675
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
675
676
|
format: "geojson";
|
|
676
677
|
title?: string | undefined;
|
|
677
678
|
description?: string | undefined;
|
|
@@ -702,7 +703,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
702
703
|
dependentSchemas?: unknown;
|
|
703
704
|
required?: unknown;
|
|
704
705
|
} | {
|
|
705
|
-
type: "object";
|
|
706
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
706
707
|
format: "topojson";
|
|
707
708
|
title?: string | undefined;
|
|
708
709
|
description?: string | undefined;
|
|
@@ -733,7 +734,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
733
734
|
dependentSchemas?: unknown;
|
|
734
735
|
required?: unknown;
|
|
735
736
|
} | {
|
|
736
|
-
type: "object";
|
|
737
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
737
738
|
title?: string | undefined;
|
|
738
739
|
description?: string | undefined;
|
|
739
740
|
rdfType?: string | undefined;
|
|
@@ -815,13 +816,14 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
815
816
|
keepStrings?: boolean | undefined;
|
|
816
817
|
} | undefined;
|
|
817
818
|
}, {
|
|
818
|
-
|
|
819
|
+
tableSchema?: {
|
|
819
820
|
$schema?: string | undefined;
|
|
820
821
|
title?: string | undefined;
|
|
821
822
|
description?: string | undefined;
|
|
822
823
|
required?: string[] | undefined;
|
|
824
|
+
allRequired?: boolean | undefined;
|
|
823
825
|
properties?: Record<string, {
|
|
824
|
-
type: "boolean";
|
|
826
|
+
type: "boolean" | ["boolean", "null"] | ["null", "boolean"];
|
|
825
827
|
title?: string | undefined;
|
|
826
828
|
description?: string | undefined;
|
|
827
829
|
rdfType?: string | undefined;
|
|
@@ -837,7 +839,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
837
839
|
trueValues?: string[] | undefined;
|
|
838
840
|
falseValues?: string[] | undefined;
|
|
839
841
|
} | {
|
|
840
|
-
type: "integer";
|
|
842
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
841
843
|
title?: string | undefined;
|
|
842
844
|
description?: string | undefined;
|
|
843
845
|
rdfType?: string | undefined;
|
|
@@ -858,7 +860,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
858
860
|
withText?: boolean | undefined;
|
|
859
861
|
format?: "" | undefined;
|
|
860
862
|
} | {
|
|
861
|
-
type: "integer";
|
|
863
|
+
type: "integer" | ["integer", "null"] | ["null", "integer"];
|
|
862
864
|
format: "categorical";
|
|
863
865
|
title?: string | undefined;
|
|
864
866
|
description?: string | undefined;
|
|
@@ -884,7 +886,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
884
886
|
})[] | undefined;
|
|
885
887
|
withOrder?: boolean | undefined;
|
|
886
888
|
} | {
|
|
887
|
-
type: "number";
|
|
889
|
+
type: "number" | ["number", "null"] | ["null", "number"];
|
|
888
890
|
title?: string | undefined;
|
|
889
891
|
description?: string | undefined;
|
|
890
892
|
rdfType?: string | undefined;
|
|
@@ -906,7 +908,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
906
908
|
withText?: boolean | undefined;
|
|
907
909
|
format?: "" | undefined;
|
|
908
910
|
} | {
|
|
909
|
-
type: "string";
|
|
911
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
910
912
|
format: "list";
|
|
911
913
|
title?: string | undefined;
|
|
912
914
|
description?: string | undefined;
|
|
@@ -927,7 +929,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
927
929
|
minItems?: number | undefined;
|
|
928
930
|
maxItems?: number | undefined;
|
|
929
931
|
} | {
|
|
930
|
-
type: "string";
|
|
932
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
931
933
|
format: "base64";
|
|
932
934
|
title?: string | undefined;
|
|
933
935
|
description?: string | undefined;
|
|
@@ -944,7 +946,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
944
946
|
maxLength?: number | undefined;
|
|
945
947
|
pattern?: string | undefined;
|
|
946
948
|
} | {
|
|
947
|
-
type: "string";
|
|
949
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
948
950
|
format: "hex";
|
|
949
951
|
title?: string | undefined;
|
|
950
952
|
description?: string | undefined;
|
|
@@ -961,7 +963,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
961
963
|
maxLength?: number | undefined;
|
|
962
964
|
pattern?: string | undefined;
|
|
963
965
|
} | {
|
|
964
|
-
type: "string";
|
|
966
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
965
967
|
format: "email";
|
|
966
968
|
title?: string | undefined;
|
|
967
969
|
description?: string | undefined;
|
|
@@ -978,7 +980,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
978
980
|
maxLength?: number | undefined;
|
|
979
981
|
pattern?: string | undefined;
|
|
980
982
|
} | {
|
|
981
|
-
type: "string";
|
|
983
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
982
984
|
format: "url";
|
|
983
985
|
title?: string | undefined;
|
|
984
986
|
description?: string | undefined;
|
|
@@ -995,7 +997,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
995
997
|
maxLength?: number | undefined;
|
|
996
998
|
pattern?: string | undefined;
|
|
997
999
|
} | {
|
|
998
|
-
type: "string";
|
|
1000
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
999
1001
|
format: "date-time";
|
|
1000
1002
|
title?: string | undefined;
|
|
1001
1003
|
description?: string | undefined;
|
|
@@ -1013,7 +1015,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1013
1015
|
pattern?: string | undefined;
|
|
1014
1016
|
temporalFormat?: string | undefined;
|
|
1015
1017
|
} | {
|
|
1016
|
-
type: "string";
|
|
1018
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1017
1019
|
format: "date";
|
|
1018
1020
|
title?: string | undefined;
|
|
1019
1021
|
description?: string | undefined;
|
|
@@ -1031,7 +1033,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1031
1033
|
pattern?: string | undefined;
|
|
1032
1034
|
temporalFormat?: string | undefined;
|
|
1033
1035
|
} | {
|
|
1034
|
-
type: "string";
|
|
1036
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1035
1037
|
format: "time";
|
|
1036
1038
|
title?: string | undefined;
|
|
1037
1039
|
description?: string | undefined;
|
|
@@ -1049,7 +1051,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1049
1051
|
pattern?: string | undefined;
|
|
1050
1052
|
temporalFormat?: string | undefined;
|
|
1051
1053
|
} | {
|
|
1052
|
-
type: "string";
|
|
1054
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1053
1055
|
format: "duration";
|
|
1054
1056
|
title?: string | undefined;
|
|
1055
1057
|
description?: string | undefined;
|
|
@@ -1066,7 +1068,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1066
1068
|
maxLength?: number | undefined;
|
|
1067
1069
|
pattern?: string | undefined;
|
|
1068
1070
|
} | {
|
|
1069
|
-
type: "string";
|
|
1071
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1070
1072
|
format: "wkt";
|
|
1071
1073
|
title?: string | undefined;
|
|
1072
1074
|
description?: string | undefined;
|
|
@@ -1083,7 +1085,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1083
1085
|
maxLength?: number | undefined;
|
|
1084
1086
|
pattern?: string | undefined;
|
|
1085
1087
|
} | {
|
|
1086
|
-
type: "string";
|
|
1088
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1087
1089
|
format: "wkb";
|
|
1088
1090
|
title?: string | undefined;
|
|
1089
1091
|
description?: string | undefined;
|
|
@@ -1100,7 +1102,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1100
1102
|
maxLength?: number | undefined;
|
|
1101
1103
|
pattern?: string | undefined;
|
|
1102
1104
|
} | {
|
|
1103
|
-
type: "string";
|
|
1105
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1104
1106
|
title?: string | undefined;
|
|
1105
1107
|
description?: string | undefined;
|
|
1106
1108
|
rdfType?: string | undefined;
|
|
@@ -1117,7 +1119,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1117
1119
|
pattern?: string | undefined;
|
|
1118
1120
|
format?: "" | undefined;
|
|
1119
1121
|
} | {
|
|
1120
|
-
type: "string";
|
|
1122
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1121
1123
|
format: "categorical";
|
|
1122
1124
|
title?: string | undefined;
|
|
1123
1125
|
description?: string | undefined;
|
|
@@ -1139,7 +1141,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1139
1141
|
})[] | undefined;
|
|
1140
1142
|
withOrder?: boolean | undefined;
|
|
1141
1143
|
} | {
|
|
1142
|
-
type: "string";
|
|
1144
|
+
type: "string" | ["string", "null"] | ["null", "string"];
|
|
1143
1145
|
format: "decimal";
|
|
1144
1146
|
title?: string | undefined;
|
|
1145
1147
|
description?: string | undefined;
|
|
@@ -1164,7 +1166,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1164
1166
|
groupChar?: string | undefined;
|
|
1165
1167
|
withText?: boolean | undefined;
|
|
1166
1168
|
} | {
|
|
1167
|
-
type: "array";
|
|
1169
|
+
type: "array" | ["array", "null"] | ["null", "array"];
|
|
1168
1170
|
title?: string | undefined;
|
|
1169
1171
|
description?: string | undefined;
|
|
1170
1172
|
rdfType?: string | undefined;
|
|
@@ -1194,7 +1196,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1194
1196
|
minItems?: number | undefined;
|
|
1195
1197
|
uniqueItems?: boolean | undefined;
|
|
1196
1198
|
} | {
|
|
1197
|
-
type: "object";
|
|
1199
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
1198
1200
|
format: "geojson";
|
|
1199
1201
|
title?: string | undefined;
|
|
1200
1202
|
description?: string | undefined;
|
|
@@ -1225,7 +1227,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1225
1227
|
dependentSchemas?: unknown;
|
|
1226
1228
|
required?: unknown;
|
|
1227
1229
|
} | {
|
|
1228
|
-
type: "object";
|
|
1230
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
1229
1231
|
format: "topojson";
|
|
1230
1232
|
title?: string | undefined;
|
|
1231
1233
|
description?: string | undefined;
|
|
@@ -1256,7 +1258,7 @@ export declare const inferTableSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
1256
1258
|
dependentSchemas?: unknown;
|
|
1257
1259
|
required?: unknown;
|
|
1258
1260
|
} | {
|
|
1259
|
-
type: "object";
|
|
1261
|
+
type: "object" | ["object", "null"] | ["null", "object"];
|
|
1260
1262
|
title?: string | undefined;
|
|
1261
1263
|
description?: string | undefined;
|
|
1262
1264
|
rdfType?: string | undefined;
|