@meago/core 0.3.2 → 0.3.4
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/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ declare const API_CONTROLLERS: {
|
|
|
5
5
|
readonly USERS: "users";
|
|
6
6
|
readonly ROLES: "roles";
|
|
7
7
|
readonly STORIES: "stories";
|
|
8
|
+
readonly AUDIT_EVENTS: "audit-events";
|
|
8
9
|
};
|
|
9
10
|
declare const API_ACTIONS: {
|
|
10
11
|
readonly LOGIN: "login";
|
|
@@ -33,6 +34,10 @@ declare const PERMISSIONS: {
|
|
|
33
34
|
readonly READ: "story:read";
|
|
34
35
|
readonly MANAGE: "story:manage";
|
|
35
36
|
};
|
|
37
|
+
/** Format "domain.resource.verb" — khác STORY/USER/ROLE, khớp AUDIT_PERMISSIONS phía server. */
|
|
38
|
+
readonly AUDIT: {
|
|
39
|
+
readonly READ: "audit.events.read";
|
|
40
|
+
};
|
|
36
41
|
};
|
|
37
42
|
|
|
38
43
|
declare const index$b_API_ACTIONS: typeof API_ACTIONS;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ declare const API_CONTROLLERS: {
|
|
|
5
5
|
readonly USERS: "users";
|
|
6
6
|
readonly ROLES: "roles";
|
|
7
7
|
readonly STORIES: "stories";
|
|
8
|
+
readonly AUDIT_EVENTS: "audit-events";
|
|
8
9
|
};
|
|
9
10
|
declare const API_ACTIONS: {
|
|
10
11
|
readonly LOGIN: "login";
|
|
@@ -33,6 +34,10 @@ declare const PERMISSIONS: {
|
|
|
33
34
|
readonly READ: "story:read";
|
|
34
35
|
readonly MANAGE: "story:manage";
|
|
35
36
|
};
|
|
37
|
+
/** Format "domain.resource.verb" — khác STORY/USER/ROLE, khớp AUDIT_PERMISSIONS phía server. */
|
|
38
|
+
readonly AUDIT: {
|
|
39
|
+
readonly READ: "audit.events.read";
|
|
40
|
+
};
|
|
36
41
|
};
|
|
37
42
|
|
|
38
43
|
declare const index$b_API_ACTIONS: typeof API_ACTIONS;
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,8 @@ var API_CONTROLLERS = {
|
|
|
75
75
|
AUTH: "auth",
|
|
76
76
|
USERS: "users",
|
|
77
77
|
ROLES: "roles",
|
|
78
|
-
STORIES: "stories"
|
|
78
|
+
STORIES: "stories",
|
|
79
|
+
AUDIT_EVENTS: "audit-events"
|
|
79
80
|
};
|
|
80
81
|
var API_ACTIONS = {
|
|
81
82
|
LOGIN: "login",
|
|
@@ -98,6 +99,10 @@ var PERMISSIONS = {
|
|
|
98
99
|
CREATE: "story:create",
|
|
99
100
|
READ: "story:read",
|
|
100
101
|
MANAGE: "story:manage"
|
|
102
|
+
},
|
|
103
|
+
/** Format "domain.resource.verb" — khác STORY/USER/ROLE, khớp AUDIT_PERMISSIONS phía server. */
|
|
104
|
+
AUDIT: {
|
|
105
|
+
READ: "audit.events.read"
|
|
101
106
|
}
|
|
102
107
|
};
|
|
103
108
|
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,8 @@ var API_CONTROLLERS = {
|
|
|
17
17
|
AUTH: "auth",
|
|
18
18
|
USERS: "users",
|
|
19
19
|
ROLES: "roles",
|
|
20
|
-
STORIES: "stories"
|
|
20
|
+
STORIES: "stories",
|
|
21
|
+
AUDIT_EVENTS: "audit-events"
|
|
21
22
|
};
|
|
22
23
|
var API_ACTIONS = {
|
|
23
24
|
LOGIN: "login",
|
|
@@ -40,6 +41,10 @@ var PERMISSIONS = {
|
|
|
40
41
|
CREATE: "story:create",
|
|
41
42
|
READ: "story:read",
|
|
42
43
|
MANAGE: "story:manage"
|
|
44
|
+
},
|
|
45
|
+
/** Format "domain.resource.verb" — khác STORY/USER/ROLE, khớp AUDIT_PERMISSIONS phía server. */
|
|
46
|
+
AUDIT: {
|
|
47
|
+
READ: "audit.events.read"
|
|
43
48
|
}
|
|
44
49
|
};
|
|
45
50
|
|