DocumentMetadata
Defined in: Vault.ts:51
Persisted metadata for a single document within a vault.
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
charCount | readonly | number | - | Vault.ts:58 |
chunkCount | readonly | number | - | Vault.ts:59 |
contentHash | readonly | string | SHA-256 hex digest of the raw file bytes, used for deduplication. | Vault.ts:57 |
fileName | readonly | string | - | Vault.ts:54 |
format | readonly | DocumentFormat | - | Vault.ts:55 |
id | readonly | string | - | Vault.ts:52 |
importedAt | readonly | number | - | Vault.ts:60 |
sourceUrl? | readonly | string | Original 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 |
vaultId | readonly | string | - | Vault.ts:53 |