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:
Carlos Valente
2025-06-06 21:08:30 +02:00
committed by Carlos Valente
parent b1d23467a2
commit 62c8319d70
75 changed files with 2060 additions and 2480 deletions
@@ -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>;
+1 -1
View File
@@ -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';