@camunda/ccma-saas-frontend 0.14.0 → 0.15.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,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
6
6
  */
7
7
  import { C3ClusterTag, } from '@camunda/camunda-composite-components';
8
8
  import { Layer } from '@carbon/react';
9
- import { Add, Checkmark, Copy, Information, Launch, Pause, Play, UpdateNow, WarningAltFilled, } from '@carbon/react/icons/index.esm.js';
9
+ import { Add, Information, Launch, Pause, Play, UpdateNow, WarningAltFilled, } from '@carbon/react/icons/index.esm.js';
10
10
  import { useEffect, useRef, useState } from 'react';
11
11
  import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
12
12
  import { Button, CodeSnippet, Link, TextArea, Tooltip } from '../../ui/index.js';
@@ -15,48 +15,19 @@ import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
15
15
  import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
16
16
  import { C4TileWithTitleAndAction } from '../c4-tile-with-title-and-action/c4-tile-with-title-and-action.js';
17
17
  import { ClusterStatusElement, normalizeClusterStatus, } from './applications.js';
18
- // Carbon's `CodeSnippet` ships a built-in copy button; the DS carbon-compat
19
- // adapter drops it (no equivalent yet), so DS mode needs its own copy
20
- // affordance. The `height: 0` `Layer` wrapper is a Carbon-only trick to keep
21
- // the snippet from growing the fixed-height row — it doesn't apply in DS
22
- // mode, which renders the snippet inline and lets the cell's own vertical
23
- // centering handle alignment.
18
+ // The `height: 0` `Layer` wrapper is a Carbon-only trick to keep the snippet
19
+ // from growing the fixed-height row. It does not apply in DS mode.
24
20
  const ClusterDetailsIdValue = (props) => {
25
21
  const designSystem = useC4DesignSystem();
26
- const [copied, setCopied] = useState(false);
27
- const resetTimerRef = useRef(null);
28
- useEffect(() => {
29
- return () => {
30
- if (resetTimerRef.current !== null) {
31
- window.clearTimeout(resetTimerRef.current);
32
- }
33
- };
34
- }, []);
35
22
  if (designSystem !== 'ds') {
36
23
  return (_jsx(Layer, { style: { height: '0px', width: 'calc(100% - 4rem)' }, children: _jsx(CodeSnippet, { type: 'single', style: { maxWidth: '22rem' }, children: props.value }) }));
37
24
  }
38
- const handleCopy = async () => {
39
- if (!navigator.clipboard?.writeText) {
40
- return;
41
- }
42
- try {
43
- await navigator.clipboard.writeText(props.value);
44
- setCopied(true);
45
- if (resetTimerRef.current !== null) {
46
- window.clearTimeout(resetTimerRef.current);
47
- }
48
- resetTimerRef.current = window.setTimeout(() => setCopied(false), 2000);
49
- }
50
- catch {
51
- // Clipboard access might be denied / unavailable.
52
- }
53
- };
54
- return (_jsxs("div", { style: {
55
- display: 'inline-flex',
56
- alignItems: 'center',
57
- gap: 'var(--cds-spacing-02)',
58
- maxWidth: '22rem',
59
- }, children: [_jsx(CodeSnippet, { type: 'single', children: props.value }), _jsx(Button, { kind: 'ghost', size: 'sm', hasIconOnly: true, renderIcon: copied ? Checkmark : Copy, iconDescription: copied ? props.copiedLabel : props.copyLabel, "aria-label": copied ? props.copiedLabel : props.copyLabel, onClick: handleCopy })] }));
25
+ // '-' is the placeholder for an ID that is not known. There is nothing to
26
+ // copy, so show plain text without a code box or a copy button.
27
+ if (props.value === '' || props.value === '-') {
28
+ return _jsx("span", { children: "-" });
29
+ }
30
+ return (_jsx("div", { style: { maxWidth: '22rem' }, children: _jsx(CodeSnippet, { type: 'single', copyButtonDescription: props.copyLabel, feedback: props.copiedLabel, children: props.value }) }));
60
31
  };
