Skip to content

MetadataTypeManager

Extends

Properties

_

_: Record<string, EventsEntry[]>

Inherited from

Events._


app

app: App

Reference to App


onConfigFileChange

onConfigFileChange: Debouncer<[], Promise<void>>


properties

properties: MetadataTypeManagerPropertiesRecord

Registered properties of the vault


types

types: MetadataTypeManagerTypesRecord

Associated widget types for each property

Methods

getAllProperties()

getAllProperties(): Record<string, PropertyInfo>

Get all registered properties of the vault

Returns

Record<string, PropertyInfo>


getAssignedType()

getAssignedType(property): any

Get assigned widget type for property

Parameters

property: string

Returns

any


getPropertyInfo()

getPropertyInfo(property): PropertyInfo

Get info for property

Parameters

property: string

Returns

PropertyInfo


getTypes()

getTypes(): string[]

Get all properties with an assigned widget type

Returns

string[]


off()

off(name, callback): void

Parameters

name: string

callback

Returns

void

Inherited from

Events.off


offref()

offref(ref): void

Parameters

ref: EventRef

Returns

void

Inherited from

Events.offref


on()

on(name, callback, ctx?): EventRef

Parameters

name: string

callback

ctx?: any

Returns

EventRef

Inherited from

Events.on


trigger()

trigger(name, …data): void

Parameters

name: string

• …data: unknown[]

Returns

void

Inherited from

Events.trigger


tryTrigger()

tryTrigger(evt, args): void

Parameters

evt: EventRef

args: unknown[]

Returns

void

Inherited from

Events.tryTrigger