MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / AssetMeta

Interface AssetMeta

src/shared/ipc.ts:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156export type ImportedAssetKind = 'image' | 'pdf' | 'audio' | 'video' | 'file'
157
158export interface AssetMeta {
159 /** Vault-relative path to the asset, POSIX-style. */
160 path: string
161 /** File name only. */
162 name: string
163 kind: ImportedAssetKind
164 size: number
165 updatedAt: number
166}
167
168export interface ImportedAsset {
169 /** File name stored under the vault-root attachments directory. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected