@pipelab/shared 2.0.1-beta.22 → 2.0.1-beta.24
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 +16 -0
- package/dist/index.d.mts +23 -7
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +14 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/apis.ts +1 -0
- package/src/build-history.ts +5 -1
- package/src/config.schema.ts +0 -2
- package/src/i18n/en_US.json +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @pipelab/shared
|
|
2
2
|
|
|
3
|
+
## 2.0.1-beta.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- sd
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @pipelab/migration@1.0.1-beta.23
|
|
10
|
+
|
|
11
|
+
## 2.0.1-beta.23
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- xwc
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @pipelab/migration@1.0.1-beta.22
|
|
18
|
+
|
|
3
19
|
## 2.0.1-beta.22
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1022,13 +1022,17 @@ interface IBuildHistoryStorage {
|
|
|
1022
1022
|
oldestEntry?: number;
|
|
1023
1023
|
newestEntry?: number;
|
|
1024
1024
|
numberOfPipelines: number;
|
|
1025
|
-
cachePath: string;
|
|
1026
1025
|
userDataPath: string;
|
|
1027
1026
|
retentionPolicy: {
|
|
1028
1027
|
enabled: boolean;
|
|
1029
1028
|
maxEntries: number;
|
|
1030
1029
|
maxAge: number;
|
|
1031
1030
|
};
|
|
1031
|
+
disk: {
|
|
1032
|
+
total: number;
|
|
1033
|
+
free: number;
|
|
1034
|
+
pipelab: number;
|
|
1035
|
+
};
|
|
1032
1036
|
}>;
|
|
1033
1037
|
}
|
|
1034
1038
|
interface RetentionPolicy {
|
|
@@ -1207,6 +1211,11 @@ type IpcDefinition$1 = {
|
|
|
1207
1211
|
"build-history:clear": [void, EndEvent$1<{
|
|
1208
1212
|
result: "ok" | "ko";
|
|
1209
1213
|
}>];
|
|
1214
|
+
"build-history:clear-by-pipeline": [{
|
|
1215
|
+
pipelineId: string;
|
|
1216
|
+
}, EndEvent$1<{
|
|
1217
|
+
result: "ok" | "ko";
|
|
1218
|
+
}>];
|
|
1210
1219
|
"build-history:get-storage-info": [void, EndEvent$1<{
|
|
1211
1220
|
totalEntries: number;
|
|
1212
1221
|
totalSize: number;
|
|
@@ -1354,8 +1363,6 @@ declare const AppSettingsValidatorV6: valibot.ObjectSchema<{
|
|
|
1354
1363
|
declare const AppSettingsValidatorV7: valibot.ObjectSchema<{
|
|
1355
1364
|
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1356
1365
|
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1357
|
-
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
1358
|
-
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
1359
1366
|
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
1360
1367
|
readonly tours: valibot.ObjectSchema<{
|
|
1361
1368
|
readonly dashboard: valibot.ObjectSchema<{
|
|
@@ -1392,8 +1399,6 @@ type AppConfig = AppConfigV7;
|
|
|
1392
1399
|
declare const AppSettingsValidator: valibot.ObjectSchema<{
|
|
1393
1400
|
readonly theme: valibot.UnionSchema<[valibot.LiteralSchema<"light", undefined>, valibot.LiteralSchema<"dark", undefined>], undefined>;
|
|
1394
1401
|
readonly version: valibot.LiteralSchema<"7.0.0", undefined>;
|
|
1395
|
-
readonly cacheFolder: valibot.StringSchema<undefined>;
|
|
1396
|
-
readonly clearTemporaryFoldersOnPipelineEnd: valibot.BooleanSchema<undefined>;
|
|
1397
1402
|
readonly locale: valibot.UnionSchema<[valibot.LiteralSchema<"en-US", undefined>, valibot.LiteralSchema<"fr-FR", undefined>, valibot.LiteralSchema<"pt-BR", undefined>, valibot.LiteralSchema<"zh-CN", undefined>, valibot.LiteralSchema<"es-ES", undefined>, valibot.LiteralSchema<"de-DE", undefined>], undefined>;
|
|
1398
1403
|
readonly tours: valibot.ObjectSchema<{
|
|
1399
1404
|
readonly dashboard: valibot.ObjectSchema<{
|
|
@@ -1535,8 +1540,6 @@ declare let settings$5: {
|
|
|
1535
1540
|
advanced: string;
|
|
1536
1541
|
billing: string;
|
|
1537
1542
|
};
|
|
1538
|
-
clearTempFolders: string;
|
|
1539
|
-
clearTempFoldersDescription: string;
|
|
1540
1543
|
"pipeline-cache-folder": string;
|
|
1541
1544
|
"enter-or-browse-for-a-folder": string;
|
|
1542
1545
|
browse: string;
|
|
@@ -1553,6 +1556,19 @@ declare let settings$5: {
|
|
|
1553
1556
|
"restart-dashboard-tour": string;
|
|
1554
1557
|
"restart-editor-tour": string;
|
|
1555
1558
|
"tour-reset-success": string;
|
|
1559
|
+
retentionPolicy: string;
|
|
1560
|
+
retentionPolicyDescription: string;
|
|
1561
|
+
retentionEnabled: string;
|
|
1562
|
+
retentionMaxEntries: string;
|
|
1563
|
+
retentionMaxEntriesDescription: string;
|
|
1564
|
+
retentionMaxAge: string;
|
|
1565
|
+
retentionMaxAgeDescription: string;
|
|
1566
|
+
"storage-pipelab": string;
|
|
1567
|
+
"storage-other": string;
|
|
1568
|
+
"storage-free": string;
|
|
1569
|
+
"disk-usage": string;
|
|
1570
|
+
free: string;
|
|
1571
|
+
other: string;
|
|
1556
1572
|
};
|
|
1557
1573
|
declare namespace headers$5 {
|
|
1558
1574
|
let dashboard: string;
|