@devcycle/cli 6.0.1 → 6.0.2
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/api/apiClient.d.ts +120 -120
- package/dist/api/features.js +2 -2
- package/dist/api/schemas.d.ts +68 -68
- package/dist/api/variables.d.ts +15 -15
- package/dist/api/variations.d.ts +3 -3
- package/dist/api/zodClient.d.ts +1036 -1036
- package/dist/api/zodClient.js +2 -2
- package/dist/api/zodClient.js.map +1 -1
- package/dist/auth/ApiAuth.js +1 -1
- package/dist/auth/ApiAuth.js.map +1 -1
- package/dist/auth/TokenCache.js +2 -2
- package/dist/auth/TokenCache.js.map +1 -1
- package/dist/auth/utils/getTokenPayload.js +1 -1
- package/dist/auth/utils/getTokenPayload.js.map +1 -1
- package/dist/commands/cleanup/index.d.ts.map +1 -1
- package/dist/commands/cleanup/index.js.map +1 -1
- package/dist/commands/keys/get.d.ts.map +1 -1
- package/dist/commands/keys/get.js +1 -3
- package/dist/commands/keys/get.js.map +1 -1
- package/dist/commands/overrides/get.js.map +1 -1
- package/dist/commands/targeting/update.js +0 -1
- package/dist/commands/targeting/update.js.map +1 -1
- package/dist/commands/updateCommand.d.ts.map +1 -1
- package/dist/commands/updateCommand.js.map +1 -1
- package/dist/flags/var-alias/index.js +1 -1
- package/dist/flags/var-alias/index.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +11 -0
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools/customPropertiesTools.d.ts.map +1 -1
- package/dist/mcp/tools/customPropertiesTools.js +1 -0
- package/dist/mcp/tools/customPropertiesTools.js.map +1 -1
- package/dist/mcp/tools/environmentTools.d.ts +1 -1
- package/dist/mcp/tools/environmentTools.d.ts.map +1 -1
- package/dist/mcp/tools/environmentTools.js +41 -30
- package/dist/mcp/tools/environmentTools.js.map +1 -1
- package/dist/mcp/tools/featureTools.d.ts +18 -18
- package/dist/mcp/tools/featureTools.d.ts.map +1 -1
- package/dist/mcp/tools/featureTools.js +29 -7
- package/dist/mcp/tools/featureTools.js.map +1 -1
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +8 -6
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/installGuides.generated.d.ts +3 -0
- package/dist/mcp/tools/installGuides.generated.d.ts.map +1 -0
- package/dist/mcp/tools/installGuides.generated.js +36 -0
- package/dist/mcp/tools/installGuides.generated.js.map +1 -0
- package/dist/mcp/tools/installTools.d.ts +3 -0
- package/dist/mcp/tools/installTools.d.ts.map +1 -0
- package/dist/mcp/tools/installTools.js +35 -0
- package/dist/mcp/tools/installTools.js.map +1 -0
- package/dist/mcp/tools/localProjectTools.d.ts.map +1 -1
- package/dist/mcp/tools/localProjectTools.js +6 -2
- package/dist/mcp/tools/localProjectTools.js.map +1 -1
- package/dist/mcp/tools/projectTools.d.ts.map +1 -1
- package/dist/mcp/tools/projectTools.js +22 -15
- package/dist/mcp/tools/projectTools.js.map +1 -1
- package/dist/mcp/tools/resultsTools.d.ts.map +1 -1
- package/dist/mcp/tools/resultsTools.js +3 -1
- package/dist/mcp/tools/resultsTools.js.map +1 -1
- package/dist/mcp/tools/selfTargetingTools.d.ts.map +1 -1
- package/dist/mcp/tools/selfTargetingTools.js +8 -3
- package/dist/mcp/tools/selfTargetingTools.js.map +1 -1
- package/dist/mcp/tools/variableTools.d.ts +9 -9
- package/dist/mcp/tools/variableTools.d.ts.map +1 -1
- package/dist/mcp/tools/variableTools.js +2 -1
- package/dist/mcp/tools/variableTools.js.map +1 -1
- package/dist/mcp/types.d.ts +107 -81
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/mcp/types.js +120 -166
- package/dist/mcp/types.js.map +1 -1
- package/dist/mcp/utils/github.d.ts +2 -0
- package/dist/mcp/utils/github.d.ts.map +1 -0
- package/dist/mcp/utils/github.js +26 -0
- package/dist/mcp/utils/github.js.map +1 -0
- package/dist/ui/prompts/environmentPrompts.js +0 -1
- package/dist/ui/prompts/environmentPrompts.js.map +1 -1
- package/dist/ui/prompts/featurePrompts.js +0 -1
- package/dist/ui/prompts/featurePrompts.js.map +1 -1
- package/dist/ui/prompts/listPrompts/targetingListPrompt.d.ts.map +1 -1
- package/dist/ui/prompts/listPrompts/targetingListPrompt.js.map +1 -1
- package/dist/ui/prompts/listPrompts/variablesListPrompt.d.ts +3 -3
- package/dist/ui/prompts/listPrompts/variationsListPrompt.d.ts.map +1 -1
- package/dist/ui/prompts/listPrompts/variationsListPrompt.js.map +1 -1
- package/dist/ui/prompts/types.d.ts.map +1 -1
- package/dist/ui/prompts/variablePrompts.js +1 -2
- package/dist/ui/prompts/variablePrompts.js.map +1 -1
- package/dist/ui/prompts/variationPrompts.d.ts +3 -3
- package/dist/ui/targetingTree.d.ts.map +1 -1
- package/dist/ui/targetingTree.js +2 -4
- package/dist/ui/targetingTree.js.map +1 -1
- package/dist/ui/togglebot.d.ts.map +1 -1
- package/dist/ui/togglebot.js +0 -1
- package/dist/ui/togglebot.js.map +1 -1
- package/dist/utils/audiences/index.d.ts.map +1 -1
- package/dist/utils/audiences/index.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +14 -6
package/dist/mcp/types.d.ts
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const VariableValidationSchema: z.ZodObject<{
|
|
3
|
+
schemaType: z.ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
4
|
+
enumValues: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
5
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
6
|
+
jsonSchema: z.ZodOptional<z.ZodString>;
|
|
7
|
+
description: z.ZodString;
|
|
8
|
+
exampleValue: z.ZodAny;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
description: string;
|
|
11
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
12
|
+
jsonSchema?: string | undefined;
|
|
13
|
+
enumValues?: string[] | number[] | undefined;
|
|
14
|
+
regexPattern?: string | undefined;
|
|
15
|
+
exampleValue?: any;
|
|
16
|
+
}, {
|
|
17
|
+
description: string;
|
|
18
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
19
|
+
jsonSchema?: string | undefined;
|
|
20
|
+
enumValues?: string[] | number[] | undefined;
|
|
21
|
+
regexPattern?: string | undefined;
|
|
22
|
+
exampleValue?: any;
|
|
23
|
+
}>;
|
|
2
24
|
export declare const ListFeaturesArgsSchema: z.ZodObject<{
|
|
3
25
|
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
4
26
|
perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -65,28 +87,28 @@ export declare const CreateVariableArgsSchema: z.ZodObject<{
|
|
|
65
87
|
type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
|
|
66
88
|
defaultValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
67
89
|
_feature: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
68
|
-
validationSchema: z.ZodOptional<z.
|
|
69
|
-
schemaType: z.
|
|
70
|
-
enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
90
|
+
validationSchema: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
schemaType: z.ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
92
|
+
enumValues: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
71
93
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
72
94
|
jsonSchema: z.ZodOptional<z.ZodString>;
|
|
73
95
|
description: z.ZodString;
|
|
74
96
|
exampleValue: z.ZodAny;
|
|
75
97
|
}, "strip", z.ZodTypeAny, {
|
|
76
98
|
description: string;
|
|
77
|
-
schemaType:
|
|
78
|
-
enumValues?: string[] | undefined;
|
|
79
|
-
regexPattern?: string | undefined;
|
|
99
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
80
100
|
jsonSchema?: string | undefined;
|
|
101
|
+
enumValues?: string[] | number[] | undefined;
|
|
102
|
+
regexPattern?: string | undefined;
|
|
81
103
|
exampleValue?: any;
|
|
82
104
|
}, {
|
|
83
105
|
description: string;
|
|
84
|
-
schemaType:
|
|
85
|
-
enumValues?: string[] | undefined;
|
|
86
|
-
regexPattern?: string | undefined;
|
|
106
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
87
107
|
jsonSchema?: string | undefined;
|
|
108
|
+
enumValues?: string[] | number[] | undefined;
|
|
109
|
+
regexPattern?: string | undefined;
|
|
88
110
|
exampleValue?: any;
|
|
89
|
-
}
|
|
111
|
+
}>>;
|
|
90
112
|
}, "strip", z.ZodTypeAny, {
|
|
91
113
|
type: "String" | "Boolean" | "Number" | "JSON";
|
|
92
114
|
key: string;
|
|
@@ -96,10 +118,10 @@ export declare const CreateVariableArgsSchema: z.ZodObject<{
|
|
|
96
118
|
defaultValue?: any;
|
|
97
119
|
validationSchema?: {
|
|
98
120
|
description: string;
|
|
99
|
-
schemaType:
|
|
100
|
-
enumValues?: string[] | undefined;
|
|
101
|
-
regexPattern?: string | undefined;
|
|
121
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
102
122
|
jsonSchema?: string | undefined;
|
|
123
|
+
enumValues?: string[] | number[] | undefined;
|
|
124
|
+
regexPattern?: string | undefined;
|
|
103
125
|
exampleValue?: any;
|
|
104
126
|
} | undefined;
|
|
105
127
|
}, {
|
|
@@ -111,10 +133,10 @@ export declare const CreateVariableArgsSchema: z.ZodObject<{
|
|
|
111
133
|
defaultValue?: any;
|
|
112
134
|
validationSchema?: {
|
|
113
135
|
description: string;
|
|
114
|
-
schemaType:
|
|
115
|
-
enumValues?: string[] | undefined;
|
|
116
|
-
regexPattern?: string | undefined;
|
|
136
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
117
137
|
jsonSchema?: string | undefined;
|
|
138
|
+
enumValues?: string[] | number[] | undefined;
|
|
139
|
+
regexPattern?: string | undefined;
|
|
118
140
|
exampleValue?: any;
|
|
119
141
|
} | undefined;
|
|
120
142
|
}>;
|
|
@@ -123,28 +145,28 @@ export declare const UpdateVariableArgsSchema: z.ZodObject<{
|
|
|
123
145
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
124
146
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
125
147
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["String", "Boolean", "Number", "JSON"]>>>;
|
|
126
|
-
validationSchema: z.ZodOptional<z.
|
|
127
|
-
schemaType: z.
|
|
128
|
-
enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
validationSchema: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
schemaType: z.ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
150
|
+
enumValues: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
129
151
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
130
152
|
jsonSchema: z.ZodOptional<z.ZodString>;
|
|
131
153
|
description: z.ZodString;
|
|
132
154
|
exampleValue: z.ZodAny;
|
|
133
155
|
}, "strip", z.ZodTypeAny, {
|
|
134
156
|
description: string;
|
|
135
|
-
schemaType:
|
|
136
|
-
enumValues?: string[] | undefined;
|
|
137
|
-
regexPattern?: string | undefined;
|
|
157
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
138
158
|
jsonSchema?: string | undefined;
|
|
159
|
+
enumValues?: string[] | number[] | undefined;
|
|
160
|
+
regexPattern?: string | undefined;
|
|
139
161
|
exampleValue?: any;
|
|
140
162
|
}, {
|
|
141
163
|
description: string;
|
|
142
|
-
schemaType:
|
|
143
|
-
enumValues?: string[] | undefined;
|
|
144
|
-
regexPattern?: string | undefined;
|
|
164
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
145
165
|
jsonSchema?: string | undefined;
|
|
166
|
+
enumValues?: string[] | number[] | undefined;
|
|
167
|
+
regexPattern?: string | undefined;
|
|
146
168
|
exampleValue?: any;
|
|
147
|
-
}
|
|
169
|
+
}>>;
|
|
148
170
|
}, "strip", z.ZodTypeAny, {
|
|
149
171
|
key: string;
|
|
150
172
|
type?: "String" | "Boolean" | "Number" | "JSON" | undefined;
|
|
@@ -152,10 +174,10 @@ export declare const UpdateVariableArgsSchema: z.ZodObject<{
|
|
|
152
174
|
name?: string | undefined;
|
|
153
175
|
validationSchema?: {
|
|
154
176
|
description: string;
|
|
155
|
-
schemaType:
|
|
156
|
-
enumValues?: string[] | undefined;
|
|
157
|
-
regexPattern?: string | undefined;
|
|
177
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
158
178
|
jsonSchema?: string | undefined;
|
|
179
|
+
enumValues?: string[] | number[] | undefined;
|
|
180
|
+
regexPattern?: string | undefined;
|
|
159
181
|
exampleValue?: any;
|
|
160
182
|
} | undefined;
|
|
161
183
|
}, {
|
|
@@ -165,10 +187,10 @@ export declare const UpdateVariableArgsSchema: z.ZodObject<{
|
|
|
165
187
|
name?: string | undefined;
|
|
166
188
|
validationSchema?: {
|
|
167
189
|
description: string;
|
|
168
|
-
schemaType:
|
|
169
|
-
enumValues?: string[] | undefined;
|
|
170
|
-
regexPattern?: string | undefined;
|
|
190
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
171
191
|
jsonSchema?: string | undefined;
|
|
192
|
+
enumValues?: string[] | number[] | undefined;
|
|
193
|
+
regexPattern?: string | undefined;
|
|
172
194
|
exampleValue?: any;
|
|
173
195
|
} | undefined;
|
|
174
196
|
}>;
|
|
@@ -705,25 +727,25 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
705
727
|
type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
|
|
706
728
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
707
729
|
validationSchema: z.ZodOptional<z.ZodObject<{
|
|
708
|
-
schemaType: z.
|
|
709
|
-
enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
730
|
+
schemaType: z.ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
731
|
+
enumValues: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
710
732
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
711
733
|
jsonSchema: z.ZodOptional<z.ZodString>;
|
|
712
734
|
description: z.ZodString;
|
|
713
735
|
exampleValue: z.ZodAny;
|
|
714
736
|
}, "strip", z.ZodTypeAny, {
|
|
715
737
|
description: string;
|
|
716
|
-
schemaType:
|
|
717
|
-
enumValues?: string[] | undefined;
|
|
718
|
-
regexPattern?: string | undefined;
|
|
738
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
719
739
|
jsonSchema?: string | undefined;
|
|
740
|
+
enumValues?: string[] | number[] | undefined;
|
|
741
|
+
regexPattern?: string | undefined;
|
|
720
742
|
exampleValue?: any;
|
|
721
743
|
}, {
|
|
722
744
|
description: string;
|
|
723
|
-
schemaType:
|
|
724
|
-
enumValues?: string[] | undefined;
|
|
725
|
-
regexPattern?: string | undefined;
|
|
745
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
726
746
|
jsonSchema?: string | undefined;
|
|
747
|
+
enumValues?: string[] | number[] | undefined;
|
|
748
|
+
regexPattern?: string | undefined;
|
|
727
749
|
exampleValue?: any;
|
|
728
750
|
}>>;
|
|
729
751
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -735,10 +757,10 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
735
757
|
defaultValue?: any;
|
|
736
758
|
validationSchema?: {
|
|
737
759
|
description: string;
|
|
738
|
-
schemaType:
|
|
739
|
-
enumValues?: string[] | undefined;
|
|
740
|
-
regexPattern?: string | undefined;
|
|
760
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
741
761
|
jsonSchema?: string | undefined;
|
|
762
|
+
enumValues?: string[] | number[] | undefined;
|
|
763
|
+
regexPattern?: string | undefined;
|
|
742
764
|
exampleValue?: any;
|
|
743
765
|
} | undefined;
|
|
744
766
|
}, {
|
|
@@ -750,10 +772,10 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
750
772
|
defaultValue?: any;
|
|
751
773
|
validationSchema?: {
|
|
752
774
|
description: string;
|
|
753
|
-
schemaType:
|
|
754
|
-
enumValues?: string[] | undefined;
|
|
755
|
-
regexPattern?: string | undefined;
|
|
775
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
756
776
|
jsonSchema?: string | undefined;
|
|
777
|
+
enumValues?: string[] | number[] | undefined;
|
|
778
|
+
regexPattern?: string | undefined;
|
|
757
779
|
exampleValue?: any;
|
|
758
780
|
} | undefined;
|
|
759
781
|
}>, z.ZodObject<{
|
|
@@ -818,7 +840,6 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
818
840
|
}>>;
|
|
819
841
|
type: z.ZodOptional<z.ZodEnum<["release", "experiment", "permission", "ops"]>>;
|
|
820
842
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
821
|
-
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
822
843
|
}, "strip", z.ZodTypeAny, {
|
|
823
844
|
name: string;
|
|
824
845
|
key: string;
|
|
@@ -839,10 +860,10 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
839
860
|
defaultValue?: any;
|
|
840
861
|
validationSchema?: {
|
|
841
862
|
description: string;
|
|
842
|
-
schemaType:
|
|
843
|
-
enumValues?: string[] | undefined;
|
|
844
|
-
regexPattern?: string | undefined;
|
|
863
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
845
864
|
jsonSchema?: string | undefined;
|
|
865
|
+
enumValues?: string[] | number[] | undefined;
|
|
866
|
+
regexPattern?: string | undefined;
|
|
846
867
|
exampleValue?: any;
|
|
847
868
|
} | undefined;
|
|
848
869
|
} | {
|
|
@@ -864,7 +885,6 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
864
885
|
client: boolean;
|
|
865
886
|
server: boolean;
|
|
866
887
|
} | undefined;
|
|
867
|
-
interactive?: boolean | undefined;
|
|
868
888
|
}, {
|
|
869
889
|
name: string;
|
|
870
890
|
key: string;
|
|
@@ -885,10 +905,10 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
885
905
|
defaultValue?: any;
|
|
886
906
|
validationSchema?: {
|
|
887
907
|
description: string;
|
|
888
|
-
schemaType:
|
|
889
|
-
enumValues?: string[] | undefined;
|
|
890
|
-
regexPattern?: string | undefined;
|
|
908
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
891
909
|
jsonSchema?: string | undefined;
|
|
910
|
+
enumValues?: string[] | number[] | undefined;
|
|
911
|
+
regexPattern?: string | undefined;
|
|
892
912
|
exampleValue?: any;
|
|
893
913
|
} | undefined;
|
|
894
914
|
} | {
|
|
@@ -910,7 +930,6 @@ export declare const CreateFeatureArgsSchema: z.ZodObject<{
|
|
|
910
930
|
client: boolean;
|
|
911
931
|
server: boolean;
|
|
912
932
|
} | undefined;
|
|
913
|
-
interactive?: boolean | undefined;
|
|
914
933
|
}>;
|
|
915
934
|
export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
916
935
|
key: z.ZodString;
|
|
@@ -924,25 +943,25 @@ export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
|
924
943
|
type: z.ZodEnum<["String", "Boolean", "Number", "JSON"]>;
|
|
925
944
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
926
945
|
validationSchema: z.ZodOptional<z.ZodObject<{
|
|
927
|
-
schemaType: z.
|
|
928
|
-
enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
946
|
+
schemaType: z.ZodEnum<["enum", "regex", "jsonSchema"]>;
|
|
947
|
+
enumValues: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
929
948
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
930
949
|
jsonSchema: z.ZodOptional<z.ZodString>;
|
|
931
950
|
description: z.ZodString;
|
|
932
951
|
exampleValue: z.ZodAny;
|
|
933
952
|
}, "strip", z.ZodTypeAny, {
|
|
934
953
|
description: string;
|
|
935
|
-
schemaType:
|
|
936
|
-
enumValues?: string[] | undefined;
|
|
937
|
-
regexPattern?: string | undefined;
|
|
954
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
938
955
|
jsonSchema?: string | undefined;
|
|
956
|
+
enumValues?: string[] | number[] | undefined;
|
|
957
|
+
regexPattern?: string | undefined;
|
|
939
958
|
exampleValue?: any;
|
|
940
959
|
}, {
|
|
941
960
|
description: string;
|
|
942
|
-
schemaType:
|
|
943
|
-
enumValues?: string[] | undefined;
|
|
944
|
-
regexPattern?: string | undefined;
|
|
961
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
945
962
|
jsonSchema?: string | undefined;
|
|
963
|
+
enumValues?: string[] | number[] | undefined;
|
|
964
|
+
regexPattern?: string | undefined;
|
|
946
965
|
exampleValue?: any;
|
|
947
966
|
}>>;
|
|
948
967
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -954,10 +973,10 @@ export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
|
954
973
|
defaultValue?: any;
|
|
955
974
|
validationSchema?: {
|
|
956
975
|
description: string;
|
|
957
|
-
schemaType:
|
|
958
|
-
enumValues?: string[] | undefined;
|
|
959
|
-
regexPattern?: string | undefined;
|
|
976
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
960
977
|
jsonSchema?: string | undefined;
|
|
978
|
+
enumValues?: string[] | number[] | undefined;
|
|
979
|
+
regexPattern?: string | undefined;
|
|
961
980
|
exampleValue?: any;
|
|
962
981
|
} | undefined;
|
|
963
982
|
}, {
|
|
@@ -969,10 +988,10 @@ export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
|
969
988
|
defaultValue?: any;
|
|
970
989
|
validationSchema?: {
|
|
971
990
|
description: string;
|
|
972
|
-
schemaType:
|
|
973
|
-
enumValues?: string[] | undefined;
|
|
974
|
-
regexPattern?: string | undefined;
|
|
991
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
975
992
|
jsonSchema?: string | undefined;
|
|
993
|
+
enumValues?: string[] | number[] | undefined;
|
|
994
|
+
regexPattern?: string | undefined;
|
|
976
995
|
exampleValue?: any;
|
|
977
996
|
} | undefined;
|
|
978
997
|
}>, z.ZodObject<{
|
|
@@ -1047,10 +1066,10 @@ export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
|
1047
1066
|
defaultValue?: any;
|
|
1048
1067
|
validationSchema?: {
|
|
1049
1068
|
description: string;
|
|
1050
|
-
schemaType:
|
|
1051
|
-
enumValues?: string[] | undefined;
|
|
1052
|
-
regexPattern?: string | undefined;
|
|
1069
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1053
1070
|
jsonSchema?: string | undefined;
|
|
1071
|
+
enumValues?: string[] | number[] | undefined;
|
|
1072
|
+
regexPattern?: string | undefined;
|
|
1054
1073
|
exampleValue?: any;
|
|
1055
1074
|
} | undefined;
|
|
1056
1075
|
} | {
|
|
@@ -1088,10 +1107,10 @@ export declare const UpdateFeatureArgsSchema: z.ZodObject<{
|
|
|
1088
1107
|
defaultValue?: any;
|
|
1089
1108
|
validationSchema?: {
|
|
1090
1109
|
description: string;
|
|
1091
|
-
schemaType:
|
|
1092
|
-
enumValues?: string[] | undefined;
|
|
1093
|
-
regexPattern?: string | undefined;
|
|
1110
|
+
schemaType: "enum" | "regex" | "jsonSchema";
|
|
1094
1111
|
jsonSchema?: string | undefined;
|
|
1112
|
+
enumValues?: string[] | number[] | undefined;
|
|
1113
|
+
regexPattern?: string | undefined;
|
|
1095
1114
|
exampleValue?: any;
|
|
1096
1115
|
} | undefined;
|
|
1097
1116
|
} | {
|
|
@@ -1124,11 +1143,11 @@ export declare const UpdateFeatureStatusArgsSchema: z.ZodObject<{
|
|
|
1124
1143
|
staticVariation?: string | undefined;
|
|
1125
1144
|
}>;
|
|
1126
1145
|
export declare const UpdateSelfTargetingIdentityArgsSchema: z.ZodObject<{
|
|
1127
|
-
dvc_user_id: z.
|
|
1146
|
+
dvc_user_id: z.ZodString;
|
|
1128
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1129
|
-
dvc_user_id: string
|
|
1148
|
+
dvc_user_id: string;
|
|
1130
1149
|
}, {
|
|
1131
|
-
dvc_user_id: string
|
|
1150
|
+
dvc_user_id: string;
|
|
1132
1151
|
}>;
|
|
1133
1152
|
export declare const SetSelfTargetingOverrideArgsSchema: z.ZodObject<{
|
|
1134
1153
|
feature_key: z.ZodString;
|
|
@@ -1885,7 +1904,7 @@ export declare const GetFeatureAuditLogHistoryArgsSchema: z.ZodObject<{
|
|
|
1885
1904
|
endDate: z.ZodOptional<z.ZodString>;
|
|
1886
1905
|
environment: z.ZodOptional<z.ZodString>;
|
|
1887
1906
|
user: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
action: z.ZodOptional<z.
|
|
1907
|
+
action: z.ZodOptional<z.ZodEnum<["created", "modified", "deleted"]>>;
|
|
1889
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1890
1909
|
feature_key: string;
|
|
1891
1910
|
page?: number | undefined;
|
|
@@ -1896,7 +1915,7 @@ export declare const GetFeatureAuditLogHistoryArgsSchema: z.ZodObject<{
|
|
|
1896
1915
|
startDate?: string | undefined;
|
|
1897
1916
|
environment?: string | undefined;
|
|
1898
1917
|
endDate?: string | undefined;
|
|
1899
|
-
action?:
|
|
1918
|
+
action?: "created" | "modified" | "deleted" | undefined;
|
|
1900
1919
|
}, {
|
|
1901
1920
|
feature_key: string;
|
|
1902
1921
|
page?: number | undefined;
|
|
@@ -1907,7 +1926,14 @@ export declare const GetFeatureAuditLogHistoryArgsSchema: z.ZodObject<{
|
|
|
1907
1926
|
startDate?: string | undefined;
|
|
1908
1927
|
environment?: string | undefined;
|
|
1909
1928
|
endDate?: string | undefined;
|
|
1910
|
-
action?:
|
|
1929
|
+
action?: "created" | "modified" | "deleted" | undefined;
|
|
1930
|
+
}>;
|
|
1931
|
+
export declare const CleanupFeatureArgsSchema: z.ZodObject<{
|
|
1932
|
+
featureKey: z.ZodString;
|
|
1933
|
+
}, "strip", z.ZodTypeAny, {
|
|
1934
|
+
featureKey: string;
|
|
1935
|
+
}, {
|
|
1936
|
+
featureKey: string;
|
|
1911
1937
|
}>;
|
|
1912
1938
|
export declare const AuditLogEntitySchema: z.ZodObject<{
|
|
1913
1939
|
date: z.ZodString;
|
package/dist/mcp/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/mcp/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/mcp/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAwBnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwClC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBnC,C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