refactor: clean code

This commit is contained in:
Fu Diwei
2024-12-18 10:27:55 +08:00
parent 2374bb56fa
commit d693d26323
17 changed files with 51 additions and 46 deletions

View File

@@ -1,6 +1,4 @@
import { type BaseModel } from "pocketbase";
export interface SettingsModel<T> extends Omit<BaseModel, "created" | "updated"> {
export interface SettingsModel<T> extends BaseModel {
name: string;
content: T;
}