@anweather/game-plugin-ssdk 1.18.0 → 1.19.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-cjs/src/models/models_0.js +71 -1
- package/dist-cjs/src/protocols/Aws_restJson1.js +10 -0
- package/dist-cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist-es/src/models/models_0.js +70 -0
- package/dist-es/src/protocols/Aws_restJson1.js +10 -0
- package/dist-es/tsconfig.es.tsbuildinfo +1 -1
- package/dist-types/src/models/models_0.d.ts +46 -0
- package/package.json +1 -1
|
@@ -201,6 +201,47 @@ export declare namespace GameStatusOutput {
|
|
|
201
201
|
*/
|
|
202
202
|
const validate: (obj: GameStatusOutput, path?: string) => __ValidationFailure[];
|
|
203
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
* @enum
|
|
207
|
+
*/
|
|
208
|
+
export declare const LiveMode: {
|
|
209
|
+
readonly HOSTED: "HOSTED";
|
|
210
|
+
readonly RELAY: "RELAY";
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
export type LiveMode = typeof LiveMode[keyof typeof LiveMode];
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @enum
|
|
219
|
+
*/
|
|
220
|
+
export declare const LiveScope: {
|
|
221
|
+
readonly GAME: "GAME";
|
|
222
|
+
readonly SPACE: "SPACE";
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export type LiveScope = typeof LiveScope[keyof typeof LiveScope];
|
|
228
|
+
/**
|
|
229
|
+
* A game type's live channels (LIVE_CHANNELS_DESIGN.md §4.1).
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export interface LiveCapability {
|
|
233
|
+
mode: LiveMode | undefined;
|
|
234
|
+
scope?: LiveScope | undefined;
|
|
235
|
+
spectators?: boolean | undefined;
|
|
236
|
+
maxSignalsPerSecond?: number | undefined;
|
|
237
|
+
maxSignalBytes?: number | undefined;
|
|
238
|
+
}
|
|
239
|
+
export declare namespace LiveCapability {
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
const validate: (obj: LiveCapability, path?: string) => __ValidationFailure[];
|
|
244
|
+
}
|
|
204
245
|
/**
|
|
205
246
|
* A game type's Spaces: shared contexts above individual Games, whose
|
|
206
247
|
* membership the platform owns (LIVE_CHANNELS_DESIGN.md §3.5).
|
|
@@ -243,6 +284,11 @@ export interface GameTypeMetadata {
|
|
|
243
284
|
* @public
|
|
244
285
|
*/
|
|
245
286
|
spaces?: SpaceCapability | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* A game type's live channels (LIVE_CHANNELS_DESIGN.md §4.1).
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
live?: LiveCapability | undefined;
|
|
246
292
|
}
|
|
247
293
|
export declare namespace GameTypeMetadata {
|
|
248
294
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anweather/game-plugin-ssdk",
|
|
3
3
|
"description": "Generated GamePlugin RPC types/server (plugin-protocol/model/game-plugin.smithy) plus a hand-written Express bridge and default-handler wrapper (./runtime) -- see plugin-protocol/CLAUDE.md's \"Publishing for cross-repo plugins\".",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.19.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'npm:build:cjs' 'npm:build:es' 'npm:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|