@red-hat-developer-hub/backstage-plugin-orchestrator-common 3.4.0 → 3.4.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.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 858963d: remove web-library(core-plugin-api) import in a common-library
8
+
3
9
  ## 3.4.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -4,7 +4,6 @@ import { JSONSchema7, JSONSchema7Definition } from 'json-schema';
4
4
  import * as axios from 'axios';
5
5
  import { RawAxiosRequestConfig, AxiosInstance, AxiosPromise } from 'axios';
6
6
  import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
7
- import { OAuthScope } from '@backstage/core-plugin-api';
8
7
 
9
8
  declare enum ProcessInstanceState {
10
9
  Active = "ACTIVE",
@@ -1695,6 +1694,13 @@ declare const orchestratorAdminViewPermission: _backstage_plugin_permission_comm
1695
1694
  declare const orchestratorInstanceAdminViewPermission: _backstage_plugin_permission_common.BasicPermission;
1696
1695
  declare const orchestratorPermissions: _backstage_plugin_permission_common.BasicPermission[];
1697
1696
 
1697
+ /**
1698
+ *
1699
+ * @public
1700
+ * An array of scopes, or a scope string formatted according to the
1701
+ * auth provider, which is typically a space separated list.
1702
+ */
1703
+ type OAuthScope = string | string[];
1698
1704
  /**
1699
1705
  * Descriptor for authentication token configuration
1700
1706
  */
@@ -1720,4 +1726,4 @@ type AuthTokenDescriptor = {
1720
1726
  tokenType?: 'openId' | 'oauth';
1721
1727
  };
1722
1728
 
1723
- 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 WorkflowInstanceLogsDTO, type WorkflowListResult, type WorkflowListResultDTO, type WorkflowLogEntry, type WorkflowLogsResponse, 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 };
1729
+ 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 OAuthScope, 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 WorkflowInstanceLogsDTO, type WorkflowListResult, type WorkflowListResultDTO, type WorkflowLogEntry, type WorkflowLogsResponse, 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-orchestrator-common",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,7 +55,6 @@
55
55
  "openapi:check": "./scripts/openapi.sh check"
56
56
  },
57
57
  "dependencies": {
58
- "@backstage/core-plugin-api": "^1.12.0",
59
58
  "@backstage/plugin-permission-common": "^0.9.3",
60
59
  "@backstage/types": "^1.2.2",
61
60
  "@serverlessworkflow/sdk-typescript": "^0.8.4",