@adminide-stack/form-builder-core 5.1.8-alpha.0 → 5.1.8-alpha.3
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/connectorSampleOptions.generated.d.ts +15 -0
- package/lib/config/connectorSampleOptions.generated.d.ts.map +1 -0
- package/lib/config/connectorSampleOptions.generated.js +142 -0
- package/lib/config/connectorSampleOptions.generated.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type ConnectorCatalogSampleKind = 'connector' | 'mcp' | 'llm' | 'popular';
|
|
2
|
+
export interface ConnectorCatalogSampleEntry {
|
|
3
|
+
schemaId: string;
|
|
4
|
+
label: string;
|
|
5
|
+
displayLabel: string;
|
|
6
|
+
catalogKind: ConnectorCatalogSampleKind;
|
|
7
|
+
start: number;
|
|
8
|
+
end: number;
|
|
9
|
+
count: number;
|
|
10
|
+
serverOnly: true;
|
|
11
|
+
}
|
|
12
|
+
export declare const CONNECTOR_CATALOG_SAMPLE_CHUNK_SIZE = 100;
|
|
13
|
+
export declare const CONNECTOR_CATALOG_SAMPLE_ENTRIES: ConnectorCatalogSampleEntry[];
|
|
14
|
+
export declare const CONNECTOR_CATALOG_SAMPLE_ENTRY_BY_SCHEMA_ID: Record<string, ConnectorCatalogSampleEntry>;
|
|
15
|
+
//# sourceMappingURL=connectorSampleOptions.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorSampleOptions.generated.d.ts","sourceRoot":"","sources":["../../src/config/connectorSampleOptions.generated.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,0BAA0B,GAAG,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC;AAEjF,MAAM,WAAW,2BAA2B;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,0BAA0B,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,mCAAmC,MAAM,CAAC;AAEvD,eAAO,MAAM,gCAAgC,EAAE,2BAA2B,EAuJzE,CAAC;AAEF,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAI1F,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// Auto-generated by scripts/generate-connector-sample-options.mjs. Do not edit by hand.
|
|
2
|
+
const CONNECTOR_CATALOG_SAMPLE_CHUNK_SIZE = 100;
|
|
3
|
+
const CONNECTOR_CATALOG_SAMPLE_ENTRIES = [{
|
|
4
|
+
schemaId: 'oauthConnectorCatalog_connector_0001_0100',
|
|
5
|
+
label: 'Connector Catalog (1-100)',
|
|
6
|
+
displayLabel: 'Connector 1-100',
|
|
7
|
+
catalogKind: 'connector',
|
|
8
|
+
start: 1,
|
|
9
|
+
end: 100,
|
|
10
|
+
count: 100,
|
|
11
|
+
serverOnly: true
|
|
12
|
+
}, {
|
|
13
|
+
schemaId: 'oauthConnectorCatalog_connector_0101_0200',
|
|
14
|
+
label: 'Connector Catalog (101-200)',
|
|
15
|
+
displayLabel: 'Connector 101-200',
|
|
16
|
+
catalogKind: 'connector',
|
|
17
|
+
start: 101,
|
|
18
|
+
end: 200,
|
|
19
|
+
count: 100,
|
|
20
|
+
serverOnly: true
|
|
21
|
+
}, {
|
|
22
|
+
schemaId: 'oauthConnectorCatalog_connector_0201_0300',
|
|
23
|
+
label: 'Connector Catalog (201-300)',
|
|
24
|
+
displayLabel: 'Connector 201-300',
|
|
25
|
+
catalogKind: 'connector',
|
|
26
|
+
start: 201,
|
|
27
|
+
end: 300,
|
|
28
|
+
count: 100,
|
|
29
|
+
serverOnly: true
|
|
30
|
+
}, {
|
|
31
|
+
schemaId: 'oauthConnectorCatalog_connector_0301_0400',
|
|
32
|
+
label: 'Connector Catalog (301-400)',
|
|
33
|
+
displayLabel: 'Connector 301-400',
|
|
34
|
+
catalogKind: 'connector',
|
|
35
|
+
start: 301,
|
|
36
|
+
end: 400,
|
|
37
|
+
count: 100,
|
|
38
|
+
serverOnly: true
|
|
39
|
+
}, {
|
|
40
|
+
schemaId: 'oauthConnectorCatalog_connector_0401_0500',
|
|
41
|
+
label: 'Connector Catalog (401-500)',
|
|
42
|
+
displayLabel: 'Connector 401-500',
|
|
43
|
+
catalogKind: 'connector',
|
|
44
|
+
start: 401,
|
|
45
|
+
end: 500,
|
|
46
|
+
count: 100,
|
|
47
|
+
serverOnly: true
|
|
48
|
+
}, {
|
|
49
|
+
schemaId: 'oauthConnectorCatalog_connector_0501_0600',
|
|
50
|
+
label: 'Connector Catalog (501-600)',
|
|
51
|
+
displayLabel: 'Connector 501-600',
|
|
52
|
+
catalogKind: 'connector',
|
|
53
|
+
start: 501,
|
|
54
|
+
end: 600,
|
|
55
|
+
count: 100,
|
|
56
|
+
serverOnly: true
|
|
57
|
+
}, {
|
|
58
|
+
schemaId: 'oauthConnectorCatalog_connector_0601_0700',
|
|
59
|
+
label: 'Connector Catalog (601-700)',
|
|
60
|
+
displayLabel: 'Connector 601-700',
|
|
61
|
+
catalogKind: 'connector',
|
|
62
|
+
start: 601,
|
|
63
|
+
end: 700,
|
|
64
|
+
count: 100,
|
|
65
|
+
serverOnly: true
|
|
66
|
+
}, {
|
|
67
|
+
schemaId: 'oauthConnectorCatalog_connector_0701_0800',
|
|
68
|
+
label: 'Connector Catalog (701-800)',
|
|
69
|
+
displayLabel: 'Connector 701-800',
|
|
70
|
+
catalogKind: 'connector',
|
|
71
|
+
start: 701,
|
|
72
|
+
end: 800,
|
|
73
|
+
count: 100,
|
|
74
|
+
serverOnly: true
|
|
75
|
+
}, {
|
|
76
|
+
schemaId: 'oauthConnectorCatalog_connector_0801_0900',
|
|
77
|
+
label: 'Connector Catalog (801-900)',
|
|
78
|
+
displayLabel: 'Connector 801-900',
|
|
79
|
+
catalogKind: 'connector',
|
|
80
|
+
start: 801,
|
|
81
|
+
end: 900,
|
|
82
|
+
count: 100,
|
|
83
|
+
serverOnly: true
|
|
84
|
+
}, {
|
|
85
|
+
schemaId: 'oauthConnectorCatalog_connector_0901_1000',
|
|
86
|
+
label: 'Connector Catalog (901-1000)',
|
|
87
|
+
displayLabel: 'Connector 901-1000',
|
|
88
|
+
catalogKind: 'connector',
|
|
89
|
+
start: 901,
|
|
90
|
+
end: 1000,
|
|
91
|
+
count: 100,
|
|
92
|
+
serverOnly: true
|
|
93
|
+
}, {
|
|
94
|
+
schemaId: 'oauthConnectorCatalog_connector_1001_1100',
|
|
95
|
+
label: 'Connector Catalog (1001-1100)',
|
|
96
|
+
displayLabel: 'Connector 1001-1100',
|
|
97
|
+
catalogKind: 'connector',
|
|
98
|
+
start: 1001,
|
|
99
|
+
end: 1100,
|
|
100
|
+
count: 100,
|
|
101
|
+
serverOnly: true
|
|
102
|
+
}, {
|
|
103
|
+
schemaId: 'oauthConnectorCatalog_connector_1101_1166',
|
|
104
|
+
label: 'Connector Catalog (1101-1166)',
|
|
105
|
+
displayLabel: 'Connector 1101-1166',
|
|
106
|
+
catalogKind: 'connector',
|
|
107
|
+
start: 1101,
|
|
108
|
+
end: 1166,
|
|
109
|
+
count: 66,
|
|
110
|
+
serverOnly: true
|
|
111
|
+
}, {
|
|
112
|
+
schemaId: 'oauthConnectorCatalog_mcp_all',
|
|
113
|
+
label: 'MCP Catalog (37)',
|
|
114
|
+
displayLabel: 'MCP Catalog',
|
|
115
|
+
catalogKind: 'mcp',
|
|
116
|
+
start: 1,
|
|
117
|
+
end: 37,
|
|
118
|
+
count: 37,
|
|
119
|
+
serverOnly: true
|
|
120
|
+
}, {
|
|
121
|
+
schemaId: 'oauthConnectorCatalog_llm_all',
|
|
122
|
+
label: 'LLM Catalog (91)',
|
|
123
|
+
displayLabel: 'LLM Catalog',
|
|
124
|
+
catalogKind: 'llm',
|
|
125
|
+
start: 1,
|
|
126
|
+
end: 91,
|
|
127
|
+
count: 91,
|
|
128
|
+
serverOnly: true
|
|
129
|
+
}, {
|
|
130
|
+
schemaId: 'popularBusinessApps',
|
|
131
|
+
label: 'Popular Business Apps (OAuth)',
|
|
132
|
+
displayLabel: 'Popular Business Apps',
|
|
133
|
+
catalogKind: 'popular',
|
|
134
|
+
start: 1,
|
|
135
|
+
end: 8,
|
|
136
|
+
count: 8,
|
|
137
|
+
serverOnly: true
|
|
138
|
+
}];
|
|
139
|
+
const CONNECTOR_CATALOG_SAMPLE_ENTRY_BY_SCHEMA_ID = CONNECTOR_CATALOG_SAMPLE_ENTRIES.reduce((acc, entry) => {
|
|
140
|
+
acc[entry.schemaId] = entry;
|
|
141
|
+
return acc;
|
|
142
|
+
}, {});export{CONNECTOR_CATALOG_SAMPLE_CHUNK_SIZE,CONNECTOR_CATALOG_SAMPLE_ENTRIES,CONNECTOR_CATALOG_SAMPLE_ENTRY_BY_SCHEMA_ID};//# sourceMappingURL=connectorSampleOptions.generated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorSampleOptions.generated.js","sources":["../../src/config/connectorSampleOptions.generated.ts"],"sourcesContent":[null],"names":[],"mappings":"AAEA;yCAE4C,GAAA;AAChC,MAAA,gCAAS,GAAA,CAAA;UACZ,6CAAS;OACd,EAAA,2BAAqB;cACrB,EAAW;0BACG;OACX,EAAE;KACL,EAAA,GAAK;OACL,EAAA,GAAA;AACH,EAAA,UAAA,EAAA;AAED,CAAA,EAAA;AAEA,EAAA,QAAA,EAAA,2CAA+C;AAyJ/C,EAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{getCdnBase,iurl,setCdnBase}from'./config/cdnConfig.js';export{CONNECTOR_CATEGORIES}from'./config/configTypes.js';export{generateFunctionCode,generateHandlerBody,generateHandlerBodyWithReturn,generateStepFromFunction,generateStepFunctionsFromDB,wrapStepsInInngestFunction}from'./inngest/generateFunctionCode.js';export{getAvailableDefinitions,installLibraryForAutocomplete,setupMonacoAutocomplete,setupStepAutocomplete,updateAutocompleteConfig}from'./inngest/monacoAutocompleteIntegration.js';export{cleanStepCode,extractFunctionBody,extractStepVarName,generateFromExtractedFunctions}from'./inngest/stepGenerator.js';export{buildMetadataSchema,buildProviderConfig,buildProviderSeedFromConfig,buildProviderWithRefs,createOAuthSeedGenerator}from'./utils/authMetaDataSchema.js';export{resolveConnectorFieldTokensInString,resolveConnectorFieldTokensInValue}from'./utils/connectorFieldTokenResolver.js';export{deepMergeElements,deepMergeFormSteps}from'./utils/deepMergeFormSteps.js';export{flatten,unflatten}from'./utils/json.js';export{DatabaseType,FORM_METADATA_NODE_TYPE,FormType,SCHEMA_ID_OPTIONS,flattenSchemaWithUiContext,flattenSchemas,flattenUiSchema,isContributionSchemaId,parseSampleNodes}from'./utils/schemaHelpers.js';//# sourceMappingURL=index.js.map
|
|
1
|
+
export{getCdnBase,iurl,setCdnBase}from'./config/cdnConfig.js';export{CONNECTOR_CATALOG_SAMPLE_CHUNK_SIZE,CONNECTOR_CATALOG_SAMPLE_ENTRIES,CONNECTOR_CATALOG_SAMPLE_ENTRY_BY_SCHEMA_ID}from'./config/connectorSampleOptions.generated.js';export{CONNECTOR_CATEGORIES}from'./config/configTypes.js';export{generateFunctionCode,generateHandlerBody,generateHandlerBodyWithReturn,generateStepFromFunction,generateStepFunctionsFromDB,wrapStepsInInngestFunction}from'./inngest/generateFunctionCode.js';export{getAvailableDefinitions,installLibraryForAutocomplete,setupMonacoAutocomplete,setupStepAutocomplete,updateAutocompleteConfig}from'./inngest/monacoAutocompleteIntegration.js';export{cleanStepCode,extractFunctionBody,extractStepVarName,generateFromExtractedFunctions}from'./inngest/stepGenerator.js';export{buildMetadataSchema,buildProviderConfig,buildProviderSeedFromConfig,buildProviderWithRefs,createOAuthSeedGenerator}from'./utils/authMetaDataSchema.js';export{resolveConnectorFieldTokensInString,resolveConnectorFieldTokensInValue}from'./utils/connectorFieldTokenResolver.js';export{deepMergeElements,deepMergeFormSteps}from'./utils/deepMergeFormSteps.js';export{flatten,unflatten}from'./utils/json.js';export{DatabaseType,FORM_METADATA_NODE_TYPE,FormType,SCHEMA_ID_OPTIONS,flattenSchemaWithUiContext,flattenSchemas,flattenUiSchema,isContributionSchemaId,parseSampleNodes}from'./utils/schemaHelpers.js';//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminide-stack/form-builder-core",
|
|
3
|
-
"version": "5.1.8-alpha.
|
|
3
|
+
"version": "5.1.8-alpha.3",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"watch": "npm run build:lib:watch"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@adminide-stack/connector-catalog": "5.1.8-alpha.
|
|
23
|
-
"common": "5.1.8-alpha.
|
|
22
|
+
"@adminide-stack/connector-catalog": "5.1.8-alpha.3",
|
|
23
|
+
"common": "5.1.8-alpha.3",
|
|
24
24
|
"typescript": "^5.4.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "1c52b435dbcf1be7242c4cd3e6ffd0c9198a883d"
|
|
30
30
|
}
|