@ludeo/cloud-common 1.2.192-beta-yahil-4 → 1.2.192
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-build-snapshot-request.d.ts +1 -1
- package/dist/v4/events/cloud-builds/create-build-snapshot-request.js +4 -4
- package/dist/v4/events/cloud-builds/create-build-snapshot-request.js.map +1 -1
- package/dist/v4/events/cloud-builds/terminate-build-snapshot-request.d.ts +2 -2
- package/dist/v4/events/cloud-builds/terminate-build-snapshot-request.js +3 -3
- package/dist/v4/events/cloud-builds/terminate-build-snapshot-request.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.d.ts +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.js +1 -0
- package/dist/v4/events/ludeocast-agent/resource-update.js.map +1 -1
- package/dist/v4/events/site-controller/build-snapshot-creation-ended.d.ts +2 -2
- package/dist/v4/events/site-controller/build-snapshot-creation-ended.js +3 -3
- package/dist/v4/events/site-controller/build-snapshot-creation-ended.js.map +1 -1
- package/dist/v4/events/site-controller/resource-status-update.d.ts +9 -5
- package/dist/v4/events/site-controller/resource-status-update.js +22 -4
- package/dist/v4/events/site-controller/resource-status-update.js.map +1 -1
- package/dist/v4/types/build.d.ts +4 -8
- package/dist/v4/types/build.js +12 -6
- package/dist/v4/types/build.js.map +1 -1
- package/dist/v4/types/site-controller/create-snapshot.dto.d.ts +1 -3
- package/dist/v4/types/site-controller/create-snapshot.dto.js +3 -8
- package/dist/v4/types/site-controller/create-snapshot.dto.js.map +1 -1
- package/dist/v4/types/site-controller/terminate-build-snapshot.dto.d.ts +2 -2
- package/dist/v4/types/site-controller/terminate-build-snapshot.dto.js +3 -3
- package/dist/v4/types/site-controller/terminate-build-snapshot.dto.js.map +1 -1
- package/dist/v4/types/site-controller/types.d.ts +2 -2
- package/package.json +1 -1
- package/src/v4/events/cloud-builds/create-build-snapshot-request.ts +4 -4
- package/src/v4/events/cloud-builds/terminate-build-snapshot-request.ts +3 -3
- package/src/v4/events/ludeocast-agent/resource-update.ts +2 -1
- package/src/v4/events/site-controller/build-snapshot-creation-ended.ts +3 -3
- package/src/v4/events/site-controller/resource-status-update.ts +21 -7
- package/src/v4/types/build.ts +7 -11
- package/src/v4/types/site-controller/create-snapshot.dto.ts +3 -7
- package/src/v4/types/site-controller/terminate-build-snapshot.dto.ts +4 -3
- package/src/v4/types/site-controller/types.ts +2 -2
package/src/v4/types/build.ts
CHANGED
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
AWSProviderSettings,
|
|
4
4
|
CloudProvider,
|
|
5
5
|
LudeoCastProviderSettings,
|
|
6
|
-
LudeoCastV2ProviderSettings,
|
|
7
6
|
} from "./cloud";
|
|
8
7
|
import * as GameLift from "@aws-sdk/client-gameliftstreams";
|
|
9
8
|
|
|
@@ -96,14 +95,17 @@ export class LudeocastDistributions {
|
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
export class LudeocastV2DistributionData {
|
|
98
|
+
@IsString()
|
|
99
99
|
snapshotName: string;
|
|
100
|
+
|
|
101
|
+
@IsArray()
|
|
102
|
+
@IsString({ each: true })
|
|
103
|
+
storageLocations: string[]; // Multi-regional storage locations (e.g., ["us", "eu", "asia"])
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
export class LudeocastV2Artifacts {}
|
|
103
107
|
|
|
104
|
-
export class LudeocastV2Distributions {
|
|
105
|
-
[region: string]: LudeocastV2DistributionData;
|
|
106
|
-
}
|
|
108
|
+
export class LudeocastV2Distributions extends LudeocastV2DistributionData {}
|
|
107
109
|
|
|
108
110
|
export type Distributions = AwsDistributions | LudeocastDistributions | LudeocastV2Distributions;
|
|
109
111
|
|
|
@@ -172,7 +174,6 @@ export class BuildAssignmentProvidersSettings {
|
|
|
172
174
|
[CloudProvider.GAMELIFT]?: AwsBuildAssignmentSettings;
|
|
173
175
|
[CloudProvider.AWS]?: AwsBuildAssignmentSettings;
|
|
174
176
|
[CloudProvider.LUDEOCAST]?: LudeoCastBuildAssignmentSettings;
|
|
175
|
-
[CloudProvider.LUDEOCAST_V2]?: LudeoCastV2BuildAssignmentSettings;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
export class LudeoCastBuildAssignmentSettings {
|
|
@@ -183,10 +184,6 @@ export class AwsBuildAssignmentSettings {
|
|
|
183
184
|
[region: string]: AWSProviderSettings;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
|
-
export class LudeoCastV2BuildAssignmentSettings {
|
|
187
|
-
[region: string]: LudeoCastV2ProviderSettings[];
|
|
188
|
-
}
|
|
189
|
-
|
|
190
187
|
export enum StreamGroupStatus {
|
|
191
188
|
ACTIVATING = "ACTIVATING",
|
|
192
189
|
ACTIVE = "ACTIVE",
|
|
@@ -231,8 +228,7 @@ export class BuildsAssignmentsData {
|
|
|
231
228
|
|
|
232
229
|
export type BuildAssignmentProviderSettings =
|
|
233
230
|
| AwsBuildAssignmentSettings
|
|
234
|
-
| LudeoCastBuildAssignmentSettings
|
|
235
|
-
| LudeoCastV2BuildAssignmentSettings;
|
|
231
|
+
| LudeoCastBuildAssignmentSettings;
|
|
236
232
|
|
|
237
233
|
export class BuildAssignmentData {
|
|
238
234
|
buildVersion: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LudeocastV2Distributions } from '../build';
|
|
1
|
+
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
|
3
2
|
|
|
4
3
|
export class CreateBuildSnapshotRequestDto {
|
|
5
4
|
@IsString()
|
|
@@ -10,10 +9,6 @@ export class CreateBuildSnapshotRequestDto {
|
|
|
10
9
|
|
|
11
10
|
@IsString()
|
|
12
11
|
buildId: string; // Build ID for snapshot naming (e.g., 'build-{buildId}')
|
|
13
|
-
|
|
14
|
-
@IsArray()
|
|
15
|
-
@IsString({ each: true })
|
|
16
|
-
regions: string[];
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
export class CreateBuildSnapshotResponseDto {
|
|
@@ -24,6 +19,7 @@ export class CreateBuildSnapshotResponseDto {
|
|
|
24
19
|
message?: string;
|
|
25
20
|
|
|
26
21
|
@IsOptional()
|
|
27
|
-
|
|
22
|
+
@IsString()
|
|
23
|
+
snapshotName?: string; // Name of the created snapshot
|
|
28
24
|
}
|
|
29
25
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { IsArray, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ValidateNestedType } from '../../../decorators';
|
|
3
|
-
import {
|
|
3
|
+
import { LudeocastV2DistributionData } from '../build';
|
|
4
4
|
|
|
5
5
|
export class TerminateBuildSnapshotRequestDto {
|
|
6
6
|
@IsString()
|
|
7
7
|
buildId: string;
|
|
8
8
|
|
|
9
9
|
@IsOptional()
|
|
10
|
-
@ValidateNestedType(() =>
|
|
11
|
-
|
|
10
|
+
@ValidateNestedType(() => LudeocastV2DistributionData)
|
|
11
|
+
distributionData?: LudeocastV2DistributionData;
|
|
12
|
+
|
|
12
13
|
|
|
13
14
|
@IsOptional()
|
|
14
15
|
@IsArray()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsString, IsOptional, IsObject, IsArray } from 'class-validator';
|
|
2
|
-
import {
|
|
2
|
+
import { LudeocastV2DistributionData } from '../build';
|
|
3
3
|
import { MachineResourceSettings } from '../pools';
|
|
4
4
|
import { LudeoCastV2MachineResourceProviderSettings } from '../cloud';
|
|
5
5
|
|
|
@@ -86,6 +86,6 @@ export interface GameSiteAdapterStatusPayload extends SiteAdapterStatusPayload {
|
|
|
86
86
|
export interface BuildSnapshotAdapterStatusPayload
|
|
87
87
|
extends SiteAdapterStatusPayload {
|
|
88
88
|
buildId?: string;
|
|
89
|
-
|
|
89
|
+
distributionData?: LudeocastV2DistributionData;
|
|
90
90
|
envIds?: string[];
|
|
91
91
|
}
|