@red-hat-developer-hub/backstage-plugin-orchestrator-common 2.0.1 → 3.0.1
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/CHANGELOG.md +16 -0
- package/dist/QueryParams.cjs.js +2 -0
- package/dist/QueryParams.cjs.js.map +1 -1
- package/dist/QueryParams.esm.js +2 -1
- package/dist/QueryParams.esm.js.map +1 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +1 -1
- package/package.json +13 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
## @red-hat-developer-hub/backstage-plugin-orchestrator-common [1.13.1](https://github.com/janus-idp/backstage-plugins/compare/@red-hat-developer-hub/backstage-plugin-orchestrator-common@1.13.0...@red-hat-developer-hub/backstage-plugin-orchestrator-common@1.13.1) (2024-08-02)
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 32e0a44: https://issues.redhat.com/browse/FLPATH-2493
|
|
8
|
+
|
|
9
|
+
## 3.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- 3fce49c: Update dependencies to macth Backstage 1.39.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 784d858: Updated dependency `@openapitools/openapi-generator-cli` to `2.21.4`.
|
|
18
|
+
|
|
3
19
|
## 2.0.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/QueryParams.cjs.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const QUERY_PARAM_INSTANCE_ID = "instanceId";
|
|
4
|
+
const QUERY_PARAM_PREVIOUS_INSTANCE_ID = "previousInstanceId";
|
|
4
5
|
|
|
5
6
|
exports.QUERY_PARAM_INSTANCE_ID = QUERY_PARAM_INSTANCE_ID;
|
|
7
|
+
exports.QUERY_PARAM_PREVIOUS_INSTANCE_ID = QUERY_PARAM_PREVIOUS_INSTANCE_ID;
|
|
6
8
|
//# sourceMappingURL=QueryParams.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryParams.cjs.js","sources":["../src/QueryParams.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const QUERY_PARAM_INSTANCE_ID = 'instanceId' as const;\n"],"names":[],"mappings":";;AAgBO,MAAM,uBAAA,GAA0B
|
|
1
|
+
{"version":3,"file":"QueryParams.cjs.js","sources":["../src/QueryParams.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const QUERY_PARAM_INSTANCE_ID = 'instanceId' as const;\nexport const QUERY_PARAM_PREVIOUS_INSTANCE_ID = 'previousInstanceId' as const;\n"],"names":[],"mappings":";;AAgBO,MAAM,uBAAA,GAA0B;AAChC,MAAM,gCAAA,GAAmC;;;;;"}
|
package/dist/QueryParams.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryParams.esm.js","sources":["../src/QueryParams.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const QUERY_PARAM_INSTANCE_ID = 'instanceId' as const;\n"],"names":[],"mappings":"AAgBO,MAAM,uBAAA,GAA0B;;;;"}
|
|
1
|
+
{"version":3,"file":"QueryParams.esm.js","sources":["../src/QueryParams.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const QUERY_PARAM_INSTANCE_ID = 'instanceId' as const;\nexport const QUERY_PARAM_PREVIOUS_INSTANCE_ID = 'previousInstanceId' as const;\n"],"names":[],"mappings":"AAgBO,MAAM,uBAAA,GAA0B;AAChC,MAAM,gCAAA,GAAmC;;;;"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.toWorkflowJson = workflow.toWorkflowJson;
|
|
|
43
43
|
exports.toWorkflowString = workflow.toWorkflowString;
|
|
44
44
|
exports.toWorkflowYaml = workflow.toWorkflowYaml;
|
|
45
45
|
exports.QUERY_PARAM_INSTANCE_ID = QueryParams.QUERY_PARAM_INSTANCE_ID;
|
|
46
|
+
exports.QUERY_PARAM_PREVIOUS_INSTANCE_ID = QueryParams.QUERY_PARAM_PREVIOUS_INSTANCE_ID;
|
|
46
47
|
exports.capitalize = StringUtils.capitalize;
|
|
47
48
|
exports.ellipsis = StringUtils.ellipsis;
|
|
48
49
|
exports.orchestratorAdminViewPermission = permissions.orchestratorAdminViewPermission;
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1542,9 +1542,10 @@ declare function parseWorkflowVariables(variables?: object): object | undefined;
|
|
|
1542
1542
|
declare function extractWorkflowFormat(source: string): WorkflowFormat;
|
|
1543
1543
|
|
|
1544
1544
|
declare const QUERY_PARAM_INSTANCE_ID: "instanceId";
|
|
1545
|
+
declare const QUERY_PARAM_PREVIOUS_INSTANCE_ID: "previousInstanceId";
|
|
1545
1546
|
|
|
1546
1547
|
type Capitalized<S extends string> = Capitalize<Lowercase<S>>;
|
|
1547
|
-
declare const capitalize: <S extends string>(text: S) =>
|
|
1548
|
+
declare const capitalize: <S extends string>(text: S) => Capitalized<S>;
|
|
1548
1549
|
declare const ellipsis: <S extends string>(text: S, prefixLength?: number) => string;
|
|
1549
1550
|
|
|
1550
1551
|
declare const orchestratorWorkflowPermission: _backstage_plugin_permission_common.BasicPermission;
|
|
@@ -1580,4 +1581,4 @@ type AuthTokenDescriptor = {
|
|
|
1580
1581
|
tokenType?: 'openId' | 'oauth';
|
|
1581
1582
|
};
|
|
1582
1583
|
|
|
1583
|
-
export { type AuthToken, type AuthTokenDescriptor, type Capitalized, type ComposedSchema, Configuration, type ConfigurationParameters, DEFAULT_SONATAFLOW_BASE_URL, DEFAULT_SONATAFLOW_CONTAINER_IMAGE, DEFAULT_SONATAFLOW_PERSISTENCE_PATH, DEFAULT_WORKFLOWS_PATH, DefaultApi, DefaultApiAxiosParamCreator, DefaultApiFactory, DefaultApiFp, type ErrorResponse, type ExecuteWorkflowRequestDTO, type ExecuteWorkflowResponseDTO, type FieldFilter, FieldFilterOperatorEnum, type FieldFilterValue, type Filter, type GetOverviewsRequestParams, type InputSchemaResponseDTO, type IntrospectionField, type IntrospectionQuery, type IntrospectionType, type IntrospectionTypeRef, type JsonObjectSchema, type LogicalFilter, LogicalFilterOperatorEnum, type Milestone, MilestoneStatus, type NestedFilter, type NestedFilterNested, type Node, type NodeInstance, type NodeInstanceDTO, type OmitRecursively, type PaginationInfoDTO, PaginationInfoDTOOrderDirectionEnum, type ProcessInstance, type ProcessInstanceDTO, type ProcessInstanceError, type ProcessInstanceErrorDTO, type ProcessInstanceListResultDTO, ProcessInstanceState, type ProcessInstanceStateValues, ProcessInstanceStatusDTO, type ProcessInstanceVariables, QUERY_PARAM_INSTANCE_ID, type SearchRequest, type TriggerableNode, TypeKind, TypeName, type WorkflowDTO, type WorkflowDataDTO, type WorkflowDefinition, type WorkflowExecutionResponse, type WorkflowFormat, WorkflowFormatDTO, type WorkflowInfo, type WorkflowInputSchemaStep, type WorkflowListResult, type WorkflowListResultDTO, type WorkflowOverview, type WorkflowOverviewDTO, type WorkflowOverviewListResult, type WorkflowOverviewListResultDTO, type WorkflowProgressDTO, type WorkflowResultDTO, type WorkflowResultDTONextWorkflowsInner, type WorkflowResultDTOOutputsInner, WorkflowResultDTOOutputsInnerFormatEnum, type WorkflowResultDTOOutputsInnerValue, type WorkflowRunStatusDTO, capitalize, ellipsis, extractWorkflowFormat, extractWorkflowFormatFromUri, fromWorkflowSource, isComposedSchema, isJsonObjectSchema, openApiDocument, orchestratorAdminViewPermission, orchestratorInstanceAdminViewPermission, orchestratorPermissions, orchestratorWorkflowPermission, orchestratorWorkflowSpecificPermission, orchestratorWorkflowUsePermission, orchestratorWorkflowUseSpecificPermission, parseWorkflowVariables, toWorkflowJson, toWorkflowString, toWorkflowYaml };
|
|
1584
|
+
export { type AuthToken, type AuthTokenDescriptor, type Capitalized, type ComposedSchema, Configuration, type ConfigurationParameters, DEFAULT_SONATAFLOW_BASE_URL, DEFAULT_SONATAFLOW_CONTAINER_IMAGE, DEFAULT_SONATAFLOW_PERSISTENCE_PATH, DEFAULT_WORKFLOWS_PATH, DefaultApi, DefaultApiAxiosParamCreator, DefaultApiFactory, DefaultApiFp, type ErrorResponse, type ExecuteWorkflowRequestDTO, type ExecuteWorkflowResponseDTO, type FieldFilter, FieldFilterOperatorEnum, type FieldFilterValue, type Filter, type GetOverviewsRequestParams, type InputSchemaResponseDTO, type IntrospectionField, type IntrospectionQuery, type IntrospectionType, type IntrospectionTypeRef, type JsonObjectSchema, type LogicalFilter, LogicalFilterOperatorEnum, type Milestone, MilestoneStatus, type NestedFilter, type NestedFilterNested, type Node, type NodeInstance, type NodeInstanceDTO, type OmitRecursively, type PaginationInfoDTO, PaginationInfoDTOOrderDirectionEnum, type ProcessInstance, type ProcessInstanceDTO, type ProcessInstanceError, type ProcessInstanceErrorDTO, type ProcessInstanceListResultDTO, ProcessInstanceState, type ProcessInstanceStateValues, ProcessInstanceStatusDTO, type ProcessInstanceVariables, QUERY_PARAM_INSTANCE_ID, QUERY_PARAM_PREVIOUS_INSTANCE_ID, type SearchRequest, type TriggerableNode, TypeKind, TypeName, type WorkflowDTO, type WorkflowDataDTO, type WorkflowDefinition, type WorkflowExecutionResponse, type WorkflowFormat, WorkflowFormatDTO, type WorkflowInfo, type WorkflowInputSchemaStep, type WorkflowListResult, type WorkflowListResultDTO, type WorkflowOverview, type WorkflowOverviewDTO, type WorkflowOverviewListResult, type WorkflowOverviewListResultDTO, type WorkflowProgressDTO, type WorkflowResultDTO, type WorkflowResultDTONextWorkflowsInner, type WorkflowResultDTOOutputsInner, WorkflowResultDTOOutputsInnerFormatEnum, type WorkflowResultDTOOutputsInnerValue, type WorkflowRunStatusDTO, capitalize, ellipsis, extractWorkflowFormat, extractWorkflowFormatFromUri, fromWorkflowSource, isComposedSchema, isJsonObjectSchema, openApiDocument, orchestratorAdminViewPermission, orchestratorInstanceAdminViewPermission, orchestratorPermissions, orchestratorWorkflowPermission, orchestratorWorkflowSpecificPermission, orchestratorWorkflowUsePermission, orchestratorWorkflowUseSpecificPermission, parseWorkflowVariables, toWorkflowJson, toWorkflowString, toWorkflowYaml };
|
package/dist/index.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Configuration } from './generated/client/configuration.esm.js';
|
|
|
5
5
|
export { DEFAULT_SONATAFLOW_BASE_URL, DEFAULT_SONATAFLOW_CONTAINER_IMAGE, DEFAULT_SONATAFLOW_PERSISTENCE_PATH, DEFAULT_WORKFLOWS_PATH } from './constants.esm.js';
|
|
6
6
|
export { MilestoneStatus, ProcessInstanceState, TypeKind, TypeName } from './models.esm.js';
|
|
7
7
|
export { extractWorkflowFormat, extractWorkflowFormatFromUri, fromWorkflowSource, parseWorkflowVariables, toWorkflowJson, toWorkflowString, toWorkflowYaml } from './workflow.esm.js';
|
|
8
|
-
export { QUERY_PARAM_INSTANCE_ID } from './QueryParams.esm.js';
|
|
8
|
+
export { QUERY_PARAM_INSTANCE_ID, QUERY_PARAM_PREVIOUS_INSTANCE_ID } from './QueryParams.esm.js';
|
|
9
9
|
export { capitalize, ellipsis } from './utils/StringUtils.esm.js';
|
|
10
10
|
export { orchestratorAdminViewPermission, orchestratorInstanceAdminViewPermission, orchestratorPermissions, orchestratorWorkflowPermission, orchestratorWorkflowSpecificPermission, orchestratorWorkflowUsePermission, orchestratorWorkflowUseSpecificPermission } from './permissions.esm.js';
|
|
11
11
|
//# sourceMappingURL=index.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@red-hat-developer-hub/backstage-plugin-orchestrator-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"backstage": {
|
|
14
14
|
"role": "common-library",
|
|
15
|
-
"supported-versions": "1.
|
|
15
|
+
"supported-versions": "1.39.1",
|
|
16
16
|
"pluginId": "orchestrator",
|
|
17
17
|
"pluginPackages": [
|
|
18
18
|
"@red-hat-developer-hub/backstage-plugin-orchestrator",
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"openapi:check": "./scripts/openapi.sh check"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@backstage/plugin-permission-common": "^0.
|
|
60
|
+
"@backstage/plugin-permission-common": "^0.9.0",
|
|
61
61
|
"@severlessworkflow/sdk-typescript": "^3.0.3",
|
|
62
|
-
"axios": "^1.
|
|
62
|
+
"axios": "^1.11.0",
|
|
63
63
|
"js-yaml": "^4.1.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@backstage/cli": "^0.
|
|
66
|
+
"@backstage/cli": "^0.32.1",
|
|
67
67
|
"@backstage/types": "^1.2.1",
|
|
68
|
-
"@openapitools/openapi-generator-cli": "2.21.
|
|
68
|
+
"@openapitools/openapi-generator-cli": "2.21.4",
|
|
69
69
|
"@types/json-schema": "7.0.15",
|
|
70
70
|
"js-yaml-cli": "0.6.0"
|
|
71
71
|
},
|
|
@@ -75,5 +75,12 @@
|
|
|
75
75
|
"@gciavarrini"
|
|
76
76
|
],
|
|
77
77
|
"author": "The Backstage Community",
|
|
78
|
+
"typesVersions": {
|
|
79
|
+
"*": {
|
|
80
|
+
"package.json": [
|
|
81
|
+
"package.json"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
78
85
|
"module": "dist/index.esm.js"
|
|
79
86
|
}
|