@forge/storage-data-recovery 2.0.16-next.1-experimental-2e302e1 → 2.0.17-experimental-04cc2b9

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 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAkB,SAAQ,KAAK;aAGxB,IAAI,CAAC;gBADrB,OAAO,EAAE,MAAM,EACC,IAAI,CAAC,oBAAQ;CAKhC;AAED,qBAAa,qBAAsB,SAAQ,iBAAiB;gBAC9C,YAAY,EAAE,MAAM;CAIjC;AAED,qBAAa,uBAAwB,SAAQ,iBAAiB;gBAChD,WAAW,EAAE,MAAM;CAIhC"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAkB,SAAQ,KAAK;aAGxB,IAAI,CAAC,EAAE,MAAM;gBAD7B,OAAO,EAAE,MAAM,EACC,IAAI,CAAC,EAAE,MAAM,YAAA;CAKhC;AAED,qBAAa,qBAAsB,SAAQ,iBAAiB;gBAC9C,YAAY,EAAE,MAAM;CAIjC;AAED,qBAAa,uBAAwB,SAAQ,iBAAiB;gBAChD,WAAW,EAAE,MAAM;CAIhC"}
package/out/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dataRecovery = void 0;
3
+ exports.dataRecovery = dataRecovery;
4
4
  const tslib_1 = require("tslib");
5
5
  const data_recovery_1 = require("./data-recovery");
6
6
  const errors_1 = require("./errors");
@@ -43,6 +43,5 @@ function dataRecovery(snapshotName, storageType) {
43
43
  }
44
44
  return new data_recovery_1.DataRecoveryImpl(new storage_client_1.StorageClient(buildFetchClient()), snapshotName, storageType);
45
45
  }
46
- exports.dataRecovery = dataRecovery;
47
46
  tslib_1.__exportStar(require("./errors"), exports);
48
47
  tslib_1.__exportStar(require("./types"), exports);
package/out/types.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  import { WhereConditions } from '@forge/kvs';
2
- export declare type QueryWhere = {
2
+ export type QueryWhere = {
3
3
  condition: 'BEGINS_WITH';
4
4
  property: 'key';
5
5
  values: Array<unknown>;
6
6
  };
7
- export declare type QueryRequest = {
7
+ export type QueryRequest = {
8
8
  snapshotName: string;
9
9
  provider: StorageType;
10
10
  limit?: number;
11
11
  after?: string;
12
12
  where?: Array<QueryWhere>;
13
13
  };
14
- export declare type QueryResponse<T> = {
14
+ export type QueryResponse<T> = {
15
15
  data: Array<DataRecoverySchema<T>>;
16
16
  cursor?: string;
17
17
  };
18
- export declare type DataRecoverySchema<T> = {
18
+ export type DataRecoverySchema<T> = {
19
19
  key: string;
20
20
  value: T;
21
21
  entityName?: string;
@@ -26,7 +26,7 @@ export declare type DataRecoverySchema<T> = {
26
26
  export declare const StorageTypeKVS = "kvs";
27
27
  export declare const StorageTypeSecret = "secret";
28
28
  export declare const StorageTypeCustomEntity = "custom_entity";
29
- export declare type StorageType = 'kvs' | 'secret' | 'custom_entity';
29
+ export type StorageType = 'kvs' | 'secret' | 'custom_entity';
30
30
  export interface ListResult<T> {
31
31
  results: DataRecoverySchema<T>[];
32
32
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,oBAAY,UAAU,GAAG;IACvB,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC;IAChB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACxB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;I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,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,UAAU,CAAC,GAAG,oBAAoB,CAAC;IACvG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,oBAAoB,CAAC;IAC7C,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,CAAC;IAC3C,OAAO,CAAC,CAAC,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;CACtC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/storage-data-recovery",
3
- "version": "2.0.16-next.1-experimental-2e302e1",
3
+ "version": "2.0.17-experimental-04cc2b9",
4
4
  "description": "Forge Storage Data Recovery SDK",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -15,13 +15,22 @@
15
15
  "compile": "tsc -b -v"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/node": "20.19.1"
18
+ "@types/node": "20.19.1",
19
+ "typescript": "5.9.2"
19
20
  },
20
21
  "dependencies": {
21
- "@forge/api": "7.2.1-next.1-experimental-2e302e1",
22
- "@forge/kvs": "1.6.4-next.0-experimental-2e302e1"
22
+ "@forge/api": "7.2.2-experimental-04cc2b9",
23
+ "@forge/kvs": "1.6.5-experimental-04cc2b9"
23
24
  },
24
25
  "publishConfig": {
25
26
  "registry": "https://packages.atlassian.com/api/npm/npm-public/"
27
+ },
28
+ "peerDependencies": {
29
+ "typescript": ">=5.0.0"
30
+ },
31
+ "peerDependenciesMeta": {
32
+ "typescript": {
33
+ "optional": true
34
+ }
26
35
  }
27
- }
36
+ }