@scality/data-browser-library 1.0.5 → 1.0.7

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.
@@ -158,6 +158,7 @@ export type MockQueryResult<T> = {
158
158
  export type ISVBucketStatusMock = {
159
159
  isVeeamBucket: boolean;
160
160
  isCommvaultBucket: boolean;
161
+ isKastenBucket: boolean;
161
162
  isISVManaged: boolean;
162
163
  isvApplication: string | undefined;
163
164
  isLoading: boolean;
@@ -321,6 +321,7 @@ const createDefaultBucketMocks = ()=>({
321
321
  isvBucketStatus: {
322
322
  isVeeamBucket: false,
323
323
  isCommvaultBucket: false,
324
+ isKastenBucket: false,
324
325
  isISVManaged: false,
325
326
  isvApplication: void 0,
326
327
  isLoading: false,
@@ -10,6 +10,8 @@ export declare const VEEAM_OFFICE_365 = "Veeam Backup for Microsoft 365 (v6, v7)
10
10
  export declare const VEEAM_OFFICE_365_V8 = "Veeam Backup for Microsoft 365 (v8+)";
11
11
  /** Generic identifier for Commvault */
12
12
  export declare const COMMVAULT_APPLICATION = "Commvault";
13
+ /** Generic identifier for Kasten */
14
+ export declare const KASTEN_APPLICATION = "Kasten";
13
15
  export declare const BUCKET_ROUTES: {
14
16
  readonly bucketPolicy: (bucketName: string) => string;
15
17
  readonly bucketCors: (bucketName: string) => string;
@@ -6,6 +6,7 @@ const VEEAM_VBO_APPLICATION = 'Veeam Backup for Microsoft 365';
6
6
  const VEEAM_OFFICE_365 = 'Veeam Backup for Microsoft 365 (v6, v7)';
7
7
  const VEEAM_OFFICE_365_V8 = 'Veeam Backup for Microsoft 365 (v8+)';
8
8
  const COMMVAULT_APPLICATION = 'Commvault';
9
+ const KASTEN_APPLICATION = 'Kasten';
9
10
  const BUCKET_ROUTES = {
10
11
  bucketPolicy: (bucketName)=>`/buckets/${bucketName}/policy`,
11
12
  bucketCors: (bucketName)=>`/buckets/${bucketName}/cors`,
@@ -16,4 +17,4 @@ const BUCKET_ROUTES = {
16
17
  notificationCreate: (bucketName)=>`/buckets/${bucketName}/notifications/create`,
17
18
  notificationEdit: (bucketName, ruleId)=>`/buckets/${bucketName}/notifications/edit/${encodeURIComponent(ruleId)}`
18
19
  };
19
- export { BUCKET_ROUTES, BUCKET_TAG_APPLICATION, BUCKET_TAG_VEEAM_APPLICATION, COMMVAULT_APPLICATION, VEEAM_BACKUP_REPLICATION, VEEAM_IMMUTABLE_POLICY_NAME, VEEAM_OFFICE_365, VEEAM_OFFICE_365_V8, VEEAM_VBO_APPLICATION };
20
+ export { BUCKET_ROUTES, BUCKET_TAG_APPLICATION, BUCKET_TAG_VEEAM_APPLICATION, COMMVAULT_APPLICATION, KASTEN_APPLICATION, VEEAM_BACKUP_REPLICATION, VEEAM_IMMUTABLE_POLICY_NAME, VEEAM_OFFICE_365, VEEAM_OFFICE_365_V8, VEEAM_VBO_APPLICATION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scality/data-browser-library",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "A modular React component library for browsing S3 buckets and objects",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -40,10 +40,11 @@
40
40
  "react-hook-form": "^7.48.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scality/core-ui": "0.194.0",
43
+ "@scality/core-ui": ">=0.197.0",
44
44
  "react": ">=18.0.0",
45
45
  "react-dom": ">=18.0.0",
46
- "react-router-dom": ">=6.0.0",
46
+ "react-router": ">=7.1.3",
47
+ "react-router-dom": ">=7.1.3",
47
48
  "styled-components": "^5.0.0"
48
49
  },
49
50
  "devDependencies": {