├── .eslintignore ├── defaults ├── context │ ├── ctas │ │ ├── default.html │ │ └── 46f5763d-3ac9-4b83-96c9-30b61d51f486.html │ ├── default-modules │ │ └── 123 │ │ │ ├── 1155231 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1155232 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1155238 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1155240 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1155241 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ └── module.html │ │ │ ├── 1155639 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1155826 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1155827 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── fields.json │ │ │ └── module.html │ │ │ ├── 1155836 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1346990 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1366599 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1366601 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1366603 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1366605 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1366606 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1366607 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1366608 │ │ │ ├── module.css │ │ │ ├── module.html │ │ │ ├── module.js │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1366743 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1367088 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1367089 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1367090 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1367092 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1367093 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ ├── 1367094 │ │ │ ├── module.css │ │ │ ├── module.html │ │ │ ├── module.js │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1790628 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1790629 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1790630 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1790631 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1790632 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1843376 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1843377 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1847337 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 1851328 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1861177 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 1928544 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── meta.json │ │ │ └── module.html │ │ │ ├── 1976948 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ └── meta.json │ │ │ ├── 2191110 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 2712622 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 2712624 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 2762241 │ │ │ ├── fields.json │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── 2763545 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ └── meta.json │ │ │ ├── 2764908 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 2764909 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 2765204 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── 2794854 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── fields.json │ │ │ └── 2869621 │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ └── meta.json │ ├── owner.json │ ├── hubdb │ │ └── 123 │ │ │ ├── hubdb.db │ │ │ └── table-meta-1029037.json │ ├── contact.json │ ├── company.json │ ├── hubspot-stylesheets │ │ └── hubspot │ │ │ └── styles │ │ │ └── patches │ │ │ └── recommended.css │ ├── request.json │ └── resource-mappings │ │ └── 123 │ │ └── mappings.json ├── designs │ ├── Marketplace │ │ └── www.hubspot-site-setup.com │ │ │ └── Vast_Site_Setup │ │ │ └── Custom_Modules │ │ │ ├── Vast Blog Title.module │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── fields.json │ │ │ └── meta.json │ │ │ ├── Vast Testimonial.module │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ ├── module.css │ │ │ └── fields.json │ │ │ ├── Vast Team Member Module.module │ │ │ ├── module.js │ │ │ ├── module.css │ │ │ ├── meta.json │ │ │ └── module.html │ │ │ ├── Vast Back To Top Button.module │ │ │ ├── fields.json │ │ │ ├── module.html │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ └── meta.json │ │ │ ├── Vast Footer Contact Information.module │ │ │ ├── module.css │ │ │ ├── module.js │ │ │ ├── fields.json │ │ │ ├── meta.json │ │ │ └── module.html │ │ │ ├── Vast Service & Product Description copy.module │ │ │ ├── module.js │ │ │ ├── module.css │ │ │ ├── module.html │ │ │ └── meta.json │ │ │ ├── Vast Well Module copy.module │ │ │ ├── module.js │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ └── module.css │ │ │ ├── Vast Tabber.module │ │ │ ├── fields.json │ │ │ ├── meta.json │ │ │ ├── module.html │ │ │ ├── module.js │ │ │ └── module.css │ │ │ └── Vast FAQ Module.module │ │ │ ├── module.html │ │ │ ├── meta.json │ │ │ ├── module.js │ │ │ ├── fields.json │ │ │ └── module.css │ └── Custom │ │ └── features │ │ ├── modules_example.html │ │ └── hubdb_example.html ├── cli-config.yaml └── server-config.yaml ├── .npmrc ├── .gitignore ├── jest.config.js ├── bin ├── tasks │ ├── constants.js │ ├── blog_download.js │ ├── nav_menu_download.js │ ├── layout_download.js │ ├── content_download.js │ ├── download_ftp_designs.js │ └── resource_mapping_download.js ├── utils │ ├── ftp.js │ └── api.js ├── hubtasks.js ├── cli.js └── main.js ├── tests ├── tasks │ ├── test_base.js │ ├── blog_download.test.js │ ├── hubdb_download.test.js │ ├── layout_download.test.js │ ├── content_download.test.js │ ├── nav_menu_download.test.js │ ├── default_module_download.test.js │ ├── resource_mapping_download.test.js │ ├── download_ftp_designs.test.js │ └── base_task.test.js └── ftp_upload.test.js ├── .eslintrc.js ├── LICENSE └── package.json /.eslintignore: -------------------------------------------------------------------------------- 1 | defaults/ 2 | -------------------------------------------------------------------------------- /defaults/context/ctas/default.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | registry=https://registry.npmjs.com/ 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155231/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155231/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155232/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155232/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155238/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155238/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155240/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155240/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155241/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155241/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155639/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155639/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155826/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155826/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155827/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155827/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155836/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155836/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1346990/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1346990/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366599/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366599/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366601/fields.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366601/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366601/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366603/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366603/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366605/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366605/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366606/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366606/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366607/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366607/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366608/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366608/module.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366608/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366743/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366743/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367088/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367088/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367089/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367089/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367090/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367090/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367092/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367092/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367093/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367093/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367094/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367094/module.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367094/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790628/fields.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790628/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790628/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790629/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790629/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790630/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790630/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790631/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790631/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790632/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790632/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1843376/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1843376/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1843377/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1843377/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1847337/fields.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1847337/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1847337/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1851328/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1851328/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1861177/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1861177/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1928544/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1928544/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1976948/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1976948/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2191110/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2191110/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2712624/fields.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2762241/fields.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2762241/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2762241/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2763545/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2763545/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764908/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764908/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764909/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764909/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2765204/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2765204/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2794854/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2794854/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2869621/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2869621/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | transform: {}, 3 | }; -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764908/module.html: -------------------------------------------------------------------------------- 1 | {{ module.value }} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764909/module.html: -------------------------------------------------------------------------------- 1 | {{ module.value }} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2765204/module.html: -------------------------------------------------------------------------------- 1 | {{ module.color }} -------------------------------------------------------------------------------- /bin/tasks/constants.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | FTP_HOST: 'ftp.hubapi.com' 3 | } 4 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790628/module.html: -------------------------------------------------------------------------------- 1 | {% page_footer "page_footer" %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790629/module.html: -------------------------------------------------------------------------------- 1 | {% cta guid='{{ module.guid }}' %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1843376/module.html: -------------------------------------------------------------------------------- 1 | {% text value="{{module.value}}" %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155639/module.html: -------------------------------------------------------------------------------- 1 | {% rich_text html="{{module.html}}" %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366601/module.html: -------------------------------------------------------------------------------- 1 | {% blog_comments "blog_comments" %} 2 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366605/module.html: -------------------------------------------------------------------------------- 1 | {% rich_text html='{{module.html}}' %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367089/module.html: -------------------------------------------------------------------------------- 1 | {% rich_text html='{{module.html}}' %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790631/module.html: -------------------------------------------------------------------------------- 1 | {% inline_rich_text field="html" value="{{ module.html }}" %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1851328/module.html: -------------------------------------------------------------------------------- 1 | {% inline_rich_text field="html" html="{{ module.html }}" %} -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Blog Title.module/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Blog Title.module/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Testimonial.module/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366607/module.html: -------------------------------------------------------------------------------- 1 | {% language_switcher display_mode='{{ module.display_mode }}' %} 2 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Team Member Module.module/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/owner.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstname": "Brian", 3 | "lastname": "Halligan", 4 | "email": "owner@hubspot.com" 5 | } 6 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Back To Top Button.module/fields.json: -------------------------------------------------------------------------------- 1 | [ ] -------------------------------------------------------------------------------- /defaults/context/hubdb/123/hubdb.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/local-cms-server-cli/HEAD/defaults/context/hubdb/123/hubdb.db -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Footer Contact Information.module/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Footer Contact Information.module/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Service & Product Description copy.module/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Service & Product Description copy.module/module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1155240/module.html: -------------------------------------------------------------------------------- 1 | {% section_header 2 | header='{{ module.header }}', 3 | subheader='{{ module.subheader }}' 4 | %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1790630/module.html: -------------------------------------------------------------------------------- 1 | {% simple_menu menu_tree="{{ module.menu_tree }}", orientation="{{ module.orientation }}" %} 2 | 3 | 4 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366599/module.html: -------------------------------------------------------------------------------- 1 | {% password_prompt submit_button_text='{{ module.submit_button_text }}', bad_password_message='{{ module.bad_password_message }}' %} 2 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367092/module.html: -------------------------------------------------------------------------------- 1 | {% if is_listing_view %} 2 | {{ module.blog_listing_source }} 3 | {% else %} 4 | {{ module.blog_post_source }} 5 | {% endif %} -------------------------------------------------------------------------------- /defaults/context/contact.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstname": "Hugh B.", 3 | "lastname": "Spot", 4 | "email": "hubspot@hubspot.com", 5 | "phone": "1-888-482-7768", 6 | "company": "HubSpot" 7 | } 8 | -------------------------------------------------------------------------------- /defaults/context/company.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HubSpot", 3 | "description": "Marketing and Sales Software", 4 | "address": "25 First Street", 5 | "state": "Massachusetts", 6 | "industry": "Software" 7 | } 8 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Back To Top Button.module/module.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /bin/utils/ftp.js: -------------------------------------------------------------------------------- 1 | function getFtpHost(options = { env: 'PROD' }) { 2 | const { env } = options; 3 | return env === 'PROD' ? 'ftp.hubapi.com' : 'ftp.hubapiqa.com'; 4 | } 5 | 6 | module.exports = { 7 | getFtpHost, 8 | }; 9 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1861177/module.html: -------------------------------------------------------------------------------- 1 | {% blog_subscribe "blog_subscribe" 2 | select_blog='{{ module.select_blog }}', 3 | title='{{ module.title }}', 4 | response_message='{{ module.response_message }}' 5 | %} 6 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1847337/module.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Blog Title.module/module.html: -------------------------------------------------------------------------------- 1 | {% if module.title is truthy %} 2 |It looks like you're currently unsubscribed from receiving email from us, which means we won't be able to complete your request until you 2 | update your subscription preferences.
3 |Please let us know if you have any questions. We'd be delighted to help you out.
4 |All the best,
-------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Blog Title.module/fields.json: -------------------------------------------------------------------------------- 1 | [ { 2 | "id" : "ff756479-8c12-d2af-db3d-0b5767b686d1", 3 | "name" : "title", 4 | "label" : "Blog Title", 5 | "sortable" : false, 6 | "required" : false, 7 | "locked" : false, 8 | "validation_regex" : "", 9 | "hierarchical" : false, 10 | "max_depth" : 0, 11 | "allow_new_line" : false, 12 | "type" : "text", 13 | "default" : null 14 | } ] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2712622/fields.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "allow_new_line": false, 4 | "default": null, 5 | "hierarchical": false, 6 | "id": "e75bef76-6568-6550-8840-1d97bfc93c0b", 7 | "label": "Field Placeholder", 8 | "locked": false, 9 | "max_depth": 0, 10 | "name": "placeholder", 11 | "required": false, 12 | "show_emoji_picker": false, 13 | "sortable": false, 14 | "type": "text", 15 | "validation_regex": "" 16 | } 17 | ] -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast FAQ Module.module/module.html: -------------------------------------------------------------------------------- 1 | {# Accoordion Layout #} 2 |Please confirm your subscription
", 4 | "hierarchical": false, 5 | "id": "7ea625c5-2a67-2731-0220-1a4d62479799", 6 | "label": "HTML", 7 | "locked": false, 8 | "max_depth": 0, 9 | "name": "html", 10 | "required": false, 11 | "sortable": false, 12 | "type": "richtext" 13 | } 14 | ] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764909/fields.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "choices": [ 4 | [ 5 | "value_1", 6 | "Label 1" 7 | ], 8 | [ 9 | "value_2", 10 | "Label 2" 11 | ] 12 | ], 13 | "default": null, 14 | "display": "select", 15 | "hierarchical": false, 16 | "id": "eadd88df-bde2-92ca-5906-07339e39f069", 17 | "label": "", 18 | "locked": false, 19 | "max_depth": 0, 20 | "name": "value", 21 | "placeholder": "Search", 22 | "required": false, 23 | "sortable": false, 24 | "type": "choice" 25 | } 26 | ] -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Back To Top Button.module/module.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | var $backToTop = $(".back-to-top"); 3 | $backToTop.hide(); 4 | 5 | $(window).scroll(function() { 6 | if ($(this).scrollTop()>50) { 7 | $backToTop.fadeIn(); 8 | } else { 9 | $backToTop.fadeOut(); 10 | } 11 | }); 12 | 13 | $backToTop.find("a").click(function(e) { 14 | e.preventDefault(); 15 | $("html, body").animate({scrollTop: 0}, 500); 16 | }); 17 | }); -------------------------------------------------------------------------------- /defaults/cli-config.yaml: -------------------------------------------------------------------------------- 1 | # global args 2 | hapikey: null 3 | pathToContextDir: context 4 | username: null 5 | password: null 6 | portalId: null 7 | 8 | # task-specific args 9 | download-blogs: 10 | limit: null 11 | 12 | download-content: 13 | limit: null 14 | 15 | download-default-modules: 16 | limit: null 17 | 18 | download-designs: 19 | outDir: designs 20 | 21 | download-hubdb: 22 | batchSize: 1 23 | 24 | download-layouts: 25 | limit: null 26 | 27 | download-menus: 28 | limit: null 29 | 30 | download-resource-mappings: 31 | limit: null 32 | 33 | ftp-upload: 34 | designsPath: designs 35 | files: 36 | - null 37 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366603/module.html: -------------------------------------------------------------------------------- 1 | {% email_subscriptions 2 | "email_subscriptions" 3 | resubscribe_button_text="{{ module.resubscribe_button_text }}", 4 | unsubscribe_single_text="{{ module.unsubscribe_single_text }}", 5 | subheader_text="{{ module.subheader_text }}", 6 | unsubscribe_all_unsubbed_text="{{ module.unsubscribe_all_unsubbed_text }}", 7 | button_text="{{ module.button_text }}", 8 | label="{{ module.label }}", 9 | header="{{ module.header }}", 10 | unsubscribe_all_option="{{ module.unsubscribe_all_option }}", 11 | unsubscribe_all_text="{{ module.unsubscribe_all_text }}" 12 | %} -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2712624/module.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Service & Product Description copy.module/module.html: -------------------------------------------------------------------------------- 1 |{{ module.quote }} 3 |4 |
5 | {{ module.firstlast_name }} 6 | {{ module.company }} 7 |
8 | 9 |The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.
\nRemember:
\nSorry, please try again.
", 18 | "hierarchical": false, 19 | "id": "e06dc069-067a-6cde-7423-dc8db210ea8a", 20 | "label": "Bad password message", 21 | "locked": false, 22 | "max_depth": 0, 23 | "name": "bad_password_message", 24 | "required": true, 25 | "sortable": false, 26 | "type": "richtext" 27 | } 28 | ] -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1366605/fields.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "default": "
6 |
--------------------------------------------------------------------------------
/tests/ftp_upload.test.js:
--------------------------------------------------------------------------------
1 | const FtpUploadTask = require('../bin/ftp_upload').FtpUploadTask;
2 | const testBase = require('./tasks/test_base');
3 |
4 | const taskName = FtpUploadTask.getTaskName();
5 |
6 | it('Should not throw an error if the required args are present.', () => {
7 | const config = {
8 | portalId: 123,
9 | username: 'user',
10 | password: 'password',
11 | [taskName]: {
12 | designsPath: 'designs',
13 | files: [ 'test.txt' ]
14 | }
15 | };
16 | testBase.setupMocks(config);
17 | new FtpUploadTask();
18 | });
19 |
20 | it('Should throw an error if the required args are absent.', () => {
21 | const config = {
22 | portalId: null,
23 | username: null,
24 | password: null,
25 | [taskName]: {
26 | designsPath: null,
27 | files: null
28 | }
29 | };
30 | testBase.setupMocks(config);
31 | expect(() => new FtpUploadTask()).toThrow();
32 | });
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast FAQ Module.module/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloned_from_module_id" : 810173,
3 | "contains_overridable_hubl_tags" : false,
4 | "content_tags" : [ {
5 | "name" : "OTHER_INDUSTRY",
6 | "source" : "MARKETPLACE"
7 | }, {
8 | "name" : "HIDDEN",
9 | "source" : "MARKETPLACE"
10 | } ],
11 | "css_assets" : [ ],
12 | "editable_contexts" : [ ],
13 | "external_js" : [ ],
14 | "extra_classes" : "",
15 | "global" : false,
16 | "help_text" : "",
17 | "host_template_types" : [ "PAGE", "BLOG_POST", "BLOG_LISTING" ],
18 | "js_assets" : [ ],
19 | "label" : null,
20 | "other_assets" : [ ],
21 | "placement_rules" : [ ],
22 | "purchased" : false,
23 | "smart_type" : "NOT_SMART",
24 | "tags" : [ ],
25 | "portal_id" : 123,
26 | "id" : 6098195191,
27 | "module_id" : 3562972,
28 | "is_available_for_new_content" : true
29 | }
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Testimonial.module/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloned_from_module_id" : 810626,
3 | "contains_overridable_hubl_tags" : false,
4 | "content_tags" : [ {
5 | "name" : "OTHER_INDUSTRY",
6 | "source" : "MARKETPLACE"
7 | }, {
8 | "name" : "HIDDEN",
9 | "source" : "MARKETPLACE"
10 | } ],
11 | "css_assets" : [ ],
12 | "editable_contexts" : [ ],
13 | "external_js" : [ ],
14 | "extra_classes" : "",
15 | "global" : false,
16 | "help_text" : "",
17 | "host_template_types" : [ "PAGE", "BLOG_POST", "BLOG_LISTING" ],
18 | "js_assets" : [ ],
19 | "label" : null,
20 | "other_assets" : [ ],
21 | "placement_rules" : [ ],
22 | "purchased" : false,
23 | "smart_type" : "NOT_SMART",
24 | "tags" : [ ],
25 | "portal_id" : 123,
26 | "id" : 6099133504,
27 | "module_id" : 3563461,
28 | "is_available_for_new_content" : true
29 | }
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Team Member Module.module/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloned_from_module_id" : 673515,
3 | "contains_overridable_hubl_tags" : false,
4 | "content_tags" : [ {
5 | "name" : "OTHER_INDUSTRY",
6 | "source" : "MARKETPLACE"
7 | }, {
8 | "name" : "HIDDEN",
9 | "source" : "MARKETPLACE"
10 | } ],
11 | "css_assets" : [ ],
12 | "editable_contexts" : [ ],
13 | "external_js" : [ ],
14 | "extra_classes" : "",
15 | "global" : false,
16 | "help_text" : "",
17 | "host_template_types" : [ "PAGE", "BLOG_POST", "BLOG_LISTING" ],
18 | "js_assets" : [ ],
19 | "label" : null,
20 | "other_assets" : [ ],
21 | "placement_rules" : [ ],
22 | "purchased" : false,
23 | "smart_type" : "NOT_SMART",
24 | "tags" : [ ],
25 | "portal_id" : 123,
26 | "id" : 6099133516,
27 | "module_id" : 3563463,
28 | "is_available_for_new_content" : true
29 | }
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Well Module copy.module/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloned_from_module_id" : 1256285,
3 | "contains_overridable_hubl_tags" : false,
4 | "content_tags" : [ {
5 | "name" : "OTHER_INDUSTRY",
6 | "source" : "MARKETPLACE"
7 | }, {
8 | "name" : "HIDDEN",
9 | "source" : "MARKETPLACE"
10 | } ],
11 | "css_assets" : [ ],
12 | "editable_contexts" : [ ],
13 | "external_js" : [ ],
14 | "extra_classes" : "",
15 | "global" : false,
16 | "help_text" : "",
17 | "host_template_types" : [ "PAGE", "BLOG_POST", "BLOG_LISTING" ],
18 | "js_assets" : [ ],
19 | "label" : null,
20 | "other_assets" : [ ],
21 | "placement_rules" : [ ],
22 | "purchased" : false,
23 | "smart_type" : "NOT_SMART",
24 | "tags" : [ ],
25 | "portal_id" : 123,
26 | "id" : 6099133566,
27 | "module_id" : 3563466,
28 | "is_available_for_new_content" : true
29 | }
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Well Module copy.module/module.css:
--------------------------------------------------------------------------------
1 | /* Well Colors */
2 |
3 | #well{
4 | min-height: 20px;
5 | margin-bottom: 20px;
6 | border-radius: 4px;
7 | color: #fff;
8 | }
9 | #well .default{
10 | border-radius: 4px;
11 | border-style: solid;
12 | border-width: 1px;
13 | }
14 | #well .primary{
15 | border-radius: 4px;
16 | }
17 | #well .success{
18 | border-radius: 4px;
19 | }
20 | #well .danger{
21 | border-radius: 4px;
22 | }
23 | #well .info{
24 | border-radius: 4px;
25 |
26 | }
27 | #well .plain{
28 | border-radius: 4px;
29 | }
30 | #well .small{
31 | padding: 20px;
32 | }
33 | #well .medium{
34 | padding: 24px;
35 | }
36 | #well .large{
37 | padding: 28px;
38 | }
39 | #well .close{
40 | float: right;
41 | padding: 3px 10px 0px 0px;
42 | cursor: pointer;
43 | }
--------------------------------------------------------------------------------
/defaults/context/default-modules/123/1155240/fields.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "allow_new_line": false,
4 | "default": "A clear and bold header",
5 | "hierarchical": false,
6 | "id": "4afa5075-25c8-95e7-8893-c08b7351063d",
7 | "label": "Section header content",
8 | "locked": false,
9 | "max_depth": 0,
10 | "name": "header",
11 | "required": false,
12 | "show_emoji_picker": false,
13 | "sortable": false,
14 | "type": "text",
15 | "validation_regex": ""
16 | },
17 | {
18 | "allow_new_line": false,
19 | "default": "A more subdued subheader",
20 | "hierarchical": false,
21 | "id": "489067c3-ab1f-7b79-683c-a40b463469d9",
22 | "label": "Section subheader",
23 | "locked": false,
24 | "max_depth": 0,
25 | "name": "subheader",
26 | "required": false,
27 | "show_emoji_picker": false,
28 | "sortable": false,
29 | "type": "text",
30 | "validation_regex": ""
31 | }
32 | ]
--------------------------------------------------------------------------------
/defaults/context/default-modules/123/1366607/fields.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "choices": [
4 | [
5 | "localized",
6 | "Localized"
7 | ],
8 | [
9 | "pagelang",
10 | "PageLang"
11 | ],
12 | [
13 | "hybrid",
14 | "Hybrid"
15 | ]
16 | ],
17 | "default": "localized",
18 | "help_text": "The language of the text in the language switcher. PageLang means the names of languages will display in the language of the page the switcher is on. Localized means the name of each language will display in that language. Hybrid is a combination of the two.",
19 | "hierarchical": false,
20 | "id": "2e71f343-859b-8c20-1f17-587a747ebc21",
21 | "label": "Display mode",
22 | "locked": false,
23 | "max_depth": 0,
24 | "name": "display_mode",
25 | "placeholder": "Search",
26 | "required": true,
27 | "sortable": false,
28 | "type": "choice"
29 | }
30 | ]
--------------------------------------------------------------------------------
/defaults/context/default-modules/123/1790630/fields.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "default": [],
4 | "hierarchical": false,
5 | "id": "de863304-d116-95df-701d-946282fb63fc",
6 | "label": "Simple menu",
7 | "locked": false,
8 | "max_depth": 0,
9 | "name": "menu_tree",
10 | "required": false,
11 | "sortable": false,
12 | "type": "simplemenu"
13 | },
14 | {
15 | "choices": [
16 | [
17 | "horizontal",
18 | "Horizontal"
19 | ],
20 | [
21 | "vertical",
22 | "Vertical"
23 | ]
24 | ],
25 | "default": "vertical",
26 | "display": "radio",
27 | "hierarchical": false,
28 | "id": "b9755df2-ad38-55a3-f10e-f1bb67127be6",
29 | "label": "Menu orientation",
30 | "locked": false,
31 | "max_depth": 0,
32 | "name": "orientation",
33 | "placeholder": "Search",
34 | "required": false,
35 | "sortable": false,
36 | "type": "choice"
37 | }
38 | ]
--------------------------------------------------------------------------------
/defaults/designs/Marketplace/www.hubspot-site-setup.com/Vast_Site_Setup/Custom_Modules/Vast Service & Product Description copy.module/meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "cloned_from_module_id" : 495058,
3 | "contains_overridable_hubl_tags" : false,
4 | "content_tags" : [ {
5 | "name" : "OTHER_INDUSTRY",
6 | "source" : "MARKETPLACE"
7 | }, {
8 | "name" : "HIDDEN",
9 | "source" : "MARKETPLACE"
10 | } ],
11 | "css_assets" : [ ],
12 | "editable_contexts" : [ ],
13 | "external_js" : [ ],
14 | "extra_classes" : "",
15 | "global" : false,
16 | "help_text" : "",
17 | "host_template_types" : [ "PAGE", "BLOG_POST", "BLOG_LISTING" ],
18 | "js_assets" : [ ],
19 | "label" : null,
20 | "other_assets" : [ ],
21 | "placement_rules" : [ ],
22 | "purchased" : false,
23 | "smart_type" : "NOT_SMART",
24 | "tags" : [ ],
25 | "portal_id" : 123,
26 | "id" : 6098195207,
27 | "module_id" : 3562973,
28 | "is_available_for_new_content" : true
29 | }
--------------------------------------------------------------------------------
/defaults/context/default-modules/123/2712622/module.html:
--------------------------------------------------------------------------------
1 | {# Need help setting up site search?
2 | Start here: https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-do-i-set-up-a-results-page-for-my-search-field-in-hubspot #}
3 |
4 | Hi {{contact.firstname}},
\nDescribe what you have to offer the customer. Why should they read? What did you promise them in the subject line? Tell them something cool. Make them laugh. Make them cry. Well, maybe don't do that...
\nUse a list to:
\nLINK TO A LANDING PAGE ON YOUR SITE (This is the really important part.)
\nNow wrap it all up with a pithy little reminder of how much you love them.
\nAw. You silver-tongued devil, you.
\nSincerely,
\nYour name
", 4 | "hierarchical": false, 5 | "id": "7b1aa231-5d9d-866b-c94f-b26b6f041526", 6 | "label": "Email body", 7 | "locked": false, 8 | "max_depth": 0, 9 | "name": "html", 10 | "required": false, 11 | "sortable": false, 12 | "type": "richtext" 13 | } 14 | ] -------------------------------------------------------------------------------- /defaults/context/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "full_url": "http://my.company.com/", 3 | "path": "/", 4 | "cookies": { 5 | "_ga": "GA1.2.1007096672.1413918972", 6 | "__utma": "109362460.1007096672.1413918972.1418421070.1419264987.5", 7 | }, 8 | "path_and_query": "/?foo=bar", 9 | "query": "foo=bar", 10 | "query_dict": { 11 | "foo": "bar" 12 | }, 13 | "domain": "my.company.com", 14 | "scheme": "http", 15 | "referrer": "", 16 | "remote_ip": "1.2.3.4", 17 | "geoip_info": { 18 | "city": "Boston", 19 | "organization": "áMA", 20 | "region": "MA", 21 | "country": "US", 22 | "dma": 506 23 | }, 24 | "search_engine": "", 25 | "search_keyword": "", 26 | "method": "GET", 27 | "debug": false, 28 | "public_content_web": true, 29 | "bot": false, 30 | "smart_content_enabled": true, 31 | "post_dict": { 32 | "foo": "bar" 33 | }, 34 | "geoip_city": "Boston", 35 | "geoip_organization": "áMA", 36 | "geoip_region": "MA", 37 | "geoip_country": "US", 38 | "geoip_dma": 506 39 | } 40 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764908/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "marketplaceteam@hubspot.com", 3 | "author_at": 1535029272605, 4 | "contains_overridable_hubl_tags": false, 5 | "content_tags": [], 6 | "created": 1535029272605, 7 | "css_assets": [], 8 | "default": true, 9 | "deleted_at": 0, 10 | "editable_contexts": [], 11 | "external_js": [], 12 | "extra_classes": "", 13 | "folder_id": 6098902230, 14 | "global": false, 15 | "help_text": "", 16 | "host_template_types": [ 17 | "NONE" 18 | ], 19 | "icon": "https://cdn2.hubspotqa.com/hubfs/99263981/edited-success.svg", 20 | "id": 6098194869, 21 | "is_available_for_new_content": true, 22 | "is_buffered": false, 23 | "js_assets": [], 24 | "label": "Boolean", 25 | "marketplace_version": 22, 26 | "module_id": 2764908, 27 | "name": "Boolean", 28 | "other_assets": [], 29 | "placement_rules": [], 30 | "portal_id": 123, 31 | "purchased": false, 32 | "schema_version": 2, 33 | "smart_type": "NOT_SMART", 34 | "tags": [ 35 | "DEFAULT" 36 | ], 37 | "updated": 1535029272605, 38 | "widget_label": "", 39 | "writeable": false 40 | } -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2764909/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "marketplaceteam@hubspot.com", 3 | "author_at": 1535029267561, 4 | "contains_overridable_hubl_tags": false, 5 | "content_tags": [], 6 | "created": 1535029267561, 7 | "css_assets": [], 8 | "default": true, 9 | "deleted_at": 0, 10 | "editable_contexts": [], 11 | "external_js": [], 12 | "extra_classes": "", 13 | "folder_id": 6098902230, 14 | "global": false, 15 | "help_text": "", 16 | "host_template_types": [ 17 | "NONE" 18 | ], 19 | "icon": "https://cdn2.hubspotqa.com/hubfs/99263981/edited-bulletlist.svg", 20 | "id": 6098194722, 21 | "is_available_for_new_content": true, 22 | "is_buffered": false, 23 | "js_assets": [], 24 | "label": "Choice", 25 | "marketplace_version": 22, 26 | "module_id": 2764909, 27 | "name": "Choice", 28 | "other_assets": [], 29 | "placement_rules": [], 30 | "portal_id": 123, 31 | "purchased": false, 32 | "schema_version": 2, 33 | "smart_type": "NOT_SMART", 34 | "tags": [ 35 | "DEFAULT" 36 | ], 37 | "updated": 1535029267561, 38 | "widget_label": "", 39 | "writeable": false 40 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 HubSpot 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2765204/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "marketplaceteam@hubspot.com", 3 | "author_at": 1535029282755, 4 | "contains_overridable_hubl_tags": false, 5 | "content_tags": [], 6 | "created": 1535029282755, 7 | "css_assets": [], 8 | "default": true, 9 | "deleted_at": 0, 10 | "editable_contexts": [], 11 | "external_js": [], 12 | "extra_classes": "", 13 | "folder_id": 6098902230, 14 | "global": false, 15 | "help_text": "", 16 | "host_template_types": [ 17 | "NONE" 18 | ], 19 | "icon": "https://cdn2.hubspotqa.com/hubfs/99263981/edited-backgroundColor.svg", 20 | "id": 6098903539, 21 | "is_available_for_new_content": true, 22 | "is_buffered": false, 23 | "js_assets": [], 24 | "label": "Color", 25 | "marketplace_version": 22, 26 | "module_id": 2765204, 27 | "name": "Color", 28 | "other_assets": [], 29 | "placement_rules": [], 30 | "portal_id": 123, 31 | "purchased": false, 32 | "schema_version": 2, 33 | "smart_type": "NOT_SMART", 34 | "tags": [ 35 | "DEFAULT" 36 | ], 37 | "updated": 1535029282755, 38 | "widget_label": "", 39 | "writeable": false 40 | } -------------------------------------------------------------------------------- /defaults/context/default-modules/123/2762241/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "marketplaceteam@hubspot.com", 3 | "author_at": 1535029277665, 4 | "contains_overridable_hubl_tags": false, 5 | "content_tags": [], 6 | "created": 1535029277665, 7 | "css_assets": [], 8 | "default": true, 9 | "deleted_at": 0, 10 | "editable_contexts": [], 11 | "external_js": [], 12 | "extra_classes": "", 13 | "folder_id": 6098902230, 14 | "global": false, 15 | "help_text": "", 16 | "host_template_types": [ 17 | "NONE" 18 | ], 19 | "icon": "https://cdn2.hubspotqa.com/hubfs/99263981/high-email.svg", 20 | "id": 6098475805, 21 | "is_available_for_new_content": true, 22 | "is_buffered": false, 23 | "js_assets": [], 24 | "label": "Resubscribe Email Body", 25 | "marketplace_version": 27, 26 | "module_id": 2762241, 27 | "name": "Resubscribe Email Body", 28 | "other_assets": [], 29 | "placement_rules": [], 30 | "portal_id": 123, 31 | "purchased": false, 32 | "schema_version": 2, 33 | "smart_type": "NOT_SMART", 34 | "tags": [ 35 | "DEFAULT" 36 | ], 37 | "updated": 1535029277665, 38 | "widget_label": "", 39 | "writeable": false 40 | } -------------------------------------------------------------------------------- /defaults/context/default-modules/123/1367093/module.html: -------------------------------------------------------------------------------- 1 | {% set max_width = module.img.width %} 2 | {% set wrapper_css = "padding:0px;" %} 3 | {% if widget_css %} 4 | {% set wrapper_css = widget_css %} 5 | {% elif module.hs_enable_module_padding %} 6 | {% set wrapper_css = "padding:10px 20px" %} 7 | {% endif %} 8 | {% if current_column_content_width is number && current_column_content_width < max_width %} 9 | {% set max_width = current_column_content_width %} 10 | {% endif %} 11 ||
15 | {% if module.link %}
16 |
17 | {% endif %}
18 | |
23 |
| to align right #} 15 | {% if (module.alignment != 'left') and (module.width != 100) %} 16 | | 17 | {% endif %} 18 | {# Main td with bottom border #} 19 | | 20 | {# Add right | to align left #} 21 | {% if (module.alignment != 'right') and (module.width != 100) %} 22 | | 23 | {% endif %} 24 | |
{{ module.team_member_bio }}
23 |See the full HubDB HubL documentation here
4 |Gets information on a table including its name, columns, last updated, etc...
7 | {% set table_info = hubdb_table(1029037) %} 8 |Showing information for table {{table_info.id}} ({{table_info.name}})
9 |The table was created at {{table_info.created_at}} and has {{table_info.row_count}} rows
10 |Gets a single row
15 | {% set single_row = hubdb_table_row(1029037, 6655243623) %} 16 |Showing information for row {{single_row.hs_id}}
17 |This row was created at {{single_row.hs_created_at}} and is named {{single_row.name}}
18 |Gets information on a column in a table such as its label, type, and options.
23 | {% set column_info = hubdb_table_column(1029037, "multiselect_column") %} 24 |Column ID {{column_info.id}} is named {{column_info.name}} with label {{column_info.label}} and type {{column_info.type}}
25 |It has the options {{column_info.options}}
26 |You can get an option by name, like so: {{column_info.getOptionByName("Option 1")}}
27 |List multiple rows of a table
32 | 33 |the value for {{row.hs_id}} is {{row.number_column}}
36 | {% endfor %} 37 |Selected row {{row.hs_id}} with multiselect value: {{row.multiselect_column}}
40 | {% endfor %} 41 |{{row.hs_id}}
44 | {% endfor %} 45 |