VaultMD / VaultPrefixes
Type Alias: VaultPrefixes
VaultPrefixes =
object
Defined in: src/vault-io/models/vault-prefixes.ts:10
Allowlist prefixes that scope the read and write surfaces of a VaultIo. An empty string '' in either list grants access to the entire vault root.
A prefix may not contain .., and may not be hidden (any segment starting with a dot) — hidden state is unreachable through the chokepoint, so such a prefix could never be satisfied. Either throws ALLOWLIST_VIOLATION from createVaultIo.
Properties
read
read:
string[]
Defined in: src/vault-io/models/vault-prefixes.ts:12
Vault-relative path prefixes that are permitted for read operations.
write
write:
string[]
Defined in: src/vault-io/models/vault-prefixes.ts:14
Vault-relative path prefixes that are permitted for write operations.