@orchestrator-ui/orchestrator-ui-components 3.8.0 → 3.8.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.
@@ -1,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.8.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@3.8.1 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@3.8.0 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@3.8.1 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 149ms
9
+ src/configuration/version.ts 130ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.build.json
12
12
  CLI tsup v8.3.5
@@ -16,6 +16,6 @@ src/configuration/version.ts 149ms
16
16
  DTS Build start
17
17
  ESM dist/index.js 1.95 MB
18
18
  ESM dist/index.js.map 3.56 MB
19
- ESM ⚡️ Build success in 470ms
20
- DTS ⚡️ Build success in 16263ms
21
- DTS dist/index.d.ts 685.68 KB
19
+ ESM ⚡️ Build success in 479ms
20
+ DTS ⚡️ Build success in 16457ms
21
+ DTS dist/index.d.ts 685.76 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.8.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@3.8.1 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
5
5
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.8.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@3.8.1 test
3
3
  > jest
4
4
 
5
- PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
6
5
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
6
+ PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
7
7
  PASS Wfo-UI Tests src/utils/date.spec.ts
8
8
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
9
9
  PASS Wfo-UI Tests src/utils/string.spec.ts
@@ -34,11 +34,11 @@ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
34
34
  PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
35
35
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
36
36
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
37
- PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.809 s)
38
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.204 s)
37
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.233 s)
38
+ PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.907 s)
39
39
 
40
40
  Test Suites: 34 passed, 34 total
41
41
  Tests: 220 passed, 220 total
42
42
  Snapshots: 0 total
43
- Time: 7.61 s
43
+ Time: 7.734 s
44
44
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 3.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e75d0e4: 1844 Adds isAllowed policy check to the start-stop-engine section
8
+
3
9
  ## 3.8.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -14306,6 +14306,7 @@ declare enum PolicyResource {
14306
14306
  TASKS_CREATE = "/orchestrator/processes/create/task",
14307
14307
  TASKS_RETRY_ALL = "/orchestrator/processes/all-tasks/retry",
14308
14308
  SETTINGS_FLUSH_CACHE = "/orchestrator/settings/flush-cache",
14309
+ SETTINGS_START_STOP_ENGINE = "/orchestrator/settings/start-stop-engine",
14309
14310
  SET_IN_SYNC = "/orchestrator/subscriptions/set-in-sync"
14310
14311
  }
14311
14312
 
@@ -15275,7 +15276,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
15275
15276
  declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
15276
15277
  declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
15277
15278
 
15278
- declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "3.8.0";
15279
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "3.8.1";
15279
15280
 
15280
15281
  declare const useGetTranslationMessages: (locale: string | undefined) => {
15281
15282
  pydanticForms: {
package/dist/index.js CHANGED
@@ -26792,12 +26792,13 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26792
26792
  PolicyResource2["TASKS_CREATE"] = "/orchestrator/processes/create/task";
26793
26793
  PolicyResource2["TASKS_RETRY_ALL"] = "/orchestrator/processes/all-tasks/retry";
26794
26794
  PolicyResource2["SETTINGS_FLUSH_CACHE"] = "/orchestrator/settings/flush-cache";
26795
+ PolicyResource2["SETTINGS_START_STOP_ENGINE"] = "/orchestrator/settings/start-stop-engine";
26795
26796
  PolicyResource2["SET_IN_SYNC"] = "/orchestrator/subscriptions/set-in-sync";
26796
26797
  return PolicyResource2;
26797
26798
  })(PolicyResource || {});
26798
26799
 
26799
26800
  // src/configuration/version.ts
26800
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.8.0";
26801
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.8.1";
26801
26802
 
26802
26803
  // src/types/types.ts
26803
26804
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -51842,12 +51843,20 @@ var WfoModifySettings = () => {
51842
51843
  /* @__PURE__ */ jsx225(EuiSpacer25, { size: "m" }),
51843
51844
  /* @__PURE__ */ jsx225(WfoResetTextSearchIndexButton, {})
51844
51845
  ] }),
51845
- /* @__PURE__ */ jsx225(EuiSpacer25, {}),
51846
- /* @__PURE__ */ jsxs123(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
51847
- /* @__PURE__ */ jsx225(EuiText43, { size: "s", children: /* @__PURE__ */ jsx225("h4", { children: t("modifyEngine") }) }),
51848
- /* @__PURE__ */ jsx225(EuiSpacer25, { size: "m" }),
51849
- /* @__PURE__ */ jsx225(WfoEngineStatusButton, {})
51850
- ] })
51846
+ /* @__PURE__ */ jsxs123(
51847
+ WfoIsAllowedToRender,
51848
+ {
51849
+ resource: "/orchestrator/settings/start-stop-engine" /* SETTINGS_START_STOP_ENGINE */,
51850
+ children: [
51851
+ /* @__PURE__ */ jsx225(EuiSpacer25, {}),
51852
+ /* @__PURE__ */ jsxs123(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
51853
+ /* @__PURE__ */ jsx225(EuiText43, { size: "s", children: /* @__PURE__ */ jsx225("h4", { children: t("modifyEngine") }) }),
51854
+ /* @__PURE__ */ jsx225(EuiSpacer25, { size: "m" }),
51855
+ /* @__PURE__ */ jsx225(WfoEngineStatusButton, {})
51856
+ ] })
51857
+ ]
51858
+ }
51859
+ )
51851
51860
  ] });
51852
51861
  };
51853
51862