@orchestrator-ui/orchestrator-ui-components 5.7.1 → 5.8.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.
@@ -1,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@5.7.1 build
2
+ > @orchestrator-ui/orchestrator-ui-components@5.8.0 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@5.7.1 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@5.8.0 generate-version
7
7
  > node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
8
8
 
9
- src/configuration/version.ts 45ms
9
+ src/configuration/version.ts 39ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.build.json
12
12
  CLI tsup v8.4.0
@@ -14,8 +14,8 @@ src/configuration/version.ts 45ms
14
14
  CLI Target: es2020
15
15
  ESM Build start
16
16
  DTS Build start
17
- ESM dist/index.js 2.04 MB
17
+ ESM dist/index.js 2.05 MB
18
18
  ESM dist/index.js.map 3.90 MB
19
- ESM ⚡️ Build success in 613ms
20
- DTS ⚡️ Build success in 20663ms
21
- DTS dist/index.d.ts 839.92 KB
19
+ ESM ⚡️ Build success in 787ms
20
+ DTS ⚡️ Build success in 20659ms
21
+ DTS dist/index.d.ts 840.31 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@5.7.1 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@5.8.0 lint
3
3
  > eslint
4
4
 
@@ -1,11 +1,11 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@5.7.1 test
2
+ > @orchestrator-ui/orchestrator-ui-components@5.8.0 test
3
3
  > jest
4
4
 
5
5
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
6
6
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
7
- PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
8
7
  PASS Wfo-UI Tests src/utils/date.spec.ts
8
+ PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
9
9
  PASS Wfo-UI Tests src/utils/string.spec.ts
10
10
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
11
11
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
@@ -21,26 +21,26 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllo
21
21
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
22
22
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
23
23
  PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
24
- PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.626 s)
25
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.362 s)
26
- PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
24
+ PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.7 s)
25
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.286 s)
27
26
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
28
- PASS Wfo-UI Tests src/utils/filterData.spec.ts
27
+ PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
29
28
  PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
29
+ PASS Wfo-UI Tests src/utils/filterData.spec.ts
30
30
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
31
31
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
32
32
  PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
33
33
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
34
- PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
35
34
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
36
35
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
36
+ PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
37
37
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
38
- PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
39
38
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
39
+ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
40
40
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
41
41
 
42
42
  Test Suites: 36 passed, 36 total
43
43
  Tests: 233 passed, 233 total
44
44
  Snapshots: 0 total
45
- Time: 9.279 s
45
+ Time: 9.355 s
46
46
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 5.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 982df15: 2081 Add support for workflows with target Reconcile
8
+
3
9
  ## 5.7.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -2607,7 +2607,7 @@ declare const useUpdateResourceTypeMutation: <R extends Record<string, any> = ({
2607
2607
  }];
2608
2608
 
2609
2609
  declare const workflowsDescription = "\nquery MetadataWorkflowsDescription(\n $workflowName: String!\n) {\n workflows(\n filterBy: [{ field: \"name\", value: $workflowName }]\n ) {\n page {\n name\n description\n }\n }\n}\n";
2610
- declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE|MODIFY|TERMINATE\" }\n ) {\n page {\n workflowId\n name\n description\n target\n isTask\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
2610
+ declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE|MODIFY|TERMINATE|RECONCILE\" }\n ) {\n page {\n workflowId\n name\n description\n target\n isTask\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
2611
2611
  type WorkflowsDescriptionQueryVariables = {
2612
2612
  workflowName: string;
2613
2613
  };
@@ -16759,7 +16759,8 @@ declare enum WorkflowTarget {
16759
16759
  MODIFY = "modify",
16760
16760
  TERMINATE = "terminate",
16761
16761
  SYSTEM = "system",
16762
- VALIDATE = "validate"
16762
+ VALIDATE = "validate",
16763
+ RECONCILE = "reconcile"
16763
16764
  }
16764
16765
  type Process = {
16765
16766
  workflowName: string;
@@ -17135,6 +17136,7 @@ type SubscriptionActions = {
17135
17136
  terminate: SubscriptionAction[];
17136
17137
  system: SubscriptionAction[];
17137
17138
  validate: SubscriptionAction[];
17139
+ reconcile: SubscriptionAction[];
17138
17140
  };
17139
17141
  declare enum CacheTagType {
17140
17142
  workerStatus = "workerStatus",
@@ -17331,6 +17333,7 @@ declare enum PolicyResource {
17331
17333
  SUBSCRIPTION_CREATE = "/orchestrator/processes/create/process/menu",
17332
17334
  SUBSCRIPTION_MODIFY = "/orchestrator/subscriptions/modify/",
17333
17335
  SUBSCRIPTION_TERMINATE = "/orchestrator/subscriptions/terminate/",
17336
+ SUBSCRIPTION_RECONCILE = "/orchestrator/subscriptions/reconcile/",
17334
17337
  SUBSCRIPTION_VALIDATE = "/orchestrator/subscriptions/validate/",
17335
17338
  TASKS_CREATE = "/orchestrator/processes/create/task",
17336
17339
  TASKS_RETRY_ALL = "/orchestrator/processes/all-tasks/retry",
@@ -17416,7 +17419,7 @@ declare const getFieldFromProductBlockInstanceValues: (instanceValues: FieldValu
17416
17419
  declare const getProductBlockTitle: (instanceValues: FieldValue[]) => string | number | boolean;
17417
17420
  declare const flattenArrayProps: (action: SubscriptionAction) => TranslationValues;
17418
17421
  declare const getWorkflowTargetColor: (workflowTarget: WorkflowTarget, theme: EuiThemeComputed) => string;
17419
- declare const getWorkflowTargetIconContent: (workflowTarget: WorkflowTarget) => "C" | "T" | "X" | "M";
17422
+ declare const getWorkflowTargetIconContent: (workflowTarget: WorkflowTarget) => "C" | "T" | "X" | "R" | "M";
17420
17423
  declare const getLastUncompletedProcess: (processes?: SubscriptionDetailProcess[]) => SubscriptionDetailProcess | undefined;
17421
17424
  declare const getLatestTaskDate: (processes?: SubscriptionDetailProcess[]) => string;
17422
17425
  declare const sortProcessesByDate: (processList: SubscriptionDetailProcess[], sortOrder: SortOrder) => SubscriptionDetailProcess[];
@@ -17481,6 +17484,7 @@ declare const WfoSubscription: ({ subscriptionId }: WfoSubscriptionProps) => _em
17481
17484
  type WfoSubscriptionActionsProps = {
17482
17485
  subscriptionId: string;
17483
17486
  isLoading?: boolean;
17487
+ compactMode?: boolean;
17484
17488
  };
17485
17489
  declare const WfoSubscriptionActions: FC<WfoSubscriptionActionsProps>;
17486
17490
 
@@ -18487,7 +18491,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
18487
18491
  declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
18488
18492
  declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
18489
18493
 
18490
- declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.7.1";
18494
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.8.0";
18491
18495
 
18492
18496
  declare const useGetTranslationMessages: (locale: string | undefined) => {
18493
18497
  pydanticForms: {
@@ -18796,6 +18800,11 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
18796
18800
  modify: string;
18797
18801
  tasks: string;
18798
18802
  terminate: string;
18803
+ reconcile: string;
18804
+ notAvailable: string;
18805
+ notAvailableForWorkflow: string;
18806
+ reconcileSubscription: string;
18807
+ validateSubscription: string;
18799
18808
  actions: string;
18800
18809
  lockedBySubscriptions: string;
18801
18810
  subscription: {