Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { fastifyAltairPlugin } from '@app/lib/graphql/ui.ts';
import * as routes from '@app/routes/index.ts';

import { buildAjvOptions } from './ajv.ts';
import { emptyAuth } from './auth/index.ts';
import * as auth from './auth/index.ts';
import { emptyAuth } from './auth/index.ts';
import config, { testing, VERSION } from './config.ts';
import type { Context } from './graphql/context.ts';
import { resolvers, schema } from './graphql/schema.ts';
Expand Down
2 changes: 1 addition & 1 deletion lib/services/base.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { OptionsInit } from 'got';
import { Options } from 'got';
import * as got from 'got';
import { Options } from 'got';

import { HTTPS_PROXY } from '@app/lib/config.ts';
import { getProxyAgent } from '@app/lib/utils/proxy.ts';
Expand Down
2 changes: 1 addition & 1 deletion lib/services/turnstile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { stage, testing } from '@app/lib/config.ts';
import config from '@app/lib/config.ts';
import { stage, testing } from '@app/lib/config.ts';

import { BaseExternalHttpSrv } from './base.ts';

Expand Down
1 change: 0 additions & 1 deletion lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,5 @@ export function parseConvertedValue<T extends TSchema>(schema: T, value: unknown
const converted = Value.Convert(schema, value);
const result = Value.Parse(schema, converted);

// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return result;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"eslint-config-prettier": "10.1.8",
"eslint-plugin-erasable-syntax-only": "0.4.0",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-simple-import-sort": "13.0.0",
"eslint-plugin-tsdoc": "0.5.2",
"eslint-plugin-unicorn": "64.0.0",
"eslint-plugin-unused-imports": "4.4.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion routes/hooks/pre-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type { FastifyReply, FastifyRequest } from 'fastify';
import { db, op, schema } from '@app/drizzle';
import * as authCode from '@app/lib/auth/authcode.ts';
import type { IAuth } from '@app/lib/auth/index.ts';
import { emptyAuth, NeedLoginError, NotAllowedError } from '@app/lib/auth/index.ts';
import * as auth from '@app/lib/auth/index.ts';
import { emptyAuth, NeedLoginError, NotAllowedError } from '@app/lib/auth/index.ts';
import * as session from '@app/lib/auth/session.ts';
import { CookieKey, LegacyCookieKey } from '@app/lib/auth/session.ts';
import { TypedCache } from '@app/lib/cache.ts';
Expand Down