JSON field stuff, and make nice on the frontend

This commit is contained in:
shamoon
2026-01-26 13:29:41 -08:00
parent 9db89bac3e
commit b1fc0b79fa
10 changed files with 71 additions and 21 deletions

View File

@@ -7,6 +7,13 @@ export enum ShareLinkBundleStatus {
Failed = 'failed',
}
export type ShareLinkBundleError = {
bundle_id: number
message?: string
exception_type?: string
timestamp?: string
}
export interface ShareLinkBundleSummary {
id: number
slug: string
@@ -18,7 +25,7 @@ export interface ShareLinkBundleSummary {
status: ShareLinkBundleStatus
built_at?: string
size_bytes?: number
last_error?: string
last_error?: ShareLinkBundleError
}
export interface ShareLinkBundleCreatePayload {