fix: use import type for GraphConfig, remove verbatim-module-syntax exclusion
The verbatim-module-syntax lint rule was correctly flagging that GraphConfig is only used in a type position (typeof GraphConfig). Since typeof resolves purely at the type level, import type works fine here and is the correct form. No lint exclusion needed. Also: deno fmt across all files (markdown line wrapping).
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { sqliteTable, text } from "drizzle-orm/sqlite-core";
|
||||
import { createInsertSchema, createSelectSchema } from "@alkdev/drizzlebox";
|
||||
import { Type, type Static } from "@alkdev/typebox";
|
||||
import { commonCols, ACTOR_TYPE } from "./common.ts";
|
||||
import { type Static, Type } from "@alkdev/typebox";
|
||||
import { ACTOR_TYPE, commonCols } from "./common.ts";
|
||||
|
||||
export const actors = sqliteTable("actors", {
|
||||
...commonCols,
|
||||
@@ -27,4 +27,4 @@ export const InsertActor = createInsertSchema(actors, {
|
||||
metadata: Type.Optional(Type.Object({}, { additionalProperties: true })),
|
||||
});
|
||||
|
||||
export type InsertActor = Static<typeof InsertActor>;
|
||||
export type InsertActor = Static<typeof InsertActor>;
|
||||
|
||||
Reference in New Issue
Block a user