@shakerquiz/contracts 0.0.151 → 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.151",
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
+ }
@@ -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
@@ -1,5 +1,6 @@
1
1
  import POST_chatapp_registration_mailing_admin from './contracts/POST/chatapp/registration/mailing/admin.json' with { type: 'json' }
2
2
  import POST_chatapp_registration_mailing_organizer from './contracts/POST/chatapp/registration/mailing/organizer.json' with { type: 'json' }
3
+ import POST_theme_cover_admin from './contracts/POST/theme/cover/admin.json' with { type: 'json' }
3
4
  import POST_theme_admin from './contracts/POST/theme/admin.json' with { type: 'json' }
4
5
  import POST_venues_city_search_admin from './contracts/POST/venues/city/search/admin.json' with { type: 'json' }
5
6
  import POST_venues_city_search_organizer from './contracts/POST/venues/city/search/organizer.json' with { type: 'json' }
@@ -88,11 +89,13 @@ import PATCH_registration_lineup_admin from './contracts/PATCH/registration/line
88
89
  import PATCH_registration_lineup_organizer from './contracts/PATCH/registration/lineup/organizer.json' with { type: 'json' }
89
90
  import PATCH_registration_admin from './contracts/PATCH/registration/admin.json' with { type: 'json' }
90
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' }
91
93
 
92
94
  export const Contracts = Object.freeze(
93
95
  /** @type {const} */ ([
94
96
  'POST/chatapp/registration/mailing/admin',
95
97
  'POST/chatapp/registration/mailing/organizer',
98
+ 'POST/theme/cover/admin',
96
99
  'POST/theme/admin',
97
100
  'POST/venues/city/search/admin',
98
101
  'POST/venues/city/search/organizer',
@@ -180,7 +183,8 @@ export const Contracts = Object.freeze(
180
183
  'PATCH/registration/lineup/admin',
181
184
  'PATCH/registration/lineup/organizer',
182
185
  'PATCH/registration/admin',
183
- 'PATCH/registration/organizer'
186
+ 'PATCH/registration/organizer',
187
+ 'PUT/theme/cover/admin'
184
188
  ]),
185
189
  )
186
190
 
@@ -188,6 +192,7 @@ export const Schemas = Object.freeze(
188
192
  /** @type {const} */ ([
189
193
  POST_chatapp_registration_mailing_admin,
190
194
  POST_chatapp_registration_mailing_organizer,
195
+ POST_theme_cover_admin,
191
196
  POST_theme_admin,
192
197
  POST_venues_city_search_admin,
193
198
  POST_venues_city_search_organizer,
@@ -275,7 +280,8 @@ export const Schemas = Object.freeze(
275
280
  PATCH_registration_lineup_admin,
276
281
  PATCH_registration_lineup_organizer,
277
282
  PATCH_registration_admin,
278
- PATCH_registration_organizer
283
+ PATCH_registration_organizer,
284
+ PUT_theme_cover_admin
279
285
  ]),
280
286
  )
281
287
 
@@ -283,6 +289,7 @@ export const ContractSchema = Object.freeze(
283
289
  /** @type {const} */ ({
284
290
  'POST/chatapp/registration/mailing/admin': POST_chatapp_registration_mailing_admin,
285
291
  'POST/chatapp/registration/mailing/organizer': POST_chatapp_registration_mailing_organizer,
292
+ 'POST/theme/cover/admin': POST_theme_cover_admin,
286
293
  'POST/theme/admin': POST_theme_admin,
287
294
  'POST/venues/city/search/admin': POST_venues_city_search_admin,
288
295
  'POST/venues/city/search/organizer': POST_venues_city_search_organizer,
@@ -370,6 +377,7 @@ export const ContractSchema = Object.freeze(
370
377
  'PATCH/registration/lineup/admin': PATCH_registration_lineup_admin,
371
378
  'PATCH/registration/lineup/organizer': PATCH_registration_lineup_organizer,
372
379
  'PATCH/registration/admin': PATCH_registration_admin,
373
- 'PATCH/registration/organizer': PATCH_registration_organizer
380
+ 'PATCH/registration/organizer': PATCH_registration_organizer,
381
+ 'PUT/theme/cover/admin': PUT_theme_cover_admin
374
382
  }),
375
383
  )