@shakerquiz/contracts 0.0.151 → 0.0.152

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.152",
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
@@ -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' }
@@ -93,6 +94,7 @@ export const Contracts = Object.freeze(
93
94
  /** @type {const} */ ([
94
95
  'POST/chatapp/registration/mailing/admin',
95
96
  'POST/chatapp/registration/mailing/organizer',
97
+ 'POST/theme/cover/admin',
96
98
  'POST/theme/admin',
97
99
  'POST/venues/city/search/admin',
98
100
  'POST/venues/city/search/organizer',
@@ -188,6 +190,7 @@ export const Schemas = Object.freeze(
188
190
  /** @type {const} */ ([
189
191
  POST_chatapp_registration_mailing_admin,
190
192
  POST_chatapp_registration_mailing_organizer,
193
+ POST_theme_cover_admin,
191
194
  POST_theme_admin,
192
195
  POST_venues_city_search_admin,
193
196
  POST_venues_city_search_organizer,
@@ -283,6 +286,7 @@ export const ContractSchema = Object.freeze(
283
286
  /** @type {const} */ ({
284
287
  'POST/chatapp/registration/mailing/admin': POST_chatapp_registration_mailing_admin,
285
288
  'POST/chatapp/registration/mailing/organizer': POST_chatapp_registration_mailing_organizer,
289
+ 'POST/theme/cover/admin': POST_theme_cover_admin,
286
290
  'POST/theme/admin': POST_theme_admin,
287
291
  'POST/venues/city/search/admin': POST_venues_city_search_admin,
288
292
  'POST/venues/city/search/organizer': POST_venues_city_search_organizer,