@lilaquadrat/interfaces 1.29.0 → 1.31.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 +14 -0
- package/lib/cjs/DesignCustomModule.d.ts +36 -0
- package/lib/cjs/PlaeceholderModule.d.ts +1 -0
- package/lib/cjs/ShareClient.d.ts +1 -0
- package/lib/cjs/ShareClientOptions.d.ts +3 -1
- package/lib/esm/DesignCustomModule.d.ts +36 -0
- package/lib/esm/PlaeceholderModule.d.ts +1 -0
- package/lib/esm/ShareClient.d.ts +1 -0
- package/lib/esm/ShareClientOptions.d.ts +3 -1
- package/package.json +2 -1
- package/src/DesignCustomModule.ts +45 -2
- package/src/PlaeceholderModule.ts +1 -0
- package/src/ShareClient.ts +2 -0
- package/src/ShareClientOptions.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.31.0](https://github.com/lilaquadrat/interfaces/compare/v1.30.0...v1.31.0) (2025-11-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **DesignCustomModule, PlaceholderModule:** add inputData to PlaceholderModule and define value types in DesignCustomModule ([d79463f](https://github.com/lilaquadrat/interfaces/commit/d79463f666d1026c7ea67b2321e24b72a5c0ecd7))
|
|
11
|
+
|
|
12
|
+
## [1.30.0](https://github.com/lilaquadrat/interfaces/compare/v1.29.0...v1.30.0) (2025-07-21)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **ShareClient:** add getDownloadUrl method and update ShareClientOptions for optional connectionString ([a4bc9de](https://github.com/lilaquadrat/interfaces/commit/a4bc9de5e7ea2dcce0ca10c8260a4d8a7406f73b))
|
|
18
|
+
|
|
5
19
|
## [1.29.0](https://github.com/lilaquadrat/interfaces/compare/v1.28.1...v1.29.0) (2025-06-19)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
type BaseValue = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
};
|
|
6
|
+
type StringValue = BaseValue & {
|
|
7
|
+
type: 'string';
|
|
8
|
+
};
|
|
9
|
+
type TextValue = BaseValue & {
|
|
10
|
+
type: 'text';
|
|
11
|
+
max?: number;
|
|
12
|
+
};
|
|
13
|
+
type NumberValue = BaseValue & {
|
|
14
|
+
type: 'number';
|
|
15
|
+
};
|
|
16
|
+
type LinkValue = BaseValue & {
|
|
17
|
+
type: 'link';
|
|
18
|
+
};
|
|
19
|
+
type MediaValue = BaseValue & {
|
|
20
|
+
type: 'media';
|
|
21
|
+
};
|
|
22
|
+
type BooleanValue = BaseValue & {
|
|
23
|
+
type: 'boolean';
|
|
24
|
+
};
|
|
25
|
+
type SelectValue = BaseValue & {
|
|
26
|
+
type: 'select';
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
options: Array<{
|
|
29
|
+
value: string;
|
|
30
|
+
text: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
type CustomModuleValue = StringValue | TextValue | NumberValue | LinkValue | MediaValue | BooleanValue | SelectValue;
|
|
1
35
|
export interface DesignCustomModule {
|
|
2
36
|
hint: string;
|
|
3
37
|
module: string;
|
|
@@ -7,4 +41,6 @@ export interface DesignCustomModule {
|
|
|
7
41
|
name?: string;
|
|
8
42
|
description?: string;
|
|
9
43
|
};
|
|
44
|
+
values?: CustomModuleValue[];
|
|
10
45
|
}
|
|
46
|
+
export {};
|
package/lib/cjs/ShareClient.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type StorageSharedKeyCredential } from '@azure/storage-blob';
|
|
1
2
|
export interface ShareClientOptions {
|
|
2
|
-
connectionString
|
|
3
|
+
connectionString?: string;
|
|
3
4
|
container?: string;
|
|
4
5
|
shareName?: string;
|
|
5
6
|
baseFolder?: string;
|
|
6
7
|
accountName?: string;
|
|
8
|
+
sharedKeyCredentials?: StorageSharedKeyCredential;
|
|
7
9
|
}
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
type BaseValue = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
};
|
|
6
|
+
type StringValue = BaseValue & {
|
|
7
|
+
type: 'string';
|
|
8
|
+
};
|
|
9
|
+
type TextValue = BaseValue & {
|
|
10
|
+
type: 'text';
|
|
11
|
+
max?: number;
|
|
12
|
+
};
|
|
13
|
+
type NumberValue = BaseValue & {
|
|
14
|
+
type: 'number';
|
|
15
|
+
};
|
|
16
|
+
type LinkValue = BaseValue & {
|
|
17
|
+
type: 'link';
|
|
18
|
+
};
|
|
19
|
+
type MediaValue = BaseValue & {
|
|
20
|
+
type: 'media';
|
|
21
|
+
};
|
|
22
|
+
type BooleanValue = BaseValue & {
|
|
23
|
+
type: 'boolean';
|
|
24
|
+
};
|
|
25
|
+
type SelectValue = BaseValue & {
|
|
26
|
+
type: 'select';
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
options: Array<{
|
|
29
|
+
value: string;
|
|
30
|
+
text: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
type CustomModuleValue = StringValue | TextValue | NumberValue | LinkValue | MediaValue | BooleanValue | SelectValue;
|
|
1
35
|
export interface DesignCustomModule {
|
|
2
36
|
hint: string;
|
|
3
37
|
module: string;
|
|
@@ -7,4 +41,6 @@ export interface DesignCustomModule {
|
|
|
7
41
|
name?: string;
|
|
8
42
|
description?: string;
|
|
9
43
|
};
|
|
44
|
+
values?: CustomModuleValue[];
|
|
10
45
|
}
|
|
46
|
+
export {};
|
package/lib/esm/ShareClient.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type StorageSharedKeyCredential } from '@azure/storage-blob';
|
|
1
2
|
export interface ShareClientOptions {
|
|
2
|
-
connectionString
|
|
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.
|
|
3
|
+
"version": "1.31.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",
|
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
type BaseValue = {
|
|
2
|
+
id: string
|
|
3
|
+
label: string
|
|
4
|
+
description?: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
type StringValue = BaseValue & {
|
|
8
|
+
type: 'string'
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type TextValue = BaseValue & {
|
|
12
|
+
type: 'text'
|
|
13
|
+
max?: number
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type NumberValue = BaseValue & {
|
|
17
|
+
type: 'number'
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type LinkValue = BaseValue & {
|
|
21
|
+
type: 'link'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type MediaValue = BaseValue & {
|
|
25
|
+
type: 'media'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type BooleanValue = BaseValue & {
|
|
29
|
+
type: 'boolean'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type SelectValue = BaseValue & {
|
|
33
|
+
type: 'select'
|
|
34
|
+
multiple?: boolean
|
|
35
|
+
options: Array<{
|
|
36
|
+
value: string
|
|
37
|
+
text: string
|
|
38
|
+
description?: string
|
|
39
|
+
}>
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type CustomModuleValue = StringValue | TextValue | NumberValue | LinkValue | MediaValue | BooleanValue | SelectValue
|
|
43
|
+
|
|
1
44
|
export interface DesignCustomModule {
|
|
2
45
|
|
|
3
46
|
hint: string
|
|
@@ -8,5 +51,5 @@ export interface DesignCustomModule {
|
|
|
8
51
|
name?: string
|
|
9
52
|
description?: string
|
|
10
53
|
}
|
|
11
|
-
|
|
12
|
-
}
|
|
54
|
+
values?: CustomModuleValue[]
|
|
55
|
+
}
|
package/src/ShareClient.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { type StorageSharedKeyCredential } from '@azure/storage-blob';
|
|
1
2
|
|
|
2
3
|
export interface ShareClientOptions {
|
|
3
|
-
connectionString
|
|
4
|
+
connectionString?: string
|
|
4
5
|
container?: string
|
|
5
6
|
shareName?: string
|
|
6
7
|
baseFolder?: string
|
|
7
8
|
accountName?: string
|
|
9
|
+
sharedKeyCredentials?: StorageSharedKeyCredential
|
|
8
10
|
}
|