@shakerquiz/contracts 0.0.35 → 0.0.37

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.35",
4
+ "version": "0.0.37",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -0,0 +1,12 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "text": {
5
+ "type": "string"
6
+ }
7
+ },
8
+ "required": [
9
+ "text"
10
+ ],
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "text": {
5
+ "type": "string"
6
+ }
7
+ },
8
+ "required": [
9
+ "text"
10
+ ],
11
+ "additionalProperties": false
12
+ }
package/source/index.js CHANGED
@@ -28,6 +28,7 @@ import POST_game_registrations_export_admin from './contracts/POST/game/registra
28
28
  import POST_registration_admin from './contracts/POST/registration/admin.json' with { type: 'json' }
29
29
  import POST_registration_Unknown from './contracts/POST/registration/Unknown.json' with { type: 'json' }
30
30
  import POST_registrations_export_admin from './contracts/POST/registrations/export/admin.json' with { type: 'json' }
31
+ import POST_chatapp_registration_mailing_admin from './contracts/POST/chatapp/registration/mailing/admin.json' with { type: 'json' }
31
32
 
32
33
  export const Contracts = Object.freeze(
33
34
  /** @type {const} */ ([
@@ -60,7 +61,8 @@ export const Contracts = Object.freeze(
60
61
  'POST/game/registrations/export/admin',
61
62
  'POST/registration/admin',
62
63
  'POST/registration/Unknown',
63
- 'POST/registrations/export/admin'
64
+ 'POST/registrations/export/admin',
65
+ 'POST/chatapp/registration/mailing/admin'
64
66
  ]),
65
67
  )
66
68
 
@@ -95,7 +97,8 @@ export const Schemas = Object.freeze(
95
97
  POST_game_registrations_export_admin,
96
98
  POST_registration_admin,
97
99
  POST_registration_Unknown,
98
- POST_registrations_export_admin
100
+ POST_registrations_export_admin,
101
+ POST_chatapp_registration_mailing_admin
99
102
  ]),
100
103
  )
101
104
 
@@ -130,6 +133,7 @@ export const ContractSchema = Object.freeze(
130
133
  'POST/game/registrations/export/admin': POST_game_registrations_export_admin,
131
134
  'POST/registration/admin': POST_registration_admin,
132
135
  'POST/registration/Unknown': POST_registration_Unknown,
133
- 'POST/registrations/export/admin': POST_registrations_export_admin
136
+ 'POST/registrations/export/admin': POST_registrations_export_admin,
137
+ 'POST/chatapp/registration/mailing/admin': POST_chatapp_registration_mailing_admin
134
138
  }),
135
139
  )