@viewdo/dxp-story-cli
Version:
DXP Story Management CLI
28 lines (27 loc) • 863 B
TypeScript
export declare class CDNConfiguration {
constructor();
/**
* If enabled, the /assets folder in each story will be uploaded
* to the configured GCP bucket when the PUSH command is called.
*
* Note: If the service-account.json file needed to authenticate
* against GCP is missing, the push command will fail.
*/
enabled: boolean;
/**
* The GCP bucket. Leave this blank to use 'viewdo-static'.
*/
bucket?: string;
/**
* The folder that will hold CDN assets for each org and story.
*/
assets_folder?: string;
/**
* Configure a vanity URL if you don't want to use the GCP URL for the
* bucket. If the bucket is 'viewdo-static', leave this field blank
* to use 'https://static.view.do'
*
* @pattern ^https:\/\/[\w\d\.\-\/]*[^\/]$
*/
rootUrl?: string;
}