@live-change/access-control-frontend 0.8.87 → 0.8.88
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.
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
<script setup>
|
|
18
18
|
|
|
19
|
-
import {
|
|
19
|
+
import {
|
|
20
|
+
SimpleNotification, UserIdentification, ObjectIdentification as DefaultObjectIdentification
|
|
21
|
+
} from "@live-change/user-frontend"
|
|
20
22
|
import Button from "primevue/button"
|
|
21
23
|
|
|
22
24
|
import { useToast } from 'primevue/usetoast'
|
|
@@ -31,6 +33,13 @@
|
|
|
31
33
|
}
|
|
32
34
|
})
|
|
33
35
|
|
|
36
|
+
import { injectComponent } from "@live-change/vue3-components"
|
|
37
|
+
|
|
38
|
+
const ObjectIdentification = injectComponent({
|
|
39
|
+
name: 'ObjectIdentification',
|
|
40
|
+
objectType: notification.objectType
|
|
41
|
+
}, DefaultObjectIdentification)
|
|
42
|
+
|
|
34
43
|
import { inject } from "vue"
|
|
35
44
|
const workingZone = inject('workingZone')
|
|
36
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/access-control-frontend",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.88",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
},
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/access-control-service": "^0.8.
|
|
25
|
-
"@live-change/cli": "^0.8.
|
|
26
|
-
"@live-change/dao": "^0.8.
|
|
27
|
-
"@live-change/dao-vue3": "^0.8.
|
|
28
|
-
"@live-change/dao-websocket": "^0.8.
|
|
29
|
-
"@live-change/db-admin": "^0.8.
|
|
30
|
-
"@live-change/framework": "^0.8.
|
|
31
|
-
"@live-change/frontend-base": "^0.8.
|
|
32
|
-
"@live-change/password-authentication-service": "^0.8.
|
|
33
|
-
"@live-change/secret-code-service": "^0.8.
|
|
34
|
-
"@live-change/secret-link-service": "^0.8.
|
|
35
|
-
"@live-change/session-service": "^0.8.
|
|
36
|
-
"@live-change/user-frontend": "^0.8.
|
|
37
|
-
"@live-change/user-service": "^0.8.
|
|
38
|
-
"@live-change/vue3-components": "^0.8.
|
|
39
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
24
|
+
"@live-change/access-control-service": "^0.8.88",
|
|
25
|
+
"@live-change/cli": "^0.8.88",
|
|
26
|
+
"@live-change/dao": "^0.8.88",
|
|
27
|
+
"@live-change/dao-vue3": "^0.8.88",
|
|
28
|
+
"@live-change/dao-websocket": "^0.8.88",
|
|
29
|
+
"@live-change/db-admin": "^0.8.88",
|
|
30
|
+
"@live-change/framework": "^0.8.88",
|
|
31
|
+
"@live-change/frontend-base": "^0.8.88",
|
|
32
|
+
"@live-change/password-authentication-service": "^0.8.88",
|
|
33
|
+
"@live-change/secret-code-service": "^0.8.88",
|
|
34
|
+
"@live-change/secret-link-service": "^0.8.88",
|
|
35
|
+
"@live-change/session-service": "^0.8.88",
|
|
36
|
+
"@live-change/user-frontend": "^0.8.88",
|
|
37
|
+
"@live-change/user-service": "^0.8.88",
|
|
38
|
+
"@live-change/vue3-components": "^0.8.88",
|
|
39
|
+
"@live-change/vue3-ssr": "^0.8.88",
|
|
40
40
|
"@vueuse/core": "^10.11.0",
|
|
41
41
|
"codeceptjs-assert": "^0.0.5",
|
|
42
42
|
"compression": "^1.7.4",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue3-scroll-border": "0.1.6"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
56
|
+
"@live-change/codeceptjs-helper": "^0.8.88",
|
|
57
57
|
"codeceptjs": "^3.6.5",
|
|
58
58
|
"generate-password": "1.7.1",
|
|
59
59
|
"playwright": "^1.41.2",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
65
65
|
"license": "BSD-3-Clause",
|
|
66
66
|
"description": "",
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "f80b7c8bf00dc6cc41124fa402edebc7b596e83c"
|
|
68
68
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import dotenv from 'dotenv'
|
|
2
|
+
dotenv.config()
|
|
3
|
+
|
|
4
|
+
import App from "@live-change/framework"
|
|
5
|
+
const app = App.app()
|
|
6
|
+
|
|
1
7
|
const contactTypes = ['email']
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
import securityConfig from './security.config.js'
|
|
10
|
+
|
|
11
|
+
app.config = {
|
|
4
12
|
services: [
|
|
5
13
|
{
|
|
6
14
|
name: 'timer',
|
|
@@ -22,7 +30,7 @@ module.exports = {
|
|
|
22
30
|
{
|
|
23
31
|
name: 'security',
|
|
24
32
|
path: '@live-change/security-service',
|
|
25
|
-
...
|
|
33
|
+
...securityConfig
|
|
26
34
|
},
|
|
27
35
|
{
|
|
28
36
|
name: 'secretLink',
|
|
@@ -82,3 +90,5 @@ module.exports = {
|
|
|
82
90
|
},
|
|
83
91
|
]
|
|
84
92
|
}
|
|
93
|
+
|
|
94
|
+
export default app.config
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import timer from '@live-change/timer-service'
|
|
2
|
+
import session from '@live-change/session-service'
|
|
3
|
+
import user from '@live-change/user-service'
|
|
4
|
+
import email from '@live-change/email-service'
|
|
5
|
+
import passwordAuthentication from '@live-change/password-authentication-service'
|
|
6
|
+
import userIdentification from '@live-change/user-identification-service'
|
|
7
|
+
import identicon from '@live-change/identicon-service'
|
|
8
|
+
import localeSettings from '@live-change/locale-settings-service'
|
|
9
|
+
import accessControl from '@live-change/access-control-service'
|
|
10
|
+
import security from '@live-change/security-service'
|
|
11
|
+
import notification from '@live-change/notification-service'
|
|
12
|
+
import upload from '@live-change/upload-service'
|
|
13
|
+
import image from '@live-change/image-service'
|
|
14
|
+
import secretCode from '@live-change/secret-code-service'
|
|
15
|
+
import secretLink from '@live-change/secret-link-service'
|
|
16
|
+
import messageAuthentication from '@live-change/message-authentication-service'
|
|
17
|
+
import geoIp from '@live-change/geoip-service'
|
|
18
|
+
import init from './init.js'
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
timer,
|
|
22
|
+
session,
|
|
23
|
+
user,
|
|
24
|
+
email,
|
|
25
|
+
passwordAuthentication,
|
|
26
|
+
userIdentification,
|
|
27
|
+
identicon,
|
|
28
|
+
localeSettings,
|
|
29
|
+
accessControl,
|
|
30
|
+
security,
|
|
31
|
+
notification,
|
|
32
|
+
upload,
|
|
33
|
+
image,
|
|
34
|
+
secretCode,
|
|
35
|
+
secretLink,
|
|
36
|
+
messageAuthentication,
|
|
37
|
+
geoIp,
|
|
38
|
+
init
|
|
39
|
+
}
|
|
40
|
+
|
package/server/start.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import appConfig from './app.config.js'
|
|
2
|
+
|
|
3
|
+
import * as services from './services.list.js'
|
|
4
|
+
for(const serviceConfig of appConfig.services) {
|
|
5
|
+
serviceConfig.module = services[serviceConfig.name]
|
|
6
|
+
}
|
|
7
|
+
appConfig.init = services['init']
|
|
8
|
+
|
|
9
|
+
import { starter } from '@live-change/cli'
|
|
10
|
+
|
|
11
|
+
starter(appConfig)
|