@red-hat-developer-hub/backstage-plugin-orchestrator-common 3.0.0 → 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 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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 32e0a44: https://issues.redhat.com/browse/FLPATH-2493
8
+
3
9
  ## 3.0.0
4
10
 
5
11
  ### Major Changes
@@ -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;;;;;"}
@@ -1,4 +1,5 @@
1
1
  const QUERY_PARAM_INSTANCE_ID = "instanceId";
2
+ const QUERY_PARAM_PREVIOUS_INSTANCE_ID = "previousInstanceId";
2
3
 
3
- export { QUERY_PARAM_INSTANCE_ID };
4
+ export { QUERY_PARAM_INSTANCE_ID, QUERY_PARAM_PREVIOUS_INSTANCE_ID };
4
5
  //# 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;\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;
@@ -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,6 +1542,7 @@ 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
1548
  declare const capitalize: <S extends string>(text: S) => Capitalized<S>;
@@ -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.0.0",
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",