diff --git a/package.json b/package.json index 14627ed..b286410 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@sveltejs/adapter-vercel": "^5.4.7", "@types/feather-icons": "^4.29.4", "boardgamegeekclient": "^1.9.1", - "bullmq": "^5.25.3", + "bullmq": "^5.25.4", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "cookie": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50b7cc0..f277762 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: ^1.9.1 version: 1.9.1 bullmq: - specifier: ^5.25.3 - version: 5.25.3 + specifier: ^5.25.4 + version: 5.25.4 class-variance-authority: specifier: ^0.7.0 version: 0.7.0 @@ -2567,8 +2567,8 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - bullmq@5.25.3: - resolution: {integrity: sha512-nUFTszxV/V3qJMZQxSMNOBF1HiGKh895WyJmE5keUonkutpTsxdYIr0dzVUTPbhXvBvW9LWlY7BetWY3afy/MQ==} + bullmq@5.25.4: + resolution: {integrity: sha512-f9M5qfFOg9hdoMWmux9x9rZm9ZUPTMFfdDMO2zRsi7IOzgvZ0UxB6oTk77PlC9YSDYoufAgBw82xU1nwvnsKSA==} bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} @@ -7061,7 +7061,7 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 - bullmq@5.25.3: + bullmq@5.25.4: dependencies: cron-parser: 4.9.0 ioredis: 5.4.1 diff --git a/src/lib/server/api/common/types/hono.ts b/src/lib/server/api/common/types/hono.ts index 2511bdc..9c79e3d 100644 --- a/src/lib/server/api/common/types/hono.ts +++ b/src/lib/server/api/common/types/hono.ts @@ -1,8 +1,9 @@ -import type {Sessions} from '$lib/server/api/databases/postgres/tables'; -import type {Hono} from 'hono'; -import type {PinoLogger} from 'hono-pino'; -import type {Promisify, RateLimitInfo} from 'hono-rate-limiter'; -import type {User} from 'lucia'; +import type { Sessions } from '$lib/server/api/databases/postgres/tables'; +import type { Session } from '$lib/server/api/services/sessions.service'; +import type { Hono } from 'hono'; +import type { PinoLogger } from 'hono-pino'; +import type { Promisify, RateLimitInfo } from 'hono-rate-limiter'; +import type { User } from 'lucia'; // export type AppOpenAPI = OpenAPIHono; export type AppOpenAPI = Hono; @@ -10,7 +11,7 @@ export type AppOpenAPI = Hono; export type AppBindings = { Variables: { logger: PinoLogger; - session: Sessions | null; + session: Session | null; user: User | null; rateLimit: RateLimitInfo; rateLimitStore: { @@ -23,7 +24,7 @@ export type AppBindings = { export type HonoTypes = { Variables: { logger: PinoLogger; - session: Sessions | null; + session: Session | null; user: User | null; rateLimit: RateLimitInfo; rateLimitStore: {