@shakerquiz/contracts 0.0.210 → 0.0.212

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/contracts",
4
- "version": "0.0.210",
4
+ "version": "0.0.212",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -19,6 +19,6 @@
19
19
  "@types/bun": "1.3.7"
20
20
  },
21
21
  "dependencies": {
22
- "@shakerquiz/utilities": "4.0.88"
22
+ "@shakerquiz/utilities": "4.0.89"
23
23
  }
24
24
  }
@@ -2,14 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "venue_id": {
6
- "type": "string",
7
- "format": "uuid"
8
- },
9
- "theme_id": {
10
- "type": "string",
11
- "format": "uuid"
12
- },
13
5
  "number": {
14
6
  "type": "string"
15
7
  },
@@ -2,14 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "venue_id": {
6
- "type": "string",
7
- "format": "uuid"
8
- },
9
- "theme_id": {
10
- "type": "string",
11
- "format": "uuid"
12
- },
13
5
  "number": {
14
6
  "type": "string"
15
7
  },
@@ -2,14 +2,6 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "venue_id": {
6
- "type": "string",
7
- "format": "uuid"
8
- },
9
- "theme_id": {
10
- "type": "string",
11
- "format": "uuid"
12
- },
13
5
  "number": {
14
6
  "type": "string"
15
7
  },
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ }
9
+ },
10
+ "required": [
11
+ "id"
12
+ ],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ }
9
+ },
10
+ "required": [
11
+ "id"
12
+ ],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ }
9
+ },
10
+ "required": [
11
+ "id"
12
+ ],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "format": "uuid"
8
+ }
9
+ },
10
+ "required": [
11
+ "id"
12
+ ],
13
+ "additionalProperties": false
14
+ }
package/source/index.js CHANGED
@@ -127,8 +127,12 @@ import PATCH_user_role_Admin from './contracts/PATCH/user/role/Admin.json' with
127
127
  import PATCH_user_Admin from './contracts/PATCH/user/Admin.json' with { type: 'json' }
128
128
  import PATCH_user_password_Admin from './contracts/PATCH/user/password/Admin.json' with { type: 'json' }
129
129
  import PATCH_game_Service from './contracts/PATCH/game/Service.json' with { type: 'json' }
130
+ import PATCH_game_theme_Organizer from './contracts/PATCH/game/theme/Organizer.json' with { type: 'json' }
131
+ import PATCH_game_theme_Admin from './contracts/PATCH/game/theme/Admin.json' with { type: 'json' }
130
132
  import PATCH_game_Organizer from './contracts/PATCH/game/Organizer.json' with { type: 'json' }
131
133
  import PATCH_game_Admin from './contracts/PATCH/game/Admin.json' with { type: 'json' }
134
+ import PATCH_game_venue_Organizer from './contracts/PATCH/game/venue/Organizer.json' with { type: 'json' }
135
+ import PATCH_game_venue_Admin from './contracts/PATCH/game/venue/Admin.json' with { type: 'json' }
132
136
  import PATCH_game_registration_Organizer from './contracts/PATCH/game/registration/Organizer.json' with { type: 'json' }
133
137
  import PATCH_game_registration_Admin from './contracts/PATCH/game/registration/Admin.json' with { type: 'json' }
134
138
  import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
@@ -298,8 +302,12 @@ export const Contracts = Object.freeze(
298
302
  'PATCH/user/Admin',
299
303
  'PATCH/user/password/Admin',
300
304
  'PATCH/game/Service',
305
+ 'PATCH/game/theme/Organizer',
306
+ 'PATCH/game/theme/Admin',
301
307
  'PATCH/game/Organizer',
302
308
  'PATCH/game/Admin',
309
+ 'PATCH/game/venue/Organizer',
310
+ 'PATCH/game/venue/Admin',
303
311
  'PATCH/game/registration/Organizer',
304
312
  'PATCH/game/registration/Admin',
305
313
  'PATCH/registrations/Service',
@@ -471,8 +479,12 @@ export const Schemas = Object.freeze(
471
479
  PATCH_user_Admin,
472
480
  PATCH_user_password_Admin,
473
481
  PATCH_game_Service,
482
+ PATCH_game_theme_Organizer,
483
+ PATCH_game_theme_Admin,
474
484
  PATCH_game_Organizer,
475
485
  PATCH_game_Admin,
486
+ PATCH_game_venue_Organizer,
487
+ PATCH_game_venue_Admin,
476
488
  PATCH_game_registration_Organizer,
477
489
  PATCH_game_registration_Admin,
478
490
  PATCH_registrations_Service,
@@ -644,8 +656,12 @@ export const ContractSchema = Object.freeze(
644
656
  'PATCH/user/Admin': PATCH_user_Admin,
645
657
  'PATCH/user/password/Admin': PATCH_user_password_Admin,
646
658
  'PATCH/game/Service': PATCH_game_Service,
659
+ 'PATCH/game/theme/Organizer': PATCH_game_theme_Organizer,
660
+ 'PATCH/game/theme/Admin': PATCH_game_theme_Admin,
647
661
  'PATCH/game/Organizer': PATCH_game_Organizer,
648
662
  'PATCH/game/Admin': PATCH_game_Admin,
663
+ 'PATCH/game/venue/Organizer': PATCH_game_venue_Organizer,
664
+ 'PATCH/game/venue/Admin': PATCH_game_venue_Admin,
649
665
  'PATCH/game/registration/Organizer': PATCH_game_registration_Organizer,
650
666
  'PATCH/game/registration/Admin': PATCH_game_registration_Admin,
651
667
  'PATCH/registrations/Service': PATCH_registrations_Service,