UNPKG

1.16 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const magnolia_source_module_1 = require("./magnolia-source.module");
4function buildSource(options, callback) {
5 return new magnolia_source_module_1.MagnoliaSource(options, callback);
6}
7exports.buildSource = buildSource;
8// buildSource(
9// {
10// name: 'magnolia',
11// output: {
12// excludedProperties: [
13// 'mgnl:created',
14// 'mgnl:createdBy',
15// 'mgnl:lastModified',
16// 'mgnl:lastModifiedBy'
17// ],
18// json: 'src',
19// assets: 'src/static/assets'
20// },
21// magnolia: {
22// url: 'http://localhost:8080',
23// damJsonEndpoint: '/.rest/delivery/dam/v1',
24// pagesEndpoint: '/.rest/delivery/website/v1',
25// sitemapEndpoint: '/sitemap',
26// workspaces: ['subsidiaries'],
27// auth: {
28// header: 'Basic c3VwZXJ1c2VyOnN1cGVydXNlcg=='
29// }
30// },
31// queue: {
32// uri: 'amqp://admin:Boo4bah3ohcohthaeHa5ohter0iSeeS0@localhost:5672',
33// exchangeName: 'paperboy_preview'
34// }
35// },
36// () => Promise.resolve()
37// ).start();
38//# sourceMappingURL=index.js.map
\No newline at end of file