Skip to content

Commit

Permalink
fix(storage): update AlwatrStorageProviderConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Sep 10, 2022
1 parent 3f563e9 commit bd33e36
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/core/storage/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ export type AlwatrStorageConfig = {

/**
* Save debounce timeout for minimal disk iops usage.
*
* @default 100
*/
saveDebounce?: number;

/**
* Write pretty formatted JSON file.
*
* @default false
*/
saveBeautiful?: boolean;
};
Expand All @@ -45,4 +49,18 @@ export type AlwatrStorageProviderConfig = {
* @default './db'
*/
path?: string;

/**
* Save debounce timeout for minimal disk iops usage.
*
* @default 100
*/
saveDebounce?: number;

/**
* Write pretty formatted JSON file.
*
* @default false
*/
saveBeautiful?: boolean;
};

0 comments on commit bd33e36

Please sign in to comment.