121
common/resources/client/admin/settings/admin-settings.ts
Executable file
121
common/resources/client/admin/settings/admin-settings.ts
Executable file
@@ -0,0 +1,121 @@
|
||||
import {Settings} from '../../core/settings/settings';
|
||||
|
||||
export interface AdminServerSettings {
|
||||
app_url: string;
|
||||
app_timezone: string;
|
||||
app_locale: string;
|
||||
newAppUrl?: string;
|
||||
|
||||
// subscriptions
|
||||
paypal_client_id?: string;
|
||||
paypal_secret?: string;
|
||||
paypal_webhook_id?: string;
|
||||
stripe_key?: string;
|
||||
stripe_secret?: string;
|
||||
|
||||
// social login
|
||||
envato_id?: string;
|
||||
envato_secret?: string;
|
||||
envato_personal_token?: string;
|
||||
google_id?: string;
|
||||
google_secret?: string;
|
||||
twitter_id?: string;
|
||||
twitter_secret?: string;
|
||||
facebook_id?: string;
|
||||
facebook_secret?: string;
|
||||
|
||||
// upload drivers
|
||||
uploads_disk_driver?: string;
|
||||
public_disk_driver?: string;
|
||||
static_file_delivery?: string;
|
||||
|
||||
// s3 storage credentials
|
||||
storage_s3_key?: string;
|
||||
storage_s3_secret?: string;
|
||||
storage_s3_region?: string;
|
||||
storage_s3_bucket?: string;
|
||||
storage_s3_endpoint?: string;
|
||||
|
||||
// ftp storage credentials
|
||||
storage_ftp_host?: string;
|
||||
storage_ftp_username?: string;
|
||||
storage_ftp_password?: string;
|
||||
storage_ftp_root?: string;
|
||||
storage_ftp_port?: string;
|
||||
storage_ftp_passive?: string;
|
||||
storage_ftp_ssl?: string;
|
||||
|
||||
// digitalocean storage credentials
|
||||
storage_digitalocean_key?: string;
|
||||
storage_digitalocean_secret?: string;
|
||||
storage_digitalocean_region?: string;
|
||||
storage_digitalocean_bucket?: string;
|
||||
|
||||
// backblaze storage credentials
|
||||
storage_backblaze_key_id?: string;
|
||||
storage_backblaze_application_key?: string;
|
||||
storage_backblaze_bucket?: string;
|
||||
storage_backblaze_region?: string;
|
||||
|
||||
// dropbox storage credentials
|
||||
storage_dropbox_app_key?: string;
|
||||
storage_dropbox_app_secret?: string;
|
||||
storage_dropbox_refresh_token?: string;
|
||||
|
||||
// mail
|
||||
mail_from_address?: string;
|
||||
mail_from_name?: string;
|
||||
mail_driver?: string;
|
||||
mail_setup?: boolean;
|
||||
connectedGmailAccount?: string;
|
||||
|
||||
// mailgun
|
||||
mailgun_domain?: string;
|
||||
mailgun_secret?: string;
|
||||
mailgun_endpoint?: string;
|
||||
|
||||
// smtp
|
||||
mail_host?: string;
|
||||
mail_username?: string;
|
||||
mail_password?: string;
|
||||
mail_port?: string;
|
||||
mail_encryption?: string;
|
||||
|
||||
// amazon simple mail service
|
||||
ses_key?: string;
|
||||
ses_secret?: string;
|
||||
ses_region?: string;
|
||||
|
||||
// postmark
|
||||
postmark_token?: string;
|
||||
|
||||
// cache
|
||||
cache_driver?: string;
|
||||
|
||||
// memcached
|
||||
memcached_host?: string;
|
||||
memcached_port?: string;
|
||||
|
||||
// sentry
|
||||
sentry_dsn?: string;
|
||||
|
||||
// queue
|
||||
queue_driver?: string;
|
||||
sqs_queue_key?: string;
|
||||
sqs_queue_secret?: string;
|
||||
sqs_queue_prefix?: string;
|
||||
sqs_queue_name?: string;
|
||||
sqs_queue_region?: string;
|
||||
|
||||
// analytics
|
||||
analytics_view_id?: string;
|
||||
|
||||
// search
|
||||
scout_driver?: string;
|
||||
scout_mysql_mode?: string;
|
||||
}
|
||||
|
||||
export interface AdminSettings {
|
||||
client: Omit<Settings, 'menus' | 'base_url' | 'site'>;
|
||||
server: AdminServerSettings;
|
||||
}
|
||||
Reference in New Issue
Block a user