@shakerquiz/utilities 0.6.17 → 1.0.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/dprint.json +12 -4
- package/jsconfig.json +6 -13
- package/package.json +12 -9
- package/source/enumerations/constants.d.ts +3 -0
- package/source/{entities → enumerations}/constants.js +2 -2
- package/source/enumerations/cookies.d.ts +5 -0
- package/source/enumerations/cookies.js +5 -0
- package/source/enumerations/features.d.ts +58 -0
- package/source/enumerations/features.js +49 -0
- package/source/enumerations/game-statuses.d.ts +39 -0
- package/source/enumerations/game-statuses.js +39 -0
- package/source/enumerations/kinds.d.ts +4 -0
- package/source/enumerations/kinds.js +4 -0
- package/source/enumerations/methods.d.ts +7 -0
- package/source/enumerations/methods.js +7 -0
- package/source/enumerations/networks.d.ts +4 -0
- package/source/enumerations/networks.js +4 -0
- package/source/enumerations/phases.d.ts +7 -0
- package/source/enumerations/phases.js +7 -0
- package/source/enumerations/regexps.d.ts +4 -0
- package/source/enumerations/regexps.js +6 -0
- package/source/enumerations/roles.d.ts +5 -0
- package/source/enumerations/roles.js +5 -0
- package/source/functions/request.d.ts +131 -0
- package/source/functions/request.js +202 -0
- package/source/globals.d.ts +14 -0
- package/source/index.d.ts +15 -0
- package/source/index.js +11 -40
- package/source/results.d.ts +137 -0
- package/source/rows.d.ts +533 -0
- package/.github/workflows/publish.yml +0 -31
- package/scripts/route-cardinality.js +0 -23
- package/scripts/route-parameter.js +0 -29
- package/scripts/route-pathname.js +0 -37
- package/scripts/route-relation.js +0 -26
- package/scripts/route-service.js +0 -25
- package/scripts/templates/route-cardinality.js +0 -5
- package/scripts/templates/route-parameter.js +0 -5
- package/scripts/templates/route-pathname.js +0 -7
- package/scripts/templates/route-relation.js +0 -5
- package/scripts/templates/route-service.js +0 -7
- package/source/entities/blend.js +0 -5
- package/source/entities/cardinality.js +0 -4
- package/source/entities/category.js +0 -4
- package/source/entities/city-affilation.js +0 -10
- package/source/entities/city-chatapp-version.js +0 -9
- package/source/entities/display.js +0 -4
- package/source/entities/game-status.js +0 -98
- package/source/entities/gender.js +0 -13
- package/source/entities/icon.js +0 -654
- package/source/entities/key.js +0 -41
- package/source/entities/method.js +0 -22
- package/source/entities/mode.js +0 -9
- package/source/entities/network.js +0 -9
- package/source/entities/numerosity.js +0 -5
- package/source/entities/pattern.js +0 -7
- package/source/entities/phase.js +0 -15
- package/source/entities/quantifier.js +0 -41
- package/source/entities/registration-attribute.js +0 -61
- package/source/entities/registration-channel.js +0 -11
- package/source/entities/registration-lineup.js +0 -14
- package/source/entities/registration-mailing.js +0 -20
- package/source/entities/registration-status.js +0 -19
- package/source/entities/role.js +0 -16
- package/source/entities/route-cardinality.js +0 -149
- package/source/entities/route-parameter.js +0 -149
- package/source/entities/route-pathname.js +0 -223
- package/source/entities/route-relation.js +0 -149
- package/source/entities/route-service.js +0 -179
- package/source/entities/route.js +0 -82
- package/source/entities/runtime.js +0 -6
- package/source/entities/segment.js +0 -255
- package/source/entities/service-runtime.js +0 -22
- package/source/entities/service.js +0 -22
- package/source/entities/theme-status.js +0 -9
- package/source/entities/venue-audience.js +0 -9
- package/source/entities/venue-status.js +0 -9
- package/source/helpers/access.js +0 -161
- package/source/helpers/hydrate-route-pathname.js +0 -28
- package/source/helpers/tag.js +0 -35
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/* --- AUTOGENERATED --- */
|
|
2
|
-
|
|
3
|
-
export const RoutePathnames = Object.freeze( /** @type {const} */ (/* RoutePathnames */))
|
|
4
|
-
|
|
5
|
-
export const RoutePathname = Object.freeze(/** @type {const} */ (/* RoutePathname */))
|
|
6
|
-
|
|
7
|
-
export const PathnameRoute = Object.freeze(/** @type {const} */ (/* PathnameRoute */))
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/* --- AUTOGENERATED --- */
|
|
2
|
-
|
|
3
|
-
export const RouteServices = Object.freeze( /** @type {const} */ (/* RouteServices */))
|
|
4
|
-
|
|
5
|
-
export const RouteService = Object.freeze(/** @type {const} */ (/* RouteService */))
|
|
6
|
-
|
|
7
|
-
export const ServiceRoutes = Object.freeze(/** @type {const} */ (/* ServiceRoutes */))
|
package/source/entities/blend.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { Category } from './category.js'
|
|
2
|
-
import { Mode } from './mode.js'
|
|
3
|
-
import { Role } from './role.js'
|
|
4
|
-
|
|
5
|
-
export const GameStatus = Object.freeze({
|
|
6
|
-
'REJECTED': 'REJECTED',
|
|
7
|
-
'MODERATION': 'MODERATION',
|
|
8
|
-
'APPROVED': 'APPROVED',
|
|
9
|
-
'CLOSED': 'CLOSED',
|
|
10
|
-
'FORINVITES': 'FORINVITES',
|
|
11
|
-
'PUBLISHED': 'PUBLISHED',
|
|
12
|
-
'IS_RESERVE': 'IS_RESERVE',
|
|
13
|
-
'FINISHED': 'FINISHED',
|
|
14
|
-
'ARCHIVE': 'ARCHIVE',
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
export const GameStatuses = Object.freeze(Object.values(GameStatus))
|
|
18
|
-
|
|
19
|
-
export const RoleGameStatusGameStatuses = Object.freeze({
|
|
20
|
-
[Role['admin']]: Object.freeze({}),
|
|
21
|
-
|
|
22
|
-
[Role['organizer']]: Object.freeze({
|
|
23
|
-
'APPROVED': Object.freeze([
|
|
24
|
-
'APPROVED',
|
|
25
|
-
'CLOSED',
|
|
26
|
-
'FORINVITES',
|
|
27
|
-
'PUBLISHED',
|
|
28
|
-
'IS_RESERVE',
|
|
29
|
-
'FINISHED',
|
|
30
|
-
'ARCHIVE',
|
|
31
|
-
]),
|
|
32
|
-
|
|
33
|
-
'MODERATION': Object.freeze([
|
|
34
|
-
'MODERATION',
|
|
35
|
-
]),
|
|
36
|
-
|
|
37
|
-
'REJECTED': Object.freeze([
|
|
38
|
-
'REJECTED',
|
|
39
|
-
'MODERATION',
|
|
40
|
-
]),
|
|
41
|
-
}),
|
|
42
|
-
|
|
43
|
-
[Mode['Unknown']]: Object.freeze({}),
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
export const RoleGameStatuses = Object.freeze({
|
|
47
|
-
[Role['admin']]: Object.freeze([
|
|
48
|
-
'APPROVED',
|
|
49
|
-
'ARCHIVE',
|
|
50
|
-
'CLOSED',
|
|
51
|
-
'FINISHED',
|
|
52
|
-
'FORINVITES',
|
|
53
|
-
'IS_RESERVE',
|
|
54
|
-
'MODERATION',
|
|
55
|
-
'PUBLISHED',
|
|
56
|
-
'REJECTED',
|
|
57
|
-
]),
|
|
58
|
-
|
|
59
|
-
[Role['organizer']]: Object.freeze([
|
|
60
|
-
'ARCHIVE',
|
|
61
|
-
'CLOSED',
|
|
62
|
-
'FINISHED',
|
|
63
|
-
'FORINVITES',
|
|
64
|
-
'IS_RESERVE',
|
|
65
|
-
'PUBLISHED',
|
|
66
|
-
]),
|
|
67
|
-
|
|
68
|
-
[Mode['Unknown']]: Object.freeze([]),
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
export const CategoryGameStatuses = Object.freeze({
|
|
72
|
-
[Category['Active']]: Object.freeze([
|
|
73
|
-
'CLOSED',
|
|
74
|
-
'FORINVITES',
|
|
75
|
-
'IS_RESERVE',
|
|
76
|
-
'PUBLISHED',
|
|
77
|
-
]),
|
|
78
|
-
|
|
79
|
-
'REJECTED': Object.freeze([
|
|
80
|
-
'REJECTED',
|
|
81
|
-
]),
|
|
82
|
-
|
|
83
|
-
'MODERATION': Object.freeze([
|
|
84
|
-
'MODERATION',
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
'APPROVED': Object.freeze([
|
|
88
|
-
'APPROVED',
|
|
89
|
-
]),
|
|
90
|
-
|
|
91
|
-
'FINISHED': Object.freeze([
|
|
92
|
-
'FINISHED',
|
|
93
|
-
]),
|
|
94
|
-
|
|
95
|
-
'ARCHIVE': Object.freeze([
|
|
96
|
-
'ARCHIVE',
|
|
97
|
-
]),
|
|
98
|
-
})
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const Gender = Object.freeze({
|
|
2
|
-
'Masculine': 'Masculine',
|
|
3
|
-
'Feminine': 'Feminine',
|
|
4
|
-
'Neuter': 'Neuter',
|
|
5
|
-
'Indeterminate': 'Indeterminate',
|
|
6
|
-
})
|
|
7
|
-
|
|
8
|
-
export const Genders = Object.freeze([
|
|
9
|
-
'Masculine',
|
|
10
|
-
'Feminine',
|
|
11
|
-
'Neuter',
|
|
12
|
-
'Indeterminate',
|
|
13
|
-
])
|