@adminide-stack/form-builder-core 5.1.4-alpha.306 → 5.1.4-alpha.307
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/lib/config/{apiConfigTypes.d.ts → configTypes.d.ts} +75 -4
- package/lib/config/configTypes.d.ts.map +1 -0
- package/lib/config/configTypes.js +6 -0
- package/lib/config/configTypes.js.map +1 -0
- package/lib/config/connectorsConfig.d.ts +1 -61
- package/lib/config/connectorsConfig.d.ts.map +1 -1
- package/lib/config/connectorsConfig.js +1581 -1594
- package/lib/config/connectorsConfig.js.map +1 -1
- package/lib/config/connectorsConfig2.d.ts +1 -1
- package/lib/config/connectorsConfig2.d.ts.map +1 -1
- package/lib/config/llmProviderConfig.d.ts +1 -1
- package/lib/config/llmProviderConfig.d.ts.map +1 -1
- package/lib/config/llmProviderConfig.js +14 -14
- package/lib/config/llmProviderConfig.js.map +1 -1
- package/lib/config/mcpConnectorConfig.d.ts +1 -24
- package/lib/config/mcpConnectorConfig.d.ts.map +1 -1
- package/lib/config/mcpConnectorConfig.js +25 -25
- package/lib/config/mcpConnectorConfig.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +3 -2
- package/lib/config/apiConfigTypes.d.ts.map +0 -1
- package/lib/config/apiConfigTypes.js +0 -12
- package/lib/config/apiConfigTypes.js.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ContributeDefaultValueSourceType, KeyMgmtSecretType } from 'common';
|
|
1
2
|
/**
|
|
2
3
|
* Shared API configuration types.
|
|
3
4
|
*
|
|
@@ -9,8 +10,8 @@
|
|
|
9
10
|
* them without depending on the browser package.
|
|
10
11
|
*/
|
|
11
12
|
export interface FieldSecretSource {
|
|
12
|
-
type:
|
|
13
|
-
secretType:
|
|
13
|
+
type: ContributeDefaultValueSourceType;
|
|
14
|
+
secretType: KeyMgmtSecretType;
|
|
14
15
|
secretKey: string;
|
|
15
16
|
}
|
|
16
17
|
export type FieldType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
|
|
@@ -60,7 +61,7 @@ export interface ConnectorMetaConfig {
|
|
|
60
61
|
categories?: string[];
|
|
61
62
|
}
|
|
62
63
|
export type UiWidget = 'text' | 'password' | 'hidden' | 'textarea' | 'select' | 'switch' | 'resourceSelect' | 'chips' | 'LabelWidget';
|
|
63
|
-
export declare const CONNECTOR_CATEGORIES: readonly ["advertising & marketing", "ai & machine learning", "analytics & data", "collaboration & communication", "crm", "cybersecurity", "data & analytics", "design & creative tools", "developer tools & devops", "direct mail automation", "document & file management", "e-commerce", "education & lms", "entertainment & media", "finance & accounting", "fundraising", "hr & recruiting", "marketing & social media", "productivity & project management", "sales & customer support", "scheduling & booking", "security & compliance", "security & identity tools", "social media", "wi-fi management", "workflow automation"];
|
|
64
|
+
export declare const CONNECTOR_CATEGORIES: readonly ["advertising & marketing", "ai & machine learning", "analytics & data", "collaboration & communication", "crm", "cybersecurity", "data & analytics", "design & creative tools", "developer tools & devops", "direct mail automation", "document & file management", "e-commerce", "education & lms", "entertainment & media", "finance & accounting", "fundraising", "hr & recruiting", "marketing & social media", "productivity & project management", "sales & customer support", "scheduling & booking", "security & compliance", "security & identity tools", "social media", "wi-fi management", "workflow automation", "api", "database", "storage", "llm", "mcp", "cache", "embeddings", "agents", "memory", "tools", "other"];
|
|
64
65
|
export type ConnectorCategory = (typeof CONNECTOR_CATEGORIES)[number];
|
|
65
66
|
export type ConnectorCategoryTuple = [ConnectorCategory];
|
|
66
67
|
export interface FormFieldConfig {
|
|
@@ -145,4 +146,74 @@ export interface CustomButtonConfig {
|
|
|
145
146
|
resourceId: string;
|
|
146
147
|
inngestId: string;
|
|
147
148
|
}
|
|
148
|
-
|
|
149
|
+
export type MCPAuthMethod = 'oauth2' | 'api_key';
|
|
150
|
+
export interface MCPProviderConfig {
|
|
151
|
+
id: string;
|
|
152
|
+
title: string;
|
|
153
|
+
description: string;
|
|
154
|
+
providerUrl?: string;
|
|
155
|
+
scopes: string[];
|
|
156
|
+
mcpUrl: string;
|
|
157
|
+
icon: {
|
|
158
|
+
name: string;
|
|
159
|
+
style?: {
|
|
160
|
+
fontSize?: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
/** Logo URL from Composio */
|
|
164
|
+
logo?: string;
|
|
165
|
+
color?: string;
|
|
166
|
+
enabled?: boolean;
|
|
167
|
+
/** Authentication methods supported */
|
|
168
|
+
authMethods: [MCPAuthMethod];
|
|
169
|
+
categories: ConnectorCategoryTuple;
|
|
170
|
+
fields?: FormFieldConfig[];
|
|
171
|
+
}
|
|
172
|
+
export interface ConnectorConfig {
|
|
173
|
+
id: string;
|
|
174
|
+
title: string;
|
|
175
|
+
description: string;
|
|
176
|
+
/** OAuth/OIDC provider base URL */
|
|
177
|
+
providerUrl: string;
|
|
178
|
+
icon: {
|
|
179
|
+
name: string;
|
|
180
|
+
style?: {
|
|
181
|
+
fontSize?: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
/** Logo URL from CDM S3 */
|
|
185
|
+
logo?: string;
|
|
186
|
+
color?: string;
|
|
187
|
+
enabled: boolean;
|
|
188
|
+
/** Default OAuth scopes for this provider */
|
|
189
|
+
scopes?: string[];
|
|
190
|
+
/** When true, use explicit OAuth endpoints instead of OIDC discovery */
|
|
191
|
+
useCustomOAuthEndpoints?: boolean;
|
|
192
|
+
/** When false, disables PKCE for this OAuth provider. Defaults to true when omitted. */
|
|
193
|
+
usePKCE?: boolean;
|
|
194
|
+
/** OAuth client authentication method */
|
|
195
|
+
clientAuthMethod?: 'client_secret_basic' | 'client_secret_post';
|
|
196
|
+
/** Explicit OAuth Authorization URL (if useCustomOAuthEndpoints is true) */
|
|
197
|
+
authorizationUrl?: string;
|
|
198
|
+
/** Explicit OAuth Token URL (if useCustomOAuthEndpoints is true) */
|
|
199
|
+
tokenUrl?: string;
|
|
200
|
+
/** Explicit OAuth Revocation URL (if supported) */
|
|
201
|
+
revocationUrl?: string;
|
|
202
|
+
/** Use HTTP Basic auth for token exchange (client_secret_basic). */
|
|
203
|
+
useBasicAuth?: boolean;
|
|
204
|
+
/** MCP endpoint (if the provider supports MCP auth) */
|
|
205
|
+
mcpUrl?: string;
|
|
206
|
+
/** Authentication methods supported by this connector */
|
|
207
|
+
authMethods?: ['api_key'] | ['oauth2'] | ['api_key', 'oauth2'];
|
|
208
|
+
/** Connector categories */
|
|
209
|
+
categories: ConnectorCategoryTuple;
|
|
210
|
+
/** Form fields for API-key configuration (when api_key auth is selected) */
|
|
211
|
+
fields?: FormFieldConfig[];
|
|
212
|
+
/** REST API resources for credential testing (e.g. "Test token" button) */
|
|
213
|
+
resources?: FormResourceConfig[];
|
|
214
|
+
/** Custom action buttons (e.g. "Test token", "Test connection") */
|
|
215
|
+
customButtons?: CustomButtonConfig[];
|
|
216
|
+
/** Connector-level metadata: base URL, app URL, auth guide, test endpoint. */
|
|
217
|
+
meta?: ConnectorMetaConfig;
|
|
218
|
+
}
|
|
219
|
+
//# sourceMappingURL=configTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configTypes.d.ts","sourceRoot":"","sources":["../../src/config/configTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE7E;;;;;;;;;GASG;AAMH,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,gCAAgC,CAAC;IACvC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gBAAgB,GAEtB,SAAS,GACT,YAAY,GACZ,WAAW,GACX,cAAc,GACd,YAAY,GACZ,cAAc,G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M,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,wEAAwE;IACxE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,wFAAwF;IACxF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,gBAAgB,CAAC,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IAChE,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,WAAW,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC/D,2BAA2B;IAC3B,UAAU,EAAE,sBAAsB,CAAC;IACnC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC;IAC3B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACjC,mEAAmE;IACnE,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACrC,8EAA8E;IAC9E,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Credential template values from contribution points that should also be selectable.
|
|
2
|
+
const CREDENTIAL_TEMPLATE_CATEGORIES = ['api', 'database', 'storage', 'llm', 'mcp', 'cache', 'embeddings', 'agents', 'memory', 'tools', 'other'];
|
|
3
|
+
// Connector domain categories from contribution points.
|
|
4
|
+
const CONNECTOR_DOMAIN_CATEGORIES = ['advertising & marketing', 'ai & machine learning', 'analytics & data', 'collaboration & communication', 'crm', 'cybersecurity', 'data & analytics', 'design & creative tools', 'developer tools & devops', 'direct mail automation', 'document & file management', 'e-commerce', 'education & lms', 'entertainment & media', 'finance & accounting', 'fundraising', 'hr & recruiting', 'marketing & social media', 'productivity & project management', 'sales & customer support', 'scheduling & booking', 'security & compliance', 'security & identity tools', 'social media', 'wi-fi management', 'workflow automation'];
|
|
5
|
+
// Available categories for custom credentials/connectors.
|
|
6
|
+
const CONNECTOR_CATEGORIES = [...CONNECTOR_DOMAIN_CATEGORIES, ...CREDENTIAL_TEMPLATE_CATEGORIES];export{CONNECTOR_CATEGORIES};//# sourceMappingURL=configTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configTypes.js","sources":["../../src/config/configTypes.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AAEA,MAAA,8BAAA,GAAA,CAAA,KAAA,EAAA,UAAA,EAAA,SAAA,EAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,YAAA,EAAA,QAAA,EAAA,QAAA,EAAA,OAAA,EAAA,OAAA,CAAA;;;;"}
|
|
@@ -1,63 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
* Unified connector/provider configuration.
|
|
3
|
-
*
|
|
4
|
-
* Shared by:
|
|
5
|
-
* - credentials-browser (connector cards, credentials table)
|
|
6
|
-
* - form-builder-browser (OAuthConnectorConfigPanel – known-provider dropdown)
|
|
7
|
-
*
|
|
8
|
-
* Keep this as the single source of truth so ids, provider URLs, scopes, etc.
|
|
9
|
-
* never drift between packages.
|
|
10
|
-
*
|
|
11
|
-
* Auto-generated from TrustClaw/Composio connector catalog + commonApiConfig.
|
|
12
|
-
* Hand-curated entries are at the top; auto-generated entries follow.
|
|
13
|
-
*/
|
|
14
|
-
import type { ConnectorCategoryTuple, ConnectorMetaConfig, CustomButtonConfig, FormFieldConfig, FormResourceConfig } from './apiConfigTypes';
|
|
15
|
-
export interface ConnectorConfig {
|
|
16
|
-
id: string;
|
|
17
|
-
title: string;
|
|
18
|
-
description: string;
|
|
19
|
-
/** OAuth/OIDC provider base URL */
|
|
20
|
-
providerUrl: string;
|
|
21
|
-
icon: {
|
|
22
|
-
name: string;
|
|
23
|
-
style?: {
|
|
24
|
-
fontSize?: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
/** Logo URL from CDM S3 */
|
|
28
|
-
logo?: string;
|
|
29
|
-
color?: string;
|
|
30
|
-
enabled: boolean;
|
|
31
|
-
/** Default OAuth scopes for this provider */
|
|
32
|
-
scopes?: string[];
|
|
33
|
-
/** When true, use explicit OAuth endpoints instead of OIDC discovery */
|
|
34
|
-
useCustomOAuthEndpoints?: boolean;
|
|
35
|
-
/** When false, disables PKCE for this OAuth provider. Defaults to true when omitted. */
|
|
36
|
-
usePKCE?: boolean;
|
|
37
|
-
/** OAuth client authentication method */
|
|
38
|
-
clientAuthMethod?: 'client_secret_basic' | 'client_secret_post';
|
|
39
|
-
/** Explicit OAuth Authorization URL (if useCustomOAuthEndpoints is true) */
|
|
40
|
-
authorizationUrl?: string;
|
|
41
|
-
/** Explicit OAuth Token URL (if useCustomOAuthEndpoints is true) */
|
|
42
|
-
tokenUrl?: string;
|
|
43
|
-
/** Explicit OAuth Revocation URL (if supported) */
|
|
44
|
-
revocationUrl?: string;
|
|
45
|
-
/** Use HTTP Basic auth for token exchange (client_secret_basic). */
|
|
46
|
-
useBasicAuth?: boolean;
|
|
47
|
-
/** MCP endpoint (if the provider supports MCP auth) */
|
|
48
|
-
mcpUrl?: string;
|
|
49
|
-
/** Authentication methods supported by this connector */
|
|
50
|
-
authMethods?: ['api_key'] | ['oauth2'] | ['api_key', 'oauth2'];
|
|
51
|
-
/** Connector categories */
|
|
52
|
-
categories: ConnectorCategoryTuple;
|
|
53
|
-
/** Form fields for API-key configuration (when api_key auth is selected) */
|
|
54
|
-
fields?: FormFieldConfig[];
|
|
55
|
-
/** REST API resources for credential testing (e.g. "Test token" button) */
|
|
56
|
-
resources?: FormResourceConfig[];
|
|
57
|
-
/** Custom action buttons (e.g. "Test token", "Test connection") */
|
|
58
|
-
customButtons?: CustomButtonConfig[];
|
|
59
|
-
/** Connector-level metadata: base URL, app URL, auth guide, test endpoint. */
|
|
60
|
-
meta?: ConnectorMetaConfig;
|
|
61
|
-
}
|
|
1
|
+
import type { ConnectorConfig } from './configTypes';
|
|
62
2
|
export declare const connectorsConfig: ConnectorConfig[];
|
|
63
3
|
//# sourceMappingURL=connectorsConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorsConfig.d.ts","sourceRoot":"","sources":["../../src/config/connectorsConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connectorsConfig.d.ts","sourceRoot":"","sources":["../../src/config/connectorsConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,gBAAgB,EAAE,eAAe,EAu69C7C,CAAC"}
|