@shakerquiz/utilities 0.3.19 → 0.3.21
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 +1 -1
- package/source/enumerations/features.d.ts +1 -0
- package/source/enumerations/features.js +1 -0
- package/source/enumerations/frontends.d.ts +3 -3
- package/source/enumerations/frontends.js +1 -0
- package/source/enumerations/pages.d.ts +1 -0
- package/source/enumerations/pages.js +19 -4
- package/source/enumerations/procedures.js +2 -2
package/package.json
CHANGED
|
@@ -4,11 +4,11 @@ export namespace Frontends {
|
|
|
4
4
|
let MiniApp: "MiniApp";
|
|
5
5
|
}
|
|
6
6
|
export namespace FrontendFeatures {
|
|
7
|
-
let Admin_1:
|
|
7
|
+
let Admin_1: any[];
|
|
8
8
|
export { Admin_1 as Admin };
|
|
9
|
-
let Landing_1: ("Game" | "Registration")[];
|
|
9
|
+
let Landing_1: ("Game" | "Registration" | "404" | "Exception" | "Home")[];
|
|
10
10
|
export { Landing_1 as Landing };
|
|
11
|
-
let MiniApp_1: ("Game" | "Registration")[];
|
|
11
|
+
let MiniApp_1: ("Game" | "Registration" | "404" | "Exception" | "Home")[];
|
|
12
12
|
export { MiniApp_1 as MiniApp };
|
|
13
13
|
}
|
|
14
14
|
export namespace FrontendNetworkOrigins {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { Default } from './default.js'
|
|
2
1
|
import { Icons } from './icons.js'
|
|
2
|
+
import { Kinds } from './kinds.js'
|
|
3
3
|
import { Methods } from './methods.js'
|
|
4
4
|
|
|
5
5
|
export var Pages = /** @type {const} */ ({
|
|
6
6
|
'404': '404',
|
|
7
7
|
Exception: 'Exception',
|
|
8
8
|
Home: 'Home',
|
|
9
|
+
Profile: 'Profile',
|
|
9
10
|
})
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -15,6 +16,7 @@ export var PageIcons = {
|
|
|
15
16
|
[Pages['404']]: Icons['exclamation-triangle'],
|
|
16
17
|
[Pages.Exception]: Icons['exclamation-circle'],
|
|
17
18
|
[Pages.Home]: Icons['home'],
|
|
19
|
+
[Pages.Profile]: Icons['user'],
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
/**
|
|
@@ -22,15 +24,19 @@ export var PageIcons = {
|
|
|
22
24
|
*/
|
|
23
25
|
export var PageKindPathnames = {
|
|
24
26
|
[Pages['404']]: {
|
|
25
|
-
[
|
|
27
|
+
[Kinds.Unit]: '/404',
|
|
26
28
|
},
|
|
27
29
|
|
|
28
30
|
[Pages.Exception]: {
|
|
29
|
-
[
|
|
31
|
+
[Kinds.Unit]: '/exception',
|
|
30
32
|
},
|
|
31
33
|
|
|
32
34
|
[Pages.Home]: {
|
|
33
|
-
[
|
|
35
|
+
[Kinds.Unit]: '/',
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
[Pages.Profile]: {
|
|
39
|
+
[Kinds.Unit]: '/profile',
|
|
34
40
|
},
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -64,4 +70,13 @@ export var ProcedureMethodRequirements = {
|
|
|
64
70
|
[Methods.POST]: new Set([]),
|
|
65
71
|
[Methods.PUT]: new Set([]),
|
|
66
72
|
},
|
|
73
|
+
|
|
74
|
+
[Pages.Profile]: {
|
|
75
|
+
[Methods.DELETE]: new Set([]),
|
|
76
|
+
[Methods.GET]: new Set([]),
|
|
77
|
+
[Methods.OPTIONS]: new Set([]),
|
|
78
|
+
[Methods.PATCH]: new Set([]),
|
|
79
|
+
[Methods.POST]: new Set([]),
|
|
80
|
+
[Methods.PUT]: new Set([]),
|
|
81
|
+
},
|
|
67
82
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Default } from './default.js'
|
|
2
1
|
import { Icons } from './icons.js'
|
|
2
|
+
import { Kinds } from './kinds.js'
|
|
3
3
|
import { Methods } from './methods.js'
|
|
4
4
|
import { Requirements } from './requirements.js'
|
|
5
5
|
|
|
@@ -19,7 +19,7 @@ export var ProcedureIcons = {
|
|
|
19
19
|
*/
|
|
20
20
|
export var ProcedureKindPathnames = {
|
|
21
21
|
[Procedures.Checkin]: {
|
|
22
|
-
[
|
|
22
|
+
[Kinds.Unit]: '/checkin',
|
|
23
23
|
},
|
|
24
24
|
}
|
|
25
25
|
|