@red-hat-developer-hub/backstage-plugin-orchestrator-common 3.0.3 → 3.0.4

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 CHANGED
@@ -1,5 +1,11 @@
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.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 2fbdb53: remove setting inputs as readonly when execute from nextWorkflows as this was part of deprecated assessment workflow type
8
+
3
9
  ## 3.0.3
4
10
 
5
11
  ### Patch Changes
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  const QUERY_PARAM_INSTANCE_ID = "instanceId";
4
- const QUERY_PARAM_PREVIOUS_INSTANCE_ID = "previousInstanceId";
5
4
 
6
5
  exports.QUERY_PARAM_INSTANCE_ID = QUERY_PARAM_INSTANCE_ID;
7
- exports.QUERY_PARAM_PREVIOUS_INSTANCE_ID = QUERY_PARAM_PREVIOUS_INSTANCE_ID;
8
6
  //# 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;\nexport const QUERY_PARAM_PREVIOUS_INSTANCE_ID = 'previousInstanceId' as const;\n"],"names":[],"mappings":";;AAgBO,MAAM,uBAAA,GAA0B;AAChC,MAAM,gCAAA,GAAmC;;;;;"}
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,5 +1,4 @@
1
1
  const QUERY_PARAM_INSTANCE_ID = "instanceId";
2
- const QUERY_PARAM_PREVIOUS_INSTANCE_ID = "previousInstanceId";
3
2
 
4
- export { QUERY_PARAM_INSTANCE_ID, QUERY_PARAM_PREVIOUS_INSTANCE_ID };
3
+ export { QUERY_PARAM_INSTANCE_ID };
5
4
  //# sourceMappingURL=QueryParams.esm.js.map
@@ -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;\nexport const QUERY_PARAM_PREVIOUS_INSTANCE_ID = 'previousInstanceId' as const;\n"],"names":[],"mappings":"AAgBO,MAAM,uBAAA,GAA0B;AAChC,MAAM,gCAAA,GAAmC;;;;"}
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;;;;"}
package/dist/index.cjs.js CHANGED
@@ -44,7 +44,6 @@ exports.toWorkflowJson = workflow.toWorkflowJson;
44
44
  exports.toWorkflowString = workflow.toWorkflowString;
45
45
  exports.toWorkflowYaml = workflow.toWorkflowYaml;
46
46
  exports.QUERY_PARAM_INSTANCE_ID = QueryParams.QUERY_PARAM_INSTANCE_ID;
47
- exports.QUERY_PARAM_PREVIOUS_INSTANCE_ID = QueryParams.QUERY_PARAM_PREVIOUS_INSTANCE_ID;
48
47
  exports.isJsonObject = isJsonObject.isJsonObject;
49
48
  exports.capitalize = StringUtils.capitalize;
50
49
  exports.ellipsis = StringUtils.ellipsis;
@@ -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
@@ -1620,7 +1620,6 @@ declare function parseWorkflowVariables(variables?: object): object | undefined;
1620
1620
  declare function extractWorkflowFormat(source: string): WorkflowFormat;
1621
1621
 
1622
1622
  declare const QUERY_PARAM_INSTANCE_ID: "instanceId";
1623
- declare const QUERY_PARAM_PREVIOUS_INSTANCE_ID: "previousInstanceId";
1624
1623
 
1625
1624
  declare function isJsonObject(value?: JsonValue): value is JsonObject;
1626
1625
 
@@ -1661,4 +1660,4 @@ type AuthTokenDescriptor = {
1661
1660
  tokenType?: 'openId' | 'oauth';
1662
1661
  };
1663
1662
 
1664
- 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 GetWorkflowsOverviewForEntityRequest, 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 RetriggerInstanceRequestDTO, 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, isJsonObject, isJsonObjectSchema, openApiDocument, orchestratorAdminViewPermission, orchestratorInstanceAdminViewPermission, orchestratorPermissions, orchestratorWorkflowPermission, orchestratorWorkflowSpecificPermission, orchestratorWorkflowUsePermission, orchestratorWorkflowUseSpecificPermission, parseWorkflowVariables, toWorkflowJson, toWorkflowString, toWorkflowYaml };
1663
+ 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 GetWorkflowsOverviewForEntityRequest, 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 RetriggerInstanceRequestDTO, 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, isJsonObject, 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, QUERY_PARAM_PREVIOUS_INSTANCE_ID } from './QueryParams.esm.js';
8
+ export { QUERY_PARAM_INSTANCE_ID } from './QueryParams.esm.js';
9
9
  export { isJsonObject } from './utils/isJsonObject.esm.js';
10
10
  export { capitalize, ellipsis } from './utils/StringUtils.esm.js';
11
11
  export { orchestratorAdminViewPermission, orchestratorInstanceAdminViewPermission, orchestratorPermissions, orchestratorWorkflowPermission, orchestratorWorkflowSpecificPermission, orchestratorWorkflowUsePermission, orchestratorWorkflowUseSpecificPermission } from './permissions.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-orchestrator-common",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",