wip: migrate backend to new game package

This commit is contained in:
Justin Lin committed 2025-04-21 22:40:11 +08:00
1 parent 1d843f7355
commit 1616f62755
94 files changed
+263 -3055

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ export interface ISession {
updatedAt: Date
finishedAt?: Date
lastActivityAt: Date
stages: string[]
completedEvents: string[]
graph: INode
}
@@ -61,7 +61,7 @@ export const Session = model<ISession>(
default: Date.now,
required: true,
},
stages: [String],
completedEvents: [String],
graph: {
type: nodeSchema,
default: {