chore: disable rules in oxlint (#9154)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { createORMClient, Entity, YjsDBAdapter } from '@toeverything/infra';
|
||||
import { Doc as YDoc } from 'yjs';
|
||||
|
||||
import { USER_DB_SCHEMA } from '../schema';
|
||||
import { USER_DB_SCHEMA, type UserDbSchema } from '../schema';
|
||||
import { UserDBEngine } from './user-db-engine';
|
||||
import { UserDBTable } from './user-db-table';
|
||||
|
||||
@@ -42,5 +42,5 @@ export class UserDB extends Entity<{
|
||||
}
|
||||
|
||||
export type UserDBWithTables = UserDB & {
|
||||
[K in keyof USER_DB_SCHEMA]: UserDBTable<USER_DB_SCHEMA[K]>;
|
||||
[K in keyof UserDbSchema]: UserDBTable<UserDbSchema[K]>;
|
||||
};
|
||||
|
||||
@@ -6,4 +6,4 @@ export const USER_DB_SCHEMA = {
|
||||
value: f.string(),
|
||||
},
|
||||
} as const satisfies DBSchemaBuilder;
|
||||
export type USER_DB_SCHEMA = typeof USER_DB_SCHEMA;
|
||||
export type UserDbSchema = typeof USER_DB_SCHEMA;
|
||||
|
||||
Reference in New Issue
Block a user