@fairspec/agent 0.10.0 → 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/tools/data/validate.d.ts +24 -23
- package/build/tools/dataSchema/infer.d.ts +23 -22
- package/build/tools/dataSchema/validate.d.ts +4 -4
- package/build/tools/dataset/infer.d.ts +46 -44
- package/build/tools/dataset/validate.d.ts +24 -23
- package/build/tools/fileDialect/infer.d.ts +23 -22
- package/build/tools/table/query.d.ts +23 -22
- package/build/tools/table/validate.d.ts +24 -23
- package/build/tools/tableSchema/infer.d.ts +46 -44
- package/build/tools/tableSchema/validate.d.ts +4 -4
- package/package.json +2 -2
package/build/package.json
CHANGED
|
@@ -297,8 +297,9 @@ export declare const validateDataTool: import("@mastra/core/tools").Tool<{
|
|
|
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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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 validateDataTool: 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;
|
|
@@ -842,7 +843,7 @@ export declare const validateDataTool: import("@mastra/core/tools").Tool<{
|
|
|
842
843
|
columnName: string;
|
|
843
844
|
rowNumber: number;
|
|
844
845
|
cell: string;
|
|
845
|
-
type: "cell/
|
|
846
|
+
type: "cell/missing";
|
|
846
847
|
resourceName?: string | undefined;
|
|
847
848
|
} | {
|
|
848
849
|
columnName: string;
|
|
@@ -297,8 +297,9 @@ export declare const inferDataSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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 inferDataSchemaTool: 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;
|
|
@@ -24,8 +24,8 @@ export declare const validateDataSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
24
24
|
} | {
|
|
25
25
|
type: "column/type";
|
|
26
26
|
columnName: string;
|
|
27
|
-
expectedColumnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "
|
|
28
|
-
actualColumnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "
|
|
27
|
+
expectedColumnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "integer" | "categorical" | "list" | "date-time" | "time" | "base64" | "hex" | "email" | "url" | "duration" | "wkt" | "wkb" | "decimal" | "geojson" | "topojson";
|
|
28
|
+
actualColumnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "integer" | "categorical" | "list" | "date-time" | "time" | "base64" | "hex" | "email" | "url" | "duration" | "wkt" | "wkb" | "decimal" | "geojson" | "topojson";
|
|
29
29
|
resourceName?: string | undefined;
|
|
30
30
|
} | {
|
|
31
31
|
type: "row/primaryKey";
|
|
@@ -42,13 +42,13 @@ export declare const validateDataSchemaTool: import("@mastra/core/tools").Tool<{
|
|
|
42
42
|
rowNumber: number;
|
|
43
43
|
cell: string;
|
|
44
44
|
type: "cell/type";
|
|
45
|
-
columnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "
|
|
45
|
+
columnType: "string" | "number" | "boolean" | "object" | "unknown" | "date" | "array" | "integer" | "categorical" | "list" | "date-time" | "time" | "base64" | "hex" | "email" | "url" | "duration" | "wkt" | "wkb" | "decimal" | "geojson" | "topojson";
|
|
46
46
|
resourceName?: string | undefined;
|
|
47
47
|
} | {
|
|
48
48
|
columnName: string;
|
|
49
49
|
rowNumber: number;
|
|
50
50
|
cell: string;
|
|
51
|
-
type: "cell/
|
|
51
|
+
type: "cell/missing";
|
|
52
52
|
resourceName?: string | undefined;
|
|
53
53
|
} | {
|
|
54
54
|
columnName: string;
|