diff --git a/ui/src/domain/access.ts b/ui/src/domain/access.ts index 8da18ceb..b7b6da8c 100644 --- a/ui/src/domain/access.ts +++ b/ui/src/domain/access.ts @@ -60,7 +60,7 @@ export const accessTypeFormSchema = z.union( { message: "access.authorization.form.type.placeholder" } ); -export interface AccessModel extends BaseModel { +export interface AccessModel extends Omit { name: string; configType: string; usage: AccessUsages; diff --git a/ui/src/domain/certificate.ts b/ui/src/domain/certificate.ts index 3f828f79..249d053d 100644 --- a/ui/src/domain/certificate.ts +++ b/ui/src/domain/certificate.ts @@ -2,7 +2,7 @@ import { type BaseModel } from "pocketbase"; import { WorkflowModel } from "./workflow"; -export interface CertificateModel extends BaseModel { +export interface CertificateModel extends Omit { san: string; certificate: string; privateKey: string; diff --git a/ui/src/domain/settings.ts b/ui/src/domain/settings.ts index 8ebd4ea6..292eaee2 100644 --- a/ui/src/domain/settings.ts +++ b/ui/src/domain/settings.ts @@ -1,6 +1,6 @@ import { type BaseModel } from "pocketbase"; -export interface SettingsModel extends BaseModel { +export interface SettingsModel extends Omit { name: string; content: T; } diff --git a/ui/src/domain/version.ts b/ui/src/domain/version.ts index 91e86f95..87dd5629 100644 --- a/ui/src/domain/version.ts +++ b/ui/src/domain/version.ts @@ -1 +1 @@ -export const version = "v0.3.0-alpha.5"; +export const version = "v0.3.0-alpha.6"; diff --git a/ui/src/domain/workflow.ts b/ui/src/domain/workflow.ts index 6c8af35d..c3e196d3 100644 --- a/ui/src/domain/workflow.ts +++ b/ui/src/domain/workflow.ts @@ -28,7 +28,7 @@ export type WorkflowOutput = { error: string; }; -export interface WorkflowModel extends BaseModel { +export interface WorkflowModel extends Omit { name: string; description?: string; type: string; diff --git a/ui/src/stores/workflow/index.ts b/ui/src/stores/workflow/index.ts index ef6c72bb..965ebb95 100644 --- a/ui/src/stores/workflow/index.ts +++ b/ui/src/stores/workflow/index.ts @@ -9,8 +9,8 @@ import { removeBranch, removeNode, updateNode, - WorkflowModel, WorkflowBranchNode, + WorkflowModel, WorkflowNode, WorkflowNodeType, } from "@/domain/workflow"; @@ -39,7 +39,7 @@ export const useWorkflowStore = create((set, get) => ({ }, initialized: false, init: async (id?: string) => { - let data = { + let data: WorkflowModel = { id: "", name: "placeholder", type: "auto",