@shakerquiz/contracts 0.0.152 → 0.0.153

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.152",
4
+ "version": "0.0.153",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "file": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": [
10
+ "file"
11
+ ],
12
+ "additionalProperties": false
13
+ }
package/source/index.js CHANGED
@@ -89,6 +89,7 @@ import PATCH_registration_lineup_admin from './contracts/PATCH/registration/line
89
89
  import PATCH_registration_lineup_organizer from './contracts/PATCH/registration/lineup/organizer.json' with { type: 'json' }
90
90
  import PATCH_registration_admin from './contracts/PATCH/registration/admin.json' with { type: 'json' }
91
91
  import PATCH_registration_organizer from './contracts/PATCH/registration/organizer.json' with { type: 'json' }
92
+ import PUT_theme_cover_admin from './contracts/PUT/theme/cover/admin.json' with { type: 'json' }
92
93
 
93
94
  export const Contracts = Object.freeze(
94
95
  /** @type {const} */ ([
@@ -182,7 +183,8 @@ export const Contracts = Object.freeze(
182
183
  'PATCH/registration/lineup/admin',
183
184
  'PATCH/registration/lineup/organizer',
184
185
  'PATCH/registration/admin',
185
- 'PATCH/registration/organizer'
186
+ 'PATCH/registration/organizer',
187
+ 'PUT/theme/cover/admin'
186
188
  ]),
187
189
  )
188
190
 
@@ -278,7 +280,8 @@ export const Schemas = Object.freeze(
278
280
  PATCH_registration_lineup_admin,
279
281
  PATCH_registration_lineup_organizer,
280
282
  PATCH_registration_admin,
281
- PATCH_registration_organizer
283
+ PATCH_registration_organizer,
284
+ PUT_theme_cover_admin
282
285
  ]),
283
286
  )
284
287
 
@@ -374,6 +377,7 @@ export const ContractSchema = Object.freeze(
374
377
  'PATCH/registration/lineup/admin': PATCH_registration_lineup_admin,
375
378
  'PATCH/registration/lineup/organizer': PATCH_registration_lineup_organizer,
376
379
  'PATCH/registration/admin': PATCH_registration_admin,
377
- 'PATCH/registration/organizer': PATCH_registration_organizer
380
+ 'PATCH/registration/organizer': PATCH_registration_organizer,
381
+ 'PUT/theme/cover/admin': PUT_theme_cover_admin
378
382
  }),
379
383
  )