Skip to content

DocumentMetadata

Defined in: Vault.ts:51

Persisted metadata for a single document within a vault.

PropertyModifierTypeDescriptionDefined in
charCountreadonlynumber-Vault.ts:58
chunkCountreadonlynumber-Vault.ts:59
contentHashreadonlystringSHA-256 hex digest of the raw file bytes, used for deduplication.Vault.ts:57
fileNamereadonlystring-Vault.ts:54
formatreadonlyDocumentFormat-Vault.ts:55
idreadonlystring-Vault.ts:52
importedAtreadonlynumber-Vault.ts:60
sourceUrl?readonlystringOriginal web URL the document was fetched from, if any. When set, the vault viewer treats the document as “navigable” and renders it through the fetched-page mini-browser (links intercepted, back stack, etc.) instead of the plain markdown view.Vault.ts:67
vaultIdreadonlystring-Vault.ts:53