mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
refactor: migrate custom fields to transactions
refactor: extract functions to api domain refactor: strict custom field parsing refactor: remove rundown cache utilities refactor: directory restructure
This commit is contained in:
committed by
Carlos Valente
parent
b1d23467a2
commit
62c8319d70
@@ -1,10 +1,10 @@
|
||||
export type CustomFieldLabel = string;
|
||||
export type CustomFieldKey = string;
|
||||
|
||||
export type CustomField = {
|
||||
type: 'string' | 'image';
|
||||
colour: string;
|
||||
label: CustomFieldLabel;
|
||||
label: string;
|
||||
};
|
||||
|
||||
export type CustomFields = Record<CustomFieldLabel, CustomField>;
|
||||
export type EntryCustomFields = Record<CustomFieldLabel, string>;
|
||||
export type CustomFields = Record<CustomFieldKey, CustomField>;
|
||||
export type EntryCustomFields = Record<CustomFieldKey, string>;
|
||||
|
||||
@@ -59,7 +59,7 @@ export type { URLPreset } from './definitions/core/UrlPreset.type.js';
|
||||
export type {
|
||||
CustomFields,
|
||||
CustomField,
|
||||
CustomFieldLabel,
|
||||
CustomFieldKey,
|
||||
EntryCustomFields,
|
||||
} from './definitions/core/CustomFields.type.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user