Skip to content

Commit

Permalink
feat(service/storage): make base types
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Aug 2, 2022
1 parent dd4ffc4 commit fb26b7a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/service/storage/src/lib/type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type {DocumentObject} from '@alwatr/storage';

export interface DataModel extends DocumentObject {
/**
* Save storage data in public or private sub folder.
*/
subFolder: 'public' | 'private';

/**
* Accept subStorage like `comments/page1`.
*/
subStorage: boolean;
}

0 comments on commit fb26b7a

Please sign in to comment.