chore: dynamically loads translations

This commit is contained in:
James
2024-04-08 16:25:24 -04:00
parent 30948ab545
commit 53d9c4ca95

View File

@@ -7,6 +7,7 @@ import { getBaseFields } from '../../drawer/baseFields.js'
/** /**
* This function is run to enrich the basefields which every link has with potential, custom user-added fields. * This function is run to enrich the basefields which every link has with potential, custom user-added fields.
*/ */
// eslint-disable-next-line @typescript-eslint/require-await
export async function transformExtraFields( export async function transformExtraFields(
customFieldSchema: customFieldSchema:
| ((args: { config: SanitizedConfig; defaultFields: Field[]; i18n: I18n }) => Field[]) | ((args: { config: SanitizedConfig; defaultFields: Field[]; i18n: I18n }) => Field[])