@shakerquiz/utilities 0.4.13 → 0.4.15
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,4 +1,4 @@
|
|
|
1
|
-
export const Domains: readonly ["Asset", "User", "Role", "City", "Venue", "Theme", "ThemeAsset", "Game", "GameAsset", "Registration", "Mailing"];
|
|
1
|
+
export const Domains: readonly ["Asset", "User", "Role", "Country", "City", "Venue", "Theme", "ThemeAsset", "Game", "GameAsset", "Registration", "Mailing"];
|
|
2
2
|
/**
|
|
3
3
|
* @type {Record<Domain, Icon>}
|
|
4
4
|
*/
|
|
@@ -14,42 +14,48 @@ export namespace DomainKindPathname {
|
|
|
14
14
|
let Set_1: "/roles";
|
|
15
15
|
export { Set_1 as Set };
|
|
16
16
|
}
|
|
17
|
-
namespace
|
|
18
|
-
let Unit_2: "/
|
|
17
|
+
namespace Country {
|
|
18
|
+
let Unit_2: "/country/:country?";
|
|
19
19
|
export { Unit_2 as Unit };
|
|
20
|
-
let Set_2: "/
|
|
20
|
+
let Set_2: "/countries";
|
|
21
21
|
export { Set_2 as Set };
|
|
22
22
|
}
|
|
23
|
-
namespace
|
|
24
|
-
let Unit_3: "/
|
|
23
|
+
namespace City {
|
|
24
|
+
let Unit_3: "/city/:city?";
|
|
25
25
|
export { Unit_3 as Unit };
|
|
26
|
-
let Set_3: "/
|
|
26
|
+
let Set_3: "/cities";
|
|
27
27
|
export { Set_3 as Set };
|
|
28
28
|
}
|
|
29
|
-
namespace
|
|
30
|
-
let Unit_4: "/
|
|
29
|
+
namespace Venue {
|
|
30
|
+
let Unit_4: "/venue/:venue?";
|
|
31
31
|
export { Unit_4 as Unit };
|
|
32
|
-
let Set_4: "/
|
|
32
|
+
let Set_4: "/venues";
|
|
33
33
|
export { Set_4 as Set };
|
|
34
34
|
}
|
|
35
|
-
namespace
|
|
36
|
-
let Unit_5: "/
|
|
35
|
+
namespace Theme {
|
|
36
|
+
let Unit_5: "/theme/:theme?";
|
|
37
37
|
export { Unit_5 as Unit };
|
|
38
|
-
let Set_5: "/
|
|
38
|
+
let Set_5: "/themes";
|
|
39
39
|
export { Set_5 as Set };
|
|
40
40
|
}
|
|
41
|
-
namespace
|
|
42
|
-
let Unit_6: "/
|
|
41
|
+
namespace Game {
|
|
42
|
+
let Unit_6: "/game/:game?";
|
|
43
43
|
export { Unit_6 as Unit };
|
|
44
|
-
let Set_6: "/
|
|
44
|
+
let Set_6: "/games";
|
|
45
45
|
export { Set_6 as Set };
|
|
46
46
|
}
|
|
47
|
-
namespace
|
|
48
|
-
let Unit_7: "/
|
|
47
|
+
namespace Registration {
|
|
48
|
+
let Unit_7: "/registration/:registration?";
|
|
49
49
|
export { Unit_7 as Unit };
|
|
50
|
-
let Set_7: "/
|
|
50
|
+
let Set_7: "/registrations";
|
|
51
51
|
export { Set_7 as Set };
|
|
52
52
|
}
|
|
53
|
+
namespace Mailing {
|
|
54
|
+
let Unit_8: "/mailing/:mailing?";
|
|
55
|
+
export { Unit_8 as Unit };
|
|
56
|
+
let Set_8: "/mailings";
|
|
57
|
+
export { Set_8 as Set };
|
|
58
|
+
}
|
|
53
59
|
}
|
|
54
60
|
export const Procedures: readonly ["Checkin", "Redirect"];
|
|
55
61
|
/**
|
|
@@ -58,17 +64,17 @@ export const Procedures: readonly ["Checkin", "Redirect"];
|
|
|
58
64
|
export const ProcedureIcon: Record<Procedure, Icon>;
|
|
59
65
|
export namespace ProcedureKindPathname {
|
|
60
66
|
namespace Checkin {
|
|
61
|
-
let
|
|
62
|
-
export { Unit_8 as Unit };
|
|
63
|
-
let Set_8: "/checkins";
|
|
64
|
-
export { Set_8 as Set };
|
|
65
|
-
}
|
|
66
|
-
namespace Redirect {
|
|
67
|
-
let Unit_9: "/redirect";
|
|
67
|
+
let Unit_9: "/checkin";
|
|
68
68
|
export { Unit_9 as Unit };
|
|
69
|
-
let Set_9: "/
|
|
69
|
+
let Set_9: "/checkins";
|
|
70
70
|
export { Set_9 as Set };
|
|
71
71
|
}
|
|
72
|
+
namespace Redirect {
|
|
73
|
+
let Unit_10: "/redirect";
|
|
74
|
+
export { Unit_10 as Unit };
|
|
75
|
+
let Set_10: "/redirects";
|
|
76
|
+
export { Set_10 as Set };
|
|
77
|
+
}
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
74
80
|
* @type {Array<Domain | Procedure>}
|
|
@@ -87,6 +93,8 @@ export namespace FeatureKindPathname {
|
|
|
87
93
|
export { User_1 as User };
|
|
88
94
|
export namespace Role_1 { }
|
|
89
95
|
export { Role_1 as Role };
|
|
96
|
+
export namespace Country_1 { }
|
|
97
|
+
export { Country_1 as Country };
|
|
90
98
|
export namespace City_1 { }
|
|
91
99
|
export { City_1 as City };
|
|
92
100
|
export namespace Venue_1 { }
|
|
@@ -4,6 +4,7 @@ export var Domains = /** @type {const} */ ([
|
|
|
4
4
|
'Asset',
|
|
5
5
|
'User',
|
|
6
6
|
'Role',
|
|
7
|
+
'Country',
|
|
7
8
|
'City',
|
|
8
9
|
'Venue',
|
|
9
10
|
'Theme',
|
|
@@ -20,6 +21,7 @@ export var Domains = /** @type {const} */ ([
|
|
|
20
21
|
export var DomainIcon = {
|
|
21
22
|
'User': 'users',
|
|
22
23
|
'Role': 'identification',
|
|
24
|
+
'Country': 'no-symbol',
|
|
23
25
|
'City': 'building-office',
|
|
24
26
|
'Venue': 'map-pin',
|
|
25
27
|
'Theme': 'document-text',
|
|
@@ -42,6 +44,11 @@ export var DomainKindPathname = /** @type {const} */ ({
|
|
|
42
44
|
'Set': '/roles',
|
|
43
45
|
},
|
|
44
46
|
|
|
47
|
+
'Country': {
|
|
48
|
+
'Unit': '/country/:country?',
|
|
49
|
+
'Set': '/countries',
|
|
50
|
+
},
|
|
51
|
+
|
|
45
52
|
'City': {
|
|
46
53
|
'Unit': '/city/:city?',
|
|
47
54
|
'Set': '/cities',
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* - CONNECT: {@link https://datatracker.ietf.org/doc/html/rfc9110}
|
|
6
6
|
* - WebDAV Extensions {@link https://datatracker.ietf.org/doc/html/rfc4918}
|
|
7
7
|
*/
|
|
8
|
-
export const Methods: readonly ["
|
|
8
|
+
export const Methods: readonly ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"];
|
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
* - WebDAV Extensions {@link https://datatracker.ietf.org/doc/html/rfc4918}
|
|
7
7
|
*/
|
|
8
8
|
export var Methods = /** @type {const} */ ([
|
|
9
|
-
'CONNECT',
|
|
10
|
-
'COPY',
|
|
9
|
+
// 'CONNECT',
|
|
10
|
+
// 'COPY',
|
|
11
11
|
'DELETE',
|
|
12
12
|
'GET',
|
|
13
|
-
'HEAD',
|
|
14
|
-
'LOCK',
|
|
15
|
-
'MKCOL',
|
|
16
|
-
'MOVE',
|
|
13
|
+
// 'HEAD',
|
|
14
|
+
// 'LOCK',
|
|
15
|
+
// 'MKCOL',
|
|
16
|
+
// 'MOVE',
|
|
17
17
|
'OPTIONS',
|
|
18
18
|
'PATCH',
|
|
19
19
|
'POST',
|
|
20
|
-
'PROPFIND',
|
|
21
|
-
'PROPPATCH',
|
|
20
|
+
// 'PROPFIND',
|
|
21
|
+
// 'PROPPATCH',
|
|
22
22
|
'PUT',
|
|
23
|
-
'TRACE',
|
|
24
|
-
'UNLOCK',
|
|
23
|
+
// 'TRACE',
|
|
24
|
+
// 'UNLOCK',
|
|
25
25
|
])
|