fix conflict

This commit is contained in:
yoan
2025-01-19 19:02:58 +08:00
142 changed files with 3458 additions and 8971 deletions

View File

@@ -19,3 +19,11 @@ export const CERTIFICATE_SOURCES = Object.freeze({
} as const);
export type CertificateSourceType = (typeof CERTIFICATE_SOURCES)[keyof typeof CERTIFICATE_SOURCES];
export const CERTIFICATE_FORMATS = Object.freeze({
PEM: "PEM",
PFX: "PFX",
JKS: "JKS",
} as const);
export type CertificateFormatType = (typeof CERTIFICATE_FORMATS)[keyof typeof CERTIFICATE_FORMATS];

View File

@@ -114,8 +114,10 @@ export type WorkflowNodeConfigForApply = {
providerConfig?: Record<string, unknown>;
keyAlgorithm: string;
nameservers?: string;
propagationTimeout?: number;
dnsPropagationTimeout?: number;
dnsTTL?: number;
disableFollowCNAME?: boolean;
skipBeforeExpiryDays: number;
};
export type WorkflowNodeConfigForDeploy = {
@@ -123,6 +125,7 @@ export type WorkflowNodeConfigForDeploy = {
provider: string;
providerAccessId: string;
providerConfig: Record<string, unknown>;
skipOnLastSucceeded: boolean;
};
export type WorkflowNodeConfigForNotify = {

View File

@@ -6,8 +6,8 @@ export interface WorkflowRunModel extends BaseModel {
trigger: string;
startedAt: ISO8601String;
endedAt: ISO8601String;
logs: WorkflowRunLog[];
error: string;
logs?: WorkflowRunLog[];
error?: string;
expand?: {
workflowId?: WorkflowModel;
};
@@ -16,15 +16,15 @@ export interface WorkflowRunModel extends BaseModel {
export type WorkflowRunLog = {
nodeId: string;
nodeName: string;
outputs: WorkflowRunLogOutput[];
error: string;
outputs?: WorkflowRunLogOutput[];
error?: string;
};
export type WorkflowRunLogOutput = {
time: ISO8601String;
title: string;
content: string;
error: string;
error?: string;
};
export const WORKFLOW_RUN_STATUSES = Object.freeze({