@enfyra/mcp-server 0.1.69 → 0.1.71
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/README.md +1 -1
- package/dist/lib/config-local-adapters.d.ts +18 -0
- package/dist/lib/config-local-adapters.js +271 -0
- package/dist/lib/config-local-adapters.js.map +1 -0
- package/dist/lib/config-local-contracts.d.ts +28 -0
- package/dist/lib/config-local-contracts.js +200 -0
- package/dist/lib/config-local-contracts.js.map +1 -0
- package/dist/lib/config-local-prompts.d.ts +10 -0
- package/dist/lib/config-local-prompts.js +185 -0
- package/dist/lib/config-local-prompts.js.map +1 -0
- package/dist/lib/config-local-types.d.ts +23 -0
- package/dist/lib/config-local-types.js +2 -0
- package/dist/lib/config-local-types.js.map +1 -0
- package/dist/lib/config-local.js +3 -649
- package/dist/lib/config-local.js.map +1 -1
- package/dist/lib/discovery-tools.d.ts +4 -0
- package/dist/lib/discovery-tools.js +546 -0
- package/dist/lib/discovery-tools.js.map +1 -0
- package/dist/lib/dynamic-repository-builder.d.ts +1 -1
- package/dist/lib/dynamic-script-context-contract.d.ts +100 -0
- package/dist/lib/dynamic-script-context-contract.js +163 -0
- package/dist/lib/dynamic-script-context-contract.js.map +1 -0
- package/dist/lib/enfyra-mcp-server.d.ts +3 -0
- package/dist/lib/enfyra-mcp-server.js +79 -0
- package/dist/lib/enfyra-mcp-server.js.map +1 -0
- package/dist/lib/enfyra-tool-logic.d.ts +7 -0
- package/dist/lib/enfyra-tool-logic.js +8 -0
- package/dist/lib/enfyra-tool-logic.js.map +1 -0
- package/dist/lib/enfyra-tool-types.d.ts +27 -0
- package/dist/lib/enfyra-tool-types.js +2 -0
- package/dist/lib/enfyra-tool-types.js.map +1 -0
- package/dist/lib/extension-api-builders.d.ts +17 -0
- package/dist/lib/extension-api-builders.js +235 -0
- package/dist/lib/extension-api-builders.js.map +1 -0
- package/dist/lib/extension-component-builders.d.ts +87 -0
- package/dist/lib/extension-component-builders.js +623 -0
- package/dist/lib/extension-component-builders.js.map +1 -0
- package/dist/lib/extension-contract-review.d.ts +26 -0
- package/dist/lib/extension-contract-review.js +187 -0
- package/dist/lib/extension-contract-review.js.map +1 -0
- package/dist/lib/extension-theme-contract.d.ts +63 -0
- package/dist/lib/extension-theme-contract.js +417 -0
- package/dist/lib/extension-theme-contract.js.map +1 -0
- package/dist/lib/identity-tools.d.ts +4 -0
- package/dist/lib/identity-tools.js +46 -0
- package/dist/lib/identity-tools.js.map +1 -0
- package/dist/lib/log-tools.d.ts +4 -0
- package/dist/lib/log-tools.js +65 -0
- package/dist/lib/log-tools.js.map +1 -0
- package/dist/lib/mcp-example-connect.d.ts +9 -0
- package/dist/lib/mcp-example-connect.js +442 -0
- package/dist/lib/mcp-example-connect.js.map +1 -0
- package/dist/lib/mcp-example-extensions.d.ts +9 -0
- package/dist/lib/mcp-example-extensions.js +729 -0
- package/dist/lib/mcp-example-extensions.js.map +1 -0
- package/dist/lib/mcp-example-files.d.ts +9 -0
- package/dist/lib/mcp-example-files.js +51 -0
- package/dist/lib/mcp-example-files.js.map +1 -0
- package/dist/lib/mcp-example-flows.d.ts +9 -0
- package/dist/lib/mcp-example-flows.js +76 -0
- package/dist/lib/mcp-example-flows.js.map +1 -0
- package/dist/lib/mcp-example-graphql.d.ts +9 -0
- package/dist/lib/mcp-example-graphql.js +57 -0
- package/dist/lib/mcp-example-graphql.js.map +1 -0
- package/dist/lib/mcp-example-handlers-hooks.d.ts +9 -0
- package/dist/lib/mcp-example-handlers-hooks.js +328 -0
- package/dist/lib/mcp-example-handlers-hooks.js.map +1 -0
- package/dist/lib/mcp-example-oauth-setup.d.ts +9 -0
- package/dist/lib/mcp-example-oauth-setup.js +41 -0
- package/dist/lib/mcp-example-oauth-setup.js.map +1 -0
- package/dist/lib/mcp-example-permissions-rls.d.ts +9 -0
- package/dist/lib/mcp-example-permissions-rls.js +210 -0
- package/dist/lib/mcp-example-permissions-rls.js.map +1 -0
- package/dist/lib/mcp-example-queries-deep.d.ts +9 -0
- package/dist/lib/mcp-example-queries-deep.js +220 -0
- package/dist/lib/mcp-example-queries-deep.js.map +1 -0
- package/dist/lib/mcp-example-schema-relations.d.ts +9 -0
- package/dist/lib/mcp-example-schema-relations.js +148 -0
- package/dist/lib/mcp-example-schema-relations.js.map +1 -0
- package/dist/lib/mcp-example-websocket.d.ts +9 -0
- package/dist/lib/mcp-example-websocket.js +103 -0
- package/dist/lib/mcp-example-websocket.js.map +1 -0
- package/dist/lib/mcp-examples.d.ts +5 -5
- package/dist/lib/mcp-examples.js +22 -2394
- package/dist/lib/mcp-examples.js.map +1 -1
- package/dist/lib/method-tools.d.ts +4 -0
- package/dist/lib/method-tools.js +217 -0
- package/dist/lib/method-tools.js.map +1 -0
- package/dist/lib/package-tools.d.ts +4 -0
- package/dist/lib/package-tools.js +98 -0
- package/dist/lib/package-tools.js.map +1 -0
- package/dist/lib/platform-data-operations.d.ts +24 -0
- package/dist/lib/platform-data-operations.js +71 -0
- package/dist/lib/platform-data-operations.js.map +1 -0
- package/dist/lib/platform-endpoint-workflow.d.ts +42 -0
- package/dist/lib/platform-endpoint-workflow.js +382 -0
- package/dist/lib/platform-endpoint-workflow.js.map +1 -0
- package/dist/lib/platform-extension-source.d.ts +487 -0
- package/dist/lib/platform-extension-source.js +524 -0
- package/dist/lib/platform-extension-source.js.map +1 -0
- package/dist/lib/platform-extension-tools.d.ts +1 -0
- package/dist/lib/platform-extension-tools.js +416 -0
- package/dist/lib/platform-extension-tools.js.map +1 -0
- package/dist/lib/platform-extension-ui.d.ts +4 -0
- package/dist/lib/platform-extension-ui.js +5 -0
- package/dist/lib/platform-extension-ui.js.map +1 -0
- package/dist/lib/platform-extension-workflow.d.ts +54 -0
- package/dist/lib/platform-extension-workflow.js +194 -0
- package/dist/lib/platform-extension-workflow.js.map +1 -0
- package/dist/lib/platform-flow-operations.d.ts +554 -0
- package/dist/lib/platform-flow-operations.js +317 -0
- package/dist/lib/platform-flow-operations.js.map +1 -0
- package/dist/lib/platform-flow-tools.d.ts +1 -0
- package/dist/lib/platform-flow-tools.js +248 -0
- package/dist/lib/platform-flow-tools.js.map +1 -0
- package/dist/lib/platform-operation-logic.d.ts +10 -0
- package/dist/lib/platform-operation-logic.js +11 -0
- package/dist/lib/platform-operation-logic.js.map +1 -0
- package/dist/lib/platform-operation-tools.d.ts +1 -324
- package/dist/lib/platform-operation-tools.js +13 -4620
- package/dist/lib/platform-operation-tools.js.map +1 -1
- package/dist/lib/platform-operation-types.d.ts +46 -0
- package/dist/lib/platform-operation-types.js +2 -0
- package/dist/lib/platform-operation-types.js.map +1 -0
- package/dist/lib/platform-policy-tools.d.ts +1 -0
- package/dist/lib/platform-policy-tools.js +248 -0
- package/dist/lib/platform-policy-tools.js.map +1 -0
- package/dist/lib/platform-resource-operations.d.ts +124 -0
- package/dist/lib/platform-resource-operations.js +109 -0
- package/dist/lib/platform-resource-operations.js.map +1 -0
- package/dist/lib/platform-resource-tools.d.ts +1 -0
- package/dist/lib/platform-resource-tools.js +70 -0
- package/dist/lib/platform-resource-tools.js.map +1 -0
- package/dist/lib/platform-route-operations.d.ts +222 -0
- package/dist/lib/platform-route-operations.js +290 -0
- package/dist/lib/platform-route-operations.js.map +1 -0
- package/dist/lib/platform-route-tools.d.ts +1 -0
- package/dist/lib/platform-route-tools.js +307 -0
- package/dist/lib/platform-route-tools.js.map +1 -0
- package/dist/lib/platform-shared-operations.d.ts +7 -0
- package/dist/lib/platform-shared-operations.js +4 -0
- package/dist/lib/platform-shared-operations.js.map +1 -0
- package/dist/lib/platform-websocket-tools.d.ts +1 -0
- package/dist/lib/platform-websocket-tools.js +70 -0
- package/dist/lib/platform-websocket-tools.js.map +1 -0
- package/dist/lib/record-tools.d.ts +4 -0
- package/dist/lib/record-tools.js +418 -0
- package/dist/lib/record-tools.js.map +1 -0
- package/dist/lib/required-knowledge.d.ts +1 -1
- package/dist/lib/required-knowledge.js +3 -2
- package/dist/lib/required-knowledge.js.map +1 -1
- package/dist/lib/route-access-tools.d.ts +4 -0
- package/dist/lib/route-access-tools.js +172 -0
- package/dist/lib/route-access-tools.js.map +1 -0
- package/dist/lib/route-definition-tools.d.ts +4 -0
- package/dist/lib/route-definition-tools.js +285 -0
- package/dist/lib/route-definition-tools.js.map +1 -0
- package/dist/lib/route-inspection-tools.d.ts +4 -0
- package/dist/lib/route-inspection-tools.js +319 -0
- package/dist/lib/route-inspection-tools.js.map +1 -0
- package/dist/lib/route-tools.d.ts +1 -0
- package/dist/lib/route-tools.js +9 -0
- package/dist/lib/route-tools.js.map +1 -0
- package/dist/lib/runtime-zone-registry.d.ts +27 -0
- package/dist/lib/runtime-zone-registry.js +81 -0
- package/dist/lib/runtime-zone-registry.js.map +1 -0
- package/dist/lib/runtime-zone-search.d.ts +303 -0
- package/dist/lib/runtime-zone-search.js +596 -0
- package/dist/lib/runtime-zone-search.js.map +1 -0
- package/dist/lib/runtime-zone-tools.d.ts +2 -307
- package/dist/lib/runtime-zone-tools.js +2 -674
- package/dist/lib/runtime-zone-tools.js.map +1 -1
- package/dist/lib/schema-column-tools.d.ts +3 -0
- package/dist/lib/schema-column-tools.js +80 -0
- package/dist/lib/schema-column-tools.js.map +1 -0
- package/dist/lib/schema-mutation-coordinator.d.ts +28 -0
- package/dist/lib/schema-mutation-coordinator.js +154 -0
- package/dist/lib/schema-mutation-coordinator.js.map +1 -0
- package/dist/lib/schema-relation-contracts.d.ts +39 -0
- package/dist/lib/schema-relation-contracts.js +160 -0
- package/dist/lib/schema-relation-contracts.js.map +1 -0
- package/dist/lib/schema-relation-tools.d.ts +3 -0
- package/dist/lib/schema-relation-tools.js +61 -0
- package/dist/lib/schema-relation-tools.js.map +1 -0
- package/dist/lib/schema-table-contracts.d.ts +28 -0
- package/dist/lib/schema-table-contracts.js +263 -0
- package/dist/lib/schema-table-contracts.js.map +1 -0
- package/dist/lib/schema-table-tools.d.ts +3 -0
- package/dist/lib/schema-table-tools.js +297 -0
- package/dist/lib/schema-table-tools.js.map +1 -0
- package/dist/lib/schema-tool-operations.d.ts +150 -0
- package/dist/lib/schema-tool-operations.js +468 -0
- package/dist/lib/schema-tool-operations.js.map +1 -0
- package/dist/lib/schema-tool-types.d.ts +38 -0
- package/dist/lib/schema-tool-types.js +2 -0
- package/dist/lib/schema-tool-types.js.map +1 -0
- package/dist/lib/schema-verification.d.ts +14 -0
- package/dist/lib/schema-verification.js +105 -0
- package/dist/lib/schema-verification.js.map +1 -0
- package/dist/lib/script-tools.d.ts +4 -0
- package/dist/lib/script-tools.js +127 -0
- package/dist/lib/script-tools.js.map +1 -0
- package/dist/lib/system-tools.d.ts +4 -0
- package/dist/lib/system-tools.js +41 -0
- package/dist/lib/system-tools.js.map +1 -0
- package/dist/lib/table-tool-logic.d.ts +5 -0
- package/dist/lib/table-tool-logic.js +6 -0
- package/dist/lib/table-tool-logic.js.map +1 -0
- package/dist/lib/table-tools.d.ts +1 -84
- package/dist/lib/table-tools.js +7 -1522
- package/dist/lib/table-tools.js.map +1 -1
- package/dist/lib/tool-catalog.d.ts +2 -1
- package/dist/lib/tool-catalog.js +23 -2
- package/dist/lib/tool-catalog.js.map +1 -1
- package/dist/lib/tool-metadata-operations.d.ts +27 -0
- package/dist/lib/tool-metadata-operations.js +93 -0
- package/dist/lib/tool-metadata-operations.js.map +1 -0
- package/dist/lib/tool-permission-profile.d.ts +37 -0
- package/dist/lib/tool-permission-profile.js +106 -0
- package/dist/lib/tool-permission-profile.js.map +1 -0
- package/dist/lib/tool-record-operations.d.ts +102 -0
- package/dist/lib/tool-record-operations.js +260 -0
- package/dist/lib/tool-record-operations.js.map +1 -0
- package/dist/lib/tool-route-inspection.d.ts +47 -0
- package/dist/lib/tool-route-inspection.js +168 -0
- package/dist/lib/tool-route-inspection.js.map +1 -0
- package/dist/lib/tool-routing.d.ts +3 -417
- package/dist/lib/tool-routing.js +3 -1038
- package/dist/lib/tool-routing.js.map +1 -1
- package/dist/lib/tool-runtime-config.d.ts +33 -0
- package/dist/lib/tool-runtime-config.js +237 -0
- package/dist/lib/tool-runtime-config.js.map +1 -0
- package/dist/lib/tool-script-operations.d.ts +34 -0
- package/dist/lib/tool-script-operations.js +153 -0
- package/dist/lib/tool-script-operations.js.map +1 -0
- package/dist/lib/workflow-definitions.d.ts +366 -0
- package/dist/lib/workflow-definitions.js +703 -0
- package/dist/lib/workflow-definitions.js.map +1 -0
- package/dist/lib/workflow-planner.d.ts +45 -0
- package/dist/lib/workflow-planner.js +338 -0
- package/dist/lib/workflow-planner.js.map +1 -0
- package/dist/lib/workflow-types.d.ts +39 -0
- package/dist/lib/workflow-types.js +2 -0
- package/dist/lib/workflow-types.js.map +1 -0
- package/dist/mcp-server-entry.d.ts +0 -3
- package/dist/mcp-server-entry.js +2 -3249
- package/dist/mcp-server-entry.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './platform-shared-operations.js';
|
|
2
|
+
export * from './platform-route-operations.js';
|
|
3
|
+
export * from './platform-extension-ui.js';
|
|
4
|
+
export * from './platform-extension-source.js';
|
|
5
|
+
export * from './platform-data-operations.js';
|
|
6
|
+
export * from './platform-resource-operations.js';
|
|
7
|
+
export * from './platform-flow-operations.js';
|
|
8
|
+
export * from './platform-endpoint-workflow.js';
|
|
9
|
+
export * from './platform-extension-workflow.js';
|
|
10
|
+
export * from './platform-operation-types.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './platform-shared-operations.js';
|
|
2
|
+
export * from './platform-route-operations.js';
|
|
3
|
+
export * from './platform-extension-ui.js';
|
|
4
|
+
export * from './platform-extension-source.js';
|
|
5
|
+
export * from './platform-data-operations.js';
|
|
6
|
+
export * from './platform-resource-operations.js';
|
|
7
|
+
export * from './platform-flow-operations.js';
|
|
8
|
+
export * from './platform-endpoint-workflow.js';
|
|
9
|
+
export * from './platform-extension-workflow.js';
|
|
10
|
+
export * from './platform-operation-types.js';
|
|
11
|
+
//# sourceMappingURL=platform-operation-logic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-operation-logic.js","sourceRoot":"","sources":["../../src/lib/platform-operation-logic.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,325 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function summarizeWorkflowOperation(operation: AnyRecord): {
|
|
3
|
-
routeReload?: {
|
|
4
|
-
attempted: boolean;
|
|
5
|
-
succeeded: boolean;
|
|
6
|
-
};
|
|
7
|
-
action: any;
|
|
8
|
-
result: {
|
|
9
|
-
record?: {
|
|
10
|
-
[k: string]: any;
|
|
11
|
-
};
|
|
12
|
-
statusCode: any;
|
|
13
|
-
message: any;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare function buildExtensionDrawerSnippet(input: any): {
|
|
17
|
-
action: string;
|
|
18
|
-
component: string;
|
|
19
|
-
snippet: string;
|
|
20
|
-
normalizedBodyChanges: string[];
|
|
21
|
-
warnings: string[];
|
|
22
|
-
contract: string[];
|
|
23
|
-
};
|
|
24
|
-
export declare function buildExtensionModalSnippet(input: any): {
|
|
25
|
-
action: string;
|
|
26
|
-
component: string;
|
|
27
|
-
snippet: string;
|
|
28
|
-
normalizedBodyChanges: string[];
|
|
29
|
-
warnings: string[];
|
|
30
|
-
contract: string[];
|
|
31
|
-
};
|
|
32
|
-
export declare function buildExtensionPageShellSnippet(input: any): {
|
|
33
|
-
action: string;
|
|
34
|
-
snippet: string;
|
|
35
|
-
contract: string[];
|
|
36
|
-
};
|
|
37
|
-
export declare function buildExtensionPermissionGateSnippet(input: any): {
|
|
38
|
-
action: string;
|
|
39
|
-
component: string;
|
|
40
|
-
snippet: string;
|
|
41
|
-
normalizedBodyChanges: string[];
|
|
42
|
-
warnings: string[];
|
|
43
|
-
contract: string[];
|
|
44
|
-
};
|
|
45
|
-
export declare function buildExtensionEmptyStateSnippet(input: any): {
|
|
46
|
-
action: string;
|
|
47
|
-
component: string;
|
|
48
|
-
snippet: string;
|
|
49
|
-
contract: string[];
|
|
50
|
-
};
|
|
51
|
-
export declare function buildExtensionResourceListSnippet(input: any): {
|
|
52
|
-
action: string;
|
|
53
|
-
components: string[];
|
|
54
|
-
snippet: string;
|
|
55
|
-
contract: string[];
|
|
56
|
-
};
|
|
57
|
-
export declare function buildExtensionResourceGridSnippet(input: any): {
|
|
58
|
-
action: string;
|
|
59
|
-
component: string;
|
|
60
|
-
snippet: string;
|
|
61
|
-
normalizedBodyChanges: string[];
|
|
62
|
-
contract: string[];
|
|
63
|
-
};
|
|
64
|
-
export declare function buildExtensionFormEditorSnippet(input: any): {
|
|
65
|
-
action: string;
|
|
66
|
-
component: string;
|
|
67
|
-
snippet: string;
|
|
68
|
-
contract: string[];
|
|
69
|
-
};
|
|
70
|
-
export declare function buildExtensionWidgetSnippet(input: any): {
|
|
71
|
-
action: string;
|
|
72
|
-
component: string;
|
|
73
|
-
snippet: string;
|
|
74
|
-
warnings: string[];
|
|
75
|
-
contract: string[];
|
|
76
|
-
};
|
|
77
|
-
export declare function buildExtensionMenuNotificationSnippet(input: any): {
|
|
78
|
-
action: string;
|
|
79
|
-
snippet: string;
|
|
80
|
-
contract: string[];
|
|
81
|
-
};
|
|
82
|
-
export declare function buildExtensionAccountPanelSnippet(input: any): {
|
|
83
|
-
action: string;
|
|
84
|
-
snippet: string;
|
|
85
|
-
contract: string[];
|
|
86
|
-
};
|
|
87
|
-
export declare function buildExtensionTabsSnippet(input: any): {
|
|
88
|
-
action: string;
|
|
89
|
-
component: string;
|
|
90
|
-
snippet: string;
|
|
91
|
-
contract: string[];
|
|
92
|
-
};
|
|
93
|
-
export declare function buildExtensionUploadModalSnippet(input: any): {
|
|
94
|
-
action: string;
|
|
95
|
-
component: string;
|
|
96
|
-
snippet: string;
|
|
97
|
-
companionSnippet: string;
|
|
98
|
-
contract: string[];
|
|
99
|
-
};
|
|
100
|
-
export declare function buildExtensionApiUsageSnippet(input?: AnyRecord): {
|
|
101
|
-
action: string;
|
|
102
|
-
operation: string;
|
|
103
|
-
snippet: string;
|
|
104
|
-
contract: string[];
|
|
105
|
-
};
|
|
106
|
-
export declare function buildExtensionNotifySnippet(input?: AnyRecord): {
|
|
107
|
-
action: string;
|
|
108
|
-
snippet: string;
|
|
109
|
-
contract: string[];
|
|
110
|
-
};
|
|
111
|
-
export declare function buildExtensionConfirmSnippet(input?: AnyRecord): {
|
|
112
|
-
action: string;
|
|
113
|
-
snippet: string;
|
|
114
|
-
contract: string[];
|
|
115
|
-
};
|
|
116
|
-
export declare function reviewExtensionUiContract(code: any, options?: AnyRecord): {
|
|
117
|
-
action: string;
|
|
118
|
-
pattern: string;
|
|
119
|
-
valid: boolean;
|
|
120
|
-
issueCount: number;
|
|
121
|
-
issues: {
|
|
122
|
-
severity: "error" | "warning";
|
|
123
|
-
rule: string;
|
|
124
|
-
message: string;
|
|
125
|
-
suggestion: string;
|
|
126
|
-
}[];
|
|
127
|
-
nextSteps: string[];
|
|
128
|
-
};
|
|
129
|
-
export declare function reviewExtensionRuntimeContract(code: any): {
|
|
130
|
-
action: string;
|
|
131
|
-
valid: boolean;
|
|
132
|
-
issueCount: number;
|
|
133
|
-
issues: {
|
|
134
|
-
severity: "error" | "warning";
|
|
135
|
-
rule: string;
|
|
136
|
-
message: string;
|
|
137
|
-
suggestion: string;
|
|
138
|
-
}[];
|
|
139
|
-
nextSteps: string[];
|
|
140
|
-
};
|
|
141
|
-
export declare function reviewExtensionThemeContract(code: any): {
|
|
142
|
-
action: string;
|
|
143
|
-
valid: boolean;
|
|
144
|
-
issueCount: number;
|
|
145
|
-
issues: {
|
|
146
|
-
severity: "error" | "warning";
|
|
147
|
-
rule: string;
|
|
148
|
-
message: string;
|
|
149
|
-
suggestion: string;
|
|
150
|
-
}[];
|
|
151
|
-
nextSteps: string[];
|
|
152
|
-
};
|
|
153
|
-
export declare function buildExtensionUiSnippet(kind: string, input?: AnyRecord): any;
|
|
154
|
-
export declare function validateExtensionCodeLocally(code: any, options?: AnyRecord): {
|
|
155
|
-
vueSfcAst: string;
|
|
156
|
-
componentCasing: string;
|
|
157
|
-
fieldWidth: string;
|
|
158
|
-
themeContract: string;
|
|
159
|
-
runtimeContract: string;
|
|
160
|
-
};
|
|
161
|
-
export declare function validateExtensionCode(apiUrl: any, code: any, name: any, options?: AnyRecord): Promise<{
|
|
162
|
-
valid: boolean;
|
|
163
|
-
localChecks: {
|
|
164
|
-
vueSfcAst: string;
|
|
165
|
-
componentCasing: string;
|
|
166
|
-
fieldWidth: string;
|
|
167
|
-
themeContract: string;
|
|
168
|
-
runtimeContract: string;
|
|
169
|
-
};
|
|
170
|
-
extensionId: any;
|
|
171
|
-
compiledLength: any;
|
|
172
|
-
}>;
|
|
173
|
-
export declare function buildExtensionRuntimeVerification({ extension, code, validation, uiPattern, expectedSha256 }: {
|
|
174
|
-
extension: any;
|
|
175
|
-
code: any;
|
|
176
|
-
validation: any;
|
|
177
|
-
uiPattern: any;
|
|
178
|
-
expectedSha256: any;
|
|
179
|
-
}): {
|
|
180
|
-
action: string;
|
|
181
|
-
valid: boolean;
|
|
182
|
-
extension: {
|
|
183
|
-
id: any;
|
|
184
|
-
name: any;
|
|
185
|
-
type: any;
|
|
186
|
-
isEnabled: any;
|
|
187
|
-
version: any;
|
|
188
|
-
sha256: string;
|
|
189
|
-
length: number;
|
|
190
|
-
};
|
|
191
|
-
checks: {
|
|
192
|
-
savedRecord: {
|
|
193
|
-
status: string;
|
|
194
|
-
};
|
|
195
|
-
expectedHash: {
|
|
196
|
-
status: string;
|
|
197
|
-
expectedSha256: any;
|
|
198
|
-
currentSha256: string;
|
|
199
|
-
};
|
|
200
|
-
serverCompile: {
|
|
201
|
-
status: string;
|
|
202
|
-
compiledLength: any;
|
|
203
|
-
};
|
|
204
|
-
uiContract: {
|
|
205
|
-
status: string;
|
|
206
|
-
issueCount: any;
|
|
207
|
-
pattern: any;
|
|
208
|
-
};
|
|
209
|
-
themeContract: {
|
|
210
|
-
status: string;
|
|
211
|
-
issueCount: any;
|
|
212
|
-
};
|
|
213
|
-
runtimeContract: {
|
|
214
|
-
status: string;
|
|
215
|
-
issueCount: any;
|
|
216
|
-
};
|
|
217
|
-
menuWiring: {
|
|
218
|
-
status: string;
|
|
219
|
-
applicable: boolean;
|
|
220
|
-
menu: {
|
|
221
|
-
id: any;
|
|
222
|
-
label: any;
|
|
223
|
-
path: any;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
browserRender: {
|
|
227
|
-
status: string;
|
|
228
|
-
reason: string;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
contractReview: any;
|
|
232
|
-
coverage: {
|
|
233
|
-
verified: string[];
|
|
234
|
-
browserRequiredForFullRuntimeProof: boolean;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
export declare function verifyExtensionRuntime(apiUrl: any, { id, name, uiPattern, expectedSha256 }: {
|
|
238
|
-
id: any;
|
|
239
|
-
name: any;
|
|
240
|
-
uiPattern: any;
|
|
241
|
-
expectedSha256: any;
|
|
242
|
-
}): Promise<{
|
|
243
|
-
action: string;
|
|
244
|
-
valid: boolean;
|
|
245
|
-
extension: {
|
|
246
|
-
id: any;
|
|
247
|
-
name: any;
|
|
248
|
-
type: any;
|
|
249
|
-
isEnabled: any;
|
|
250
|
-
version: any;
|
|
251
|
-
sha256: string;
|
|
252
|
-
length: number;
|
|
253
|
-
};
|
|
254
|
-
checks: {
|
|
255
|
-
savedRecord: {
|
|
256
|
-
status: string;
|
|
257
|
-
};
|
|
258
|
-
expectedHash: {
|
|
259
|
-
status: string;
|
|
260
|
-
expectedSha256: any;
|
|
261
|
-
currentSha256: string;
|
|
262
|
-
};
|
|
263
|
-
serverCompile: {
|
|
264
|
-
status: string;
|
|
265
|
-
compiledLength: any;
|
|
266
|
-
};
|
|
267
|
-
uiContract: {
|
|
268
|
-
status: string;
|
|
269
|
-
issueCount: any;
|
|
270
|
-
pattern: any;
|
|
271
|
-
};
|
|
272
|
-
themeContract: {
|
|
273
|
-
status: string;
|
|
274
|
-
issueCount: any;
|
|
275
|
-
};
|
|
276
|
-
runtimeContract: {
|
|
277
|
-
status: string;
|
|
278
|
-
issueCount: any;
|
|
279
|
-
};
|
|
280
|
-
menuWiring: {
|
|
281
|
-
status: string;
|
|
282
|
-
applicable: boolean;
|
|
283
|
-
menu: {
|
|
284
|
-
id: any;
|
|
285
|
-
label: any;
|
|
286
|
-
path: any;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
browserRender: {
|
|
290
|
-
status: string;
|
|
291
|
-
reason: string;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
contractReview: any;
|
|
295
|
-
coverage: {
|
|
296
|
-
verified: string[];
|
|
297
|
-
browserRequiredForFullRuntimeProof: boolean;
|
|
298
|
-
};
|
|
299
|
-
}>;
|
|
300
|
-
export declare function applyExtensionCodePatches(code: any, patches: any): {
|
|
301
|
-
code: string;
|
|
302
|
-
patches: {
|
|
303
|
-
search: string;
|
|
304
|
-
replace: string;
|
|
305
|
-
searchMode: any;
|
|
306
|
-
replaceAll: boolean;
|
|
307
|
-
}[];
|
|
308
|
-
results: any[];
|
|
309
|
-
};
|
|
310
|
-
export declare function buildExtensionPatchDiffArtifact({ id, name, currentSha256, nextSha256, patches }: {
|
|
311
|
-
id: any;
|
|
312
|
-
name: any;
|
|
313
|
-
currentSha256: any;
|
|
314
|
-
nextSha256: any;
|
|
315
|
-
patches: any;
|
|
316
|
-
}): {
|
|
317
|
-
resourceUri: string;
|
|
318
|
-
tmpFile: string;
|
|
319
|
-
length: number;
|
|
320
|
-
sha256: string;
|
|
321
|
-
preview: string;
|
|
322
|
-
};
|
|
323
|
-
export declare function assertFixedFlowStepConfigIsStatic(type: any, config: any, index?: number): void;
|
|
1
|
+
export { applyExtensionCodePatches, assertFixedFlowStepConfigIsStatic, buildExtensionAccountPanelSnippet, buildExtensionApiUsageSnippet, buildExtensionConfirmSnippet, buildExtensionDrawerSnippet, buildExtensionEmptyStateSnippet, buildExtensionFormEditorSnippet, buildExtensionMenuNotificationSnippet, buildExtensionModalSnippet, buildExtensionNotifySnippet, buildExtensionPageShellSnippet, buildExtensionPatchDiffArtifact, buildExtensionPermissionGateSnippet, buildExtensionResourceGridSnippet, buildExtensionResourceListSnippet, buildExtensionTabsSnippet, buildExtensionUiSnippet, buildExtensionUploadModalSnippet, buildExtensionWidgetSnippet, buildExtensionRuntimeVerification, reviewExtensionRuntimeContract, reviewExtensionThemeContract, reviewExtensionUiContract, summarizeWorkflowOperation, validateExtensionCode, validateExtensionCodeLocally, verifyExtensionRuntime, } from './platform-operation-logic.js';
|
|
324
2
|
export declare function registerPlatformOperationTools(server: any, ENFYRA_API_URL: any): void;
|
|
325
|
-
export {};
|