Update deps and fix types

This commit is contained in:
Bradley Shellnut 2024-11-10 11:52:18 -08:00
parent c9b6269ce9
commit 9694e17844
3 changed files with 14 additions and 13 deletions

View file

@ -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",

View file

@ -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

View file

@ -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<AppBindings>;
export type AppOpenAPI = Hono<AppBindings>;
@ -10,7 +11,7 @@ export type AppOpenAPI = Hono<AppBindings>;
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: {