@viewdo/dxp-story-cli
Version:
README.md
36 lines (29 loc) • 1.13 kB
JavaScript
const getOrganizationAssetConventions = (organization_config) => {
//let getDirectory = (output, key) => {
// return `${output}/organizations/${key}`
//}
return {
root_directory: organization_config.root,
scripts_html_file: {
name: 'Html Script File',
description: 'Used for adding script-based widgets to the dashboard page for this org',
remote_path: `/organizations/${organization_config.key}/script-file`,
local_path: `${organization_config.root}/dashboard-scripts.html`
},
flashboard_css_file: {
name: 'Flashboard CSS File',
description: 'Used to style the flashboards',
remote_path: `/organizations/${organization_config.key}/flashboard-css`,
local_path: `${organization_config.root}/flashboards.css`
},
email_layout_file: {
name: 'Email Layout File',
description: 'A template for all other emails (optional)',
remote_path: `/organizations/${organization_config.key}/email-layout`,
local_path: `${organization_config.root}/email-layout.liquid`
}
}
}
module.exports = {
getOrganizationAssetConventions
}