Files
EpicNext-Cms/src/lib/furni/source-assets.ts
T
Simo 88790d1a0d
CI / check (push) Successful in 2m3s
CI / deploy (push) Successful in 1m31s
CI / publish-container (push) Successful in 1m41s
feat(cms): recover drafts and failed imports with verified UI workflows
2026-09-11 08:58:10 +02:00

25 lines
590 B
TypeScript

export interface SourceAssetItem {
id: number;
classname: string;
name: string;
description: string;
type: string;
revision: number;
category: string;
}
export type AssetAvailability = "available" | "missing" | "unknown";
export interface SourceAssetAttempt {
url: string;
file: string;
state: AssetAvailability;
reason: "available" | "http" | "network" | "timeout" | "invalidResponse";
status?: number;
}
export interface SourceAssetCheck {
attempts?: SourceAssetAttempt[];
classname: string;
state: AssetAvailability;
revision: number;
alternatives: SourceAssetItem[];
}