@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
39 lines (33 loc) • 640 B
JavaScript
const slideFieldOpts = [
'slideTitle',
'slideSubTitle',
'slideDescription',
'slidePicture',
'slideLinkURL',
'slideLinkDisplay',
];
const alertFieldOpts = [
'alertDescription',
'alertLinkDisplay',
'alertLinkURL',
'alertColor',
];
const promotionFieldOpts = ['promotionTitle', 'promotionDetails'];
const messageFieldOpts = [
'messageSender',
'messageSenderTitle',
'messageTime',
'messageContent',
];
const galleryFieldOpts = [
'galleryPicture',
'galleryTitle',
'gallerySubTitle',
];
module.exports = {
slideFieldOpts,
alertFieldOpts,
promotionFieldOpts,
messageFieldOpts,
galleryFieldOpts,
};