Skip to content

Commit 7cdd840

Browse files
committed
feat: move nextAutoContinueAt into base Game via generateBaseGame factory
- Add generateBaseGame(opts?) factory to platform Game type - Default Game export includes nextAutoContinueAt resolving to null - Remove demo-game stub (no longer needed)
1 parent 42cca1a commit 7cdd840

File tree

5 files changed

+71
-31
lines changed

5 files changed

+71
-31
lines changed

apps/demo-game/src/graphql/generated/nexus-typegen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ export interface NexusGenFieldTypes {
292292
facts: NexusGenScalars['JSONObject']; // JSONObject!
293293
id: string; // ID!
294294
name: string; // String!
295+
nextAutoContinueAt: NexusGenScalars['DateTime'] | null; // DateTime
295296
periods: NexusGenRootTypes['Period'][]; // [Period!]!
296297
players: NexusGenRootTypes['Player'][]; // [Player!]!
297298
status: NexusGenEnums['GameStatus']; // GameStatus!
@@ -486,6 +487,7 @@ export interface NexusGenFieldTypeNames {
486487
facts: 'JSONObject'
487488
id: 'ID'
488489
name: 'String'
490+
nextAutoContinueAt: 'DateTime'
489491
periods: 'Period'
490492
players: 'Player'
491493
status: 'GameStatus'

0 commit comments

Comments
 (0)