@ludeo/cloud-common 1.2.189-beta-yahil-3 → 1.2.189-beta-yahil-4

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.
@@ -1,5 +1,6 @@
1
1
  export declare class CreateBuildSnapshotRequestDto {
2
2
  downloadURL: string;
3
+ sizeGB: number;
3
4
  buildId: string;
4
5
  }
5
6
  export declare class CreateBuildSnapshotResponseDto {
@@ -18,6 +18,10 @@ __decorate([
18
18
  (0, class_validator_1.IsString)(),
19
19
  __metadata("design:type", String)
20
20
  ], CreateBuildSnapshotRequestDto.prototype, "downloadURL", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], CreateBuildSnapshotRequestDto.prototype, "sizeGB", void 0);
21
25
  __decorate([
22
26
  (0, class_validator_1.IsString)(),
23
27
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"create-snapshot.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-snapshot.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,6BAA6B;CAMzC;AAND,sEAMC;AAJC;IADC,IAAA,0BAAQ,GAAE;;kEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;8DACK;AAGlB,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACW"}
1
+ {"version":3,"file":"create-snapshot.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-snapshot.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,6BAA6B;CASzC;AATD,sEASC;AAPC;IADC,IAAA,0BAAQ,GAAE;;kEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;6DACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;8DACK;AAGlB,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACW"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.189-beta-yahil-3",
3
+ "version": "1.2.189-beta-yahil-4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -1,9 +1,12 @@
1
- import { IsOptional, IsString } from 'class-validator';
1
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
2
2
 
3
3
  export class CreateBuildSnapshotRequestDto {
4
4
  @IsString()
5
5
  downloadURL: string; // S3 URL (e.g., s3://bucket/path)
6
6
 
7
+ @IsNumber()
8
+ sizeGB: number;
9
+
7
10
  @IsString()
8
11
  buildId: string; // Build ID for snapshot naming (e.g., 'build-{buildId}')
9
12
  }