@shakerquiz/utilities 4.0.10 → 4.0.11
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
name: Publish aquamarine
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
+
workflow_dispatch:
|
|
4
5
|
pull_request:
|
|
5
6
|
types: [ closed ]
|
|
6
7
|
branches:
|
|
@@ -13,7 +14,9 @@ permissions:
|
|
|
13
14
|
jobs:
|
|
14
15
|
publish:
|
|
15
16
|
runs-on: ubuntu-latest
|
|
16
|
-
if:
|
|
17
|
+
if: |
|
|
18
|
+
github.event_name == 'workflow_dispatch' ||
|
|
19
|
+
github.event.pull_request.merged == true
|
|
17
20
|
steps:
|
|
18
21
|
- uses: actions/checkout@v5
|
|
19
22
|
with:
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const ThemeStatuses = Object.freeze(
|
|
2
|
+
/** @type {const} */ ([
|
|
3
|
+
'Active',
|
|
4
|
+
'Archive',
|
|
5
|
+
]),
|
|
6
|
+
)
|
|
5
7
|
|
|
6
|
-
export const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
export const ThemeStatus = Object.freeze(
|
|
9
|
+
/** @type {{ [x in typeof ThemeStatuses[number]]: x }} */ (ThemeStatuses.reduce(
|
|
10
|
+
(o, x) => (o[x] = x, o),
|
|
11
|
+
{},
|
|
12
|
+
)),
|
|
13
|
+
)
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const VenueAudiences = Object.freeze(
|
|
2
|
+
/** @type {const} */ ([
|
|
3
|
+
'Open',
|
|
4
|
+
'Adults',
|
|
5
|
+
]),
|
|
6
|
+
)
|
|
5
7
|
|
|
6
|
-
export const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
export const VenueAudience = Object.freeze(
|
|
9
|
+
/** @type {{ [x in typeof VenueAudiences[number]]: x }} */ (VenueAudiences.reduce(
|
|
10
|
+
(o, x) => (o[x] = x, o),
|
|
11
|
+
{},
|
|
12
|
+
)),
|
|
13
|
+
)
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const VenueStatuses = Object.freeze(
|
|
2
|
+
/** @type {const} */ ([
|
|
3
|
+
'Active',
|
|
4
|
+
'Archive',
|
|
5
|
+
]),
|
|
6
|
+
)
|
|
5
7
|
|
|
6
|
-
export const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
export const VenueStatus = Object.freeze(
|
|
9
|
+
/** @type {{ [x in typeof VenueStatuses[number]]: x }} */ (VenueStatuses.reduce(
|
|
10
|
+
(o, x) => (o[x] = x, o),
|
|
11
|
+
{},
|
|
12
|
+
)),
|
|
13
|
+
)
|