@zturnlibs/ztron-api


persisted-scope

Variables

persistedScope

const persistedScope: object

Defined in: persisted-scope.ts:17

Type Declaration

get

get: () => Promise<{ allow: string[]; }> = getPersistedScope

The merged filesystem allowlist (base + persisted entries).

Returns

Promise<{ allow: string[]; }>

save

save: () => Promise<{ saved: boolean; }> = savePersistedScope

Writes the merged allowlist to the persistence file.

Returns

Promise<{ saved: boolean; }>

Functions

getPersistedScope()

getPersistedScope(): Promise<{ allow: string[]; }>

Defined in: persisted-scope.ts:8

The merged filesystem allowlist (base + persisted entries).

Returns

Promise<{ allow: string[]; }>


savePersistedScope()

savePersistedScope(): Promise<{ saved: boolean; }>

Defined in: persisted-scope.ts:13

Writes the merged allowlist to the persistence file.

Returns

Promise<{ saved: boolean; }>