mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Update deps and fix types
This commit is contained in:
parent
c9b6269ce9
commit
9694e17844
3 changed files with 14 additions and 13 deletions
|
|
@ -102,7 +102,7 @@
|
||||||
"@sveltejs/adapter-vercel": "^5.4.7",
|
"@sveltejs/adapter-vercel": "^5.4.7",
|
||||||
"@types/feather-icons": "^4.29.4",
|
"@types/feather-icons": "^4.29.4",
|
||||||
"boardgamegeekclient": "^1.9.1",
|
"boardgamegeekclient": "^1.9.1",
|
||||||
"bullmq": "^5.25.3",
|
"bullmq": "^5.25.4",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cookie": "^1.0.1",
|
"cookie": "^1.0.1",
|
||||||
|
|
|
||||||
|
|
@ -81,8 +81,8 @@ importers:
|
||||||
specifier: ^1.9.1
|
specifier: ^1.9.1
|
||||||
version: 1.9.1
|
version: 1.9.1
|
||||||
bullmq:
|
bullmq:
|
||||||
specifier: ^5.25.3
|
specifier: ^5.25.4
|
||||||
version: 5.25.3
|
version: 5.25.4
|
||||||
class-variance-authority:
|
class-variance-authority:
|
||||||
specifier: ^0.7.0
|
specifier: ^0.7.0
|
||||||
version: 0.7.0
|
version: 0.7.0
|
||||||
|
|
@ -2567,8 +2567,8 @@ packages:
|
||||||
buffer@6.0.3:
|
buffer@6.0.3:
|
||||||
resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}
|
resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}
|
||||||
|
|
||||||
bullmq@5.25.3:
|
bullmq@5.25.4:
|
||||||
resolution: {integrity: sha512-nUFTszxV/V3qJMZQxSMNOBF1HiGKh895WyJmE5keUonkutpTsxdYIr0dzVUTPbhXvBvW9LWlY7BetWY3afy/MQ==}
|
resolution: {integrity: sha512-f9M5qfFOg9hdoMWmux9x9rZm9ZUPTMFfdDMO2zRsi7IOzgvZ0UxB6oTk77PlC9YSDYoufAgBw82xU1nwvnsKSA==}
|
||||||
|
|
||||||
bytes@3.1.2:
|
bytes@3.1.2:
|
||||||
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
|
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
|
||||||
|
|
@ -7061,7 +7061,7 @@ snapshots:
|
||||||
base64-js: 1.5.1
|
base64-js: 1.5.1
|
||||||
ieee754: 1.2.1
|
ieee754: 1.2.1
|
||||||
|
|
||||||
bullmq@5.25.3:
|
bullmq@5.25.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
cron-parser: 4.9.0
|
cron-parser: 4.9.0
|
||||||
ioredis: 5.4.1
|
ioredis: 5.4.1
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
import type {Sessions} from '$lib/server/api/databases/postgres/tables';
|
import type { Sessions } from '$lib/server/api/databases/postgres/tables';
|
||||||
import type {Hono} from 'hono';
|
import type { Session } from '$lib/server/api/services/sessions.service';
|
||||||
import type {PinoLogger} from 'hono-pino';
|
import type { Hono } from 'hono';
|
||||||
import type {Promisify, RateLimitInfo} from 'hono-rate-limiter';
|
import type { PinoLogger } from 'hono-pino';
|
||||||
import type {User} from 'lucia';
|
import type { Promisify, RateLimitInfo } from 'hono-rate-limiter';
|
||||||
|
import type { User } from 'lucia';
|
||||||
|
|
||||||
// export type AppOpenAPI = OpenAPIHono<AppBindings>;
|
// export type AppOpenAPI = OpenAPIHono<AppBindings>;
|
||||||
export type AppOpenAPI = Hono<AppBindings>;
|
export type AppOpenAPI = Hono<AppBindings>;
|
||||||
|
|
@ -10,7 +11,7 @@ export type AppOpenAPI = Hono<AppBindings>;
|
||||||
export type AppBindings = {
|
export type AppBindings = {
|
||||||
Variables: {
|
Variables: {
|
||||||
logger: PinoLogger;
|
logger: PinoLogger;
|
||||||
session: Sessions | null;
|
session: Session | null;
|
||||||
user: User | null;
|
user: User | null;
|
||||||
rateLimit: RateLimitInfo;
|
rateLimit: RateLimitInfo;
|
||||||
rateLimitStore: {
|
rateLimitStore: {
|
||||||
|
|
@ -23,7 +24,7 @@ export type AppBindings = {
|
||||||
export type HonoTypes = {
|
export type HonoTypes = {
|
||||||
Variables: {
|
Variables: {
|
||||||
logger: PinoLogger;
|
logger: PinoLogger;
|
||||||
session: Sessions | null;
|
session: Session | null;
|
||||||
user: User | null;
|
user: User | null;
|
||||||
rateLimit: RateLimitInfo;
|
rateLimit: RateLimitInfo;
|
||||||
rateLimitStore: {
|
rateLimitStore: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue