mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
441c7714d9
commit
4a4f72fd66
92 changed files with 1056 additions and 1730 deletions
|
|
@ -32,7 +32,7 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"drizzle-orm": "^0.42.0",
|
||||
"drizzle-orm": "^0.43.1",
|
||||
"hono": "^4.7.7",
|
||||
"mitt": "^3.0.1",
|
||||
"zod": "^3.24.2",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { z } from "zod";
|
||||
|
||||
export const manifestSchema = z.object({
|
||||
// biome-ignore lint/style/useNamingConvention: <explanation>
|
||||
// biome-ignore lint/style/useNamingConvention: JSON schema requires this to be $schema
|
||||
$schema: z.string().optional(),
|
||||
name: z.string().min(3).max(100),
|
||||
version: z
|
||||
|
|
@ -94,7 +94,6 @@ export type Manifest = {
|
|||
};
|
||||
|
||||
// This is a type guard to ensure that the schema and the type are in sync
|
||||
// biome-ignore lint/nursery/useExplicitType: <explanation>
|
||||
function assert<_T extends never>() {
|
||||
// ...
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
],
|
||||
"packageManager": "bun@1.2.5",
|
||||
"dependencies": {
|
||||
"magic-regexp": "^0.9.0",
|
||||
"magic-regexp": "^0.10.0",
|
||||
"mime-types": "^3.0.1",
|
||||
"zod": "^3.24.2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export const ExtensionPropertySchema = z
|
|||
.catchall(z.any());
|
||||
|
||||
export const EntitySchema = z.strictObject({
|
||||
// biome-ignore lint/style/useNamingConvention:
|
||||
// biome-ignore lint/style/useNamingConvention: required for JSON schema
|
||||
$schema: z.string().url().nullish(),
|
||||
id: z.string().max(512),
|
||||
created_at: z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue