@live-change/frontend-template 0.1.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Michał Łaszczewski
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.
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <!--head-->
5
+ </head>
6
+ <body>
7
+ <div id="app"><!--app-html--></div>
8
+ <!--app-data-->
9
+ <script type="module" src="/src/entry-client.js"></script>
10
+ </body>
11
+ </html>
Binary file
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+
4
+ <svg
5
+ version="1.1"
6
+ id="Layer_1"
7
+ x="0px"
8
+ y="0px"
9
+ width="512px"
10
+ height="512px"
11
+ viewBox="0 0 512 512"
12
+ enable-background="new 0 0 512 512"
13
+ xml:space="preserve"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ xmlns:svg="http://www.w3.org/2000/svg"
16
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
17
+ xmlns:cc="http://creativecommons.org/ns#"
18
+ xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata
19
+ id="metadata9"><rdf:RDF><cc:Work
20
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
21
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
22
+ id="defs7" />
23
+ <rect
24
+ style="fill:#dbdbdb;fill-opacity:1;stroke:none;stroke-width:1.88976383;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
25
+ id="rect821"
26
+ width="512.54236"
27
+ height="512.54236"
28
+ x="0.54237288"
29
+ y="0.54237235" />
30
+ <path
31
+ style="fill:#f6f6f6;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
32
+ d="M 0.54237288,470.23729 125.83051,306.44068 l 60.20339,70.50847 130.71186,-174.10169 195.79661,261.42373 0.54235,48.81353 H 0.54237288 Z"
33
+ id="path816" /><circle
34
+ style="fill:#f6f6f6;fill-opacity:1;stroke:none;stroke-width:4.80000019;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
35
+ id="path818"
36
+ cx="118.50848"
37
+ cy="106.57627"
38
+ r="57.762711" /></svg>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+
4
+ <svg
5
+ version="1.1"
6
+ id="Layer_1"
7
+ x="0px"
8
+ y="0px"
9
+ width="512px"
10
+ height="512px"
11
+ viewBox="0 0 512 512"
12
+ enable-background="new 0 0 512 512"
13
+ xml:space="preserve"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ xmlns:svg="http://www.w3.org/2000/svg"
16
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
17
+ xmlns:cc="http://creativecommons.org/ns#"
18
+ xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata
19
+ id="metadata9"><rdf:RDF><cc:Work
20
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
21
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
22
+ id="defs7" />
23
+ <rect
24
+ style="fill:#dbdbdb;fill-opacity:1;stroke:none;stroke-width:1.88976383;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
25
+ id="rect821"
26
+ width="512.54236"
27
+ height="512.54236"
28
+ x="0.54237288"
29
+ y="0.54237235" /><path
30
+ d="m 313.14122,310.64877 c 9.02181,-8.85097 12.15686,-31.23733 20.41627,-39.3056 11.69771,-11.43183 24.39381,-25.50218 27.98588,-43.06851 4.82003,-23.34203 -4.96846,-26.30516 -4.96846,-34.3713 0,-16.90002 -0.15376,-44.65739 -5.43081,-62.68607 -0.30326,-23.7809 -4.20499,-34.123578 -12.38858,-43.031138 -7.72017,-8.33522 -26.68637,-6.366203 -36.59125,-11.85361 C 286.83605,67.825407 274.23818,64.594254 258.15823,64.17461 v -0.09503 c -0.47624,0 -0.93539,0.05659 -1.41162,0.05659 -0.78484,0 -1.53123,-0.05659 -2.35343,-0.05659 l 0.0395,0.151627 c -39.17105,1.472492 -80.84608,26.170627 -95.16524,65.895863 -5.31335,14.71958 -3.28881,46.87521 -3.28881,63.77522 0,8.06721 -9.78742,11.02927 -4.96846,34.37131 3.61129,17.56632 16.28817,31.63668 27.98588,43.06851 8.26048,8.06827 11.39446,30.45462 20.39705,39.30559 1.96902,13.0378 2.1986,9.31012 2.12278,21.23954 -0.0203,4.03307 0.11426,10.28502 -6.32669,16.4398 -12.17822,11.6614 -40.14595,36.95324 -63.08756,46.79832 -30.24,12.98014 -79.41203,33.74237 -90.746691,39.59069 -11.334661,5.84833 -41.2532541,21.69763 -41.2532541,31.79045 0,10.11417 0,47.33542 0,47.33542 h 253.3742451 5.79494 253.37318 c 0,0 0,-37.22125 0,-47.33542 0,-10.09282 -29.89723,-25.94212 -41.25645,-31.79045 -11.35389,-5.84938 -60.48321,-26.61055 -90.72641,-39.59069 -22.32976,-9.57707 -49.43685,-33.81712 -62.09344,-45.84158 -4.2808,-4.05228 -7.3016,-8.29784 -7.3411,-18.62023 -0.0737,-12.00417 0.23278,-7.41692 2.14306,-20.01478"
31
+ id="path2"
32
+ style="clip-rule:evenodd;fill-rule:evenodd;stroke-width:1.06779659;fill:#f6f6f6;fill-opacity:1" />
33
+ </svg>
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ width="512"
4
+ height="512"
5
+ viewBox="0 0 135.46667 135.46667"
6
+ version="1.1"
7
+ id="svg977"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlns:svg="http://www.w3.org/2000/svg"
10
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
11
+ xmlns:cc="http://creativecommons.org/ns#"
12
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
13
+ <defs
14
+ id="defs971" />
15
+ <metadata
16
+ id="metadata974">
17
+ <rdf:RDF>
18
+ <cc:Work
19
+ rdf:about="">
20
+ <dc:format>image/svg+xml</dc:format>
21
+ <dc:type
22
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
23
+ </cc:Work>
24
+ </rdf:RDF>
25
+ </metadata>
26
+ <g
27
+ id="layer1"
28
+ style="fill:#666666">
29
+ <path
30
+ style="fill:#666666;fill-opacity:1;stroke:none;stroke-width:2.70907px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
31
+ d="M 54.181439,13.558436 67.726801,0.01304296 135.45359,67.739804 67.726801,135.46667 29.799793,97.539626 V 65.030766 L 13.545362,81.285197 0,67.739804 40.636077,27.103727 81.272154,67.739804 67.726801,81.285197 51.472371,65.030766 V 92.12155 l 16.25443,16.25433 40.636069,-40.636076 z"
32
+ id="path892" />
33
+ </g>
34
+ </svg>
Binary file
@@ -0,0 +1,37 @@
1
+ <template>
2
+ <view-root>
3
+ <template #navbar>
4
+ <NavBar />
5
+ </template>
6
+ </view-root>
7
+ </template>
8
+
9
+ <script setup>
10
+ import 'primevue/resources/themes/saga-green/theme.css'
11
+ import "@fortawesome/fontawesome-free/css/all.min.css"
12
+
13
+ import { ViewRoot, NavBar } from "@live-change/frontend-base"
14
+
15
+ import { useMeta } from 'vue-meta'
16
+ const { meta } = useMeta({
17
+ title: 'Title',
18
+ htmlAttrs: {
19
+ lang: 'en',
20
+ amp: true
21
+ }
22
+ })
23
+
24
+ import { watch } from 'vue'
25
+ import { client as useClient, useApi } from '@live-change/vue3-ssr'
26
+ const client = useClient()
27
+ watch(client, (newClient, oldClient) => {
28
+ console.log("WATCH CLIENT", oldClient, '=>', newClient)
29
+ })
30
+
31
+ const api = useApi()
32
+ import emailValidator from "@live-change/email-service/clientEmailValidator.js"
33
+ import passwordValidator from "@live-change/password-authentication-service/clientPasswordValidator.js"
34
+ api.validators.email = emailValidator
35
+ api.validators.password = passwordValidator
36
+
37
+ </script>
@@ -0,0 +1,11 @@
1
+ <template>
2
+ <h1>Hello world!</h1>
3
+ </template>
4
+
5
+ <script setup>
6
+
7
+ </script>
8
+
9
+ <style scoped>
10
+
11
+ </style>
@@ -0,0 +1,15 @@
1
+ import { analytics } from "@live-change/vue3-components"
2
+
3
+ analytics.on('*', (type, e) => console.log('ANALYTICS EVENT', type, e) )
4
+
5
+ analytics.on('formDone', ({ service, action }) => {
6
+
7
+ })
8
+
9
+ analytics.on('menuOpen', e => {
10
+
11
+ })
12
+
13
+ analytics.on('pageView', ({ to, fullPath }) => {
14
+
15
+ })
@@ -0,0 +1,13 @@
1
+ import deepmerge from 'deepmerge';
2
+
3
+ import contentEn from "../locales/en.json"
4
+ import { locales as autoFormLocales } from "@live-change/frontend-auto-form"
5
+
6
+ export default {
7
+ i18nMessages: {
8
+ en: deepmerge.all([
9
+ contentEn,
10
+ autoFormLocales.en
11
+ ])
12
+ }
13
+ }
@@ -0,0 +1,6 @@
1
+ import { clientEntry } from '@live-change/frontend-base/client-entry.js'
2
+ import App from './App.vue'
3
+ import { createRouter } from './router'
4
+ import config from './config.js'
5
+
6
+ clientEntry(App, createRouter)
@@ -0,0 +1,7 @@
1
+ import { serverEntry } from '@live-change/frontend-base/server-entry.js'
2
+ import App from './App.vue'
3
+ import { createRouter } from './router'
4
+ import config from './config.js'
5
+
6
+ const render = serverEntry(App, createRouter, config)
7
+ export { render }
@@ -0,0 +1,72 @@
1
+ import {
2
+ createMemoryHistory,
3
+ createRouter as _createRouter,
4
+ createWebHistory
5
+ } from 'vue-router'
6
+
7
+ import {
8
+ installRouterAnalytics
9
+ } from '@live-change/vue3-components'
10
+
11
+ import { dbAdminRoutes } from "@live-change/db-admin"
12
+ import { userRoutes } from "@live-change/user-frontend"
13
+ import { catchAllPagesRoute, contentEditRoutes, pagesSitemap } from "@live-change/content-frontend"
14
+
15
+ export function wysiwygRoutes(config = {}) {
16
+ const { prefix = '/', route = (r) => r } = config
17
+ return [
18
+ ...userRoutes({ ...config, prefix: prefix + 'user/' }),
19
+
20
+ route({
21
+ name: 'index', path: prefix, meta: { },
22
+ component: () => import("./Index.vue")
23
+ }),
24
+
25
+ ...contentEditRoutes({ ...config }),
26
+
27
+ ...dbAdminRoutes({ prefix: '/_db', route: r => ({ ...r, meta: { ...r.meta, raw: true }}) }),
28
+ ...catchAllPagesRoute({ ...config }),
29
+ ]
30
+ }
31
+
32
+ export async function sitemap(route, api) {
33
+ route({
34
+ name: 'index'
35
+ })
36
+ await pagesSitemap(route, api)
37
+ }
38
+
39
+ import { client as useClient } from '@live-change/vue3-ssr'
40
+
41
+ export function createRouter(app, config) {
42
+ const client = useClient(app._context)
43
+
44
+ const router = _createRouter({
45
+ // use appropriate history implementation for server/client
46
+ // import.meta.env.SSR is injected by Vite.
47
+ history: import.meta.env.SSR ? createMemoryHistory() : createWebHistory(),
48
+ routes: routes(config)
49
+ })
50
+ installRouterAnalytics(router)
51
+ router.beforeEach(async (to, from) => {
52
+ if(to?.matched.find(m => m?.meta.signedIn)) {
53
+ if(!client.value.user) {
54
+ console.log("REDIRECT TO LOGIN BECAUSE PAGE REQUIRES LOGIN!")
55
+ router.redirectAfterSignIn = to.fullPath
56
+ return { name: 'user:signIn' }
57
+ }
58
+ }
59
+ if(to?.matched.find(m => m?.meta.signedOut)) {
60
+ if(client.value.user) {
61
+ console.log("REDIRECT TO USER INDEX BECAUSE PAGE REQUIRES LOGOUT!")
62
+ return { name: 'user:settings' }
63
+ }
64
+ }
65
+ if(to && to.name == 'user:signIn' && from?.matched.find(m => m?.meta.saveForSignIn)) {
66
+ console.log("SAVE FOR LOGIN", from.fullPath)
67
+ localStorage.redirectAfterLogin = from.fullPath
68
+ }
69
+ })
70
+ return router
71
+ }
72
+
@@ -0,0 +1,18 @@
1
+ import { defineConfig } from 'vite'
2
+
3
+ import baseViteConfig from '@live-change/frontend-base/vite-config.js'
4
+
5
+ export default defineConfig(async ({ command, mode }) => {
6
+ const baseConfig = (await baseViteConfig({ command, mode }))
7
+ return {
8
+ ...baseConfig,
9
+
10
+ resolve: {
11
+ alias: [
12
+ ...baseConfig.resolve.alias,
13
+ /* { find: 'vue', replacement: 'vue/dist/vue.esm-bundler.js' },
14
+ { find: 'vue/server-renderer', replacement: 'vue/server-renderer' },*/
15
+ ]
16
+ }
17
+ }
18
+ })
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,3 @@
1
+ {
2
+
3
+ }
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@live-change/frontend-template",
3
+ "version": "0.1.5",
4
+ "scripts": {
5
+ "memDev": "lcli memDev --enableSessions --initScript ./init.js --dbAccess",
6
+ "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
7
+ "localDev": "lcli localDev --enableSessions",
8
+ "dev": "lcli dev --enableSessions",
9
+ "ssrDev": "lcli ssrDev --enableSessions",
10
+ "serveAllMem": "cross-env NODE_ENV=production lcli ssrServer --withApi --withServices --updateServices --enableSessions --withDb --dbBackend mem --createDb",
11
+ "serveAll": "cross-env NODE_ENV=production lcli ssrServer --withApi --withServices --updateServices --enableSessions",
12
+ "serve": "cross-env NODE_ENV=production lcli ssrServer --enableSessions",
13
+ "apiServer": "lcli apiServer --enableSessions",
14
+ "devApiServer": "lcli devApiServer --enableSessions",
15
+ "memApiServer": "lcli memApiServer --enableSessions",
16
+ "build": "cd front; yarn build:client && yarn build:server",
17
+ "build:client": "cd front; vite build --ssrManifest --outDir dist/client",
18
+ "build:server": "cd front; vite build --ssr src/entry-server.js --outDir dist/server",
19
+ "generate": "vite build --ssrManifest --outDir dist/static && yarn build:server && node prerender",
20
+ "debug": "node --inspect-brk server"
21
+ },
22
+ "dependencies": {
23
+ "@fortawesome/fontawesome-free": "^6.1.1",
24
+ "@live-change/cli": "0.7.8",
25
+ "@live-change/framework": "0.7.8",
26
+ "@live-change/dao": "0.5.8",
27
+ "@live-change/dao-vue3": "0.5.8",
28
+ "@live-change/dao-websocket": "0.5.8",
29
+ "@live-change/vue3-components": "0.2.16",
30
+ "@live-change/vue3-ssr": "0.2.16",
31
+ "@live-change/email-service": "0.3.10",
32
+ "@live-change/access-control-service": "0.3.10",
33
+ "@live-change/password-authentication-service": "0.3.10",
34
+ "@live-change/secret-code-service": "0.3.10",
35
+ "@live-change/secret-link-service": "0.3.10",
36
+ "@live-change/session-service": "0.3.10",
37
+ "@live-change/user-service": "0.3.10",
38
+ "@live-change/user-identification-service": "0.3.10",
39
+ "@live-change/prosemirror-service": "0.3.10",
40
+ "@live-change/url-service": "0.3.10",
41
+ "@live-change/content-service": "0.3.10",
42
+ "@live-change/blog-service": "0.3.10",
43
+ "@live-change/frontend-base": "0.2.24",
44
+ "@live-change/frontend-auto-form": "0.2.24",
45
+ "@live-change/user-frontend": "0.2.24",
46
+ "@live-change/image-frontend": "0.2.24",
47
+ "@live-change/upload-frontend": "0.2.24",
48
+ "@live-change/access-control-frontend": "0.2.24",
49
+ "@live-change/wysiwyg-frontend": "0.2.24",
50
+ "@live-change/content-frontend": "0.2.24",
51
+ "@live-change/blog-frontend": "0.2.24",
52
+ "@live-change/url-frontend": "0.2.24",
53
+ "@live-change/frontend-utils": "^0.2.24",
54
+ "@vueuse/core": "^9.1.0",
55
+ "codeceptjs-assert": "^0.0.5",
56
+ "compression": "^1.7.4",
57
+ "cross-env": "^7.0.3",
58
+ "get-port-sync": "1.0.1",
59
+ "pica": "^9.0.1",
60
+ "pretty-bytes": "^6.0.0",
61
+ "primeflex": "^3.2.1",
62
+ "primeicons": "^5.0.0",
63
+ "primevue": "^3.15.0",
64
+ "rollup-plugin-node-builtins": "^2.1.2",
65
+ "rollup-plugin-visualizer": "5.6.0",
66
+ "serialize-javascript": "^6.0.0",
67
+ "serve-static": "^1.15.0",
68
+ "v-shared-element": "3.1.0",
69
+ "vue-meta": "^3.0.0-alpha.9",
70
+ "vue-router": "^4.1.3",
71
+ "vue3-scroll-border": "0.1.2"
72
+ },
73
+ "devDependencies": {
74
+ "@live-change/codeceptjs-helper": "0.7.8",
75
+ "@wdio/selenium-standalone-service": "^7.20.8",
76
+ "codeceptjs": "^3.3.4",
77
+ "generate-password": "1.7.0",
78
+ "playwright": "^1.24.2",
79
+ "random-profile-generator": "^2.3.0",
80
+ "txtgen": "^3.0.2",
81
+ "webdriverio": "^7.20.9"
82
+ },
83
+ "author": "",
84
+ "license": "ISC",
85
+ "description": ""
86
+ }
package/server/init.js ADDED
@@ -0,0 +1,10 @@
1
+ const {createUser} = require("@live-change/user-frontend/server/init-functions.js");
2
+ const App = require('@live-change/framework')
3
+ const app = App.app()
4
+
5
+ module.exports = async function(services) {
6
+
7
+ const testUser = await createUser(services,
8
+ 'Test User', 'test@test.com', 'Testy123', 'u1', ['writer'])
9
+
10
+ }
@@ -0,0 +1,53 @@
1
+ const lcp = require("@live-change/pattern")
2
+
3
+ const clientKeys = (client) => [
4
+ { key: 'user', value: client.user },
5
+ { key: 'session', value: client.session },
6
+ { key: 'ip', value: client.ip }
7
+ ]
8
+
9
+ const failedAuthCodes = lcp.chain([
10
+ { type: "wrong-secret-code", id: "1st-failed-secret-code" },
11
+ { eq: "ip", expire: "10m" },
12
+ { type: "wrong-secret-code", id: "2nd-failed-secret-code" },
13
+ { eq: "ip", expire: "10m" },
14
+ { type: "wrong-secret-code", id: "3rd-failed-secret-code",
15
+ actions: [
16
+ { type: 'ban', keys: ['ip'], ban: { type: 'captcha', actions: ['checkSecretCode'], expire: "30m" } }
17
+ ]
18
+ }
19
+ ]).model
20
+
21
+ const patterns = lcp.mergeModels(
22
+ //failedAuthCodes
23
+ )
24
+
25
+ const counters = [
26
+ {
27
+ id: 'wrong-codes-captcha',
28
+ match: ['wrong-secret-code'],
29
+ keys: ['ip'],
30
+ max: 2,
31
+ duration: '1m',
32
+ actions: [
33
+ { type: 'ban', keys: ['ip'], ban: { type: 'captcha', actions: ['checkSecretCode'], expire: "30m" } }
34
+ ]
35
+ },
36
+ {
37
+ id: 'wrong-codes-ban',
38
+ visible: true,
39
+ match: ['wrong-secret-code'],
40
+ keys: ['ip'],
41
+ max: 5,
42
+ duration: '10m',
43
+ actions: [
44
+ { type: 'ban', keys: ['ip'], ban: { type: 'block', actions: ['checkSecretCode'], expire: "2m" } }
45
+ ]
46
+ }
47
+ ]
48
+
49
+ module.exports = {
50
+ clientKeys,
51
+ patterns,
52
+ counters
53
+ }
@@ -0,0 +1,69 @@
1
+ const contactTypes = ['email']
2
+
3
+ module.exports = {
4
+ services: [
5
+ {
6
+ name: 'session',
7
+ path: '@live-change/session-service',
8
+ createSessionOnUpdate: true
9
+ },
10
+ {
11
+ name: 'user',
12
+ path: '@live-change/user-service'
13
+ },
14
+ {
15
+ name: 'email',
16
+ path: '@live-change/email-service'
17
+ },
18
+ {
19
+ name: 'passwordAuthentication',
20
+ path: '@live-change/password-authentication-service',
21
+ contactTypes,
22
+ signInWithoutPassword: true
23
+ },
24
+ {
25
+ name: 'userIdentification',
26
+ path: '@live-change/user-identification-service'
27
+ },
28
+ {
29
+ name: 'identicon',
30
+ path: '@live-change/identicon-service'
31
+ },
32
+ {
33
+ name: 'accessControl',
34
+ path: '@live-change/access-control-service',
35
+ createSessionOnUpdate: true,
36
+ contactTypes,
37
+ },
38
+ {
39
+ name: 'security',
40
+ path: '@live-change/security-service',
41
+ ...require('./security.config.js')
42
+ },
43
+ {
44
+ name: 'notification',
45
+ path: '@live-change/notification-service',
46
+ contactTypes,
47
+ notificationTypes: ['example_TestNotification']
48
+ },
49
+ {
50
+ name: 'upload',
51
+ path: '@live-change/upload-service'
52
+ },
53
+ {
54
+ name: 'image',
55
+ path: '@live-change/image-service'
56
+ },
57
+ {
58
+ name: 'secretCode',
59
+ path: '@live-change/secret-code-service'
60
+ },
61
+ {
62
+ name: 'secretLink',
63
+ path: '@live-change/secret-link-service'
64
+ }
65
+
66
+ /// TODO: add cms when ready
67
+
68
+ ]
69
+ }