@alfe.ai/integration-manifest 0.0.8 → 0.0.9
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 +1 -4
- package/dist/index.js +1 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
* These are the canonical types used by all packages that interact with
|
|
9
9
|
* integration manifests -- registry, lifecycle manager, CLI, etc.
|
|
10
10
|
*/
|
|
11
|
-
type ConfigFieldType = 'secret' | 'string' | 'number' | 'boolean' | 'enum' | 'select' | 'multi_select' | 'oauth_connect'
|
|
11
|
+
type ConfigFieldType = 'secret' | 'string' | 'number' | 'boolean' | 'enum' | 'select' | 'multi_select' | 'oauth_connect';
|
|
12
12
|
interface SelectOption {
|
|
13
13
|
value: string;
|
|
14
14
|
label: string;
|
|
@@ -192,7 +192,6 @@ declare const ConfigFieldTypeSchema: z.ZodEnum<{
|
|
|
192
192
|
select: "select";
|
|
193
193
|
multi_select: "multi_select";
|
|
194
194
|
oauth_connect: "oauth_connect";
|
|
195
|
-
phone_number_picker: "phone_number_picker";
|
|
196
195
|
}>;
|
|
197
196
|
/** Structured option for select/multi_select fields */
|
|
198
197
|
declare const SelectOptionSchema: z.ZodObject<{
|
|
@@ -210,7 +209,6 @@ declare const ConfigSchemaFieldSchema: z.ZodObject<{
|
|
|
210
209
|
select: "select";
|
|
211
210
|
multi_select: "multi_select";
|
|
212
211
|
oauth_connect: "oauth_connect";
|
|
213
|
-
phone_number_picker: "phone_number_picker";
|
|
214
212
|
}>;
|
|
215
213
|
label: z.ZodString;
|
|
216
214
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -326,7 +324,6 @@ declare const IntegrationManifestSchema: z.ZodObject<{
|
|
|
326
324
|
select: "select";
|
|
327
325
|
multi_select: "multi_select";
|
|
328
326
|
oauth_connect: "oauth_connect";
|
|
329
|
-
phone_number_picker: "phone_number_picker";
|
|
330
327
|
}>;
|
|
331
328
|
label: z.ZodString;
|
|
332
329
|
description: z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -17,8 +17,7 @@ const ConfigFieldTypeSchema = z.enum([
|
|
|
17
17
|
"enum",
|
|
18
18
|
"select",
|
|
19
19
|
"multi_select",
|
|
20
|
-
"oauth_connect"
|
|
21
|
-
"phone_number_picker"
|
|
20
|
+
"oauth_connect"
|
|
22
21
|
]);
|
|
23
22
|
/** Structured option for select/multi_select fields */
|
|
24
23
|
const SelectOptionSchema = z.object({
|
|
@@ -181,9 +180,6 @@ function buildConfigValidationSchema(configSchema) {
|
|
|
181
180
|
case "oauth_connect":
|
|
182
181
|
fieldSchema = z.string();
|
|
183
182
|
break;
|
|
184
|
-
case "phone_number_picker":
|
|
185
|
-
fieldSchema = z.string();
|
|
186
|
-
break;
|
|
187
183
|
case "number":
|
|
188
184
|
fieldSchema = z.number();
|
|
189
185
|
break;
|