feat(core): rebrand to @lossless.zone/objectstorage
- Rename from @lossless.zone/s3container to @lossless.zone/objectstorage - Replace @push.rocks/smarts3 with @push.rocks/smartstorage - Change env var prefix from S3_ to OBJST_ - Rename S3Container class to ObjectStorageContainer - Update web component prefix from s3c- to objst- - Update UI labels, CLI flags, documentation, and Docker config
This commit is contained in:
35
ts_interfaces/data/server.ts
Normal file
35
ts_interfaces/data/server.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
export interface IServerStatus {
|
||||
running: boolean;
|
||||
objstPort: number;
|
||||
uiPort: number;
|
||||
uptime: number;
|
||||
startedAt: number;
|
||||
bucketCount: number;
|
||||
totalObjectCount: number;
|
||||
totalStorageBytes: number;
|
||||
storageDirectory: string;
|
||||
region: string;
|
||||
authEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface IServerConfig {
|
||||
objstPort: number;
|
||||
uiPort: number;
|
||||
region: string;
|
||||
storageDirectory: string;
|
||||
authEnabled: boolean;
|
||||
corsEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface IObjstCredential {
|
||||
accessKeyId: string;
|
||||
secretAccessKey: string;
|
||||
}
|
||||
|
||||
export interface IConnectionInfo {
|
||||
endpoint: string;
|
||||
port: number;
|
||||
useSsl: boolean;
|
||||
accessKey: string;
|
||||
region: string;
|
||||
}
|
||||
Reference in New Issue
Block a user