mirror of
https://github.com/rustfs/console.git
synced 2026-09-19 09:52:25 +08:00
33 lines
506 B
TypeScript
33 lines
506 B
TypeScript
export type S3Config = {
|
|
region: string;
|
|
endpoint: string;
|
|
accessKeyId: string;
|
|
secretAccessKey: string;
|
|
}
|
|
|
|
export type ApiConfig = {
|
|
baseURL: string;
|
|
}
|
|
|
|
export type ReleaseConfig = {
|
|
version: string;
|
|
date: string;
|
|
}
|
|
|
|
export type LicenseConfig = {
|
|
name: string;
|
|
expired: number;
|
|
}
|
|
|
|
export type SessionConfig = {
|
|
durationSeconds: number;
|
|
}
|
|
|
|
export interface SiteConfig {
|
|
api: ApiConfig;
|
|
s3: S3Config;
|
|
release: ReleaseConfig;
|
|
license: LicenseConfig ;
|
|
session?: SessionConfig;
|
|
}
|