Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Session management #42

Merged
merged 14 commits into from
Dec 12, 2024
Prev Previous commit
Next Next commit
fix + nest debug
elementbound committed Dec 8, 2024
commit 77b46194391eb8091f2c99e633665d1b7480279c
6 changes: 3 additions & 3 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
"license": "GPL-3.0-only",
"version": "0.0.1",
"scripts": {
"start": "bun ./src/main.ts",
"start:dev": "bun --watch ./src/main.ts",
"start:debug": "bun --debug --watch ./src/main.ts",
"start": "NEST_DEBUG=true bun ./src/main.ts",
"start:dev": "NEST_DEBUG=true bun --watch ./src/main.ts",
"start:debug": "NEST_DEBUG=true bun --debug --watch ./src/main.ts",
"start:prod": "bun ./src/main.ts",
"test": "bun test test/spec",
"test:watch": "bun test test/spec --watch",
2 changes: 1 addition & 1 deletion packages/server/src/session/session.service.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
import { SessionDAO } from './session.dao';
import { type Session, SessionStatus } from './session';
import { assert } from 'src/assert';
import type { IDGenerator } from 'src/utils/id.generator';
import { IDGenerator } from 'src/utils/id.generator';

@Injectable()
export class SessionService {