@ms-cloudpack/remote-cache 0.11.74 → 0.11.76

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.
@@ -2,7 +2,7 @@ import type { RemoteCacheClient, RemoteCacheClientOperationOptions, RemoteCacheC
2
2
  import type { ContainerClient } from '@azure/storage-blob';
3
3
  export declare class AzureRemoteCacheClient implements RemoteCacheClient {
4
4
  private readonly logger;
5
- private readonly config;
5
+ private readonly containerClient;
6
6
  constructor(containerClient: ContainerClient);
7
7
  uploadFolder(options: RemoteCacheClientUploadOperationOptions): Promise<RemoteCacheClientOperationResult>;
8
8
  downloadFolder(options: RemoteCacheClientOperationOptions): Promise<RemoteCacheClientOperationResult>;
@@ -0,0 +1,14 @@
1
+ import { CacheStorage } from 'backfill-cache';
2
+ import type { Logger } from 'backfill-logger';
3
+ import type { ContainerClient } from '@azure/storage-blob';
4
+ /**
5
+ * A custom cache storage provider that uploads individual files and a tarball to Azure Blob Storage.
6
+ */
7
+ export declare class CustomAzureCacheStorage extends CacheStorage {
8
+ private readonly containerClient;
9
+ private readonly tarStorage;
10
+ constructor(containerClient: ContainerClient, logger: Logger, cwd: string);
11
+ protected _fetch(hash: string): Promise<boolean>;
12
+ protected _put(hash: string, filesToCache: string[]): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=CustomAzureCacheStorage.d.ts.map
@@ -12,16 +12,16 @@ export interface AppRegistryClient {
12
12
  /**
13
13
  * Retrieves a paginated list of registered applications.
14
14
  *
15
- * @param {string} appName - The name of the application to retrieve.
16
- * @param {PageSettings} paginationOptions - The pagination options.
15
+ * @param appName - The name of the application to retrieve.
16
+ * @param paginationOptions - The pagination options.
17
17
  * that provides access to all registered applications.
18
18
  */
19
19
  getApps(appName?: string, paginationOptions?: PageSettings): Promise<PagedResult<AppRegistration>>;
20
20
  /**
21
21
  * Retrieves a paginated list of all versions for a specific application.
22
22
  *
23
- * @param {string} appName - The name of the application.
24
- * @param {PageSettings} paginationOptions - The pagination options.
23
+ * @param appName - The name of the application.
24
+ * @param paginationOptions - The pagination options.
25
25
  */
26
26
  getVersions(appName: string, paginationOptions?: PageSettings): Promise<PagedResult<AppRegistrationVersion>>;
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.11.74",
3
+ "version": "0.11.76",
4
4
  "description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,11 +23,11 @@
23
23
  "test": "cloudpack-scripts test"
24
24
  },
25
25
  "dependencies": {
26
- "@ms-cloudpack/common-types": "^0.34.0",
27
- "@ms-cloudpack/environment": "^0.1.1",
28
- "@ms-cloudpack/retry": "^0.1.3",
29
- "@ms-cloudpack/task-reporter": "^0.20.1",
30
- "@ms-cloudpack/telemetry": "^0.11.74",
26
+ "@ms-cloudpack/common-types": "^0.34.1",
27
+ "@ms-cloudpack/environment": "^0.1.3",
28
+ "@ms-cloudpack/retry": "^0.1.4",
29
+ "@ms-cloudpack/task-reporter": "^0.21.1",
30
+ "@ms-cloudpack/telemetry": "^0.12.0",
31
31
  "@napi-rs/keyring": "1.2.0",
32
32
  "mime-types": "^3.0.0",
33
33
  "node-dpapi-prebuilt": "^1.0.3"
@@ -43,10 +43,8 @@
43
43
  "@ms-cloudpack/eslint-plugin-internal": "^0.0.1",
44
44
  "@ms-cloudpack/scripts": "^0.0.1",
45
45
  "@types/mime-types": "^3.0.0",
46
- "backfill": "^6.2.4",
47
- "backfill-cache": "^5.9.0",
48
- "backfill-config": "^6.5.0",
49
- "backfill-logger": "^5.2.1"
46
+ "backfill-cache": "^5.12.4",
47
+ "backfill-logger": "^5.4.2"
50
48
  },
51
49
  "files": [
52
50
  "dist",