@capillarytech/creatives-library 2.0.70 → 2.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.js +1 -1
- package/components/Ckeditor/index.js +2 -1
- package/components/FormBuilder/index.js +25 -10
- package/components/Header/index.js +3 -1
- package/components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +38 -3
- package/components/TemplatePreview/index.js +45 -51
- package/components/TemplatePreview/messages.js +1 -1
- package/containers/Cap/actions.js +0 -5
- package/containers/Cap/reducer.js +1 -1
- package/containers/Cap/selectors.js +0 -13
- package/containers/Ebill/index.js +1 -2
- package/containers/Email/_email.scss +1 -0
- package/containers/Email/actions.js +3 -8
- package/containers/Email/constants.js +0 -1
- package/containers/Email/index.js +947 -322
- package/containers/Email/reducer.js +0 -3
- package/containers/Email/sagas.js +6 -3
- package/containers/Email/selectors.js +1 -4
- package/containers/Line/Create/index.js +1 -2
- package/containers/Line/Edit/_lineEdit.scss +4 -0
- package/containers/Line/Edit/index.js +1 -3
- package/containers/MobilePush/Create/_mobilePushCreate.scss +3 -12
- package/containers/MobilePush/Create/actions.js +0 -6
- package/containers/MobilePush/Create/constants.js +0 -1
- package/containers/MobilePush/Create/index.js +1133 -628
- package/containers/MobilePush/Create/messages.js +1 -5
- package/containers/MobilePush/Create/reducer.js +0 -2
- package/containers/MobilePush/Create/selectors.js +3 -3
- package/containers/MobilePush/Edit/_mobilePushCreate.scss +3 -9
- package/containers/MobilePush/Edit/index.js +1127 -393
- package/containers/MobilePush/Edit/messages.js +0 -4
- package/containers/MobilePush/Edit/reducer.js +1 -2
- package/containers/MobilePush/Edit/selectors.js +3 -6
- package/containers/Sms/Create/_smsCreate.scss +2 -1
- package/containers/Sms/Create/actions.js +4 -4
- package/containers/Sms/Create/index.js +570 -102
- package/containers/Sms/Create/sagas.js +2 -1
- package/containers/Sms/Edit/actions.js +5 -10
- package/containers/Sms/Edit/constants.js +0 -1
- package/containers/Sms/Edit/index.js +548 -103
- package/containers/Sms/Edit/reducer.js +0 -2
- package/containers/Sms/Edit/sagas.js +3 -1
- package/containers/TagList/index.js +3 -3
- package/containers/Templates/actions.js +1 -3
- package/containers/Templates/index.js +299 -268
- package/containers/Templates/messages.js +90 -122
- package/containers/Templates/reducer.js +3 -3
- package/containers/Templates/sagas.js +1 -5
- package/containers/Templates/selectors.js +1 -41
- package/containers/WeChat/MapTemplates/index.js +3 -4
- package/containers/WeChat/RichmediaTemplates/Create/index.js +18 -4
- package/containers/WeChat/RichmediaTemplates/Create/messages.js +4 -0
- package/containers/WeChat/RichmediaTemplates/Edit/index.js +3 -1
- package/containers/WeChat/RichmediaTemplates/View/index.js +3 -1
- package/index.js +31 -31
- package/initialState.js +6 -0
- package/package.json +3 -3
- package/routes.js +24 -19
- package/services/api.js +6 -2
- package/services/getSchema.js +18 -0
- package/v2Containers/App/actions.js +7 -0
- package/v2Containers/App/constants.js +3 -0
- package/v2Containers/App/reducer.js +19 -0
- package/v2Containers/App/sagas.js +26 -0
- package/v2Containers/App/selectors.js +25 -0
- package/v2Containers/App/tests/actions.test.js +18 -0
- package/v2Containers/App/tests/reducer.test.js +9 -0
- package/v2Containers/App/tests/sagas.test.js +15 -0
- package/v2Containers/App/tests/selectors.test.js +10 -0
- package/v2Containers/Assets/Gallery/_gallery.scss +0 -0
- package/v2Containers/Assets/Gallery/actions.js +37 -0
- package/v2Containers/Assets/Gallery/constants.js +23 -0
- package/v2Containers/Assets/Gallery/index.js +479 -0
- package/v2Containers/Assets/Gallery/messages.js +97 -0
- package/v2Containers/Assets/Gallery/reducer.js +81 -0
- package/v2Containers/Assets/Gallery/sagas.js +84 -0
- package/v2Containers/Assets/Gallery/selectors.js +25 -0
- package/v2Containers/Assets/Gallery/tests/__snapshots__/reducer.test.js.snap +7 -0
- package/v2Containers/Assets/Gallery/tests/actions.test.js +26 -0
- package/v2Containers/Assets/Gallery/tests/index.test.js +10 -0
- package/v2Containers/Assets/Gallery/tests/reducer.test.js +95 -0
- package/v2Containers/Assets/Gallery/tests/sagas.test.js +15 -0
- package/v2Containers/Assets/Gallery/tests/selectors.test.js +10 -0
- package/v2Containers/CallTask/_callTask.scss +5 -0
- package/v2Containers/CallTask/actions.js +15 -0
- package/v2Containers/CallTask/constants.js +7 -0
- package/v2Containers/CallTask/index.js +141 -0
- package/v2Containers/CallTask/messages.js +21 -0
- package/v2Containers/CallTask/reducer.js +23 -0
- package/v2Containers/CallTask/sagas.js +11 -0
- package/v2Containers/CallTask/selectors.js +25 -0
- package/v2Containers/CallTask/tests/actions.test.js +18 -0
- package/v2Containers/CallTask/tests/index.test.js +10 -0
- package/v2Containers/CallTask/tests/reducer.test.js +9 -0
- package/v2Containers/CallTask/tests/sagas.test.js +15 -0
- package/v2Containers/CallTask/tests/selectors.test.js +10 -0
- package/v2Containers/Cap/actions.js +64 -0
- package/v2Containers/Cap/constants.js +24 -0
- package/v2Containers/Cap/index.js +349 -0
- package/v2Containers/Cap/messsages.js +63 -0
- package/v2Containers/Cap/reducer.js +111 -0
- package/v2Containers/Cap/sagas.js +143 -0
- package/v2Containers/Cap/selectors.js +85 -0
- package/v2Containers/Cap/tests/index.test.js +16 -0
- package/v2Containers/Cap/tests/selectors.test.js +28 -0
- package/v2Containers/ChannelTemplates/actions.js +20 -0
- package/v2Containers/ChannelTemplates/constants.js +8 -0
- package/v2Containers/ChannelTemplates/index.js +48 -0
- package/v2Containers/ChannelTemplates/messages.js +13 -0
- package/v2Containers/ChannelTemplates/reducer.js +34 -0
- package/v2Containers/ChannelTemplates/sagas.js +32 -0
- package/v2Containers/ChannelTemplates/selectors.js +25 -0
- package/v2Containers/ChannelTemplates/tests/actions.test.js +18 -0
- package/v2Containers/ChannelTemplates/tests/index.test.js +10 -0
- package/v2Containers/ChannelTemplates/tests/reducer.test.js +9 -0
- package/v2Containers/ChannelTemplates/tests/sagas.test.js +15 -0
- package/v2Containers/ChannelTemplates/tests/selectors.test.js +10 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +257 -0
- package/v2Containers/CreativesContainer/SlideBoxFooter.js +45 -0
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +70 -0
- package/v2Containers/CreativesContainer/actions.js +27 -0
- package/v2Containers/CreativesContainer/constants.js +16 -0
- package/v2Containers/CreativesContainer/index.js +483 -0
- package/v2Containers/CreativesContainer/index.scss +27 -0
- package/v2Containers/CreativesContainer/messages.js +293 -0
- package/v2Containers/CreativesContainer/reducer.js +29 -0
- package/v2Containers/CreativesContainer/sagas.js +11 -0
- package/v2Containers/CreativesContainer/selectors.js +30 -0
- package/v2Containers/CreativesContainer/tests/actions.test.js +18 -0
- package/v2Containers/CreativesContainer/tests/index.test.js +10 -0
- package/v2Containers/CreativesContainer/tests/reducer.test.js +9 -0
- package/v2Containers/CreativesContainer/tests/sagas.test.js +15 -0
- package/v2Containers/CreativesContainer/tests/selectors.test.js +10 -0
- package/v2Containers/Dashboard/actions.js +15 -0
- package/v2Containers/Dashboard/constants.js +7 -0
- package/v2Containers/Dashboard/index.js +54 -0
- package/v2Containers/Dashboard/messages.js +13 -0
- package/v2Containers/Dashboard/reducer.js +21 -0
- package/v2Containers/Dashboard/sagas.js +11 -0
- package/v2Containers/Dashboard/selectors.js +25 -0
- package/v2Containers/Dashboard/tests/actions.test.js +18 -0
- package/v2Containers/Dashboard/tests/index.test.js +10 -0
- package/v2Containers/Dashboard/tests/reducer.test.js +9 -0
- package/v2Containers/Dashboard/tests/sagas.test.js +15 -0
- package/v2Containers/Dashboard/tests/selectors.test.js +10 -0
- package/v2Containers/Ebill/_ebill.scss +5 -0
- package/v2Containers/Ebill/actions.js +43 -0
- package/v2Containers/Ebill/constants.js +20 -0
- package/v2Containers/Ebill/index.js +1261 -0
- package/v2Containers/Ebill/messages.js +73 -0
- package/v2Containers/Ebill/reducer.js +72 -0
- package/v2Containers/Ebill/sagas.js +65 -0
- package/v2Containers/Ebill/selectors.js +25 -0
- package/v2Containers/Ebill/tests/actions.test.js +18 -0
- package/v2Containers/Ebill/tests/index.test.js +10 -0
- package/v2Containers/Ebill/tests/reducer.test.js +9 -0
- package/v2Containers/Ebill/tests/sagas.test.js +15 -0
- package/v2Containers/Ebill/tests/selectors.test.js +10 -0
- package/v2Containers/Email/_email.scss +140 -0
- package/v2Containers/Email/actions.js +86 -0
- package/v2Containers/Email/constants.js +37 -0
- package/v2Containers/Email/index.js +2703 -0
- package/v2Containers/Email/initialSchema.js +540 -0
- package/v2Containers/Email/messages.js +237 -0
- package/v2Containers/Email/reducer.js +147 -0
- package/v2Containers/Email/sagas.js +133 -0
- package/v2Containers/Email/selectors.js +34 -0
- package/v2Containers/Email/tests/actions.test.js +18 -0
- package/v2Containers/Email/tests/index.test.js +10 -0
- package/v2Containers/Email/tests/reducer.test.js +9 -0
- package/v2Containers/Email/tests/sagas.test.js +15 -0
- package/v2Containers/Email/tests/selectors.test.js +10 -0
- package/v2Containers/EmailWrapper/actions.js +15 -0
- package/v2Containers/EmailWrapper/constants.js +7 -0
- package/v2Containers/EmailWrapper/index.js +258 -0
- package/v2Containers/EmailWrapper/messages.js +57 -0
- package/v2Containers/EmailWrapper/reducer.js +23 -0
- package/v2Containers/EmailWrapper/sagas.js +11 -0
- package/v2Containers/EmailWrapper/selectors.js +25 -0
- package/v2Containers/EmailWrapper/tests/actions.test.js +18 -0
- package/v2Containers/EmailWrapper/tests/index.test.js +10 -0
- package/v2Containers/EmailWrapper/tests/reducer.test.js +9 -0
- package/v2Containers/EmailWrapper/tests/sagas.test.js +15 -0
- package/v2Containers/EmailWrapper/tests/selectors.test.js +10 -0
- package/v2Containers/LanguageProvider/actions.js +17 -0
- package/v2Containers/LanguageProvider/constants.js +8 -0
- package/v2Containers/LanguageProvider/index.js +46 -0
- package/v2Containers/LanguageProvider/reducer.js +30 -0
- package/v2Containers/LanguageProvider/selectors.js +20 -0
- package/v2Containers/LanguageProvider/tests/actions.test.js +19 -0
- package/v2Containers/LanguageProvider/tests/index.test.js +49 -0
- package/v2Containers/LanguageProvider/tests/reducer.test.js +20 -0
- package/v2Containers/LanguageProvider/tests/selectors.test.js +15 -0
- package/v2Containers/Line/Create/_lineCreate.scss +43 -0
- package/v2Containers/Line/Create/actions.js +90 -0
- package/v2Containers/Line/Create/constants.js +39 -0
- package/v2Containers/Line/Create/index.js +822 -0
- package/v2Containers/Line/Create/messages.js +173 -0
- package/v2Containers/Line/Create/reducer.js +99 -0
- package/v2Containers/Line/Create/sagas.js +107 -0
- package/v2Containers/Line/Create/selectors.js +36 -0
- package/v2Containers/Line/Edit/_lineEdit.scss +21 -0
- package/v2Containers/Line/Edit/actions.js +79 -0
- package/v2Containers/Line/Edit/constants.js +27 -0
- package/v2Containers/Line/Edit/index.js +1050 -0
- package/v2Containers/Line/Edit/messages.js +157 -0
- package/v2Containers/Line/Edit/reducer.js +83 -0
- package/v2Containers/Line/Edit/sagas.js +81 -0
- package/v2Containers/Line/Edit/selectors.js +29 -0
- package/v2Containers/Line/Edit/tests/actions.test.js +18 -0
- package/v2Containers/Line/Edit/tests/index.test.js +10 -0
- package/v2Containers/Line/Edit/tests/reducer.test.js +9 -0
- package/v2Containers/Line/Edit/tests/sagas.test.js +15 -0
- package/v2Containers/Line/Edit/tests/selectors.test.js +10 -0
- package/v2Containers/Login/assets/images/capillary_logo.png +0 -0
- package/v2Containers/Login/components/LoginForm/index.js +59 -0
- package/v2Containers/Login/components/LoginForm/messages.js +21 -0
- package/v2Containers/Login/components/LoginForm/tests/index.test.js +10 -0
- package/v2Containers/Login/index.js +106 -0
- package/v2Containers/Login/messages.js +21 -0
- package/v2Containers/Login/selectors.js +25 -0
- package/v2Containers/Login/tests/index.test.js +10 -0
- package/v2Containers/Login/tests/sagas.test.js +15 -0
- package/v2Containers/Login/tests/selectors.test.js +10 -0
- package/v2Containers/MobilePush/Create/_mobilePushCreate.scss +41 -0
- package/v2Containers/MobilePush/Create/actions.js +52 -0
- package/v2Containers/MobilePush/Create/constants.js +24 -0
- package/v2Containers/MobilePush/Create/index.js +1759 -0
- package/v2Containers/MobilePush/Create/messages.js +237 -0
- package/v2Containers/MobilePush/Create/reducer.js +72 -0
- package/v2Containers/MobilePush/Create/sagas.js +60 -0
- package/v2Containers/MobilePush/Create/selectors.js +28 -0
- package/v2Containers/MobilePush/Create/tests/actions.test.js +18 -0
- package/v2Containers/MobilePush/Create/tests/index.test.js +10 -0
- package/v2Containers/MobilePush/Create/tests/reducer.test.js +9 -0
- package/v2Containers/MobilePush/Create/tests/sagas.test.js +15 -0
- package/v2Containers/MobilePush/Create/tests/selectors.test.js +10 -0
- package/v2Containers/MobilePush/Edit/_mobilePushCreate.scss +38 -0
- package/v2Containers/MobilePush/Edit/actions.js +91 -0
- package/v2Containers/MobilePush/Edit/constants.js +35 -0
- package/v2Containers/MobilePush/Edit/index.js +1846 -0
- package/v2Containers/MobilePush/Edit/messages.js +253 -0
- package/v2Containers/MobilePush/Edit/reducer.js +113 -0
- package/v2Containers/MobilePush/Edit/sagas.js +119 -0
- package/v2Containers/MobilePush/Edit/selectors.js +32 -0
- package/v2Containers/MobilePush/Edit/tests/actions.test.js +18 -0
- package/v2Containers/MobilePush/Edit/tests/index.test.js +10 -0
- package/v2Containers/MobilePush/Edit/tests/reducer.test.js +9 -0
- package/v2Containers/MobilePush/Edit/tests/sagas.test.js +15 -0
- package/v2Containers/MobilePush/Edit/tests/selectors.test.js +10 -0
- package/v2Containers/MobilePush/commonMethods.js +249 -0
- package/v2Containers/MobilePush/eventsMap.js +127 -0
- package/v2Containers/MobilePush/initialSchema.js +1739 -0
- package/v2Containers/MobilepushWrapper/_mobilepushWrapper.scss +18 -0
- package/v2Containers/MobilepushWrapper/index.js +136 -0
- package/v2Containers/MobilepushWrapper/messages.js +29 -0
- package/v2Containers/MobilepushWrapper/tests/index.test.js +10 -0
- package/v2Containers/NotFoundPage/index.js +25 -0
- package/v2Containers/NotFoundPage/messages.js +13 -0
- package/v2Containers/NotFoundPage/tests/index.test.js +17 -0
- package/v2Containers/Sms/Create/_smsCreate.scss +58 -0
- package/v2Containers/Sms/Create/actions.js +27 -0
- package/v2Containers/Sms/Create/constants.js +16 -0
- package/v2Containers/Sms/Create/index.js +1017 -0
- package/v2Containers/Sms/Create/messages.js +85 -0
- package/v2Containers/Sms/Create/reducer.js +41 -0
- package/v2Containers/Sms/Create/sagas.js +35 -0
- package/v2Containers/Sms/Create/selectors.js +28 -0
- package/v2Containers/Sms/Create/tests/actions.test.js +18 -0
- package/v2Containers/Sms/Create/tests/index.test.js +10 -0
- package/v2Containers/Sms/Create/tests/reducer.test.js +9 -0
- package/v2Containers/Sms/Create/tests/sagas.test.js +15 -0
- package/v2Containers/Sms/Create/tests/selectors.test.js +10 -0
- package/v2Containers/Sms/Edit/actions.js +45 -0
- package/v2Containers/Sms/Edit/constants.js +18 -0
- package/v2Containers/Sms/Edit/index.js +1018 -0
- package/v2Containers/Sms/Edit/messages.js +89 -0
- package/v2Containers/Sms/Edit/reducer.js +52 -0
- package/v2Containers/Sms/Edit/sagas.js +50 -0
- package/v2Containers/Sms/Edit/selectors.js +32 -0
- package/v2Containers/Sms/Edit/tests/actions.test.js +18 -0
- package/v2Containers/Sms/Edit/tests/index.test.js +10 -0
- package/v2Containers/Sms/Edit/tests/reducer.test.js +9 -0
- package/v2Containers/Sms/Edit/tests/sagas.test.js +15 -0
- package/v2Containers/Sms/Edit/tests/selectors.test.js +10 -0
- package/v2Containers/Sms/initialSchema.js +281 -0
- package/v2Containers/TagList/_tagList.scss +8 -0
- package/v2Containers/TagList/actions.js +15 -0
- package/v2Containers/TagList/constants.js +7 -0
- package/v2Containers/TagList/index.js +236 -0
- package/v2Containers/TagList/messages.js +13 -0
- package/v2Containers/TagList/reducer.js +23 -0
- package/v2Containers/TagList/sagas.js +11 -0
- package/v2Containers/TagList/selectors.js +25 -0
- package/v2Containers/TagList/tests/actions.test.js +18 -0
- package/v2Containers/TagList/tests/index.test.js +10 -0
- package/v2Containers/TagList/tests/reducer.test.js +9 -0
- package/v2Containers/TagList/tests/sagas.test.js +15 -0
- package/v2Containers/TagList/tests/selectors.test.js +10 -0
- package/v2Containers/Templates/_templates.scss +349 -0
- package/v2Containers/Templates/actions.js +110 -0
- package/v2Containers/Templates/constants.js +45 -0
- package/v2Containers/Templates/index.js +1682 -0
- package/v2Containers/Templates/messages.js +273 -0
- package/v2Containers/Templates/reducer.js +142 -0
- package/v2Containers/Templates/sagas.js +180 -0
- package/v2Containers/Templates/selectors.js +68 -0
- package/v2Containers/Templates/tests/actions.test.js +18 -0
- package/v2Containers/Templates/tests/index.test.js +10 -0
- package/v2Containers/Templates/tests/reducer.test.js +9 -0
- package/v2Containers/Templates/tests/sagas.test.js +15 -0
- package/v2Containers/Templates/tests/selectors.test.js +10 -0
- package/v2Containers/TemplatesV2/_templatesV2.scss +5 -0
- package/v2Containers/TemplatesV2/actions.js +16 -0
- package/v2Containers/TemplatesV2/constants.js +10 -0
- package/v2Containers/TemplatesV2/index.js +217 -0
- package/v2Containers/TemplatesV2/messages.js +29 -0
- package/v2Containers/TemplatesV2/selectors.js +25 -0
- package/v2Containers/TemplatesV2/tests/actions.test.js +18 -0
- package/v2Containers/TemplatesV2/tests/index.test.js +10 -0
- package/v2Containers/TemplatesV2/tests/reducer.test.js +9 -0
- package/v2Containers/TemplatesV2/tests/sagas.test.js +15 -0
- package/v2Containers/TemplatesV2/tests/selectors.test.js +10 -0
- package/v2Containers/TestPage/constants.js +7 -0
- package/v2Containers/TestPage/index.js +31 -0
- package/v2Containers/TestPage/messages.js +13 -0
- package/v2Containers/TestPage/reducer.js +21 -0
- package/v2Containers/TestPage/sagas.js +11 -0
- package/v2Containers/Testv2/actions.js +15 -0
- package/v2Containers/Testv2/constants.js +7 -0
- package/v2Containers/Testv2/index.js +47 -0
- package/v2Containers/Testv2/messages.js +13 -0
- package/v2Containers/Testv2/reducer.js +23 -0
- package/v2Containers/Testv2/sagas.js +11 -0
- package/v2Containers/Testv2/selectors.js +25 -0
- package/v2Containers/Testv2/tests/actions.test.js +18 -0
- package/v2Containers/Testv2/tests/index.test.js +10 -0
- package/v2Containers/Testv2/tests/reducer.test.js +9 -0
- package/v2Containers/Testv2/tests/sagas.test.js +15 -0
- package/v2Containers/Testv2/tests/selectors.test.js +10 -0
- package/v2Containers/WeChat/MapTemplates/_mapTemplates.scss +8 -0
- package/v2Containers/WeChat/MapTemplates/actions.js +52 -0
- package/v2Containers/WeChat/MapTemplates/constants.js +28 -0
- package/v2Containers/WeChat/MapTemplates/index.js +1385 -0
- package/v2Containers/WeChat/MapTemplates/messages.js +73 -0
- package/v2Containers/WeChat/MapTemplates/reducer.js +74 -0
- package/v2Containers/WeChat/MapTemplates/sagas.js +86 -0
- package/v2Containers/WeChat/MapTemplates/selectors.js +25 -0
- package/v2Containers/WeChat/MapTemplates/tests/actions.test.js +18 -0
- package/v2Containers/WeChat/MapTemplates/tests/index.test.js +10 -0
- package/v2Containers/WeChat/MapTemplates/tests/reducer.test.js +9 -0
- package/v2Containers/WeChat/MapTemplates/tests/sagas.test.js +15 -0
- package/v2Containers/WeChat/MapTemplates/tests/selectors.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/_createRichmedia.scss +57 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/actions.js +36 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/constants.js +15 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/index.js +1053 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/messages.js +141 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/reducer.js +60 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/richmediaschema.js +497 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/sagas.js +48 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/selectors.js +37 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/tests/actions.test.js +18 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/tests/index.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/tests/reducer.test.js +9 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/tests/sagas.test.js +15 -0
- package/v2Containers/WeChat/RichmediaTemplates/Create/tests/selectors.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/actions.js +20 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/constants.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/index.js +116 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/messages.js +13 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/reducer.js +28 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/sagas.js +32 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/selectors.js +30 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/tests/actions.test.js +18 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/tests/index.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/tests/reducer.test.js +9 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/tests/sagas.test.js +15 -0
- package/v2Containers/WeChat/RichmediaTemplates/Edit/tests/selectors.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/actions.js +15 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/constants.js +7 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/index.js +47 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/messages.js +13 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/reducer.js +23 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/sagas.js +11 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/selectors.js +25 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/tests/actions.test.js +18 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/tests/index.test.js +10 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/tests/reducer.test.js +9 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/tests/sagas.test.js +15 -0
- package/v2Containers/WeChat/RichmediaTemplates/View/tests/selectors.test.js +10 -0
package/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/*-------
|
|
2
|
-
import capReducer from './
|
|
3
|
-
import capSaga from './
|
|
4
|
-
import Cap from './
|
|
1
|
+
/*-------v2Containers--------------*/
|
|
2
|
+
import capReducer from './v2Containers/Cap/reducer';
|
|
3
|
+
import capSaga from './v2Containers/Cap/sagas';
|
|
4
|
+
import Cap from './v2Containers/Cap/index';
|
|
5
5
|
|
|
6
|
-
import templateReducer from './
|
|
7
|
-
import templateSaga from './
|
|
8
|
-
import Templates from './
|
|
6
|
+
import templateReducer from './v2Containers/Templates/reducer';
|
|
7
|
+
import templateSaga from './v2Containers/Templates/sagas';
|
|
8
|
+
import Templates from './v2Containers/Templates/index';
|
|
9
9
|
|
|
10
|
-
import SmsCreate from './
|
|
11
|
-
import smsCreateReducer from './
|
|
12
|
-
import smsCreateSaga from './
|
|
10
|
+
import SmsCreate from './v2Containers/Sms/Create/index';
|
|
11
|
+
import smsCreateReducer from './v2Containers/Sms/Create/reducer';
|
|
12
|
+
import smsCreateSaga from './v2Containers/Sms/Create/sagas';
|
|
13
13
|
|
|
14
|
-
import SmsEdit from './
|
|
15
|
-
import smsEditReducer from './
|
|
16
|
-
import smsEditSaga from './
|
|
14
|
+
import SmsEdit from './v2Containers/Sms/Edit/index';
|
|
15
|
+
import smsEditReducer from './v2Containers/Sms/Edit/reducer';
|
|
16
|
+
import smsEditSaga from './v2Containers/Sms/Edit/sagas';
|
|
17
17
|
|
|
18
|
-
import Email from './
|
|
19
|
-
import emailReducer from './
|
|
20
|
-
import emailSaga from './
|
|
18
|
+
import Email from './v2Containers/Email/index';
|
|
19
|
+
import emailReducer from './v2Containers/Email/reducer';
|
|
20
|
+
import emailSaga from './v2Containers/Email/sagas';
|
|
21
21
|
|
|
22
|
-
import CallTask from './
|
|
23
|
-
import callTaskReducer from './
|
|
24
|
-
import callTaskSaga from './
|
|
22
|
+
import CallTask from './v2Containers/CallTask/index';
|
|
23
|
+
import callTaskReducer from './v2Containers/CallTask/reducer';
|
|
24
|
+
import callTaskSaga from './v2Containers/CallTask/sagas';
|
|
25
25
|
|
|
26
26
|
import WeChat from './containers/WeChat/MapTemplates';
|
|
27
27
|
import wechatReduce from './containers/WeChat/MapTemplates/reducer';
|
|
28
28
|
import wechatSaga from './containers/WeChat/MapTemplates/sagas';
|
|
29
29
|
|
|
30
|
-
import MobilepushCreate from './
|
|
31
|
-
import mobilepushCreateReducer from './
|
|
32
|
-
import mobilepushCreateSaga from './
|
|
30
|
+
import MobilepushCreate from './v2Containers/MobilePush/Create';
|
|
31
|
+
import mobilepushCreateReducer from './v2Containers/MobilePush/Create/reducer';
|
|
32
|
+
import mobilepushCreateSaga from './v2Containers/MobilePush/Create/sagas';
|
|
33
33
|
|
|
34
|
-
import MobilepushEdit from './
|
|
35
|
-
import mobilepushEditReducer from './
|
|
36
|
-
import mobilepushEditSaga from './
|
|
34
|
+
import MobilepushEdit from './v2Containers/MobilePush/Edit';
|
|
35
|
+
import mobilepushEditReducer from './v2Containers/MobilePush/Edit/reducer';
|
|
36
|
+
import mobilepushEditSaga from './v2Containers/MobilePush/Edit/sagas';
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
import LineCreate from './containers/Line/Create';
|
|
@@ -43,10 +43,10 @@ import lineCreateSaga from './containers/Line/Create/sagas';
|
|
|
43
43
|
import LineEdit from './containers/Line/Edit';
|
|
44
44
|
import lineEditReducer from './containers/Line/Edit/reducer';
|
|
45
45
|
import lineEditSaga from './containers/Line/Edit/sagas';
|
|
46
|
-
import TemplatesV2 from './
|
|
46
|
+
import TemplatesV2 from './v2Containers/TemplatesV2/index';
|
|
47
47
|
|
|
48
|
-
import CreativesContainer from './
|
|
49
|
-
import CreativesContainerReducer from './
|
|
48
|
+
import CreativesContainer from './v2Containers/CreativesContainer';
|
|
49
|
+
import CreativesContainerReducer from './v2Containers/CreativesContainer/reducer';
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export {default as Ebill} from './containers/Ebill';
|
|
@@ -67,9 +67,9 @@ const LineCreateContainer = {LineCreate, lineCreateReducer, lineCreateSaga};
|
|
|
67
67
|
const LineEditContainer = {LineEdit, lineEditReducer, lineEditSaga};
|
|
68
68
|
const TemplatesV2Container = {TemplatesV2, templateReducer, templateSaga};
|
|
69
69
|
|
|
70
|
-
export {default as TagList} from './
|
|
71
|
-
export {default as TagListSaga} from './
|
|
72
|
-
export {default as TagListReducer} from './
|
|
70
|
+
export {default as TagList} from './v2Containers/TagList/index';
|
|
71
|
+
export {default as TagListSaga} from './v2Containers/TagList/sagas';
|
|
72
|
+
export {default as TagListReducer} from './v2Containers/TagList/reducer';
|
|
73
73
|
export {default as TemplatePreview} from './components/TemplatePreview';
|
|
74
74
|
export {default as EmailPreview} from './components/EmailPreview';
|
|
75
75
|
export {default as EmailPreviewV2} from './components/EmailPreviewV2';
|
package/initialState.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/creatives-library",
|
|
3
3
|
"author": "meharaj",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.71",
|
|
5
5
|
"description": "Capillary creatives ui",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.es.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "LicenseRef-LICENSE",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@capillarytech/cap-ui-library": "^1.0.
|
|
16
|
-
"antd": "3.
|
|
15
|
+
"@capillarytech/cap-ui-library": "^1.0.140",
|
|
16
|
+
"antd": "3.19.6",
|
|
17
17
|
"axios": "^0.16.2",
|
|
18
18
|
"babel-polyfill": "6.20.0",
|
|
19
19
|
"babel-preset-env": "^1.6.1",
|
package/routes.js
CHANGED
|
@@ -391,7 +391,7 @@ export default function createRoutes(store) {
|
|
|
391
391
|
|
|
392
392
|
importModules.then(([reducer, createReducer, sagas, component]) => {
|
|
393
393
|
injectReducer('mobilePush', reducer.default);
|
|
394
|
-
injectReducer('
|
|
394
|
+
injectReducer('mobileCreate', createReducer.default);
|
|
395
395
|
injectSagas(sagas.default);
|
|
396
396
|
injectSagas(mobilpushSagas.default);
|
|
397
397
|
renderRoute(component);
|
|
@@ -412,7 +412,7 @@ export default function createRoutes(store) {
|
|
|
412
412
|
const renderRoute = loadModule(cb);
|
|
413
413
|
|
|
414
414
|
importModules.then(([reducer, sagas, component]) => {
|
|
415
|
-
injectReducer('
|
|
415
|
+
injectReducer('mobileCreate', reducer.default);
|
|
416
416
|
injectSagas(sagas.default);
|
|
417
417
|
injectSagas(rootSaga.default);
|
|
418
418
|
renderRoute(component);
|
|
@@ -599,23 +599,25 @@ export default function createRoutes(store) {
|
|
|
599
599
|
name: 'templatesV2',
|
|
600
600
|
getComponent(nextState, cb) {
|
|
601
601
|
const importModules = Promise.all([
|
|
602
|
-
import('
|
|
603
|
-
import('
|
|
604
|
-
import('
|
|
605
|
-
import('
|
|
606
|
-
import('
|
|
607
|
-
import('
|
|
608
|
-
import('
|
|
609
|
-
import('
|
|
610
|
-
import('
|
|
611
|
-
import('
|
|
612
|
-
import('
|
|
613
|
-
import('
|
|
614
|
-
import('
|
|
615
|
-
import('
|
|
616
|
-
import('
|
|
617
|
-
import('
|
|
618
|
-
import('
|
|
602
|
+
import('v2Containers/Templates/reducer'),
|
|
603
|
+
import('v2Containers/Templates/sagas'),
|
|
604
|
+
import('v2Containers/TemplatesV2'),
|
|
605
|
+
import('v2Containers/Email/sagas'),
|
|
606
|
+
import('v2Containers/CreativesContainer/reducer'),
|
|
607
|
+
import('v2Containers/Sms/Create/reducer'),
|
|
608
|
+
import('v2Containers/Sms/Create/sagas'),
|
|
609
|
+
import('v2Containers/Sms/Edit/reducer'),
|
|
610
|
+
import('v2Containers/Sms/Edit/sagas'),
|
|
611
|
+
import('v2Containers/Email/reducer'),
|
|
612
|
+
import('v2Containers/Email/sagas'),
|
|
613
|
+
import('v2Containers/CallTask/reducer'),
|
|
614
|
+
import('v2Containers/CallTask/sagas'),
|
|
615
|
+
import('v2Containers/Mobilepush/Create/sagas'),
|
|
616
|
+
import('v2Containers/Mobilepush/Create/reducer'),
|
|
617
|
+
import('v2Containers/Mobilepush/Edit/sagas'),
|
|
618
|
+
import('v2Containers/Mobilepush/Edit/reducer'),
|
|
619
|
+
import('V2Containers/Assets/Gallery/reducer'),
|
|
620
|
+
import('v2Containers/Assets/Gallery/sagas'),
|
|
619
621
|
]);
|
|
620
622
|
|
|
621
623
|
const renderRoute = loadModule(cb);
|
|
@@ -628,6 +630,7 @@ export default function createRoutes(store) {
|
|
|
628
630
|
callTaskReducer, callTaskSagas,
|
|
629
631
|
mpushCreateSagas, mpushCreateReducer,
|
|
630
632
|
mpushEditSagas, mpushEditReducer,
|
|
633
|
+
galleryReducer, gallerySagas,
|
|
631
634
|
]) => {
|
|
632
635
|
injectReducer('templates', reducer.default);
|
|
633
636
|
injectReducer('create', smsCreateReducer.default);
|
|
@@ -637,6 +640,8 @@ export default function createRoutes(store) {
|
|
|
637
640
|
injectReducer('callTask', callTaskReducer.default);
|
|
638
641
|
injectReducer('mobileCreate', mpushCreateReducer.default);
|
|
639
642
|
injectReducer('mobileEdit', mpushEditReducer.default);
|
|
643
|
+
injectReducer('gallery', galleryReducer.default);
|
|
644
|
+
injectSagas(gallerySagas.default);
|
|
640
645
|
injectSagas(sagas.default);
|
|
641
646
|
injectSagas(emailContainerSagas.default);
|
|
642
647
|
injectSagas(smsCreateSaga.default);
|
package/services/api.js
CHANGED
|
@@ -5,6 +5,7 @@ import 'whatwg-fetch';
|
|
|
5
5
|
import { loadItem, clearItem } from './localStorageApi';
|
|
6
6
|
import config from '../config/app';
|
|
7
7
|
import pathConfig from '../config/path';
|
|
8
|
+
import getSchema from './getSchema';
|
|
8
9
|
import * as API from '../utils/ApiCaller';
|
|
9
10
|
let API_ENDPOINT = config.development.api_endpoint;
|
|
10
11
|
let API_AUTH_ENDPOINT = config.development.auth_endpoint;
|
|
@@ -257,8 +258,11 @@ export const getUserList = () => {
|
|
|
257
258
|
};
|
|
258
259
|
|
|
259
260
|
export const fetchSchemaForEntity = ({queryParams}) => {
|
|
260
|
-
if (queryParams.version === "v2" && queryParams.type === "LAYOUT"
|
|
261
|
-
|
|
261
|
+
if (queryParams.version === "v2" && queryParams.type === "LAYOUT") {
|
|
262
|
+
const schema = getSchema(queryParams.layout);
|
|
263
|
+
return schema.then((layout) => layout).catch((err) => {
|
|
264
|
+
console.error(err);
|
|
265
|
+
});
|
|
262
266
|
}
|
|
263
267
|
const url = `${API_ENDPOINT}/meta/${queryParams.type}?query=${JSON.stringify(queryParams)}`;
|
|
264
268
|
return request(url, getAPICallObject('GET'));// request(url, getAPICallObject('GET'));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {SMS, EMAIL, MOBILE_PUSH} from '../v2Containers/CreativesContainer/constants';
|
|
2
|
+
export default function getSchema(channel) {
|
|
3
|
+
let schemaPath = '../containers/';
|
|
4
|
+
switch (channel.toUpperCase()) {
|
|
5
|
+
case SMS:
|
|
6
|
+
schemaPath = import(`../v2Containers/Sms/initialSchema`);
|
|
7
|
+
break;
|
|
8
|
+
case EMAIL:
|
|
9
|
+
schemaPath = import(`../v2Containers/Email/initialSchema`);
|
|
10
|
+
break;
|
|
11
|
+
case MOBILE_PUSH:
|
|
12
|
+
schemaPath = import(`../v2Containers/MobilePush/initialSchema`);
|
|
13
|
+
break;
|
|
14
|
+
default:
|
|
15
|
+
schemaPath = import(`../v2Containers/Sms/initialSchema`);
|
|
16
|
+
}
|
|
17
|
+
return schemaPath;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { fromJS } from 'immutable';
|
|
2
|
+
import * as types from './constants';
|
|
3
|
+
|
|
4
|
+
const initialState = fromJS({});
|
|
5
|
+
|
|
6
|
+
function appReducer(state = initialState, action) {
|
|
7
|
+
switch (action.type) {
|
|
8
|
+
case types.GET_SIDEBAR_REQUEST:
|
|
9
|
+
return state;
|
|
10
|
+
case types.GET_SIDEBAR_SUCCESS:
|
|
11
|
+
return state;
|
|
12
|
+
case types.GET_SIDEBAR_FAILURE:
|
|
13
|
+
return state;
|
|
14
|
+
default:
|
|
15
|
+
return state;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default appReducer;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { call, put, takeLatest } from 'redux-saga/effects';
|
|
2
|
+
// import { LOCATION_CHANGE } from 'react-router-redux';
|
|
3
|
+
// import { schema, normalize } from 'normalizr';
|
|
4
|
+
import * as Api from '../../services/api';
|
|
5
|
+
import * as types from './constants';
|
|
6
|
+
|
|
7
|
+
// Individual exports for testing
|
|
8
|
+
export function* getSidebar() {
|
|
9
|
+
try {
|
|
10
|
+
const result = yield call(Api.getSidebar);
|
|
11
|
+
const sidebar = result.response.sidebar;
|
|
12
|
+
yield put({ type: types.GET_SIDEBAR_SUCCESS, sidebar });
|
|
13
|
+
} catch (error) {
|
|
14
|
+
yield put({ type: types.GET_SIDEBAR_FAILURE, error });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
function* watchgetSidebar() {
|
|
20
|
+
yield takeLatest(types.GET_SIDEBAR_REQUEST, getSidebar);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// All sagas to be loaded
|
|
24
|
+
export default [
|
|
25
|
+
watchgetSidebar,
|
|
26
|
+
];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createSelector } from 'reselect';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Direct selector to the cap state domain
|
|
5
|
+
*/
|
|
6
|
+
const selectAppDomain = () => (state) => state.get('app');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Other specific selectors
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Default selector used by Cap
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
const makeSelectApp = () => createSelector(
|
|
18
|
+
selectAppDomain(),
|
|
19
|
+
(substate) => substate.toJS()
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
export default makeSelectApp;
|
|
23
|
+
export {
|
|
24
|
+
selectAppDomain,
|
|
25
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import {
|
|
3
|
+
defaultAction,
|
|
4
|
+
} from '../actions';
|
|
5
|
+
import {
|
|
6
|
+
DEFAULT_ACTION,
|
|
7
|
+
} from '../constants';
|
|
8
|
+
|
|
9
|
+
describe('Cap actions', () => {
|
|
10
|
+
describe('Default Action', () => {
|
|
11
|
+
it('has a type of DEFAULT_ACTION', () => {
|
|
12
|
+
const expected = {
|
|
13
|
+
type: DEFAULT_ACTION,
|
|
14
|
+
};
|
|
15
|
+
expect(defaultAction()).toEqual(expected);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test sagas
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* eslint-disable redux-saga/yield-effects */
|
|
6
|
+
// import { take, call, put, select } from 'redux-saga/effects';
|
|
7
|
+
// import { defaultSaga } from '../sagas';
|
|
8
|
+
|
|
9
|
+
// const generator = defaultSaga();
|
|
10
|
+
|
|
11
|
+
describe('defaultSaga Saga', () => {
|
|
12
|
+
it('Expect to have unit tests specified', () => {
|
|
13
|
+
expect(true).toEqual(false);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// import { fromJS } from 'immutable';
|
|
2
|
+
// import { makeSelectCapDomain } from '../selectors';
|
|
3
|
+
|
|
4
|
+
// const selector = makeSelectCapDomain();
|
|
5
|
+
|
|
6
|
+
describe('makeSelectCapDomain', () => {
|
|
7
|
+
it('Expect to have unit tests specified', () => {
|
|
8
|
+
expect(true).toEqual(false);
|
|
9
|
+
});
|
|
10
|
+
});
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Gallery actions
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as types from './constants';
|
|
8
|
+
|
|
9
|
+
export function uploadAsset(file, assetType, fileParams) {
|
|
10
|
+
return {
|
|
11
|
+
type: types.UPLOAD_ASSET_REQUEST,
|
|
12
|
+
file,
|
|
13
|
+
assetType,
|
|
14
|
+
fileParams,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function getAllAssets(assetType, queryParams) {
|
|
19
|
+
return {
|
|
20
|
+
type: types.GET_ALL_ASSETS_REQUEST,
|
|
21
|
+
assetType,
|
|
22
|
+
queryParams,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function deleteAssetById(assetId, assetType) {
|
|
26
|
+
return {
|
|
27
|
+
type: types.DELETE_ASSET_REQUEST,
|
|
28
|
+
assetId,
|
|
29
|
+
assetType,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function getUserList() {
|
|
34
|
+
return {
|
|
35
|
+
type: types.GET_USER_LIST_REQUEST,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Gallery constants
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export const DEFAULT_ACTION = 'app/Gallery/DEFAULT_ACTION';
|
|
8
|
+
|
|
9
|
+
export const UPLOAD_ASSET_REQUEST = 'app/Gallery/UPLOAD_ASSET_REQUEST';
|
|
10
|
+
export const UPLOAD_ASSET_SUCCESS = 'app/Gallery/UPLOAD_ASSET_SUCCESS';
|
|
11
|
+
export const UPLOAD_ASSET_FAILURE = 'app/Gallery/UPLOAD_ASSET_FAILURE';
|
|
12
|
+
|
|
13
|
+
export const GET_ALL_ASSETS_REQUEST = 'app/Gallery/GET_ALL_ASSETS_REQUEST';
|
|
14
|
+
export const GET_ALL_ASSETS_SUCCESS = 'app/Gallery/GET_ALL_ASSETS_SUCCESS';
|
|
15
|
+
export const GET_ALL_ASSETS_FAILURE = 'app/Gallery/GET_ALL_ASSETS_FAILURE';
|
|
16
|
+
|
|
17
|
+
export const DELETE_ASSET_REQUEST = 'app/Gallery/DELETE_ASSET_REQUEST';
|
|
18
|
+
export const DELETE_ASSET_SUCCESS = 'app/Gallery/DELETE_ASSET_SUCCESS';
|
|
19
|
+
export const DELETE_ASSET_FAILURE = 'app/Gallery/DELETE_ASSET_FAILURE';
|
|
20
|
+
|
|
21
|
+
export const GET_USER_LIST_REQUEST = "app/Gallery/GET_USER_LIST_REQUEST";
|
|
22
|
+
export const GET_USER_LIST_SUCCESS = "app/Gallery/GET_USER_LIST_SUCCESS";
|
|
23
|
+
export const GET_USER_LIST_FAILURE = "app/Gallery/GET_USER_LIST_FAILURE";
|