terminus-cloud-settings-sync
Version:
Cloud Services sync the Tabby config and connections across platform devices.
197 lines (196 loc) • 5.76 kB
TypeScript
declare const CloudSyncSettingsData: {
defaultSyncInterval: number;
tabbySettingsFilename: string;
storedSettingsFilename: string;
cloudSettingsFilename: string;
tabbyLocalEncryptedFile: string;
values: {
BUILT_IN: string;
S3: string;
WASABI: string;
DIGITAL_OCEAN: string;
BLACKBLAZE: string;
S3_COMPATIBLE: string;
WEBDAV: string;
FTP: string;
GIST: string;
DROPBOX: string;
};
amazonEndpoints: {
WASABI: string;
DIGITAL_OCEAN: string;
BLACKBLAZE: string;
S3_COMPATIBLE: string;
};
serviceProvidersList: {
name: string;
value: string;
}[];
BuiltinLoginMode: {
LOGIN: string;
RESET_PASSWORD: string;
};
availablePluginVersions: string[];
formData: {
[x: string]: {
email: string;
password: string;
reset_password_email: string;
appId?: undefined;
appSecret?: undefined;
location?: undefined;
bucket?: undefined;
region?: undefined;
endpointUrl?: undefined;
host?: undefined;
username?: undefined;
port?: undefined;
protocol?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
appId: string;
appSecret: string;
location: string;
bucket: string;
region: string;
email?: undefined;
password?: undefined;
reset_password_email?: undefined;
endpointUrl?: undefined;
host?: undefined;
username?: undefined;
port?: undefined;
protocol?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
endpointUrl: string;
appId: string;
appSecret: string;
location: string;
bucket: string;
region: string;
email?: undefined;
password?: undefined;
reset_password_email?: undefined;
host?: undefined;
username?: undefined;
port?: undefined;
protocol?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
host: string;
username: string;
password: string;
location: string;
port: string;
email?: undefined;
reset_password_email?: undefined;
appId?: undefined;
appSecret?: undefined;
bucket?: undefined;
region?: undefined;
endpointUrl?: undefined;
protocol?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
protocol: string;
host: string;
username: string;
password: string;
location: string;
port: number;
email?: undefined;
reset_password_email?: undefined;
appId?: undefined;
appSecret?: undefined;
bucket?: undefined;
region?: undefined;
endpointUrl?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
type: string;
name: string;
accessToken: string;
id: string;
email?: undefined;
password?: undefined;
reset_password_email?: undefined;
appId?: undefined;
appSecret?: undefined;
location?: undefined;
bucket?: undefined;
region?: undefined;
endpointUrl?: undefined;
host?: undefined;
username?: undefined;
port?: undefined;
protocol?: undefined;
apiKey?: undefined;
apiSecret?: undefined;
} | {
apiKey: string;
apiSecret: string;
email?: undefined;
password?: undefined;
reset_password_email?: undefined;
appId?: undefined;
appSecret?: undefined;
location?: undefined;
bucket?: undefined;
region?: undefined;
endpointUrl?: undefined;
host?: undefined;
username?: undefined;
port?: undefined;
protocol?: undefined;
type?: undefined;
name?: undefined;
accessToken?: undefined;
id?: undefined;
};
};
external_urls: {
ApiUrl: string;
BlackBlazeHelp: string;
checkForUpdateUrl: string;
};
isCloudStorageS3Compatibility(provider: string): boolean;
gistUrls: {
viewItems: {
github: string;
gitee: string;
gitlab: string;
};
github: string;
gitee: string;
gitlab: string;
};
donationUrl: string;
pluginUrl: string;
};
export default CloudSyncSettingsData;