@shakerquiz/forms 0.0.173 → 0.0.175

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,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/forms",
4
- "version": "0.0.173",
4
+ "version": "0.0.175",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "exports": "./source/index.js",
18
18
  "devDependencies": {
19
- "@shakerquiz/contracts": "0.0.196",
19
+ "@shakerquiz/contracts": "0.0.197",
20
20
  "@shakerquiz/utilities": "4.0.82",
21
21
  "@types/bun": "1.3.7"
22
22
  }
@@ -0,0 +1,21 @@
1
+ {
2
+ "state": "interactive",
3
+ "fields": [
4
+ {
5
+ "name": "team_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "human_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "people_count",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "note",
18
+ "kind": "text"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "state": "interactive",
3
+ "fields": [
4
+ {
5
+ "name": "team_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "human_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "people_count",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "note",
18
+ "kind": "text"
19
+ }
20
+ ]
21
+ }
package/source/index.js CHANGED
@@ -26,6 +26,8 @@ import PATCH_user_Admin from './forms/PATCH/user/Admin.json' with { type: 'json'
26
26
  import PATCH_user_password_Admin from './forms/PATCH/user/password/Admin.json' with { type: 'json' }
27
27
  import PATCH_game_Organizer from './forms/PATCH/game/Organizer.json' with { type: 'json' }
28
28
  import PATCH_game_Admin from './forms/PATCH/game/Admin.json' with { type: 'json' }
29
+ import PATCH_game_registration_Organizer from './forms/PATCH/game/registration/Organizer.json' with { type: 'json' }
30
+ import PATCH_game_registration_Admin from './forms/PATCH/game/registration/Admin.json' with { type: 'json' }
29
31
  import PATCH_city_Organizer from './forms/PATCH/city/Organizer.json' with { type: 'json' }
30
32
  import PATCH_city_Admin from './forms/PATCH/city/Admin.json' with { type: 'json' }
31
33
  import PATCH_city_timezone_Organizer from './forms/PATCH/city/timezone/Organizer.json' with { type: 'json' }
@@ -73,6 +75,8 @@ export const FormSchema = Object.freeze(
73
75
  'PATCH/user/password/Admin': PATCH_user_password_Admin,
74
76
  'PATCH/game/Organizer': PATCH_game_Organizer,
75
77
  'PATCH/game/Admin': PATCH_game_Admin,
78
+ 'PATCH/game/registration/Organizer': PATCH_game_registration_Organizer,
79
+ 'PATCH/game/registration/Admin': PATCH_game_registration_Admin,
76
80
  'PATCH/city/Organizer': PATCH_city_Organizer,
77
81
  'PATCH/city/Admin': PATCH_city_Admin,
78
82
  'PATCH/city/timezone/Organizer': PATCH_city_timezone_Organizer,
@@ -94,9 +98,9 @@ export const FormSchema = Object.freeze(
94
98
 
95
99
  export const FormKind = Object.freeze(
96
100
  /** @type {const} */ ({
97
- 'POST/theme/Organizer': 'Unknown',
101
+ 'POST/theme/Organizer': 'Schema',
98
102
  'POST/theme/Admin': 'Schema',
99
- 'POST/theme/cover/Organizer': 'Unknown',
103
+ 'POST/theme/cover/Organizer': 'Schema',
100
104
  'POST/theme/cover/Admin': 'Schema',
101
105
  'POST/checkin/Organizer': 'Schema',
102
106
  'POST/checkin/Admin': 'Schema',
@@ -115,13 +119,15 @@ export const FormKind = Object.freeze(
115
119
  'POST/venue/Admin': 'Schema',
116
120
  'POST/registration/Organizer': 'Schema',
117
121
  'POST/registration/Admin': 'Schema',
118
- 'PATCH/theme/Organizer': 'Unknown',
122
+ 'PATCH/theme/Organizer': 'Schema',
119
123
  'PATCH/theme/Admin': 'Schema',
120
124
  'PATCH/user/role/Admin': 'Schema',
121
125
  'PATCH/user/Admin': 'Schema',
122
126
  'PATCH/user/password/Admin': 'Schema',
123
127
  'PATCH/game/Organizer': 'Schema',
124
128
  'PATCH/game/Admin': 'Schema',
129
+ 'PATCH/game/registration/Organizer': 'Unknown',
130
+ 'PATCH/game/registration/Admin': 'Unknown',
125
131
  'PATCH/city/Organizer': 'Schema',
126
132
  'PATCH/city/Admin': 'Schema',
127
133
  'PATCH/city/timezone/Organizer': 'Schema',