@prismatic-io/spectral 10.5.7 → 10.5.9-rc.0
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/serverTypes/convertIntegration.js +7 -1
- package/dist/serverTypes/index.d.ts +2 -2
- package/dist/testing.js +1 -7
- package/dist/types/ActionPerformFunction.d.ts +1 -2
- package/dist/types/{FlowSchema.d.ts → FlowSchemas.d.ts} +4 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
- /package/dist/types/{FlowSchema.js → FlowSchemas.js} +0 -0
|
@@ -65,7 +65,9 @@ const convertConfigPages = (pages, userLevelConfigured) => {
|
|
|
65
65
|
return [];
|
|
66
66
|
}
|
|
67
67
|
return Object.entries(pages).map(([name, { tagline, elements }]) => (Object.assign(Object.assign({ name,
|
|
68
|
-
tagline }, (userLevelConfigured ? { userLevelConfigured } : {})), { elements: Object.entries(elements)
|
|
68
|
+
tagline }, (userLevelConfigured ? { userLevelConfigured } : {})), { elements: Object.entries(elements)
|
|
69
|
+
.filter(([key, value]) => !(0, types_1.isConnectionScopedConfigVar)(value))
|
|
70
|
+
.map(([key, value]) => {
|
|
69
71
|
if (typeof value === "string") {
|
|
70
72
|
return {
|
|
71
73
|
type: "htmlElement",
|
|
@@ -380,6 +382,10 @@ const convertConfigVar = (key, configVar, referenceKey, componentRegistry) => {
|
|
|
380
382
|
stableKey,
|
|
381
383
|
dataType: "connection",
|
|
382
384
|
useScopedConfigVar: stableKey,
|
|
385
|
+
meta: {
|
|
386
|
+
visibleToCustomerDeployer: false,
|
|
387
|
+
visibleToOrgDeployer: false,
|
|
388
|
+
},
|
|
383
389
|
};
|
|
384
390
|
}
|
|
385
391
|
const { orgOnly, meta } = convertConfigVarPermissionAndVisibility((0, pick_1.default)(configVar, ["permissionAndVisibilityType", "visibleToOrgDeployer"]));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { InstanceAttributes, CustomerAttributes, DataSourceType, DataSourceResultType, UserAttributes, TriggerEventFunctionReturn, IntegrationAttributes, FlowAttributes, ConfigVarResultCollection, ComponentManifest, FlowInvoker, ExecutionFrame, DebugContext } from "../types";
|
|
2
|
-
import { FlowSchemas } from "../types/FlowSchema";
|
|
1
|
+
import { InstanceAttributes, CustomerAttributes, DataSourceType, DataSourceResultType, UserAttributes, TriggerEventFunctionReturn, IntegrationAttributes, FlowAttributes, ConfigVarResultCollection, ComponentManifest, FlowInvoker, ExecutionFrame, DebugContext, FlowSchemas } from "../types";
|
|
3
2
|
interface DisplayDefinition {
|
|
4
3
|
label: string;
|
|
5
4
|
description: string;
|
|
@@ -9,6 +8,7 @@ export { CustomerAttributes } from "../types";
|
|
|
9
8
|
export { UserAttributes } from "../types";
|
|
10
9
|
export { IntegrationAttributes } from "../types";
|
|
11
10
|
export { FlowAttributes } from "../types";
|
|
11
|
+
export { FlowSchemas } from "../types";
|
|
12
12
|
export interface Component {
|
|
13
13
|
key: string;
|
|
14
14
|
public?: boolean;
|
package/dist/testing.js
CHANGED
|
@@ -134,13 +134,7 @@ const createActionContext = (context) => {
|
|
|
134
134
|
memoryUsage: [],
|
|
135
135
|
allowedMemory: 1024,
|
|
136
136
|
},
|
|
137
|
-
}, flowSchemas: {
|
|
138
|
-
invoke: {
|
|
139
|
-
properties: {},
|
|
140
|
-
type: "",
|
|
141
|
-
title: "",
|
|
142
|
-
},
|
|
143
|
-
} }, context);
|
|
137
|
+
}, flowSchemas: {} }, context);
|
|
144
138
|
};
|
|
145
139
|
const createDataSourceContext = (context) => {
|
|
146
140
|
return Object.assign({ logger: (0, exports.loggerMock)(), configVars: {}, customer: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from "axios";
|
|
2
|
-
import { Inputs, ConfigVarResultCollection, ActionPerformReturn, ActionInputParameters, ActionLogger, InstanceAttributes, CustomerAttributes, UserAttributes, IntegrationAttributes, FlowAttributes, ComponentManifest } from ".";
|
|
3
|
-
import { FlowSchemas } from "./FlowSchema";
|
|
2
|
+
import { Inputs, ConfigVarResultCollection, ActionPerformReturn, ActionInputParameters, ActionLogger, InstanceAttributes, CustomerAttributes, UserAttributes, IntegrationAttributes, FlowAttributes, ComponentManifest, FlowSchemas } from ".";
|
|
4
3
|
interface StandardLineage {
|
|
5
4
|
componentActionKey: string;
|
|
6
5
|
executionId: string;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -64,4 +64,5 @@ __exportStar(require("./IntegrationDefinition"), exports);
|
|
|
64
64
|
__exportStar(require("./ComponentManifest"), exports);
|
|
65
65
|
__exportStar(require("./ScopedConfigVars"), exports);
|
|
66
66
|
__exportStar(require("./PollingTriggerDefinition"), exports);
|
|
67
|
+
__exportStar(require("./FlowSchemas"), exports);
|
|
67
68
|
exports.serverTypes = __importStar(require("../serverTypes"));
|
package/package.json
CHANGED
|
File without changes
|