-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypes.ts
More file actions
20 lines (18 loc) · 756 Bytes
/
types.ts
File metadata and controls
20 lines (18 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { DiskConfig } from '../..';
export interface LocalDiskConfig extends DiskConfig {
/**
* The directory where files should be stored on the local disk. If this path is relative, it's resolved from
* the server processes current working directory. The user that the node process is running under should have
* full read/write/execute permissions on this directory.
*/
root?: string;
/**
* The base URL to use when generating paths to the files on the disk without a trailing slash.
*
* The root path is not automatically prepended to file paths so if you override this, be sure to include
* the root path if necessary.
*
* This defaults to `'file://<root>'`.
*/
url?: string;
}