@shakerquiz/contracts 0.0.32 → 0.0.33
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 +1 -1
- package/source/contracts/PATCH/city/admin.json +0 -1
- package/source/contracts/PATCH/city/country/admin.json +275 -267
- package/source/contracts/PATCH/city/currency/admin.json +171 -163
- package/source/contracts/PATCH/city/timezone/admin.json +499 -491
- package/source/contracts/PATCH/city/vk_group_token/admin.json +12 -4
- package/source/contracts/POST/city/vk_group_token/admin.json +12 -4
- package/source/index.js +0 -8
- package/source/contracts/DELETE/city/vk_group_token/admin.json +0 -6
- package/source/contracts/DELETE/user/cities/admin.json +0 -6
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "object",
|
|
3
3
|
"properties": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
4
|
+
"vk_group_token": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"value"
|
|
13
|
+
]
|
|
6
14
|
}
|
|
7
15
|
},
|
|
8
16
|
"required": [
|
|
9
|
-
"
|
|
17
|
+
"vk_group_token"
|
|
10
18
|
],
|
|
11
19
|
"additionalProperties": false
|
|
12
|
-
}
|
|
20
|
+
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "object",
|
|
3
3
|
"properties": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
4
|
+
"vk_group_token": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"value"
|
|
13
|
+
]
|
|
6
14
|
}
|
|
7
15
|
},
|
|
8
16
|
"required": [
|
|
9
|
-
"
|
|
17
|
+
"vk_group_token"
|
|
10
18
|
],
|
|
11
19
|
"additionalProperties": false
|
|
12
|
-
}
|
|
20
|
+
}
|
package/source/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import DELETE_city_vk_group_token_admin from './contracts/DELETE/city/vk_group_token/admin.json' with { type: 'json' }
|
|
2
|
-
import DELETE_user_cities_admin from './contracts/DELETE/user/cities/admin.json' with { type: 'json' }
|
|
3
1
|
import PATCH_city_admin from './contracts/PATCH/city/admin.json' with { type: 'json' }
|
|
4
2
|
import PATCH_city_country_admin from './contracts/PATCH/city/country/admin.json' with { type: 'json' }
|
|
5
3
|
import PATCH_city_currency_admin from './contracts/PATCH/city/currency/admin.json' with { type: 'json' }
|
|
@@ -34,8 +32,6 @@ import POST_venue_admin from './contracts/POST/venue/admin.json' with { type: 'j
|
|
|
34
32
|
|
|
35
33
|
export const Contracts = Object.freeze(
|
|
36
34
|
/** @type {const} */ ([
|
|
37
|
-
'DELETE/city/vk_group_token/admin',
|
|
38
|
-
'DELETE/user/cities/admin',
|
|
39
35
|
'PATCH/city/admin',
|
|
40
36
|
'PATCH/city/country/admin',
|
|
41
37
|
'PATCH/city/currency/admin',
|
|
@@ -72,8 +68,6 @@ export const Contracts = Object.freeze(
|
|
|
72
68
|
|
|
73
69
|
export const Schemas = Object.freeze(
|
|
74
70
|
/** @type {const} */ ([
|
|
75
|
-
DELETE_city_vk_group_token_admin,
|
|
76
|
-
DELETE_user_cities_admin,
|
|
77
71
|
PATCH_city_admin,
|
|
78
72
|
PATCH_city_country_admin,
|
|
79
73
|
PATCH_city_currency_admin,
|
|
@@ -110,8 +104,6 @@ export const Schemas = Object.freeze(
|
|
|
110
104
|
|
|
111
105
|
export const ContractSchema = Object.freeze(
|
|
112
106
|
/** @type {const} */ ({
|
|
113
|
-
'DELETE/city/vk_group_token/admin': DELETE_city_vk_group_token_admin,
|
|
114
|
-
'DELETE/user/cities/admin': DELETE_user_cities_admin,
|
|
115
107
|
'PATCH/city/admin': PATCH_city_admin,
|
|
116
108
|
'PATCH/city/country/admin': PATCH_city_country_admin,
|
|
117
109
|
'PATCH/city/currency/admin': PATCH_city_currency_admin,
|