@shakerquiz/utilities 0.3.33 → 0.3.35

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakerquiz/utilities",
3
- "version": "0.3.33",
3
+ "version": "0.3.35",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {
@@ -42,3 +42,320 @@ export namespace CityColumns {
42
42
  let vk_link: "vk_link";
43
43
  let yandex_metrica: "yandex_metrica";
44
44
  }
45
+ export namespace CityColumnDescriptors {
46
+ export namespace address_1 {
47
+ let type: "String";
48
+ let minLength: 1;
49
+ let maxLength: 255;
50
+ }
51
+ export { address_1 as address };
52
+ export namespace alias_1 {
53
+ let type_1: "String";
54
+ export { type_1 as type };
55
+ let minLength_1: 1;
56
+ export { minLength_1 as minLength };
57
+ let maxLength_1: 255;
58
+ export { maxLength_1 as maxLength };
59
+ }
60
+ export { alias_1 as alias };
61
+ export namespace chatapp_category_1 {
62
+ let type_2: "String";
63
+ export { type_2 as type };
64
+ }
65
+ export { chatapp_category_1 as chatapp_category };
66
+ export namespace chatapp_legacy_1 {
67
+ let type_3: "Boolean";
68
+ export { type_3 as type };
69
+ }
70
+ export { chatapp_legacy_1 as chatapp_legacy };
71
+ export namespace chatapp_line_1 {
72
+ let type_4: "String";
73
+ export { type_4 as type };
74
+ let minLength_2: 1;
75
+ export { minLength_2 as minLength };
76
+ let maxLength_2: 255;
77
+ export { maxLength_2 as maxLength };
78
+ }
79
+ export { chatapp_line_1 as chatapp_line };
80
+ export namespace chatapp_tag_1 {
81
+ let type_5: "String";
82
+ export { type_5 as type };
83
+ let minLength_3: 1;
84
+ export { minLength_3 as minLength };
85
+ let maxLength_3: 255;
86
+ export { maxLength_3 as maxLength };
87
+ }
88
+ export { chatapp_tag_1 as chatapp_tag };
89
+ export namespace chatapp_user_1 {
90
+ let type_6: "String";
91
+ export { type_6 as type };
92
+ let minLength_4: 1;
93
+ export { minLength_4 as minLength };
94
+ let maxLength_4: 255;
95
+ export { maxLength_4 as maxLength };
96
+ }
97
+ export { chatapp_user_1 as chatapp_user };
98
+ export namespace country_1 {
99
+ let type_7: "String";
100
+ export { type_7 as type };
101
+ let minLength_5: 2;
102
+ export { minLength_5 as minLength };
103
+ let maxLength_5: 2;
104
+ export { maxLength_5 as maxLength };
105
+ }
106
+ export { country_1 as country };
107
+ export namespace currency_1 {
108
+ let type_8: "String";
109
+ export { type_8 as type };
110
+ let minLength_6: 3;
111
+ export { minLength_6 as minLength };
112
+ let maxLength_6: 3;
113
+ export { maxLength_6 as maxLength };
114
+ }
115
+ export { currency_1 as currency };
116
+ export namespace custom_html_1 {
117
+ let type_9: "String";
118
+ export { type_9 as type };
119
+ }
120
+ export { custom_html_1 as custom_html };
121
+ export namespace custom_script_1 {
122
+ let type_10: "String";
123
+ export { type_10 as type };
124
+ }
125
+ export { custom_script_1 as custom_script };
126
+ export namespace description_1 {
127
+ let type_11: "String";
128
+ export { type_11 as type };
129
+ let minLength_7: 1;
130
+ export { minLength_7 as minLength };
131
+ let maxLength_7: 255;
132
+ export { maxLength_7 as maxLength };
133
+ }
134
+ export { description_1 as description };
135
+ export namespace email_1 {
136
+ let type_12: "String";
137
+ export { type_12 as type };
138
+ let minLength_8: 1;
139
+ export { minLength_8 as minLength };
140
+ let maxLength_8: 255;
141
+ export { maxLength_8 as maxLength };
142
+ export let format: "email";
143
+ }
144
+ export { email_1 as email };
145
+ export namespace game_time_1 {
146
+ let type_13: "String";
147
+ export { type_13 as type };
148
+ let format_1: "time";
149
+ export { format_1 as format };
150
+ }
151
+ export { game_time_1 as game_time };
152
+ export namespace id_1 {
153
+ let type_14: "String";
154
+ export { type_14 as type };
155
+ let format_2: "uuid";
156
+ export { format_2 as format };
157
+ }
158
+ export { id_1 as id };
159
+ export namespace inst_comment_1 {
160
+ let type_15: "String";
161
+ export { type_15 as type };
162
+ export let deprecated: true;
163
+ }
164
+ export { inst_comment_1 as inst_comment };
165
+ export namespace inst_link_1 {
166
+ let type_16: "String";
167
+ export { type_16 as type };
168
+ let deprecated_1: true;
169
+ export { deprecated_1 as deprecated };
170
+ }
171
+ export { inst_link_1 as inst_link };
172
+ export namespace inst_login_1 {
173
+ let type_17: "String";
174
+ export { type_17 as type };
175
+ let deprecated_2: true;
176
+ export { deprecated_2 as deprecated };
177
+ }
178
+ export { inst_login_1 as inst_login };
179
+ export namespace inst_password_1 {
180
+ let type_18: "String";
181
+ export { type_18 as type };
182
+ let deprecated_3: true;
183
+ export { deprecated_3 as deprecated };
184
+ }
185
+ export { inst_password_1 as inst_password };
186
+ export namespace is_default_1 {
187
+ let type_19: "Boolean";
188
+ export { type_19 as type };
189
+ }
190
+ export { is_default_1 as is_default };
191
+ export namespace is_franchise_1 {
192
+ let type_20: "Boolean";
193
+ export { type_20 as type };
194
+ }
195
+ export { is_franchise_1 as is_franchise };
196
+ export namespace max_members_count_1 {
197
+ let type_21: "Number";
198
+ export { type_21 as type };
199
+ let format_3: "integer";
200
+ export { format_3 as format };
201
+ }
202
+ export { max_members_count_1 as max_members_count };
203
+ export namespace meta_description_1 {
204
+ let type_22: "String";
205
+ export { type_22 as type };
206
+ let minLength_9: 1;
207
+ export { minLength_9 as minLength };
208
+ let maxLength_9: 255;
209
+ export { maxLength_9 as maxLength };
210
+ }
211
+ export { meta_description_1 as meta_description };
212
+ export namespace meta_title_1 {
213
+ let type_23: "String";
214
+ export { type_23 as type };
215
+ let minLength_10: 1;
216
+ export { minLength_10 as minLength };
217
+ let maxLength_10: 255;
218
+ export { maxLength_10 as maxLength };
219
+ }
220
+ export { meta_title_1 as meta_title };
221
+ export namespace min_members_count_1 {
222
+ let type_24: "Number";
223
+ export { type_24 as type };
224
+ let format_4: "integer";
225
+ export { format_4 as format };
226
+ }
227
+ export { min_members_count_1 as min_members_count };
228
+ export namespace name_1 {
229
+ let type_25: "String";
230
+ export { type_25 as type };
231
+ let minLength_11: 1;
232
+ export { minLength_11 as minLength };
233
+ let maxLength_11: 255;
234
+ export { maxLength_11 as maxLength };
235
+ }
236
+ export { name_1 as name };
237
+ export namespace phone_1 {
238
+ let type_26: "String";
239
+ export { type_26 as type };
240
+ let minLength_12: 1;
241
+ export { minLength_12 as minLength };
242
+ let maxLength_12: 255;
243
+ export { maxLength_12 as maxLength };
244
+ }
245
+ export { phone_1 as phone };
246
+ export namespace price_1 {
247
+ let type_27: "Number";
248
+ export { type_27 as type };
249
+ let format_5: "float";
250
+ export { format_5 as format };
251
+ }
252
+ export { price_1 as price };
253
+ export namespace region_1 {
254
+ let type_28: "String";
255
+ export { type_28 as type };
256
+ let minLength_13: 1;
257
+ export { minLength_13 as minLength };
258
+ let maxLength_13: 255;
259
+ export { maxLength_13 as maxLength };
260
+ }
261
+ export { region_1 as region };
262
+ export namespace telegram_chat_id_1 {
263
+ let type_29: "String";
264
+ export { type_29 as type };
265
+ let minLength_14: 1;
266
+ export { minLength_14 as minLength };
267
+ let maxLength_14: 255;
268
+ export { maxLength_14 as maxLength };
269
+ }
270
+ export { telegram_chat_id_1 as telegram_chat_id };
271
+ export namespace tg_comment_1 {
272
+ let type_30: "String";
273
+ export { type_30 as type };
274
+ let minLength_15: 1;
275
+ export { minLength_15 as minLength };
276
+ let maxLength_15: 255;
277
+ export { maxLength_15 as maxLength };
278
+ }
279
+ export { tg_comment_1 as tg_comment };
280
+ export namespace tg_link_1 {
281
+ let type_31: "String";
282
+ export { type_31 as type };
283
+ let minLength_16: 1;
284
+ export { minLength_16 as minLength };
285
+ let maxLength_16: 255;
286
+ export { maxLength_16 as maxLength };
287
+ }
288
+ export { tg_link_1 as tg_link };
289
+ export namespace tg_login_1 {
290
+ let type_32: "String";
291
+ export { type_32 as type };
292
+ let deprecated_4: true;
293
+ export { deprecated_4 as deprecated };
294
+ let minLength_17: 1;
295
+ export { minLength_17 as minLength };
296
+ let maxLength_17: 255;
297
+ export { maxLength_17 as maxLength };
298
+ }
299
+ export { tg_login_1 as tg_login };
300
+ export namespace tg_password_1 {
301
+ let type_33: "String";
302
+ export { type_33 as type };
303
+ let deprecated_5: true;
304
+ export { deprecated_5 as deprecated };
305
+ let minLength_18: 1;
306
+ export { minLength_18 as minLength };
307
+ let maxLength_18: 255;
308
+ export { maxLength_18 as maxLength };
309
+ }
310
+ export { tg_password_1 as tg_password };
311
+ export namespace time_created_1 {
312
+ let type_34: "String";
313
+ export { type_34 as type };
314
+ let format_6: "Date";
315
+ export { format_6 as format };
316
+ }
317
+ export { time_created_1 as time_created };
318
+ export namespace time_updated_1 {
319
+ let type_35: "String";
320
+ export { type_35 as type };
321
+ let format_7: "Date";
322
+ export { format_7 as format };
323
+ }
324
+ export { time_updated_1 as time_updated };
325
+ export namespace timezone_1 {
326
+ let type_36: "String";
327
+ export { type_36 as type };
328
+ let format_8: "integer";
329
+ export { format_8 as format };
330
+ }
331
+ export { timezone_1 as timezone };
332
+ export namespace title_1 {
333
+ let type_37: "String";
334
+ export { type_37 as type };
335
+ let minLength_19: 1;
336
+ export { minLength_19 as minLength };
337
+ let maxLength_19: 255;
338
+ export { maxLength_19 as maxLength };
339
+ }
340
+ export { title_1 as title };
341
+ export namespace vk_comment_1 {
342
+ let type_38: "String";
343
+ export { type_38 as type };
344
+ }
345
+ export { vk_comment_1 as vk_comment };
346
+ export namespace vk_group_id_1 {
347
+ let type_39: "String";
348
+ export { type_39 as type };
349
+ }
350
+ export { vk_group_id_1 as vk_group_id };
351
+ export namespace vk_link_1 {
352
+ let type_40: "String";
353
+ export { type_40 as type };
354
+ }
355
+ export { vk_link_1 as vk_link };
356
+ export namespace yandex_metrica_1 {
357
+ let type_41: "String";
358
+ export { type_41 as type };
359
+ }
360
+ export { yandex_metrica_1 as yandex_metrica };
361
+ }
@@ -42,3 +42,228 @@ export var CityColumns = /** @type {const} */ ({
42
42
  vk_link: 'vk_link',
43
43
  yandex_metrica: 'yandex_metrica',
44
44
  })
45
+
46
+ export var CityColumnDescriptors = /** @type {const} */ ({
47
+ [CityColumns.address]: {
48
+ type: 'String',
49
+ minLength: 1,
50
+ maxLength: 255,
51
+ },
52
+
53
+ [CityColumns.alias]: {
54
+ type: 'String',
55
+ minLength: 1,
56
+ maxLength: 255,
57
+ },
58
+
59
+ [CityColumns.chatapp_category]: {
60
+ type: 'String',
61
+ },
62
+
63
+ [CityColumns.chatapp_legacy]: {
64
+ type: 'Boolean',
65
+ },
66
+
67
+ [CityColumns.chatapp_line]: {
68
+ type: 'String',
69
+ minLength: 1,
70
+ maxLength: 255,
71
+ },
72
+
73
+ [CityColumns.chatapp_tag]: {
74
+ type: 'String',
75
+ minLength: 1,
76
+ maxLength: 255,
77
+ },
78
+
79
+ [CityColumns.chatapp_user]: {
80
+ type: 'String',
81
+ minLength: 1,
82
+ maxLength: 255,
83
+ },
84
+
85
+ [CityColumns.country]: {
86
+ type: 'String',
87
+ minLength: 2,
88
+ maxLength: 2,
89
+ },
90
+
91
+ [CityColumns.currency]: {
92
+ type: 'String',
93
+ minLength: 3,
94
+ maxLength: 3,
95
+ },
96
+
97
+ [CityColumns.custom_html]: {
98
+ type: 'String',
99
+ },
100
+
101
+ [CityColumns.custom_script]: {
102
+ type: 'String',
103
+ },
104
+
105
+ [CityColumns.description]: {
106
+ type: 'String',
107
+ minLength: 1,
108
+ maxLength: 255,
109
+ },
110
+
111
+ [CityColumns.email]: {
112
+ type: 'String',
113
+ minLength: 1,
114
+ maxLength: 255,
115
+ format: 'email',
116
+ },
117
+
118
+ [CityColumns.game_time]: {
119
+ type: 'String',
120
+ format: 'time',
121
+ },
122
+
123
+ [CityColumns.id]: {
124
+ type: 'String',
125
+ format: 'uuid',
126
+ },
127
+
128
+ [CityColumns.inst_comment]: {
129
+ type: 'String',
130
+ deprecated: true,
131
+ },
132
+
133
+ [CityColumns.inst_link]: {
134
+ type: 'String',
135
+ deprecated: true,
136
+ },
137
+
138
+ [CityColumns.inst_login]: {
139
+ type: 'String',
140
+ deprecated: true,
141
+ },
142
+
143
+ [CityColumns.inst_password]: {
144
+ type: 'String',
145
+ deprecated: true,
146
+ },
147
+
148
+ [CityColumns.is_default]: {
149
+ type: 'Boolean',
150
+ },
151
+
152
+ [CityColumns.is_franchise]: {
153
+ type: 'Boolean',
154
+ },
155
+
156
+ [CityColumns.max_members_count]: {
157
+ type: 'Number',
158
+ format: 'integer',
159
+ },
160
+
161
+ [CityColumns.meta_description]: {
162
+ type: 'String',
163
+ minLength: 1,
164
+ maxLength: 255,
165
+ },
166
+
167
+ [CityColumns.meta_title]: {
168
+ type: 'String',
169
+ minLength: 1,
170
+ maxLength: 255,
171
+ },
172
+
173
+ [CityColumns.min_members_count]: {
174
+ type: 'Number',
175
+ format: 'integer',
176
+ },
177
+
178
+ [CityColumns.name]: {
179
+ type: 'String',
180
+ minLength: 1,
181
+ maxLength: 255,
182
+ },
183
+
184
+ [CityColumns.phone]: {
185
+ type: 'String',
186
+ minLength: 1,
187
+ maxLength: 255,
188
+ },
189
+
190
+ [CityColumns.price]: {
191
+ type: 'Number',
192
+ format: 'float',
193
+ },
194
+
195
+ [CityColumns.region]: {
196
+ type: 'String',
197
+ minLength: 1,
198
+ maxLength: 255,
199
+ },
200
+
201
+ [CityColumns.telegram_chat_id]: {
202
+ type: 'String',
203
+ minLength: 1,
204
+ maxLength: 255,
205
+ },
206
+
207
+ [CityColumns.tg_comment]: {
208
+ type: 'String',
209
+ minLength: 1,
210
+ maxLength: 255,
211
+ },
212
+
213
+ [CityColumns.tg_link]: {
214
+ type: 'String',
215
+ minLength: 1,
216
+ maxLength: 255,
217
+ },
218
+
219
+ [CityColumns.tg_login]: {
220
+ type: 'String',
221
+ deprecated: true,
222
+ minLength: 1,
223
+ maxLength: 255,
224
+ },
225
+
226
+ [CityColumns.tg_password]: {
227
+ type: 'String',
228
+ deprecated: true,
229
+ minLength: 1,
230
+ maxLength: 255,
231
+ },
232
+
233
+ [CityColumns.time_created]: {
234
+ type: 'String',
235
+ format: 'Date',
236
+ },
237
+
238
+ [CityColumns.time_updated]: {
239
+ type: 'String',
240
+ format: 'Date',
241
+ },
242
+
243
+ [CityColumns.timezone]: {
244
+ type: 'String',
245
+ format: 'integer',
246
+ },
247
+
248
+ [CityColumns.title]: {
249
+ type: 'String',
250
+ minLength: 1,
251
+ maxLength: 255,
252
+ },
253
+
254
+ [CityColumns.vk_comment]: {
255
+ type: 'String',
256
+ },
257
+
258
+ [CityColumns.vk_group_id]: {
259
+ type: 'String',
260
+ },
261
+
262
+ [CityColumns.vk_link]: {
263
+ type: 'String',
264
+ },
265
+
266
+ [CityColumns.yandex_metrica]: {
267
+ type: 'String',
268
+ },
269
+ })