61
32
  export const ClusterDetails = (props) => {
62
33
  const isDsMode = useC4DesignSystem() === 'ds';
@@ -594,7 +594,14 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
594
594
  const selectedRegion = formElements.region.options.find((reg) => reg.uuid === region);
595
595
  return (_jsxs(Stack, { gap: 2, children: [_jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(FormElementTitle, { title: formElements.region.backupRegionTitle }) }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(C4CreateClusterTileGrid, { items: selectedRegion?.backups ?? [], getKey: (option) => option.uuid, getLabel: (option) => `${option.regions.length > 1
596
596
  ? 'Dual region: '
597
- : 'Single region: '}${option.regions.map((reg) => reg.label).join(', ')}`, getBadge: (option) => option.failover ? (_jsx(Tag, { type: 'green', size: 'sm', children: "Failover supported" })) : undefined, getDisabled: () => isSubmitting() || noAvailableSlots, value: backupRegion, onChange: updateBackupRegion, ariaLabel: formElements.region.backupRegionTitle, columnWidth: '260px', searchPlaceholder: 'Search backup regions' }, region) }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx("p", { children: formElements.region.backupDescription }) }) })] }));
597
+ : 'Single region: '}${option.regions.map((reg) => reg.label).join(', ')}`, getBadge: (option) => {
598
+ if (option.failover) {
599
+ return (_jsx(Tag, { type: 'green', size: 'sm', children: "Cold recovery supported" }));
600
+ }
601
+ // A single-region backup keeps no copy in a second
602
+ // region, thus it gets no tag.
603
+ return option.regions.length > 1 ? (_jsx(Tag, { type: 'gray', size: 'sm', children: "Secondary backup only" })) : undefined;
604
+ }, getDisabled: () => isSubmitting() || noAvailableSlots, value: backupRegion, onChange: updateBackupRegion, ariaLabel: formElements.region.backupRegionTitle, columnWidth: '260px', searchPlaceholder: 'Search backup regions' }, region) }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx("p", { children: formElements.region.backupDescription }) }) })] }));
598
605
  }
599
606
  else {
600
607
  return _jsx(_Fragment, {});
@@ -61,4 +61,5 @@ export declare const CLUSTER_NAME: {
61
61
  message: string;
62
62
  };
63
63
  };
64
+ export declare const backupDescription = "Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups.";
64
65
  export declare const basicCreateClusterProps: C4CreateClusterProps;
@@ -266,6 +266,8 @@ export const CLUSTER_NAME = {
266
266
  return response;
267
267
  },
268
268
  };
269
+ // The page adds a "Learn more" link after this text. The component does not.
270
+ export const backupDescription = 'Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups.';
269
271
  export const basicCreateClusterProps = {
270
272
  loading: false,
271
273
  banner: {
@@ -285,7 +287,7 @@ export const basicCreateClusterProps = {
285
287
  title: 'Select region',
286
288
  description: 'Pre-selection is based on the best current load and performance.',
287
289
  backupRegionTitle: 'Backup location',
288
- backupDescription: 'Choose single region to keep your data in one place, or select dual region for higher redundancy across geographically dispersed locations, ensuring better protection against local disruptions.',
290
+ backupDescription,
289
291
  dualRegionBackups: true,
290
292
  options: generateRegions(),
291
293
  validationMessage: 'Please select a region for your cluster',
@@ -190,7 +190,7 @@ export interface C4CreateClusterProps {
190
190
  title: string;
191
191
  backupRegionTitle: string;
192
192
  description: ReactNode;
193
- backupDescription: string;
193
+ backupDescription: ReactNode;
194
194
  dualRegionBackups: boolean;
195
195
  options: C4CreateClusterRegion[];
196
196
  validationMessage?: string;
@@ -0,0 +1,31 @@
1
+ import { type JSX } from 'react';
2
+ /** The Camunda Hub docs page that the banner links to by default. */
3
+ export declare const HUB_DOCS_URL = "https://docs.camunda.io/docs/next/components/hub/#about-camunda-hub";
4
+ declare const COPY: {
5
+ hub: {
6
+ title: string;
7
+ subtitle: string;
8
+ };
9
+ console: {
10
+ title: string;
11
+ subtitle: string;
12
+ };
13
+ };
14
+ /** Props of `C4HubUpgradeBanner`. */
15
+ export interface C4HubUpgradeBannerProps {
16
+ /**
17
+ * The app that shows the banner. `hub` is for Hub and Web Modeler.
18
+ * `console` is for Console, because Console moves into the organization
19
+ * view of Hub.
20
+ */
21
+ variant?: keyof typeof COPY;
22
+ /** The page that "Learn what's changing" opens. Default: `HUB_DOCS_URL`. */
23
+ docsUrl?: string;
24
+ }
25
+ /**
26
+ * Announces the upgrade to Camunda Hub on October 13. The host decides when
27
+ * to render it; the banner has no date logic. A close hides the banner until
28
+ * the next page load.
29
+ */
30
+ export declare const C4HubUpgradeBanner: ({ variant, docsUrl, }: C4HubUpgradeBannerProps) => JSX.Element | undefined;
31
+ export {};
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
+ * under one or more contributor license agreements. Licensed under a commercial license.
5
+ * You may not use this file except in compliance with the commercial license.
6
+ */
7
+ import { useState } from 'react';
8
+ import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
9
+ /** The Camunda Hub docs page that the banner links to by default. */
10
+ export const HUB_DOCS_URL = 'https://docs.camunda.io/docs/next/components/hub/#about-camunda-hub';
11
+ const COPY = {
12
+ hub: {
13
+ title: 'Camunda Hub is coming on October 13',
14
+ subtitle: 'Camunda is upgrading your Web Modeler experience to Camunda Hub on October 13 at 8:00 AM CET. No action is required, and your existing files and settings will remain unchanged.',
15
+ },
16
+ console: {
17
+ title: 'Console moves into Camunda Hub on October 13',
18
+ subtitle: "On October 13 at 8:00 AM CET, Console becomes part of Camunda Hub. You'll find your clusters, API clients, users, and organization settings in Hub's organization view. No action is required, and your clusters keep running as they are.",
19
+ },
20
+ };
21
+ /**
22
+ * Announces the upgrade to Camunda Hub on October 13. The host decides when
23
+ * to render it; the banner has no date logic. A close hides the banner until
24
+ * the next page load.
25
+ */
26
+ export const C4HubUpgradeBanner = ({ variant = 'hub', docsUrl = HUB_DOCS_URL, }) => {
27
+ const [open, setOpen] = useState(true);
28
+ if (!open)
29
+ return undefined;
30
+ return (_jsx(C4ActionableNotification, { kind: 'info', inline: true, lowContrast: true, title: COPY[variant].title, subtitle: COPY[variant].subtitle, actionButtonLabel: "Learn what's changing", onActionButtonClick: () => window.open(docsUrl, '_blank', 'noopener'), onCloseButtonClick: () => setOpen(false), style: { maxWidth: '100%' } }));
31
+ };
@@ -17,6 +17,7 @@ export declare const C4_EXTERNAL_URLS: {
17
17
  readonly springZeebe: "https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/getting-started/";
18
18
  readonly springZeebeConfig: "https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/configuration/";
19
19
  readonly hotBackups: "https://docs.camunda.io/docs/components/saas/backups/";
20
+ readonly crossRegionColdRecovery: "https://docs.camunda.io/docs/components/saas/cross-region-cold-recovery/";
20
21
  readonly earlyAccess: "https://docs.camunda.io/docs/next/components/early-access/overview/";
21
22
  readonly createCluster: "https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/";
22
23
  readonly encryption: "https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/";
@@ -16,6 +16,7 @@ export const C4_EXTERNAL_URLS = {
16
16
  springZeebe: 'https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/getting-started/',
17
17
  springZeebeConfig: 'https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/configuration/',
18
18
  hotBackups: 'https://docs.camunda.io/docs/components/saas/backups/',
19
+ crossRegionColdRecovery: 'https://docs.camunda.io/docs/components/saas/cross-region-cold-recovery/',
19
20
  earlyAccess: 'https://docs.camunda.io/docs/next/components/early-access/overview/',
20
21
  createCluster: 'https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/',
21
22
  encryption: 'https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/',
@@ -137,6 +138,7 @@ export function getC4CreateClusterExternalLinks(links) {
137
138
  C4_EXTERNAL_URLS.docs.tasklistApiVersions,
138
139
  identityAuthorizations: links?.identityAuthorizations ??
139
140
  C4_EXTERNAL_URLS.docs.identityAuthorizations,
141
+ docsColdRecovery: links?.docsColdRecovery ?? C4_EXTERNAL_URLS.docs.crossRegionColdRecovery,
140
142
  };
141
143
  }
142
144
  export function getC4DashboardUrls(params) {
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "backupRegion": {
44
44
  "title": "Backup location",
45
- "description": "Choose single region to keep your data in one place, or select dual region for higher redundancy across geographically dispersed locations, ensuring better protection against local disruptions."
45
+ "description": "Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups. <0>Learn more</0>"
46
46
  },
47
47
  "generation": {
48
48
  "title": "Channel",
@@ -107,6 +107,8 @@ export type { C4HelpCenterData, C4HelpCenterLink, C4HelpCenterProps, C4HelpCente
107
107
  export { C4HelpCenter, FEEDBACK_TAB_ID, } from './components/c4-help-center/c4-help-center.js';
108
108
  export { HUB_HELP_CENTER_LINKS_FLAG, rewriteAppHostToHub, } from './components/c4-help-center/help-center-app-host.js';
109
109
  export type { C4HelpCenterLinkPlaceholders } from './components/c4-help-center/help-center-placeholders.js';
110
+ export type { C4HubUpgradeBannerProps } from './components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js';
111
+ export { C4HubUpgradeBanner, HUB_DOCS_URL, } from './components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js';
110
112
  export { C4InfoTooltip } from './components/c4-info-tooltip/c4-info-tooltip.js';
111
113
  export type { C4InfoTooltipProps } from './components/c4-info-tooltip/c4-info-tooltip.types.js';
112
114
  export { C4InlineNotification } from './components/c4-inline-notification/c4-inline-notification.js';
package/lib/esm/index.js CHANGED
@@ -58,6 +58,7 @@ export { C4FeedbackForm, C4FeedbackModal, } from './components/c4-feedback-modal
58
58
  export { C4FileUploader, } from './components/c4-file-uploader/c4-file-uploader.js';
59
59
  export { C4HelpCenter, FEEDBACK_TAB_ID, } from './components/c4-help-center/c4-help-center.js';
60
60
  export { HUB_HELP_CENTER_LINKS_FLAG, rewriteAppHostToHub, } from './components/c4-help-center/help-center-app-host.js';
61
+ export { C4HubUpgradeBanner, HUB_DOCS_URL, } from './components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js';
61
62
  export { C4InfoTooltip } from './components/c4-info-tooltip/c4-info-tooltip.js';
62
63
  export { C4InlineNotification } from './components/c4-inline-notification/c4-inline-notification.js';
63
64
  export { C4InviteUserToOrganizationModal } from './components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js';
@@ -149,20 +149,106 @@ function useFetchedFeatureFlags(config) {
149
149
  }, [hostOwnsFlags, stage, orgId, email, userId, accountsApiBaseUrl]);
150
150
  return flags;
151
151
  }
152
+ /**
153
+ * Reads the clickwrap config from accounts-backend. The request runs on mount
154
+ * and runs again when the stage, the user id or the accounts URL changes. The
155
+ * hook keeps nothing between mounts.
156
+ *
157
+ * It fetches nothing when the host gives `config.clickwrap`, thus a host that
158
+ * feeds the config makes no request. It fetches nothing without an access
159
+ * token, so an anonymous route (`/login`, a public share link) sends no
160
+ * request that gets a 401. In both cases `runtime.clickwrap` stays undefined
161
+ * and the alpha-features opt-in stays hidden, the same as a tree with no
162
+ * provider.
163
+ *
164
+ * The config is not org-scoped, thus a change of the organization does not run
165
+ * the request again. Each run clears the old value first. Thus a logout or a
166
+ * change of backend does not show the clickwrap of the previous backend while
167
+ * the new request loads. A login gives a token, thus the config arrives.
168
+ */
169
+ function useFetchedClickwrap(config) {
170
+ const [clickwrap, setClickwrap] = useState(undefined);
171
+ // The host usually gives `config` as an object literal, thus its identity
172
+ // changes on every render. The effect below must depend on primitives alone,
173
+ // or it fetches in a loop.
174
+ const configRef = useRef(config);
175
+ configRef.current = config;
176
+ const hostOwnsClickwrap = Boolean(config.clickwrap);
177
+ const { stage } = config;
178
+ const userId = config.user?.sub;
179
+ const accountsApiBaseUrl = config.backendUrls.accountsApiBaseUrl;
180
+ useEffect(() => {
181
+ if (hostOwnsClickwrap) {
182
+ return;
183
+ }
184
+ // Clear the config of the previous backend and user before the request.
185
+ // Otherwise the old value answers until the new value arrives, thus the
186
+ // opt-in can show the clickwrap of the wrong backend. A logout, or a
187
+ // request that never settles, would keep it for the life of the page.
188
+ setClickwrap(undefined);
189
+ let cancelled = false;
190
+ const load = async () => {
191
+ try {
192
+ const runtime = configRef.current;
193
+ const token = await runtime.auth.getAccessToken();
194
+ if (cancelled || !token) {
195
+ return;
196
+ }
197
+ const fetched = await ExternalAccountsService.getClickwrapConfig({
198
+ // The token above is current, thus the request reuses it. A second
199
+ // call to `getAccessToken` of the host is not necessary.
200
+ config: {
201
+ ...toApiConfig(runtime),
202
+ auth: { getToken: async () => token },
203
+ },
204
+ });
205
+ if (!cancelled) {
206
+ // A clickwrap needs an `accessId` to sign, thus an answer without one
207
+ // maps to undefined and the opt-in stays hidden.
208
+ setClickwrap(fetched.accessId
209
+ ? {
210
+ accessId: fetched.accessId,
211
+ betaGroupKey: fetched.betaGroupKey,
212
+ }
213
+ : undefined);
214
+ }
215
+ }
216
+ catch (error) {
217
+ if (!cancelled) {
218
+ setClickwrap(undefined);
219
+ configRef.current.telemetry?.captureException?.(error, {
220
+ source: 'C4ConsoleRuntimeProvider.clickwrap',
221
+ });
222
+ }
223
+ }
224
+ };
225
+ void load();
226
+ return () => {
227
+ cancelled = true;
228
+ };
229
+ }, [hostOwnsClickwrap, stage, userId, accountsApiBaseUrl]);
230
+ return clickwrap;
231
+ }
152
232
  export const C4ConsoleRuntimeProvider = ({ config, children, }) => {
153
233
  useSyncCarbonThemeToDesignSystem(config.designSystem ?? 'carbon');
154
234
  const fetchedFlags = useFetchedFeatureFlags(config);
235
+ const fetchedClickwrap = useFetchedClickwrap(config);
155
236
  const value = useMemo(() => {
156
- if (config.featureFlags) {
157
- return config;
237
+ // The host-fed clickwrap wins. A host that feeds none gets the fetched
238
+ // config, thus the opt-in works without a change in the host.
239
+ const withClickwrap = config.clickwrap
240
+ ? config
241
+ : { ...config, clickwrap: fetchedClickwrap };
242
+ if (withClickwrap.featureFlags) {
243
+ return withClickwrap;
158
244
  }
159
245
  return {
160
- ...config,
246
+ ...withClickwrap,
161
247
  featureFlags: {
162
248
  isEnabled: (flagKey) => readFlag(fetchedFlags, flagKey),
163
249
  },
164
250
  };
165
- }, [config, fetchedFlags]);
251
+ }, [config, fetchedFlags, fetchedClickwrap]);
166
252
  return (_jsx(RuntimeContext.Provider, { value: value, children: children }));
167
253
  };
168
254
  export const useC4ConsoleRuntime = () => {
@@ -222,7 +222,7 @@ export function buildCreateClusterTranslations(t) {
222
222
  regionTeaseForEnterprise: translate('createcluster:form.region.teaseForEnterprise', 'Custom regions are available in the Enterprise plan and you can contact us to know more.'),
223
223
  regionValidationMessage: translate('createcluster:form.region.validationMessage', 'Please select a region for your cluster'),
224
224
  backupRegionTitle: translate('createcluster:form.backupRegion.title', 'Backup location'),
225
- backupRegionDescription: translate('createcluster:form.backupRegion.description', 'Choose single region to keep your data in one place, or select dual region for higher redundancy across geographically dispersed locations, ensuring better protection against local disruptions.'),
225
+ backupRegionDescription: translate('createcluster:form.backupRegion.description', 'Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups. <0>Learn more</0>'),
226
226
  generationTitle: translate('createcluster:form.generation.title', 'Channel'),
227
227
  olderGenerationsLabel: translate('createcluster:form.generation.olderGenerationsLabel', 'View older generations'),
228
228
  olderGenerationsHelperText: translate('createcluster:form.generation.olderGenerationsHelperText', 'These are older generations that are used in your organization.'),
@@ -939,7 +939,10 @@ export const C4CreateClusterPage = observer(({ orgId, afterCreateModalUrl, talkT
939
939
  });
940
940
  },
941
941
  })] })) : undefined] })),
942
- backupDescription: translations.backupRegionDescription,
942
+ backupDescription: renderLinkPlaceholder(translations.backupRegionDescription, {
943
+ href: links.docsColdRecovery,
944
+ labelFallback: 'Learn more',
945
+ }),
943
946
  options: regions,
944
947
  validationMessage: translations.regionValidationMessage,
945
948
  },
@@ -1060,6 +1063,7 @@ export const C4CreateClusterPage = observer(({ orgId, afterCreateModalUrl, talkT
1060
1063
  orgId,
1061
1064
  orgIdSubjectToSleep,
1062
1065
  links.docsAutopause,
1066
+ links.docsColdRecovery,
1063
1067
  links.docsTasklistApiVersions,
1064
1068
  links.identityAuthorizations,
1065
1069
  regions,
@@ -20,6 +20,7 @@ export interface C4CreateClusterExternalLinks {
20
20
  docsAutopause: string;
21
21
  docsTasklistApiVersions: string;
22
22
  identityAuthorizations: string;
23
+ docsColdRecovery?: string;
23
24
  }
24
25
  export interface C4CreateClusterPageProps {
25
26
  orgId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -96,8 +96,8 @@
96
96
  "react-markdown": "^8.0.7 || ^10.0.0"
97
97
  },
98
98
  "dependencies": {
99
- "@camunda/ccma-api": "2.2.0",
100
- "@camunda/ccma-shared-types": "4.0.0",
99
+ "@camunda/ccma-api": "3.1.0",
100
+ "@camunda/ccma-shared-types": "5.0.0",
101
101
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
102
102
  "cron-parser": "5.10.0",
103
103
  "mobx": "6.16.1",