@ludeo/cloud-common 1.2.198 → 1.2.200-beta-yahil-1
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/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.d.ts +3 -3
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.js +1 -2
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.js.map +1 -1
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.d.ts +4 -4
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.js +1 -2
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.d.ts +5 -4
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +5 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.d.ts +4 -3
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +5 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +4 -3
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +5 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/types/build.d.ts +1 -0
- package/dist/v4/types/build.js.map +1 -1
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.d.ts +2 -1
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js.map +1 -1
- package/dist/v4/types/site-controller/create-distribution.dto.d.ts +2 -2
- package/dist/v4/types/site-controller/create-distribution.dto.js +4 -3
- package/dist/v4/types/site-controller/create-distribution.dto.js.map +1 -1
- package/dist/v4/types/site-controller/create-game.dto.d.ts +2 -1
- package/dist/v4/types/site-controller/create-game.dto.js +5 -3
- package/dist/v4/types/site-controller/create-game.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/cloud-builds/create-ludeocast-build-distribution-request.ts +11 -9
- package/src/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.ts +13 -11
- package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +14 -9
- package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +14 -8
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +14 -8
- package/src/v4/types/build.ts +1 -0
- package/src/v4/types/cloud/ludeocast-v2/provider-settings.ts +3 -1
- package/src/v4/types/site-controller/create-distribution.dto.ts +5 -4
- package/src/v4/types/site-controller/create-game.dto.ts +4 -2
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { IsArray,
|
|
2
|
-
import { LudeocastV2Distributions } from '../build';
|
|
1
|
+
import { IsArray, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { LudeocastV2DistributionData, LudeocastV2Distributions } from '../build';
|
|
3
|
+
import { ValidateNestedType } from '../../../decorators';
|
|
3
4
|
|
|
4
5
|
export class CreateBuildDistributionRequestDto {
|
|
5
6
|
@IsString()
|
|
6
7
|
downloadURL: string; // S3 URL (e.g., s3://bucket/path)
|
|
7
8
|
|
|
8
|
-
@
|
|
9
|
-
|
|
9
|
+
@ValidateNestedType(() => LudeocastV2DistributionData)
|
|
10
|
+
distributionData: LudeocastV2DistributionData;
|
|
10
11
|
|
|
11
12
|
@IsString()
|
|
12
13
|
buildId: string; // Build ID for distribution naming (e.g., 'build-{buildId}')
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
|
|
3
3
|
import { MachineMode } from './types';
|
|
4
|
+
import { LudeocastV2DistributionData } from '../build';
|
|
5
|
+
import { ValidateNestedType } from '../../../decorators';
|
|
4
6
|
|
|
5
7
|
export class CreateGameRequestDto {
|
|
6
8
|
@IsString()
|
|
@@ -18,8 +20,8 @@ export class CreateGameRequestDto {
|
|
|
18
20
|
@IsString()
|
|
19
21
|
machineType: string;
|
|
20
22
|
|
|
21
|
-
@
|
|
22
|
-
|
|
23
|
+
@ValidateNestedType(() => LudeocastV2DistributionData)
|
|
24
|
+
distributionData: LudeocastV2DistributionData;
|
|
23
25
|
|
|
24
26
|
@IsOptional()
|
|
25
27
|
additionalEnvironmentVariables?: Record<string, string>;
|