@lilaquadrat/interfaces 1.29.0 → 1.30.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.30.0](https://github.com/lilaquadrat/interfaces/compare/v1.29.0...v1.30.0) (2025-07-21)
6
+
7
+
8
+ ### Features
9
+
10
+ * **ShareClient:** add getDownloadUrl method and update ShareClientOptions for optional connectionString ([a4bc9de](https://github.com/lilaquadrat/interfaces/commit/a4bc9de5e7ea2dcce0ca10c8260a4d8a7406f73b))
11
+
5
12
  ## [1.29.0](https://github.com/lilaquadrat/interfaces/compare/v1.28.1...v1.29.0) (2025-06-19)
6
13
 
7
14
 
@@ -28,4 +28,5 @@ export interface ShareClientInterface {
28
28
  fullPath?: boolean;
29
29
  }): Promise<string[]>;
30
30
  copy(files: string[], sourceFolder: string, destinationFolder: string): Promise<boolean>;
31
+ getDownloadUrl(path: string, lifetimeInSeconds?: number): Promise<string>;
31
32
  }
@@ -1,7 +1,9 @@
1
+ import { type StorageSharedKeyCredential } from '@azure/storage-blob';
1
2
  export interface ShareClientOptions {
2
- connectionString: string;
3
+ connectionString?: string;
3
4
  container?: string;
4
5
  shareName?: string;
5
6
  baseFolder?: string;
6
7
  accountName?: string;
8
+ sharedKeyCredentials?: StorageSharedKeyCredential;
7
9
  }
@@ -28,4 +28,5 @@ export interface ShareClientInterface {
28
28
  fullPath?: boolean;
29
29
  }): Promise<string[]>;
30
30
  copy(files: string[], sourceFolder: string, destinationFolder: string): Promise<boolean>;
31
+ getDownloadUrl(path: string, lifetimeInSeconds?: number): Promise<string>;
31
32
  }
@@ -1,7 +1,9 @@
1
+ import { type StorageSharedKeyCredential } from '@azure/storage-blob';
1
2
  export interface ShareClientOptions {
2
- connectionString: string;
3
+ connectionString?: string;
3
4
  container?: string;
4
5
  shareName?: string;
5
6
  baseFolder?: string;
6
7
  accountName?: string;
8
+ sharedKeyCredentials?: StorageSharedKeyCredential;
7
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -28,6 +28,7 @@
28
28
  }
29
29
  },
30
30
  "devDependencies": {
31
+ "@azure/storage-blob": "^12.27.0",
31
32
  "@types/node": "^20.11.9",
32
33
  "ajv": "^8.12.0",
33
34
  "cz-conventional-changelog": "^3.3.0",
@@ -33,4 +33,6 @@ export interface ShareClientInterface {
33
33
 
34
34
  copy(files: string[], sourceFolder: string, destinationFolder: string): Promise<boolean>;
35
35
 
36
+ getDownloadUrl(path: string, lifetimeInSeconds?: number): Promise<string>;
37
+
36
38
  }
@@ -1,8 +1,10 @@
1
+ import { type StorageSharedKeyCredential } from '@azure/storage-blob';
1
2
 
2
3
  export interface ShareClientOptions {
3
- connectionString: string
4
+ connectionString?: string
4
5
  container?: string
5
6
  shareName?: string
6
7
  baseFolder?: string
7
8
  accountName?: string
9
+ sharedKeyCredentials?: StorageSharedKeyCredential
8
10
  }