Skip to content

MetadataTypeManager

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:14

Extends

Properties

_

_: Record<string, EventsEntry[]>

Defined in: src/obsidian/augmentations/Events.d.ts:5

Inherited from

Events._


app

app: App

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:18

Reference to App


onConfigFileChange

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

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:19


properties

properties: MetadataTypeManagerPropertiesRecord

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:23

Registered properties of the vault


types

types: MetadataTypeManagerTypesRecord

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:29

Associated widget types for each property

Methods

getAllProperties()

getAllProperties(): Record<string, PropertyInfo>

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:34

Get all registered properties of the vault

Returns

Record<string, PropertyInfo>


getAssignedType()

getAssignedType(property): null | string

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:38

Get assigned widget type for property

Parameters

property

string

Returns

null | string


getPropertyInfo()

getPropertyInfo(property): PropertyInfo

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:42

Get info for property

Parameters

property

string

Returns

PropertyInfo


getTypes()

getTypes(): string[]

Defined in: src/obsidian/internals/MetadataTypeManager/MetadataTypeManager.d.ts:51

Get all properties with an assigned widget type

Returns

string[]


off()

off(name, callback): void

Defined in: obsidian.d.ts:1441

Parameters

name

string

callback

(…data) => unknown

Returns

void

Inherited from

Events.off


offref()

offref(ref): void

Defined in: obsidian.d.ts:1445

Parameters

ref

EventRef

Returns

void

Inherited from

Events.offref


on()

on(name, callback, ctx?): EventRef

Defined in: obsidian.d.ts:1437

Parameters

name

string

callback

(…data) => unknown

ctx?

any

Returns

EventRef

Inherited from

Events.on


trigger()

trigger(name, …data): void

Defined in: obsidian.d.ts:1449

Parameters

name

string

data

unknown[]

Returns

void

Inherited from

Events.trigger


tryTrigger()

tryTrigger(evt, args): void

Defined in: obsidian.d.ts:1453

Parameters

evt

EventRef

args

unknown[]

Returns

void

Inherited from

Events.tryTrigger