@dracul/audit-frontend 1.23.2 → 1.24.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dracul/audit-frontend",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "Audit frontend",
|
|
5
5
|
"author": "Cristian Incarnato <cristian.cdi@gmail.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
},
|
|
12
12
|
"main": "./src/index.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@dracul/common-frontend": "^1.
|
|
15
|
-
"@dracul/dayjs-frontend": "^1.
|
|
14
|
+
"@dracul/common-frontend": "^1.24.0",
|
|
15
|
+
"@dracul/dayjs-frontend": "^1.24.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@babel/core": "^7.
|
|
18
|
+
"@babel/core": "^7.23.3",
|
|
19
19
|
"@storybook/addon-actions": "^6.0.28",
|
|
20
20
|
"@storybook/addon-essentials": "^6.0.28",
|
|
21
21
|
"@storybook/addon-links": "^6.0.28",
|
|
22
22
|
"@storybook/vue": "^6.0.28",
|
|
23
|
-
"@vue/cli-plugin-babel": "^4.
|
|
24
|
-
"@vue/cli-plugin-eslint": "^4.
|
|
25
|
-
"@vue/cli-plugin-unit-jest": "^5.
|
|
26
|
-
"@vue/cli-service": "^4.
|
|
27
|
-
"@vue/test-utils": "^
|
|
23
|
+
"@vue/cli-plugin-babel": "^4.5.19",
|
|
24
|
+
"@vue/cli-plugin-eslint": "^4.5.19",
|
|
25
|
+
"@vue/cli-plugin-unit-jest": "^4.5.19",
|
|
26
|
+
"@vue/cli-service": "^4.5.19",
|
|
27
|
+
"@vue/test-utils": "^1.3.6",
|
|
28
28
|
"@vue/vue2-jest": "^27.0.0-alpha.2",
|
|
29
29
|
"apollo-cache-inmemory": "^1.6.6",
|
|
30
30
|
"apollo-client": "^2.6.10",
|
|
@@ -32,30 +32,30 @@
|
|
|
32
32
|
"apollo-link-error": "^1.1.13",
|
|
33
33
|
"apollo-upload-client": "^13.0.0",
|
|
34
34
|
"babel-eslint": "^10.1.0",
|
|
35
|
-
"babel-jest": "^
|
|
35
|
+
"babel-jest": "^29.7.0",
|
|
36
36
|
"babel-loader": "^8.2.1",
|
|
37
37
|
"babel-preset-vue": "^2.0.2",
|
|
38
38
|
"eslint": "^6.7.2",
|
|
39
39
|
"eslint-plugin-vue": "^6.2.2",
|
|
40
|
-
"graphql": "^15.
|
|
40
|
+
"graphql": "^15.8.0",
|
|
41
41
|
"graphql-tag": "^2.11.0",
|
|
42
|
-
"jest": "^
|
|
42
|
+
"jest": "^29.7.0",
|
|
43
43
|
"material-design-icons-iconfont": "^6.1.0",
|
|
44
44
|
"mock-apollo-client": "^0.4.0",
|
|
45
|
-
"vue": "^2.7.
|
|
45
|
+
"vue": "^2.7.15",
|
|
46
46
|
"vue-i18n": "^8.18.1",
|
|
47
47
|
"vue-jest": "^3.0.7",
|
|
48
48
|
"vue-router": "^3.5.3",
|
|
49
|
-
"vue-template-compiler": "^2.7.
|
|
50
|
-
"vuetify": "2.
|
|
49
|
+
"vue-template-compiler": "^2.7.15",
|
|
50
|
+
"vuetify": "2.7.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"apollo-client": "^2.6.10",
|
|
54
|
-
"graphql": "^15.
|
|
55
|
-
"vue": "^2.7.
|
|
54
|
+
"graphql": "^15.8.0",
|
|
55
|
+
"vue": "^2.7.15",
|
|
56
56
|
"vue-i18n": "^8.18.1",
|
|
57
57
|
"vue-router": "^3.5.3",
|
|
58
|
-
"vuetify": "
|
|
58
|
+
"vuetify": "2.7.1"
|
|
59
59
|
},
|
|
60
60
|
"bugs": {
|
|
61
61
|
"url": "https://github.com/draculjs/modular-framework/issues"
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"type": "git",
|
|
67
67
|
"url": "git+https://github.com/draculjs/modular-framework.git"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "3f8ab8b3031155a9da0b80798239df5f0042765e"
|
|
70
70
|
}
|
|
@@ -151,6 +151,8 @@
|
|
|
151
151
|
}).catch(err => {
|
|
152
152
|
console.error(err)
|
|
153
153
|
}).finally(() => this.loading = false)
|
|
154
|
+
|
|
155
|
+
AuditProvider.createAudit('Testing', 'audit module', 'just a test for a new service')
|
|
154
156
|
},
|
|
155
157
|
setFilters(auditFilters) {
|
|
156
158
|
console.log('auditFilters', auditFilters)
|
|
@@ -41,6 +41,14 @@ class AuditProvider {
|
|
|
41
41
|
})
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
createAudit(action, resource, description){
|
|
45
|
+
return this.getGraphqlClient().mutate({
|
|
46
|
+
mutation: require('./gql/Audit/createAudit.graphql'),
|
|
47
|
+
variables: {action, resource, description},
|
|
48
|
+
fetchPolicy: "no-cache"
|
|
49
|
+
})
|
|
50
|
+
}
|
|
51
|
+
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
export default new AuditProvider()
|