@fastgpt-plugin/sdk-client 0.0.1-alpha.6 → 0.0.1-alpha.7
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/dist/index.d.ts +6 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -424,12 +424,12 @@ declare const PluginBaseDTOSchema: z$2.ZodObject<{
|
|
|
424
424
|
}, z$2.core.$strip>>;
|
|
425
425
|
}, z$2.core.$strip>;
|
|
426
426
|
declare const PluginListItemDTOSchema: z$2.ZodObject<{
|
|
427
|
+
type: z$2.ZodString;
|
|
427
428
|
name: z$2.ZodObject<{
|
|
428
429
|
en: z$2.ZodString;
|
|
429
430
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
430
431
|
"zh-Hant": z$2.ZodOptional<z$2.ZodString>;
|
|
431
432
|
}, z$2.core.$strip>;
|
|
432
|
-
type: z$2.ZodString;
|
|
433
433
|
description: z$2.ZodOptional<z$2.ZodObject<{
|
|
434
434
|
en: z$2.ZodString;
|
|
435
435
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -447,12 +447,12 @@ declare const PluginListItemDTOSchema: z$2.ZodObject<{
|
|
|
447
447
|
source: z$2.ZodString;
|
|
448
448
|
}, z$2.core.$strip>;
|
|
449
449
|
declare const PluginListDTOSchema: z$2.ZodArray<z$2.ZodObject<{
|
|
450
|
+
type: z$2.ZodString;
|
|
450
451
|
name: z$2.ZodObject<{
|
|
451
452
|
en: z$2.ZodString;
|
|
452
453
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
453
454
|
"zh-Hant": z$2.ZodOptional<z$2.ZodString>;
|
|
454
455
|
}, z$2.core.$strip>;
|
|
455
|
-
type: z$2.ZodString;
|
|
456
456
|
description: z$2.ZodOptional<z$2.ZodObject<{
|
|
457
457
|
en: z$2.ZodString;
|
|
458
458
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -649,12 +649,13 @@ declare const ToolListItemDTOSchema: z$2.ZodObject<{
|
|
|
649
649
|
}, z$2.core.$strip>>>;
|
|
650
650
|
source: z$2.ZodUnion<[z$2.ZodLiteral<"system">, z$2.ZodString]>;
|
|
651
651
|
isToolset: z$2.ZodBoolean;
|
|
652
|
+
hasSecret: z$2.ZodBoolean;
|
|
653
|
+
type: z$2.ZodLiteral<"tool">;
|
|
652
654
|
name: z$2.ZodObject<{
|
|
653
655
|
en: z$2.ZodString;
|
|
654
656
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
655
657
|
"zh-Hant": z$2.ZodOptional<z$2.ZodString>;
|
|
656
658
|
}, z$2.core.$strip>;
|
|
657
|
-
type: z$2.ZodLiteral<"tool">;
|
|
658
659
|
description: z$2.ZodObject<{
|
|
659
660
|
en: z$2.ZodString;
|
|
660
661
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -702,12 +703,13 @@ declare const ToolListDTOSchema: z$2.ZodArray<z$2.ZodObject<{
|
|
|
702
703
|
}, z$2.core.$strip>>>;
|
|
703
704
|
source: z$2.ZodUnion<[z$2.ZodLiteral<"system">, z$2.ZodString]>;
|
|
704
705
|
isToolset: z$2.ZodBoolean;
|
|
706
|
+
hasSecret: z$2.ZodBoolean;
|
|
707
|
+
type: z$2.ZodLiteral<"tool">;
|
|
705
708
|
name: z$2.ZodObject<{
|
|
706
709
|
en: z$2.ZodString;
|
|
707
710
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|
|
708
711
|
"zh-Hant": z$2.ZodOptional<z$2.ZodString>;
|
|
709
712
|
}, z$2.core.$strip>;
|
|
710
|
-
type: z$2.ZodLiteral<"tool">;
|
|
711
713
|
description: z$2.ZodObject<{
|
|
712
714
|
en: z$2.ZodString;
|
|
713
715
|
"zh-CN": z$2.ZodOptional<z$2.ZodString>;
|