@shakerquiz/contracts 0.0.178 → 0.0.180

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.178",
4
+ "version": "0.0.180",
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/utilities": "4.0.75",
19
+ "@shakerquiz/utilities": "4.0.76",
20
20
  "@types/bun": "1.3.7"
21
21
  }
22
22
  }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "email": {
6
+ "type": "string"
7
+ },
8
+ "password": {
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": [
13
+ "email",
14
+ "password"
15
+ ],
16
+ "additionalProperties": false
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "email": {
6
+ "type": "string"
7
+ },
8
+ "password": {
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": [
13
+ "email",
14
+ "password"
15
+ ],
16
+ "additionalProperties": false
17
+ }
package/source/index.js CHANGED
@@ -13,6 +13,8 @@ import POST_themes_search_organizer from './contracts/POST/themes/search/organiz
13
13
  import POST_themes_cover_search_admin from './contracts/POST/themes/cover/search/admin.json' with { type: 'json' }
14
14
  import POST_themes_cover_search_organizer from './contracts/POST/themes/cover/search/organizer.json' with { type: 'json' }
15
15
  import POST_checkin_Unknown from './contracts/POST/checkin/Unknown.json' with { type: 'json' }
16
+ import POST_checkin_admin from './contracts/POST/checkin/admin.json' with { type: 'json' }
17
+ import POST_checkin_organizer from './contracts/POST/checkin/organizer.json' with { type: 'json' }
16
18
  import POST_cities_venues_search_Unknown from './contracts/POST/cities/venues/search/Unknown.json' with { type: 'json' }
17
19
  import POST_cities_venues_search_admin from './contracts/POST/cities/venues/search/admin.json' with { type: 'json' }
18
20
  import POST_cities_venues_search_organizer from './contracts/POST/cities/venues/search/organizer.json' with { type: 'json' }
@@ -173,6 +175,8 @@ export const Contracts = Object.freeze(
173
175
  'POST/themes/cover/search/admin',
174
176
  'POST/themes/cover/search/organizer',
175
177
  'POST/checkin/Unknown',
178
+ 'POST/checkin/admin',
179
+ 'POST/checkin/organizer',
176
180
  'POST/cities/venues/search/Unknown',
177
181
  'POST/cities/venues/search/admin',
178
182
  'POST/cities/venues/search/organizer',
@@ -335,6 +339,8 @@ export const Schemas = Object.freeze(
335
339
  POST_themes_cover_search_admin,
336
340
  POST_themes_cover_search_organizer,
337
341
  POST_checkin_Unknown,
342
+ POST_checkin_admin,
343
+ POST_checkin_organizer,
338
344
  POST_cities_venues_search_Unknown,
339
345
  POST_cities_venues_search_admin,
340
346
  POST_cities_venues_search_organizer,
@@ -497,6 +503,8 @@ export const ContractSchema = Object.freeze(
497
503
  'POST/themes/cover/search/admin': POST_themes_cover_search_admin,
498
504
  'POST/themes/cover/search/organizer': POST_themes_cover_search_organizer,
499
505
  'POST/checkin/Unknown': POST_checkin_Unknown,
506
+ 'POST/checkin/admin': POST_checkin_admin,
507
+ 'POST/checkin/organizer': POST_checkin_organizer,
500
508
  'POST/cities/venues/search/Unknown': POST_cities_venues_search_Unknown,
501
509
  'POST/cities/venues/search/admin': POST_cities_venues_search_admin,
502
510
  'POST/cities/venues/search/organizer': POST_cities_venues_search_organizer,