@futo-org/backups-orchestrator-api 0.38.0 → 0.40.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/dist/backends/backend.d.ts +2 -1
- package/dist/backends/backend.js.map +1 -1
- package/dist/backends/local.backend.d.ts +2 -1
- package/dist/backends/local.backend.js +9 -0
- package/dist/backends/local.backend.js.map +1 -1
- package/dist/backends/s3.backend.d.ts +2 -1
- package/dist/backends/s3.backend.js +3 -0
- package/dist/backends/s3.backend.js.map +1 -1
- package/dist/backends/yucca.backend.d.ts +4 -2
- package/dist/backends/yucca.backend.js +17 -3
- package/dist/backends/yucca.backend.js.map +1 -1
- package/dist/const.d.ts +1 -0
- package/dist/const.js +2 -1
- package/dist/const.js.map +1 -1
- package/dist/controllers/auth.controller.d.ts +10 -3
- package/dist/controllers/auth.controller.js +61 -7
- package/dist/controllers/auth.controller.js.map +1 -1
- package/dist/controllers/onboarding.controller.d.ts +2 -1
- package/dist/controllers/onboarding.controller.js +6 -3
- package/dist/controllers/onboarding.controller.js.map +1 -1
- package/dist/dto/auth.dto.d.ts +17 -3
- package/dist/dto/auth.dto.js +20 -23
- package/dist/dto/auth.dto.js.map +1 -1
- package/dist/dto/backend.dto.d.ts +35 -12
- package/dist/dto/backend.dto.js +20 -57
- package/dist/dto/backend.dto.js.map +1 -1
- package/dist/dto/filesystem.dto.d.ts +20 -9
- package/dist/dto/filesystem.dto.js +21 -46
- package/dist/dto/filesystem.dto.js.map +1 -1
- package/dist/dto/integrations.dto.d.ts +83 -34
- package/dist/dto/integrations.dto.js +64 -173
- package/dist/dto/integrations.dto.js.map +1 -1
- package/dist/dto/onboarding.dto.d.ts +23 -13
- package/dist/dto/onboarding.dto.js +23 -65
- package/dist/dto/onboarding.dto.js.map +1 -1
- package/dist/dto/repository.dto.d.ts +550 -128
- package/dist/dto/repository.dto.js +181 -430
- package/dist/dto/repository.dto.js.map +1 -1
- package/dist/dto/runningTasks.dto.d.ts +31 -10
- package/dist/dto/runningTasks.dto.js +25 -49
- package/dist/dto/runningTasks.dto.js.map +1 -1
- package/dist/dto/schedule.dto.d.ts +61 -23
- package/dist/dto/schedule.dto.js +47 -130
- package/dist/dto/schedule.dto.js.map +1 -1
- package/dist/dto/ticket.dto.d.ts +14 -0
- package/dist/dto/ticket.dto.js +22 -0
- package/dist/dto/ticket.dto.js.map +1 -0
- package/dist/enum.d.ts +21 -1
- package/dist/enum.js +25 -1
- package/dist/enum.js.map +1 -1
- package/dist/events/events.gateway.d.ts +3 -3
- package/dist/events/events.gateway.js +13 -2
- package/dist/events/events.gateway.js.map +1 -1
- package/dist/middleware/session.guard.d.ts +14 -0
- package/dist/middleware/session.guard.js +49 -0
- package/dist/middleware/session.guard.js.map +1 -0
- package/dist/moduleConfig.d.ts +1 -0
- package/dist/orchestrationApi.module.d.ts +2 -1
- package/dist/orchestrationApi.module.js +8 -0
- package/dist/orchestrationApi.module.js.map +1 -1
- package/dist/proxy/resticProxy.d.ts +11 -0
- package/dist/proxy/resticProxy.js +93 -0
- package/dist/proxy/resticProxy.js.map +1 -0
- package/dist/proxy/resticProxyPool.d.ts +9 -0
- package/dist/proxy/resticProxyPool.js +44 -0
- package/dist/proxy/resticProxyPool.js.map +1 -0
- package/dist/repositories/config.repository.d.ts +2 -0
- package/dist/repositories/config.repository.js +10 -0
- package/dist/repositories/config.repository.js.map +1 -1
- package/dist/repositories/runHistory.repository.d.ts +4 -4
- package/dist/schema/tables/backend.table.d.ts +1 -0
- package/dist/schema/tables/backend.table.js.map +1 -1
- package/dist/services/auth.service.d.ts +11 -6
- package/dist/services/auth.service.js +130 -51
- package/dist/services/auth.service.js.map +1 -1
- package/dist/services/onboarding.service.d.ts +4 -2
- package/dist/services/onboarding.service.js +14 -3
- package/dist/services/onboarding.service.js.map +1 -1
- package/dist/services/session.service.d.ts +26 -0
- package/dist/services/session.service.js +88 -0
- package/dist/services/session.service.js.map +1 -0
- package/package.json +4 -3
package/dist/dto/backend.dto.js
CHANGED
|
@@ -1,69 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreateLocalBackendRequestDto = exports.BackendResponseDto = exports.BackendsResponseDto = exports.BackendDto = void 0;
|
|
13
|
-
const
|
|
14
|
-
const
|
|
3
|
+
exports.CreateLocalBackendRequestDto = exports.BackendResponseDto = exports.BackendsResponseDto = exports.BackendDto = exports.BackendTypeSchema = void 0;
|
|
4
|
+
const nestjs_zod_1 = require("nestjs-zod");
|
|
5
|
+
const zod_1 = require("zod");
|
|
15
6
|
const enum_1 = require("../enum");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
exports.BackendTypeSchema = zod_1.z.enum(enum_1.BackendType).meta({ id: 'BackendType' });
|
|
8
|
+
const BackendSchema = zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
id: zod_1.z.string(),
|
|
11
|
+
type: exports.BackendTypeSchema,
|
|
12
|
+
description: zod_1.z.string(),
|
|
13
|
+
isOnline: zod_1.z.boolean(),
|
|
14
|
+
error: zod_1.z.string().optional(),
|
|
15
|
+
})
|
|
16
|
+
.meta({ id: 'BackendDto' });
|
|
17
|
+
const BackendsResponseSchema = zod_1.z.object({ backends: zod_1.z.array(BackendSchema) }).meta({ id: 'BackendsResponseDto' });
|
|
18
|
+
const BackendResponseSchema = zod_1.z.object({ backend: BackendSchema }).meta({ id: 'BackendResponseDto' });
|
|
19
|
+
const CreateLocalBackendRequestSchema = zod_1.z.object({ path: zod_1.z.string() }).meta({ id: 'CreateLocalBackendRequestDto' });
|
|
20
|
+
class BackendDto extends (0, nestjs_zod_1.createZodDto)(BackendSchema) {
|
|
22
21
|
}
|
|
23
22
|
exports.BackendDto = BackendDto;
|
|
24
|
-
|
|
25
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], BackendDto.prototype, "id", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({ enumName: 'BackendType', enum: enum_1.BackendType }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], BackendDto.prototype, "type", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], BackendDto.prototype, "description", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
38
|
-
__metadata("design:type", Boolean)
|
|
39
|
-
], BackendDto.prototype, "isOnline", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], BackendDto.prototype, "error", void 0);
|
|
44
|
-
class BackendsResponseDto {
|
|
45
|
-
backends;
|
|
23
|
+
class BackendsResponseDto extends (0, nestjs_zod_1.createZodDto)(BackendsResponseSchema) {
|
|
46
24
|
}
|
|
47
25
|
exports.BackendsResponseDto = BackendsResponseDto;
|
|
48
|
-
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: [BackendDto] }),
|
|
50
|
-
__metadata("design:type", Array)
|
|
51
|
-
], BackendsResponseDto.prototype, "backends", void 0);
|
|
52
|
-
class BackendResponseDto {
|
|
53
|
-
backend;
|
|
26
|
+
class BackendResponseDto extends (0, nestjs_zod_1.createZodDto)(BackendResponseSchema) {
|
|
54
27
|
}
|
|
55
28
|
exports.BackendResponseDto = BackendResponseDto;
|
|
56
|
-
|
|
57
|
-
(0, swagger_1.ApiProperty)({ type: BackendDto }),
|
|
58
|
-
__metadata("design:type", BackendDto)
|
|
59
|
-
], BackendResponseDto.prototype, "backend", void 0);
|
|
60
|
-
class CreateLocalBackendRequestDto {
|
|
61
|
-
path;
|
|
29
|
+
class CreateLocalBackendRequestDto extends (0, nestjs_zod_1.createZodDto)(CreateLocalBackendRequestSchema) {
|
|
62
30
|
}
|
|
63
31
|
exports.CreateLocalBackendRequestDto = CreateLocalBackendRequestDto;
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
66
|
-
(0, class_validator_1.IsString)(),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], CreateLocalBackendRequestDto.prototype, "path", void 0);
|
|
69
32
|
//# sourceMappingURL=backend.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend.dto.js","sourceRoot":"","sources":["../../src/dto/backend.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backend.dto.js","sourceRoot":"","sources":["../../src/dto/backend.dto.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAC1C,6BAAwB;AACxB,kCAAsC;AAEzB,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;AAEjF,MAAM,aAAa,GAAG,OAAC;KACpB,MAAM,CAAC;IACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;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z.ZodOptional<z.ZodString>;
|
|
4
|
+
}, z.core.$strip>, false>;
|
|
5
|
+
export declare class FilesystemListingRequestDto extends FilesystemListingRequestDto_base {
|
|
3
6
|
}
|
|
4
|
-
|
|
5
|
-
path:
|
|
6
|
-
isDirectory:
|
|
7
|
+
declare const FilesystemListingItemDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
8
|
+
path: z.ZodString;
|
|
9
|
+
isDirectory: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>, false>;
|
|
11
|
+
export declare class FilesystemListingItemDto extends FilesystemListingItemDto_base {
|
|
7
12
|
}
|
|
8
|
-
|
|
9
|
-
parent:
|
|
10
|
-
path:
|
|
11
|
-
items:
|
|
13
|
+
declare const FilesystemListingResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
14
|
+
parent: z.ZodString;
|
|
15
|
+
path: z.ZodString;
|
|
16
|
+
items: z.ZodArray<z.ZodObject<{
|
|
17
|
+
path: z.ZodString;
|
|
18
|
+
isDirectory: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>, false>;
|
|
21
|
+
export declare class FilesystemListingResponseDto extends FilesystemListingResponseDto_base {
|
|
12
22
|
}
|
|
23
|
+
export {};
|
|
@@ -1,56 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.FilesystemListingResponseDto = exports.FilesystemListingItemDto = exports.FilesystemListingRequestDto = void 0;
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
path
|
|
4
|
+
const nestjs_zod_1 = require("nestjs-zod");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const FilesystemListingRequestSchema = zod_1.z
|
|
7
|
+
.object({ path: zod_1.z.string().optional() })
|
|
8
|
+
.meta({ id: 'FilesystemListingRequestDto' });
|
|
9
|
+
const FilesystemListingItemSchema = zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
path: zod_1.z.string(),
|
|
12
|
+
isDirectory: zod_1.z.boolean(),
|
|
13
|
+
})
|
|
14
|
+
.meta({ id: 'FilesystemListingItemDto' });
|
|
15
|
+
const FilesystemListingResponseSchema = zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
parent: zod_1.z.string(),
|
|
18
|
+
path: zod_1.z.string(),
|
|
19
|
+
items: zod_1.z.array(FilesystemListingItemSchema),
|
|
20
|
+
})
|
|
21
|
+
.meta({ id: 'FilesystemListingResponseDto' });
|
|
22
|
+
class FilesystemListingRequestDto extends (0, nestjs_zod_1.createZodDto)(FilesystemListingRequestSchema) {
|
|
17
23
|
}
|
|
18
24
|
exports.FilesystemListingRequestDto = FilesystemListingRequestDto;
|
|
19
|
-
|
|
20
|
-
(0, swagger_1.ApiProperty)({ type: () => String, required: false }),
|
|
21
|
-
(0, class_validator_1.IsOptional)(),
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], FilesystemListingRequestDto.prototype, "path", void 0);
|
|
25
|
-
class FilesystemListingItemDto {
|
|
26
|
-
path;
|
|
27
|
-
isDirectory;
|
|
25
|
+
class FilesystemListingItemDto extends (0, nestjs_zod_1.createZodDto)(FilesystemListingItemSchema) {
|
|
28
26
|
}
|
|
29
27
|
exports.FilesystemListingItemDto = FilesystemListingItemDto;
|
|
30
|
-
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: () => String }),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], FilesystemListingItemDto.prototype, "path", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ type: () => Boolean }),
|
|
36
|
-
__metadata("design:type", Boolean)
|
|
37
|
-
], FilesystemListingItemDto.prototype, "isDirectory", void 0);
|
|
38
|
-
class FilesystemListingResponseDto {
|
|
39
|
-
parent;
|
|
40
|
-
path;
|
|
41
|
-
items;
|
|
28
|
+
class FilesystemListingResponseDto extends (0, nestjs_zod_1.createZodDto)(FilesystemListingResponseSchema) {
|
|
42
29
|
}
|
|
43
30
|
exports.FilesystemListingResponseDto = FilesystemListingResponseDto;
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)({ type: () => String }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], FilesystemListingResponseDto.prototype, "parent", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: () => String }),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], FilesystemListingResponseDto.prototype, "path", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, swagger_1.ApiProperty)({ type: () => [FilesystemListingItemDto] }),
|
|
54
|
-
__metadata("design:type", Array)
|
|
55
|
-
], FilesystemListingResponseDto.prototype, "items", void 0);
|
|
56
31
|
//# sourceMappingURL=filesystem.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.dto.js","sourceRoot":"","sources":["../../src/dto/filesystem.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filesystem.dto.js","sourceRoot":"","sources":["../../src/dto/filesystem.dto.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAC1C,6BAAwB;AAExB,MAAM,8BAA8B,GAAG,OAAC;KACrC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC;KACvC,IAAI,CAAC,EAAE,EAAE,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAE/C,MAAM,2BAA2B,GAAG,OAAC;KAClC,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE;CACzB,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,0BAA0B,EAAE,CAAC,CAAC;AAE5C,MAAM,+BAA+B,GAAG,OAAC;KACtC,MAAM,CAAC;IACN,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CAC5C,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,8BAA8B,EAAE,CAAC,CAAC;AAEhD,MAAa,2BAA4B,SAAQ,IAAA,yBAAY,EAAC,8BAA8B,CAAC;CAAG;AAAhG,kEAAgG;AAChG,MAAa,wBAAyB,SAAQ,IAAA,yBAAY,EAAC,2BAA2B,CAAC;CAAG;AAA1F,4DAA0F;AAC1F,MAAa,4BAA6B,SAAQ,IAAA,yBAAY,EAAC,+BAA+B,CAAC;CAAG;AAAlG,oEAAkG"}
|
|
@@ -1,41 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
id:
|
|
4
|
-
name:
|
|
5
|
-
importPaths:
|
|
6
|
-
exclusionPatterns:
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const ImmichLibraryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
importPaths: z.ZodArray<z.ZodString>;
|
|
6
|
+
exclusionPatterns: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>, false>;
|
|
8
|
+
export declare class ImmichLibraryDto extends ImmichLibraryDto_base {
|
|
7
9
|
}
|
|
8
|
-
|
|
9
|
-
dataPath:
|
|
10
|
-
dataFolders:
|
|
11
|
-
libraries:
|
|
10
|
+
declare const ImmichStateDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
11
|
+
dataPath: z.ZodString;
|
|
12
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
13
|
+
libraries: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
importPaths: z.ZodArray<z.ZodString>;
|
|
17
|
+
exclusionPatterns: z.ZodArray<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>, false>;
|
|
20
|
+
export declare class ImmichStateDto extends ImmichStateDto_base {
|
|
12
21
|
}
|
|
13
|
-
|
|
14
|
-
dataFolders:
|
|
15
|
-
backupConfiguration:
|
|
16
|
-
libraries:
|
|
22
|
+
declare const ImmichIntegrationConfigurationDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
23
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
24
|
+
backupConfiguration: z.ZodBoolean;
|
|
25
|
+
libraries: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
|
|
26
|
+
}, z.core.$strip>, false>;
|
|
27
|
+
export declare class ImmichIntegrationConfigurationDto extends ImmichIntegrationConfigurationDto_base {
|
|
17
28
|
}
|
|
18
|
-
|
|
19
|
-
id:
|
|
20
|
-
scheduleId:
|
|
21
|
-
configuration:
|
|
29
|
+
declare const ImmichIntegrationDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
scheduleId: z.ZodString;
|
|
32
|
+
configuration: z.ZodObject<{
|
|
33
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
34
|
+
backupConfiguration: z.ZodBoolean;
|
|
35
|
+
libraries: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
}, z.core.$strip>, false>;
|
|
38
|
+
export declare class ImmichIntegrationDto extends ImmichIntegrationDto_base {
|
|
22
39
|
}
|
|
23
|
-
|
|
24
|
-
immichState
|
|
25
|
-
|
|
40
|
+
declare const IntegrationsResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
41
|
+
immichState: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
dataPath: z.ZodString;
|
|
43
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
44
|
+
libraries: z.ZodArray<z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
importPaths: z.ZodArray<z.ZodString>;
|
|
48
|
+
exclusionPatterns: z.ZodArray<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
immichIntegration: z.ZodOptional<z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
scheduleId: z.ZodString;
|
|
54
|
+
configuration: z.ZodObject<{
|
|
55
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
56
|
+
backupConfiguration: z.ZodBoolean;
|
|
57
|
+
libraries: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
}, z.core.$strip>, false>;
|
|
61
|
+
export declare class IntegrationsResponseDto extends IntegrationsResponseDto_base {
|
|
26
62
|
}
|
|
27
|
-
|
|
28
|
-
name:
|
|
29
|
-
worm:
|
|
30
|
-
cron:
|
|
31
|
-
dataFolders:
|
|
32
|
-
backupConfiguration:
|
|
33
|
-
libraries:
|
|
34
|
-
retentionPolicy
|
|
35
|
-
|
|
63
|
+
declare const ConfigureImmichIntegrationRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
worm: z.ZodBoolean;
|
|
66
|
+
cron: z.ZodString;
|
|
67
|
+
dataFolders: z.ZodArray<z.ZodString>;
|
|
68
|
+
backupConfiguration: z.ZodBoolean;
|
|
69
|
+
libraries: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>;
|
|
70
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
72
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
73
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
74
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
75
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
76
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
77
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
}, z.core.$strip>, false>;
|
|
81
|
+
export declare class ConfigureImmichIntegrationRequestDto extends ConfigureImmichIntegrationRequestDto_base {
|
|
36
82
|
}
|
|
37
|
-
|
|
38
|
-
repositoryId:
|
|
39
|
-
snapshotId:
|
|
40
|
-
backupFileName
|
|
83
|
+
declare const ImmichRollbackRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
84
|
+
repositoryId: z.ZodString;
|
|
85
|
+
snapshotId: z.ZodString;
|
|
86
|
+
backupFileName: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>, false>;
|
|
88
|
+
export declare class ImmichRollbackRequestDto extends ImmichRollbackRequestDto_base {
|
|
41
89
|
}
|
|
90
|
+
export {};
|
|
@@ -1,192 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.ImmichRollbackRequestDto = exports.ConfigureImmichIntegrationRequestDto = exports.IntegrationsResponseDto = exports.ImmichIntegrationDto = exports.ImmichIntegrationConfigurationDto = exports.ImmichStateDto = exports.ImmichLibraryDto = void 0;
|
|
13
|
-
const
|
|
14
|
-
const
|
|
4
|
+
const nestjs_zod_1 = require("nestjs-zod");
|
|
5
|
+
const zod_1 = require("zod");
|
|
15
6
|
const repository_dto_1 = require("./repository.dto");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
const LibrariesSchema = zod_1.z.union([zod_1.z.literal('all'), zod_1.z.array(zod_1.z.string())]);
|
|
8
|
+
const ImmichLibrarySchema = zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
id: zod_1.z.string(),
|
|
11
|
+
name: zod_1.z.string(),
|
|
12
|
+
importPaths: zod_1.z.array(zod_1.z.string()),
|
|
13
|
+
exclusionPatterns: zod_1.z.array(zod_1.z.string()),
|
|
14
|
+
})
|
|
15
|
+
.meta({ id: 'ImmichLibraryDto' });
|
|
16
|
+
const ImmichStateSchema = zod_1.z
|
|
17
|
+
.object({
|
|
18
|
+
dataPath: zod_1.z.string(),
|
|
19
|
+
dataFolders: zod_1.z.array(zod_1.z.string()),
|
|
20
|
+
libraries: zod_1.z.array(ImmichLibrarySchema),
|
|
21
|
+
})
|
|
22
|
+
.meta({ id: 'ImmichStateDto' });
|
|
23
|
+
const ImmichIntegrationConfigurationSchema = zod_1.z
|
|
24
|
+
.object({
|
|
25
|
+
dataFolders: zod_1.z.array(zod_1.z.string()),
|
|
26
|
+
backupConfiguration: zod_1.z.boolean(),
|
|
27
|
+
libraries: LibrariesSchema,
|
|
28
|
+
})
|
|
29
|
+
.meta({ id: 'ImmichIntegrationConfigurationDto' });
|
|
30
|
+
const ImmichIntegrationSchema = zod_1.z
|
|
31
|
+
.object({
|
|
32
|
+
id: zod_1.z.string(),
|
|
33
|
+
scheduleId: zod_1.z.string(),
|
|
34
|
+
configuration: ImmichIntegrationConfigurationSchema,
|
|
35
|
+
})
|
|
36
|
+
.meta({ id: 'ImmichIntegrationDto' });
|
|
37
|
+
const IntegrationsResponseSchema = zod_1.z
|
|
38
|
+
.object({
|
|
39
|
+
immichState: ImmichStateSchema.optional(),
|
|
40
|
+
immichIntegration: ImmichIntegrationSchema.optional(),
|
|
41
|
+
})
|
|
42
|
+
.meta({ id: 'IntegrationsResponseDto' });
|
|
43
|
+
const ConfigureImmichIntegrationRequestSchema = zod_1.z
|
|
44
|
+
.object({
|
|
45
|
+
name: zod_1.z.string(),
|
|
46
|
+
worm: zod_1.z.boolean(),
|
|
47
|
+
cron: zod_1.z.string(),
|
|
48
|
+
dataFolders: zod_1.z.array(zod_1.z.string()),
|
|
49
|
+
backupConfiguration: zod_1.z.boolean(),
|
|
50
|
+
libraries: LibrariesSchema,
|
|
51
|
+
retentionPolicy: repository_dto_1.RetentionPolicySchema.nullable().optional(),
|
|
52
|
+
paused: zod_1.z.boolean().optional(),
|
|
53
|
+
})
|
|
54
|
+
.meta({ id: 'ConfigureImmichIntegrationRequestDto' });
|
|
55
|
+
const ImmichRollbackRequestSchema = zod_1.z
|
|
56
|
+
.object({
|
|
57
|
+
repositoryId: zod_1.z.string(),
|
|
58
|
+
snapshotId: zod_1.z.string(),
|
|
59
|
+
backupFileName: zod_1.z.string().optional(),
|
|
60
|
+
})
|
|
61
|
+
.meta({ id: 'ImmichRollbackRequestDto' });
|
|
62
|
+
class ImmichLibraryDto extends (0, nestjs_zod_1.createZodDto)(ImmichLibrarySchema) {
|
|
21
63
|
}
|
|
22
64
|
exports.ImmichLibraryDto = ImmichLibraryDto;
|
|
23
|
-
|
|
24
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], ImmichLibraryDto.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ImmichLibraryDto.prototype, "name", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
33
|
-
__metadata("design:type", Array)
|
|
34
|
-
], ImmichLibraryDto.prototype, "importPaths", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], ImmichLibraryDto.prototype, "exclusionPatterns", void 0);
|
|
39
|
-
class ImmichStateDto {
|
|
40
|
-
dataPath;
|
|
41
|
-
dataFolders;
|
|
42
|
-
libraries;
|
|
65
|
+
class ImmichStateDto extends (0, nestjs_zod_1.createZodDto)(ImmichStateSchema) {
|
|
43
66
|
}
|
|
44
67
|
exports.ImmichStateDto = ImmichStateDto;
|
|
45
|
-
|
|
46
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], ImmichStateDto.prototype, "dataPath", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
51
|
-
__metadata("design:type", Array)
|
|
52
|
-
], ImmichStateDto.prototype, "dataFolders", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiProperty)({ type: [ImmichLibraryDto] }),
|
|
55
|
-
__metadata("design:type", Array)
|
|
56
|
-
], ImmichStateDto.prototype, "libraries", void 0);
|
|
57
|
-
class ImmichIntegrationConfigurationDto {
|
|
58
|
-
dataFolders;
|
|
59
|
-
backupConfiguration;
|
|
60
|
-
libraries;
|
|
68
|
+
class ImmichIntegrationConfigurationDto extends (0, nestjs_zod_1.createZodDto)(ImmichIntegrationConfigurationSchema) {
|
|
61
69
|
}
|
|
62
70
|
exports.ImmichIntegrationConfigurationDto = ImmichIntegrationConfigurationDto;
|
|
63
|
-
|
|
64
|
-
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
65
|
-
__metadata("design:type", Array)
|
|
66
|
-
], ImmichIntegrationConfigurationDto.prototype, "dataFolders", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
69
|
-
__metadata("design:type", Boolean)
|
|
70
|
-
], ImmichIntegrationConfigurationDto.prototype, "backupConfiguration", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, swagger_1.ApiProperty)({
|
|
73
|
-
oneOf: [
|
|
74
|
-
{ type: 'string', enum: ['all'] },
|
|
75
|
-
{ type: 'array', items: { type: 'string' } },
|
|
76
|
-
],
|
|
77
|
-
}),
|
|
78
|
-
__metadata("design:type", Object)
|
|
79
|
-
], ImmichIntegrationConfigurationDto.prototype, "libraries", void 0);
|
|
80
|
-
class ImmichIntegrationDto {
|
|
81
|
-
id;
|
|
82
|
-
scheduleId;
|
|
83
|
-
configuration;
|
|
71
|
+
class ImmichIntegrationDto extends (0, nestjs_zod_1.createZodDto)(ImmichIntegrationSchema) {
|
|
84
72
|
}
|
|
85
73
|
exports.ImmichIntegrationDto = ImmichIntegrationDto;
|
|
86
|
-
|
|
87
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], ImmichIntegrationDto.prototype, "id", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], ImmichIntegrationDto.prototype, "scheduleId", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, swagger_1.ApiProperty)({ type: ImmichIntegrationConfigurationDto }),
|
|
96
|
-
__metadata("design:type", ImmichIntegrationConfigurationDto)
|
|
97
|
-
], ImmichIntegrationDto.prototype, "configuration", void 0);
|
|
98
|
-
class IntegrationsResponseDto {
|
|
99
|
-
immichState;
|
|
100
|
-
immichIntegration;
|
|
74
|
+
class IntegrationsResponseDto extends (0, nestjs_zod_1.createZodDto)(IntegrationsResponseSchema) {
|
|
101
75
|
}
|
|
102
76
|
exports.IntegrationsResponseDto = IntegrationsResponseDto;
|
|
103
|
-
|
|
104
|
-
(0, swagger_1.ApiProperty)({ type: ImmichStateDto, required: false }),
|
|
105
|
-
__metadata("design:type", ImmichStateDto)
|
|
106
|
-
], IntegrationsResponseDto.prototype, "immichState", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, swagger_1.ApiProperty)({ type: ImmichIntegrationDto, required: false }),
|
|
109
|
-
__metadata("design:type", ImmichIntegrationDto)
|
|
110
|
-
], IntegrationsResponseDto.prototype, "immichIntegration", void 0);
|
|
111
|
-
class ConfigureImmichIntegrationRequestDto {
|
|
112
|
-
name;
|
|
113
|
-
worm;
|
|
114
|
-
cron;
|
|
115
|
-
dataFolders;
|
|
116
|
-
backupConfiguration;
|
|
117
|
-
libraries;
|
|
118
|
-
retentionPolicy;
|
|
119
|
-
paused;
|
|
77
|
+
class ConfigureImmichIntegrationRequestDto extends (0, nestjs_zod_1.createZodDto)(ConfigureImmichIntegrationRequestSchema) {
|
|
120
78
|
}
|
|
121
79
|
exports.ConfigureImmichIntegrationRequestDto = ConfigureImmichIntegrationRequestDto;
|
|
122
|
-
|
|
123
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
124
|
-
(0, class_validator_1.IsString)(),
|
|
125
|
-
__metadata("design:type", String)
|
|
126
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "name", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
129
|
-
(0, class_validator_1.IsBoolean)(),
|
|
130
|
-
__metadata("design:type", Boolean)
|
|
131
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "worm", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
134
|
-
(0, class_validator_1.IsString)(),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "cron", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
139
|
-
(0, class_validator_1.IsArray)(),
|
|
140
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
141
|
-
__metadata("design:type", Array)
|
|
142
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "dataFolders", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
145
|
-
(0, class_validator_1.IsBoolean)(),
|
|
146
|
-
__metadata("design:type", Boolean)
|
|
147
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "backupConfiguration", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, swagger_1.ApiProperty)({
|
|
150
|
-
oneOf: [
|
|
151
|
-
{ type: 'string', enum: ['all'] },
|
|
152
|
-
{ type: 'array', items: { type: 'string' } },
|
|
153
|
-
],
|
|
154
|
-
}),
|
|
155
|
-
(0, class_validator_1.IsDefined)(),
|
|
156
|
-
__metadata("design:type", Object)
|
|
157
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "libraries", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, swagger_1.ApiProperty)({ type: repository_dto_1.RetentionPolicyDto, required: false, nullable: true }),
|
|
160
|
-
(0, class_validator_1.IsOptional)(),
|
|
161
|
-
(0, class_validator_1.IsObject)(),
|
|
162
|
-
__metadata("design:type", Object)
|
|
163
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "retentionPolicy", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, swagger_1.ApiProperty)({ type: Boolean, required: false }),
|
|
166
|
-
(0, class_validator_1.IsOptional)(),
|
|
167
|
-
(0, class_validator_1.IsBoolean)(),
|
|
168
|
-
__metadata("design:type", Boolean)
|
|
169
|
-
], ConfigureImmichIntegrationRequestDto.prototype, "paused", void 0);
|
|
170
|
-
class ImmichRollbackRequestDto {
|
|
171
|
-
repositoryId;
|
|
172
|
-
snapshotId;
|
|
173
|
-
backupFileName;
|
|
80
|
+
class ImmichRollbackRequestDto extends (0, nestjs_zod_1.createZodDto)(ImmichRollbackRequestSchema) {
|
|
174
81
|
}
|
|
175
82
|
exports.ImmichRollbackRequestDto = ImmichRollbackRequestDto;
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
178
|
-
(0, class_validator_1.IsString)(),
|
|
179
|
-
__metadata("design:type", String)
|
|
180
|
-
], ImmichRollbackRequestDto.prototype, "repositoryId", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
(0, swagger_1.ApiProperty)({ type: String }),
|
|
183
|
-
(0, class_validator_1.IsString)(),
|
|
184
|
-
__metadata("design:type", String)
|
|
185
|
-
], ImmichRollbackRequestDto.prototype, "snapshotId", void 0);
|
|
186
|
-
__decorate([
|
|
187
|
-
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
188
|
-
(0, class_validator_1.IsOptional)(),
|
|
189
|
-
(0, class_validator_1.IsString)(),
|
|
190
|
-
__metadata("design:type", String)
|
|
191
|
-
], ImmichRollbackRequestDto.prototype, "backupFileName", void 0);
|
|
192
83
|
//# sourceMappingURL=integrations.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.dto.js","sourceRoot":"","sources":["../../src/dto/integrations.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integrations.dto.js","sourceRoot":"","sources":["../../src/dto/integrations.dto.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAC1C,6BAAwB;AACxB,qDAAyD;AAEzD,MAAM,eAAe,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;AAEzE,MAAM,mBAAmB,GAAG,OAAC;KAC1B,MAAM,CAAC;IACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAChC,iBAAiB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACvC,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAEpC,MAAM,iBAAiB,GAAG,OAAC;KACxB,MAAM,CAAC;IACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAChC,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACxC,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,gBAAgB,EAAE,CAAC,C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