chore: dynamically loads translations
This commit is contained in:
@@ -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[])
|
||||||
|
|||||||
Reference in New Issue
Block a user