globalConfigToFieldTypeMap
globalConfigToFieldTypeMap(
props):string
Defined in: packages/core/src/globals/interfaceGen.ts:56
Converts a resolved GlobalConfig to the TypeScript source string for its
GlobalsFieldTypeMap entry in the declare module '@vexcms/core' block.
Powers GlobalRelationshipKeysOf<TGlobalSlug> for populate type narrowing.
Parameters
Section titled “Parameters”global
Section titled “global”The resolved global definition.
Returns
Section titled “Returns”string
TypeScript source string for one GlobalsFieldTypeMap entry.