mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-05 16:46:50 +00:00
chore(types): fix type issues and update other packages
This commit is contained in:
@@ -36,6 +36,9 @@ const nextConfig = {
|
||||
{
|
||||
hostname: 'eoceqrx2r7.ufs.sh'
|
||||
},
|
||||
{
|
||||
hostname: 'thesvg.org',
|
||||
}
|
||||
],
|
||||
minimumCacheTTL: 120,
|
||||
},
|
||||
|
||||
@@ -19,7 +19,13 @@ export async function POST(request: NextRequest, segmentData: { params: Params }
|
||||
const body = await request.json();
|
||||
const parsedBody = bodySchema.safeParse(body);
|
||||
if (!parsedBody.success) {
|
||||
return new Response(JSON.stringify({ success: false, error: parsedBody.error.errors.map(e => e.message).join(', ') }), { status: 400 });
|
||||
return new Response(
|
||||
JSON.stringify({
|
||||
success: false,
|
||||
error: parsedBody.error.issues.map((issue) => issue.message).join(', '),
|
||||
}),
|
||||
{ status: 400 }
|
||||
);
|
||||
}
|
||||
|
||||
const { action, name } = parsedBody.data;
|
||||
@@ -121,4 +127,4 @@ export async function GET(request: NextRequest, segmentData: { params: Params })
|
||||
function generateApiKey() {
|
||||
const uuid = crypto.randomUUID().replace(/-/g, '');
|
||||
return `hctvb_${uuid}`;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1118,9 +1118,7 @@ export default function ChannelSettingsClient({
|
||||
value={
|
||||
typeof field.value === 'string'
|
||||
? field.value
|
||||
: Array.isArray(field.value)
|
||||
? field.value.join('\n')
|
||||
: ''
|
||||
: ''
|
||||
}
|
||||
disabled={channel.is247}
|
||||
rows={4}
|
||||
|
||||
@@ -9,7 +9,7 @@ interface EmojiSearchProps {
|
||||
onSelect: (emoji: string) => void;
|
||||
socket: WebSocket | null;
|
||||
emojiMap: Map<string, string>;
|
||||
textareaRef: React.RefObject<HTMLTextAreaElement>;
|
||||
textareaRef: React.RefObject<HTMLTextAreaElement | null>;
|
||||
}
|
||||
|
||||
export function EmojiSearch({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import { Path, useForm } from 'react-hook-form';
|
||||
import { FieldValues, Path, useForm } from 'react-hook-form';
|
||||
import {
|
||||
Form,
|
||||
FormControl,
|
||||
@@ -11,7 +11,6 @@ import {
|
||||
FormMessage,
|
||||
} from '@/components/ui/form';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { z } from 'zod';
|
||||
import type { UniversalFormProps } from './types';
|
||||
import SubmitButton from '../SubmitButton/SubmitButton';
|
||||
import { useActionState } from 'react';
|
||||
@@ -43,7 +42,7 @@ export const schemaDb = [
|
||||
{ name: 'updateNotificationChannels', zod: updateNotificationChannelsSchema },
|
||||
] as const;
|
||||
|
||||
export function UniversalForm<T extends z.ZodType>({
|
||||
export function UniversalForm({
|
||||
fields,
|
||||
schemaName,
|
||||
action,
|
||||
@@ -54,7 +53,7 @@ export function UniversalForm<T extends z.ZodType>({
|
||||
submitClassname,
|
||||
otherSubmitButton,
|
||||
submitButtonDivClassname,
|
||||
}: UniversalFormProps<T>) {
|
||||
}: UniversalFormProps) {
|
||||
// @ts-expect-error - idk
|
||||
const [state, formAction] = useActionState<{ success: boolean; error?: string }>(action, null);
|
||||
const schema = schemaDb.find((s) => s.name === schemaName)?.zod;
|
||||
@@ -72,11 +71,9 @@ export function UniversalForm<T extends z.ZodType>({
|
||||
return { ...values, ...defaultValues };
|
||||
}, [fields, defaultValues]);
|
||||
|
||||
type FormData = z.infer<T>;
|
||||
|
||||
const form = useForm<FormData>({
|
||||
const form = useForm<FieldValues>({
|
||||
resolver: zodResolver(schema as any),
|
||||
defaultValues: initialValues as FormData,
|
||||
defaultValues: initialValues,
|
||||
});
|
||||
|
||||
React.useEffect(() => {
|
||||
@@ -95,7 +92,7 @@ export function UniversalForm<T extends z.ZodType>({
|
||||
<FormField
|
||||
key={field.name}
|
||||
control={form.control}
|
||||
name={field.name as Path<FormData>}
|
||||
name={field.name as Path<FieldValues>}
|
||||
render={({ field: formField }) => (
|
||||
<FormItem className={field.type === 'hidden' ? 'hidden' : undefined}>
|
||||
{field.type !== 'hidden' && field.label && <FormLabel>{field.label}</FormLabel>}
|
||||
|
||||
@@ -1,34 +1,35 @@
|
||||
import type { HTMLInputTypeAttribute, Ref } from 'react';
|
||||
import { ControllerRenderProps } from 'react-hook-form';
|
||||
import { z } from 'zod';
|
||||
import { ControllerRenderProps, FieldValues } from 'react-hook-form';
|
||||
import { schemaDb } from './UniversalForm';
|
||||
|
||||
export type FormFieldConfig<T extends z.ZodType> = {
|
||||
type FormFieldValue = string | number | boolean | null | undefined;
|
||||
|
||||
export type FormFieldConfig = {
|
||||
name: string;
|
||||
label?: string;
|
||||
type?: HTMLInputTypeAttribute;
|
||||
placeholder?: string;
|
||||
description?: string;
|
||||
value?: z.input<T>[keyof z.input<T>];
|
||||
value?: FormFieldValue;
|
||||
textArea?: boolean;
|
||||
textAreaRows?: number;
|
||||
maxChars?: number;
|
||||
inputFilter?: RegExp;
|
||||
component?: (
|
||||
props: {
|
||||
field: ControllerRenderProps<z.infer<T>>;
|
||||
field: ControllerRenderProps<FieldValues>;
|
||||
} & Record<string, unknown>
|
||||
) => React.ReactNode;
|
||||
componentProps?: Record<string, any>;
|
||||
required?: boolean;
|
||||
};
|
||||
|
||||
export type UniversalFormProps<T extends z.ZodType> = {
|
||||
fields: FormFieldConfig<T>[];
|
||||
export type UniversalFormProps = {
|
||||
fields: FormFieldConfig[];
|
||||
schemaName: (typeof schemaDb)[number]['name'];
|
||||
action: (prev: any, formData: FormData) => void;
|
||||
onActionComplete?: (result: any) => void;
|
||||
defaultValues?: Partial<z.infer<T>>;
|
||||
defaultValues?: Partial<FieldValues>;
|
||||
formRef?: Ref<HTMLFormElement>;
|
||||
submitText?: string;
|
||||
submitClassname?: string;
|
||||
|
||||
@@ -26,7 +26,6 @@ export function useProcessor(md: string) {
|
||||
mention: ["handle"],
|
||||
},
|
||||
})
|
||||
// @ts-expect-error because mention is not valid html-tag
|
||||
.use(rehypeReact, {
|
||||
createElement,
|
||||
Fragment,
|
||||
@@ -37,7 +36,7 @@ export function useProcessor(md: string) {
|
||||
},
|
||||
})
|
||||
.process(text)
|
||||
.then((file) => {
|
||||
.then((file: { result: React.ReactNode }) => {
|
||||
setContent(file.result);
|
||||
});
|
||||
}, [text]);
|
||||
|
||||
@@ -30,8 +30,11 @@ export default async function zodVerify<TSchema extends z.ZodTypeAny>(
|
||||
|
||||
const zod = schema.safeParse(obj);
|
||||
if (!zod.success) {
|
||||
const [issue] = zod.error.issues;
|
||||
const path = issue.path[0] === undefined ? 'form' : String(issue.path[0]);
|
||||
|
||||
return {
|
||||
error: `From ${zod.error.errors[0].path[0]}: ${zod.error.errors[0].message}`,
|
||||
error: `From ${path}: ${issue.message}`,
|
||||
success: false,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { uploadthingPlugin } from 'uploadthing/tw';
|
||||
import type { Config } from 'tailwindcss';
|
||||
|
||||
const config = {
|
||||
darkMode: ['class'],
|
||||
darkMode: 'class',
|
||||
content: ['./src/**/*.{ts,tsx}'],
|
||||
prefix: '',
|
||||
theme: {
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
"lucia": "^3.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.8.2"
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,9 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/honojs/middleware",
|
||||
"devDependencies": {
|
||||
"@hono/node-server": "^2.0.1",
|
||||
"@types/ws": "^8",
|
||||
"hono": "^4.12.16",
|
||||
"tsup": "^8.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -30,8 +32,8 @@
|
||||
"@hctv/db": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@hono/node-server": "^1.11.1",
|
||||
"hono": "^4.6.0"
|
||||
"@hono/node-server": "^2.0.1",
|
||||
"hono": "^4.12.16"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.14.1"
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"@typescript-eslint/parser": "^8.50.1",
|
||||
"eslint": "^9.39.2",
|
||||
"tsup": "^8.5.1",
|
||||
"typescript": "^5.6.2",
|
||||
"typescript": "^6.0.3",
|
||||
"vitest": "^4.0.16"
|
||||
}
|
||||
}
|
||||
|
||||
177
pnpm-lock.yaml
generated
177
pnpm-lock.yaml
generated
@@ -330,7 +330,7 @@ importers:
|
||||
version: link:../db
|
||||
'@lucia-auth/adapter-prisma':
|
||||
specifier: ^4.0.1
|
||||
version: 4.0.1(@prisma/client@6.19.1(prisma@6.19.1(typescript@5.9.3))(typescript@5.9.3))(lucia@3.2.2)
|
||||
version: 4.0.1(@prisma/client@6.19.1(prisma@6.19.1(typescript@6.0.3))(typescript@6.0.3))(lucia@3.2.2)
|
||||
arctic:
|
||||
specifier: ^3.1.1
|
||||
version: 3.7.0
|
||||
@@ -339,8 +339,8 @@ importers:
|
||||
version: 3.2.2
|
||||
devDependencies:
|
||||
typescript:
|
||||
specifier: ^5.8.2
|
||||
version: 5.9.3
|
||||
specifier: ^6.0.3
|
||||
version: 6.0.3
|
||||
|
||||
packages/db:
|
||||
dependencies:
|
||||
@@ -369,19 +369,19 @@ importers:
|
||||
'@hctv/db':
|
||||
specifier: workspace:*
|
||||
version: link:../db
|
||||
'@hono/node-server':
|
||||
specifier: ^1.11.1
|
||||
version: 1.19.7(hono@4.11.3)
|
||||
hono:
|
||||
specifier: ^4.6.0
|
||||
version: 4.11.3
|
||||
ws:
|
||||
specifier: ^8.17.0
|
||||
version: 8.18.3
|
||||
devDependencies:
|
||||
'@hono/node-server':
|
||||
specifier: ^2.0.1
|
||||
version: 2.0.1(hono@4.12.16)
|
||||
'@types/ws':
|
||||
specifier: ^8
|
||||
version: 8.18.1
|
||||
hono:
|
||||
specifier: ^4.12.16
|
||||
version: 4.12.16
|
||||
tsup:
|
||||
specifier: ^8.0.1
|
||||
version: 8.5.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(typescript@6.0.3)(yaml@2.8.3)
|
||||
@@ -400,22 +400,22 @@ importers:
|
||||
version: 8.18.1
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^8.50.1
|
||||
version: 8.51.0(@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
version: 8.51.0(@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3))(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^8.50.1
|
||||
version: 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
version: 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
eslint:
|
||||
specifier: ^9.39.2
|
||||
version: 9.39.2(jiti@2.6.1)
|
||||
tsup:
|
||||
specifier: ^8.5.1
|
||||
version: 8.5.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.8.3)
|
||||
version: 8.5.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(typescript@6.0.3)(yaml@2.8.3)
|
||||
typescript:
|
||||
specifier: ^5.6.2
|
||||
version: 5.9.3
|
||||
specifier: ^6.0.3
|
||||
version: 6.0.3
|
||||
vitest:
|
||||
specifier: ^4.0.16
|
||||
version: 4.0.16(@opentelemetry/api@1.9.1)(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(msw@2.14.2(@types/node@25.1.0)(typescript@5.9.3))(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3)
|
||||
version: 4.0.16(@opentelemetry/api@1.9.1)(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(msw@2.14.2(@types/node@25.1.0)(typescript@6.0.3))(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3)
|
||||
|
||||
packages:
|
||||
|
||||
@@ -1163,12 +1163,6 @@ packages:
|
||||
peerDependencies:
|
||||
hono: ^4
|
||||
|
||||
'@hono/node-server@1.19.7':
|
||||
resolution: {integrity: sha512-vUcD0uauS7EU2caukW8z5lJKtoGMokxNbJtBiwHgpqxEXokaHCBkQUmCHhjFB1VUTWdqj25QoMkMKzgjq+uhrw==}
|
||||
engines: {node: '>=18.14.1'}
|
||||
peerDependencies:
|
||||
hono: ^4
|
||||
|
||||
'@hono/node-server@2.0.1':
|
||||
resolution: {integrity: sha512-jI9yMDyFpqBeSighf/zlXnQG/nl9AyBc6aAgy4XtxJMyt/CNyJpvPfzDD+bCc2zAOmhhqtF6TnmIaY+xV4mIrw==}
|
||||
engines: {node: '>=20'}
|
||||
@@ -5586,10 +5580,6 @@ packages:
|
||||
hls.js@1.6.16:
|
||||
resolution: {integrity: sha512-VSIRpLfRwlAAdGL4wiTucx2ScRipo0ed1FBatWkyt832jC4CReKstga6yIhYVwGu9LOBjuX9wzmRMeQdBJtzEA==}
|
||||
|
||||
hono@4.11.3:
|
||||
resolution: {integrity: sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w==}
|
||||
engines: {node: '>=16.9.0'}
|
||||
|
||||
hono@4.12.16:
|
||||
resolution: {integrity: sha512-jN0ZewiNAWSe5khM3EyCmBb250+b40wWbwNILNfEvq84VREWwOIkuUsFONk/3i3nqkz7Oe1PcpM2mwQEK2L9Kg==}
|
||||
engines: {node: '>=16.9.0'}
|
||||
@@ -7985,11 +7975,6 @@ packages:
|
||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||
typescript: '>=4.8.4 <6.1.0'
|
||||
|
||||
typescript@5.9.3:
|
||||
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
|
||||
engines: {node: '>=14.17'}
|
||||
hasBin: true
|
||||
|
||||
typescript@6.0.3:
|
||||
resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
|
||||
engines: {node: '>=14.17'}
|
||||
@@ -9491,10 +9476,6 @@ snapshots:
|
||||
dependencies:
|
||||
hono: 4.12.16
|
||||
|
||||
'@hono/node-server@1.19.7(hono@4.11.3)':
|
||||
dependencies:
|
||||
hono: 4.11.3
|
||||
|
||||
'@hono/node-server@2.0.1(hono@4.12.16)':
|
||||
dependencies:
|
||||
hono: 4.12.16
|
||||
@@ -9777,11 +9758,6 @@ snapshots:
|
||||
'@lezer/highlight': 1.2.3
|
||||
'@lezer/lr': 1.4.10
|
||||
|
||||
'@lucia-auth/adapter-prisma@4.0.1(@prisma/client@6.19.1(prisma@6.19.1(typescript@5.9.3))(typescript@5.9.3))(lucia@3.2.2)':
|
||||
dependencies:
|
||||
'@prisma/client': 6.19.1(prisma@6.19.1(typescript@5.9.3))(typescript@5.9.3)
|
||||
lucia: 3.2.2
|
||||
|
||||
'@lucia-auth/adapter-prisma@4.0.1(@prisma/client@6.19.1(prisma@6.19.1(typescript@6.0.3))(typescript@6.0.3))(lucia@3.2.2)':
|
||||
dependencies:
|
||||
'@prisma/client': 6.19.1(prisma@6.19.1(typescript@6.0.3))(typescript@6.0.3)
|
||||
@@ -10305,11 +10281,6 @@ snapshots:
|
||||
|
||||
'@phosphor-icons/core@2.1.1': {}
|
||||
|
||||
'@prisma/client@6.19.1(prisma@6.19.1(typescript@5.9.3))(typescript@5.9.3)':
|
||||
optionalDependencies:
|
||||
prisma: 6.19.1(typescript@5.9.3)
|
||||
typescript: 5.9.3
|
||||
|
||||
'@prisma/client@6.19.1(prisma@6.19.1(typescript@6.0.3))(typescript@6.0.3)':
|
||||
optionalDependencies:
|
||||
prisma: 6.19.1(typescript@6.0.3)
|
||||
@@ -12061,19 +12032,19 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/node': 25.1.0
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.51.0(@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
||||
'@typescript-eslint/eslint-plugin@8.51.0(@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3))(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.12.2
|
||||
'@typescript-eslint/parser': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
'@typescript-eslint/parser': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
'@typescript-eslint/scope-manager': 8.51.0
|
||||
'@typescript-eslint/type-utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
'@typescript-eslint/utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
'@typescript-eslint/type-utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
'@typescript-eslint/utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
'@typescript-eslint/visitor-keys': 8.51.0
|
||||
eslint: 9.39.2(jiti@2.6.1)
|
||||
ignore: 7.0.5
|
||||
natural-compare: 1.4.0
|
||||
ts-api-utils: 2.3.0(typescript@5.9.3)
|
||||
typescript: 5.9.3
|
||||
ts-api-utils: 2.3.0(typescript@6.0.3)
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12093,15 +12064,15 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
||||
'@typescript-eslint/parser@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/scope-manager': 8.51.0
|
||||
'@typescript-eslint/types': 8.51.0
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@6.0.3)
|
||||
'@typescript-eslint/visitor-keys': 8.51.0
|
||||
debug: 4.4.3
|
||||
eslint: 9.39.2(jiti@2.6.1)
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12117,12 +12088,12 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/project-service@8.51.0(typescript@5.9.3)':
|
||||
'@typescript-eslint/project-service@8.51.0(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/tsconfig-utils': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/tsconfig-utils': 8.51.0(typescript@6.0.3)
|
||||
'@typescript-eslint/types': 8.51.0
|
||||
debug: 4.4.3
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12145,23 +12116,23 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.59.1
|
||||
'@typescript-eslint/visitor-keys': 8.59.1
|
||||
|
||||
'@typescript-eslint/tsconfig-utils@8.51.0(typescript@5.9.3)':
|
||||
'@typescript-eslint/tsconfig-utils@8.51.0(typescript@6.0.3)':
|
||||
dependencies:
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
|
||||
'@typescript-eslint/tsconfig-utils@8.59.1(typescript@6.0.3)':
|
||||
dependencies:
|
||||
typescript: 6.0.3
|
||||
|
||||
'@typescript-eslint/type-utils@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
||||
'@typescript-eslint/type-utils@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 8.51.0
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@6.0.3)
|
||||
'@typescript-eslint/utils': 8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)
|
||||
debug: 4.4.3
|
||||
eslint: 9.39.2(jiti@2.6.1)
|
||||
ts-api-utils: 2.3.0(typescript@5.9.3)
|
||||
typescript: 5.9.3
|
||||
ts-api-utils: 2.3.0(typescript@6.0.3)
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12181,18 +12152,18 @@ snapshots:
|
||||
|
||||
'@typescript-eslint/types@8.59.1': {}
|
||||
|
||||
'@typescript-eslint/typescript-estree@8.51.0(typescript@5.9.3)':
|
||||
'@typescript-eslint/typescript-estree@8.51.0(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/project-service': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/tsconfig-utils': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/project-service': 8.51.0(typescript@6.0.3)
|
||||
'@typescript-eslint/tsconfig-utils': 8.51.0(typescript@6.0.3)
|
||||
'@typescript-eslint/types': 8.51.0
|
||||
'@typescript-eslint/visitor-keys': 8.51.0
|
||||
debug: 4.4.3
|
||||
minimatch: 9.0.9
|
||||
semver: 7.7.4
|
||||
tinyglobby: 0.2.15
|
||||
ts-api-utils: 2.3.0(typescript@5.9.3)
|
||||
typescript: 5.9.3
|
||||
ts-api-utils: 2.3.0(typescript@6.0.3)
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12211,14 +12182,14 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/utils@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
||||
'@typescript-eslint/utils@8.51.0(eslint@9.39.2(jiti@2.6.1))(typescript@6.0.3)':
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(jiti@2.6.1))
|
||||
'@typescript-eslint/scope-manager': 8.51.0
|
||||
'@typescript-eslint/types': 8.51.0
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@5.9.3)
|
||||
'@typescript-eslint/typescript-estree': 8.51.0(typescript@6.0.3)
|
||||
eslint: 9.39.2(jiti@2.6.1)
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -12348,13 +12319,13 @@ snapshots:
|
||||
chai: 6.2.2
|
||||
tinyrainbow: 3.0.3
|
||||
|
||||
'@vitest/mocker@4.0.16(msw@2.14.2(@types/node@25.1.0)(typescript@5.9.3))(vite@7.3.0(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3))':
|
||||
'@vitest/mocker@4.0.16(msw@2.14.2(@types/node@25.1.0)(typescript@6.0.3))(vite@7.3.0(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3))':
|
||||
dependencies:
|
||||
'@vitest/spy': 4.0.16
|
||||
estree-walker: 3.0.3
|
||||
magic-string: 0.30.21
|
||||
optionalDependencies:
|
||||
msw: 2.14.2(@types/node@25.1.0)(typescript@5.9.3)
|
||||
msw: 2.14.2(@types/node@25.1.0)(typescript@6.0.3)
|
||||
vite: 7.3.0(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3)
|
||||
|
||||
'@vitest/pretty-format@4.0.16':
|
||||
@@ -13871,7 +13842,7 @@ snapshots:
|
||||
eslint: 10.3.0(jiti@2.6.1)
|
||||
eslint-import-resolver-node: 0.3.10
|
||||
eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1)(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-jsx-a11y: 6.10.2(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-react: 7.37.5(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-react-hooks: 7.1.1(eslint@10.3.0(jiti@2.6.1))
|
||||
@@ -13904,7 +13875,7 @@ snapshots:
|
||||
tinyglobby: 0.2.16
|
||||
unrs-resolver: 1.11.1
|
||||
optionalDependencies:
|
||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1))
|
||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1)(eslint@10.3.0(jiti@2.6.1))
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -13919,7 +13890,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1)))(eslint@10.3.0(jiti@2.6.1)):
|
||||
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-typescript@3.10.1)(eslint@10.3.0(jiti@2.6.1)):
|
||||
dependencies:
|
||||
'@rtsao/scc': 1.1.0
|
||||
array-includes: 3.1.9
|
||||
@@ -14780,8 +14751,6 @@ snapshots:
|
||||
|
||||
hls.js@1.6.16: {}
|
||||
|
||||
hono@4.11.3: {}
|
||||
|
||||
hono@4.12.16: {}
|
||||
|
||||
hookable@5.5.3: {}
|
||||
@@ -15999,7 +15968,7 @@ snapshots:
|
||||
optionalDependencies:
|
||||
msgpackr-extract: 3.0.3
|
||||
|
||||
msw@2.14.2(@types/node@25.1.0)(typescript@5.9.3):
|
||||
msw@2.14.2(@types/node@25.1.0)(typescript@6.0.3):
|
||||
dependencies:
|
||||
'@inquirer/confirm': 6.0.12(@types/node@25.1.0)
|
||||
'@mswjs/interceptors': 0.41.7
|
||||
@@ -16020,7 +15989,7 @@ snapshots:
|
||||
until-async: 3.0.2
|
||||
yargs: 17.7.2
|
||||
optionalDependencies:
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
optional: true
|
||||
@@ -16556,16 +16525,6 @@ snapshots:
|
||||
dependencies:
|
||||
parse-ms: 4.0.0
|
||||
|
||||
prisma@6.19.1(typescript@5.9.3):
|
||||
dependencies:
|
||||
'@prisma/config': 6.19.1
|
||||
'@prisma/engines': 6.19.1
|
||||
optionalDependencies:
|
||||
typescript: 5.9.3
|
||||
transitivePeerDependencies:
|
||||
- magicast
|
||||
optional: true
|
||||
|
||||
prisma@6.19.1(typescript@6.0.3):
|
||||
dependencies:
|
||||
'@prisma/config': 6.19.1
|
||||
@@ -17626,9 +17585,9 @@ snapshots:
|
||||
string-byte-length: 3.0.1
|
||||
string-byte-slice: 3.0.1
|
||||
|
||||
ts-api-utils@2.3.0(typescript@5.9.3):
|
||||
ts-api-utils@2.3.0(typescript@6.0.3):
|
||||
dependencies:
|
||||
typescript: 5.9.3
|
||||
typescript: 6.0.3
|
||||
|
||||
ts-api-utils@2.5.0(typescript@6.0.3):
|
||||
dependencies:
|
||||
@@ -17658,34 +17617,6 @@ snapshots:
|
||||
|
||||
tslib@2.8.1: {}
|
||||
|
||||
tsup@8.5.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.8.3):
|
||||
dependencies:
|
||||
bundle-require: 5.1.0(esbuild@0.27.2)
|
||||
cac: 6.7.14
|
||||
chokidar: 4.0.3
|
||||
consola: 3.4.2
|
||||
debug: 4.4.3
|
||||
esbuild: 0.27.2
|
||||
fix-dts-default-cjs-exports: 1.0.1
|
||||
joycon: 3.1.1
|
||||
picocolors: 1.1.1
|
||||
postcss-load-config: 6.0.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(yaml@2.8.3)
|
||||
resolve-from: 5.0.0
|
||||
rollup: 4.54.0
|
||||
source-map: 0.7.6
|
||||
sucrase: 3.35.1
|
||||
tinyexec: 0.3.2
|
||||
tinyglobby: 0.2.15
|
||||
tree-kill: 1.2.2
|
||||
optionalDependencies:
|
||||
postcss: 8.5.13
|
||||
typescript: 5.9.3
|
||||
transitivePeerDependencies:
|
||||
- jiti
|
||||
- supports-color
|
||||
- tsx
|
||||
- yaml
|
||||
|
||||
tsup@8.5.1(jiti@2.6.1)(postcss@8.5.13)(tsx@4.21.0)(typescript@6.0.3)(yaml@2.8.3):
|
||||
dependencies:
|
||||
bundle-require: 5.1.0(esbuild@0.27.2)
|
||||
@@ -17807,8 +17738,6 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
typescript@5.9.3: {}
|
||||
|
||||
typescript@6.0.3: {}
|
||||
|
||||
uc.micro@2.1.0: {}
|
||||
@@ -18079,10 +18008,10 @@ snapshots:
|
||||
optionalDependencies:
|
||||
vite: 7.3.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3)
|
||||
|
||||
vitest@4.0.16(@opentelemetry/api@1.9.1)(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(msw@2.14.2(@types/node@25.1.0)(typescript@5.9.3))(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3):
|
||||
vitest@4.0.16(@opentelemetry/api@1.9.1)(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(msw@2.14.2(@types/node@25.1.0)(typescript@6.0.3))(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3):
|
||||
dependencies:
|
||||
'@vitest/expect': 4.0.16
|
||||
'@vitest/mocker': 4.0.16(msw@2.14.2(@types/node@25.1.0)(typescript@5.9.3))(vite@7.3.0(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3))
|
||||
'@vitest/mocker': 4.0.16(msw@2.14.2(@types/node@25.1.0)(typescript@6.0.3))(vite@7.3.0(@types/node@25.1.0)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.2)(tsx@4.21.0)(yaml@2.8.3))
|
||||
'@vitest/pretty-format': 4.0.16
|
||||
'@vitest/runner': 4.0.16
|
||||
'@vitest/snapshot': 4.0.16
|
||||
|
||||
Reference in New Issue
Block a user