@shakerquiz/utilities 0.3.34 → 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.34",
3
+ "version": "0.3.35",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {
@@ -45,7 +45,6 @@ export namespace CityColumns {
45
45
  export namespace CityColumnDescriptors {
46
46
  export namespace address_1 {
47
47
  let type: "String";
48
- let nullable: true;
49
48
  let minLength: 1;
50
49
  let maxLength: 255;
51
50
  }
@@ -62,22 +61,16 @@ export namespace CityColumnDescriptors {
62
61
  export namespace chatapp_category_1 {
63
62
  let type_2: "String";
64
63
  export { type_2 as type };
65
- let nullable_1: true;
66
- export { nullable_1 as nullable };
67
64
  }
68
65
  export { chatapp_category_1 as chatapp_category };
69
66
  export namespace chatapp_legacy_1 {
70
67
  let type_3: "Boolean";
71
68
  export { type_3 as type };
72
- let nullable_2: true;
73
- export { nullable_2 as nullable };
74
69
  }
75
70
  export { chatapp_legacy_1 as chatapp_legacy };
76
71
  export namespace chatapp_line_1 {
77
72
  let type_4: "String";
78
73
  export { type_4 as type };
79
- let nullable_3: true;
80
- export { nullable_3 as nullable };
81
74
  let minLength_2: 1;
82
75
  export { minLength_2 as minLength };
83
76
  let maxLength_2: 255;
@@ -87,8 +80,6 @@ export namespace CityColumnDescriptors {
87
80
  export namespace chatapp_tag_1 {
88
81
  let type_5: "String";
89
82
  export { type_5 as type };
90
- let nullable_4: true;
91
- export { nullable_4 as nullable };
92
83
  let minLength_3: 1;
93
84
  export { minLength_3 as minLength };
94
85
  let maxLength_3: 255;
@@ -98,8 +89,6 @@ export namespace CityColumnDescriptors {
98
89
  export namespace chatapp_user_1 {
99
90
  let type_6: "String";
100
91
  export { type_6 as type };
101
- let nullable_5: true;
102
- export { nullable_5 as nullable };
103
92
  let minLength_4: 1;
104
93
  export { minLength_4 as minLength };
105
94
  let maxLength_4: 255;
@@ -109,8 +98,6 @@ export namespace CityColumnDescriptors {
109
98
  export namespace country_1 {
110
99
  let type_7: "String";
111
100
  export { type_7 as type };
112
- let nullable_6: true;
113
- export { nullable_6 as nullable };
114
101
  let minLength_5: 2;
115
102
  export { minLength_5 as minLength };
116
103
  let maxLength_5: 2;
@@ -129,22 +116,16 @@ export namespace CityColumnDescriptors {
129
116
  export namespace custom_html_1 {
130
117
  let type_9: "String";
131
118
  export { type_9 as type };
132
- let nullable_7: true;
133
- export { nullable_7 as nullable };
134
119
  }
135
120
  export { custom_html_1 as custom_html };
136
121
  export namespace custom_script_1 {
137
122
  let type_10: "String";
138
123
  export { type_10 as type };
139
- let nullable_8: true;
140
- export { nullable_8 as nullable };
141
124
  }
142
125
  export { custom_script_1 as custom_script };
143
126
  export namespace description_1 {
144
127
  let type_11: "String";
145
128
  export { type_11 as type };
146
- let nullable_9: true;
147
- export { nullable_9 as nullable };
148
129
  let minLength_7: 1;
149
130
  export { minLength_7 as minLength };
150
131
  let maxLength_7: 255;
@@ -154,8 +135,6 @@ export namespace CityColumnDescriptors {
154
135
  export namespace email_1 {
155
136
  let type_12: "String";
156
137
  export { type_12 as type };
157
- let nullable_10: true;
158
- export { nullable_10 as nullable };
159
138
  let minLength_8: 1;
160
139
  export { minLength_8 as minLength };
161
140
  let maxLength_8: 255;
@@ -173,8 +152,6 @@ export namespace CityColumnDescriptors {
173
152
  export namespace id_1 {
174
153
  let type_14: "String";
175
154
  export { type_14 as type };
176
- let nullable_11: true;
177
- export { nullable_11 as nullable };
178
155
  let format_2: "uuid";
179
156
  export { format_2 as format };
180
157
  }
@@ -182,16 +159,12 @@ export namespace CityColumnDescriptors {
182
159
  export namespace inst_comment_1 {
183
160
  let type_15: "String";
184
161
  export { type_15 as type };
185
- let nullable_12: true;
186
- export { nullable_12 as nullable };
187
162
  export let deprecated: true;
188
163
  }
189
164
  export { inst_comment_1 as inst_comment };
190
165
  export namespace inst_link_1 {
191
166
  let type_16: "String";
192
167
  export { type_16 as type };
193
- let nullable_13: true;
194
- export { nullable_13 as nullable };
195
168
  let deprecated_1: true;
196
169
  export { deprecated_1 as deprecated };
197
170
  }
@@ -199,8 +172,6 @@ export namespace CityColumnDescriptors {
199
172
  export namespace inst_login_1 {
200
173
  let type_17: "String";
201
174
  export { type_17 as type };
202
- let nullable_14: true;
203
- export { nullable_14 as nullable };
204
175
  let deprecated_2: true;
205
176
  export { deprecated_2 as deprecated };
206
177
  }
@@ -208,8 +179,6 @@ export namespace CityColumnDescriptors {
208
179
  export namespace inst_password_1 {
209
180
  let type_18: "String";
210
181
  export { type_18 as type };
211
- let nullable_15: true;
212
- export { nullable_15 as nullable };
213
182
  let deprecated_3: true;
214
183
  export { deprecated_3 as deprecated };
215
184
  }
@@ -217,8 +186,6 @@ export namespace CityColumnDescriptors {
217
186
  export namespace is_default_1 {
218
187
  let type_19: "Boolean";
219
188
  export { type_19 as type };
220
- let nullable_16: true;
221
- export { nullable_16 as nullable };
222
189
  }
223
190
  export { is_default_1 as is_default };
224
191
  export namespace is_franchise_1 {
@@ -229,8 +196,6 @@ export namespace CityColumnDescriptors {
229
196
  export namespace max_members_count_1 {
230
197
  let type_21: "Number";
231
198
  export { type_21 as type };
232
- let nullable_17: true;
233
- export { nullable_17 as nullable };
234
199
  let format_3: "integer";
235
200
  export { format_3 as format };
236
201
  }
@@ -238,8 +203,6 @@ export namespace CityColumnDescriptors {
238
203
  export namespace meta_description_1 {
239
204
  let type_22: "String";
240
205
  export { type_22 as type };
241
- let nullable_18: true;
242
- export { nullable_18 as nullable };
243
206
  let minLength_9: 1;
244
207
  export { minLength_9 as minLength };
245
208
  let maxLength_9: 255;
@@ -249,8 +212,6 @@ export namespace CityColumnDescriptors {
249
212
  export namespace meta_title_1 {
250
213
  let type_23: "String";
251
214
  export { type_23 as type };
252
- let nullable_19: true;
253
- export { nullable_19 as nullable };
254
215
  let minLength_10: 1;
255
216
  export { minLength_10 as minLength };
256
217
  let maxLength_10: 255;
@@ -260,8 +221,6 @@ export namespace CityColumnDescriptors {
260
221
  export namespace min_members_count_1 {
261
222
  let type_24: "Number";
262
223
  export { type_24 as type };
263
- let nullable_20: true;
264
- export { nullable_20 as nullable };
265
224
  let format_4: "integer";
266
225
  export { format_4 as format };
267
226
  }
@@ -278,8 +237,6 @@ export namespace CityColumnDescriptors {
278
237
  export namespace phone_1 {
279
238
  let type_26: "String";
280
239
  export { type_26 as type };
281
- let nullable_21: true;
282
- export { nullable_21 as nullable };
283
240
  let minLength_12: 1;
284
241
  export { minLength_12 as minLength };
285
242
  let maxLength_12: 255;
@@ -287,10 +244,8 @@ export namespace CityColumnDescriptors {
287
244
  }
288
245
  export { phone_1 as phone };
289
246
  export namespace price_1 {
290
- let type_27: "String";
247
+ let type_27: "Number";
291
248
  export { type_27 as type };
292
- let nullable_22: true;
293
- export { nullable_22 as nullable };
294
249
  let format_5: "float";
295
250
  export { format_5 as format };
296
251
  }
@@ -298,8 +253,6 @@ export namespace CityColumnDescriptors {
298
253
  export namespace region_1 {
299
254
  let type_28: "String";
300
255
  export { type_28 as type };
301
- let nullable_23: true;
302
- export { nullable_23 as nullable };
303
256
  let minLength_13: 1;
304
257
  export { minLength_13 as minLength };
305
258
  let maxLength_13: 255;
@@ -309,8 +262,6 @@ export namespace CityColumnDescriptors {
309
262
  export namespace telegram_chat_id_1 {
310
263
  let type_29: "String";
311
264
  export { type_29 as type };
312
- let nullable_24: true;
313
- export { nullable_24 as nullable };
314
265
  let minLength_14: 1;
315
266
  export { minLength_14 as minLength };
316
267
  let maxLength_14: 255;
@@ -320,8 +271,6 @@ export namespace CityColumnDescriptors {
320
271
  export namespace tg_comment_1 {
321
272
  let type_30: "String";
322
273
  export { type_30 as type };
323
- let nullable_25: true;
324
- export { nullable_25 as nullable };
325
274
  let minLength_15: 1;
326
275
  export { minLength_15 as minLength };
327
276
  let maxLength_15: 255;
@@ -331,8 +280,6 @@ export namespace CityColumnDescriptors {
331
280
  export namespace tg_link_1 {
332
281
  let type_31: "String";
333
282
  export { type_31 as type };
334
- let nullable_26: true;
335
- export { nullable_26 as nullable };
336
283
  let minLength_16: 1;
337
284
  export { minLength_16 as minLength };
338
285
  let maxLength_16: 255;
@@ -342,8 +289,6 @@ export namespace CityColumnDescriptors {
342
289
  export namespace tg_login_1 {
343
290
  let type_32: "String";
344
291
  export { type_32 as type };
345
- let nullable_27: true;
346
- export { nullable_27 as nullable };
347
292
  let deprecated_4: true;
348
293
  export { deprecated_4 as deprecated };
349
294
  let minLength_17: 1;
@@ -355,8 +300,6 @@ export namespace CityColumnDescriptors {
355
300
  export namespace tg_password_1 {
356
301
  let type_33: "String";
357
302
  export { type_33 as type };
358
- let nullable_28: true;
359
- export { nullable_28 as nullable };
360
303
  let deprecated_5: true;
361
304
  export { deprecated_5 as deprecated };
362
305
  let minLength_18: 1;
@@ -368,8 +311,6 @@ export namespace CityColumnDescriptors {
368
311
  export namespace time_created_1 {
369
312
  let type_34: "String";
370
313
  export { type_34 as type };
371
- let nullable_29: true;
372
- export { nullable_29 as nullable };
373
314
  let format_6: "Date";
374
315
  export { format_6 as format };
375
316
  }
@@ -377,8 +318,6 @@ export namespace CityColumnDescriptors {
377
318
  export namespace time_updated_1 {
378
319
  let type_35: "String";
379
320
  export { type_35 as type };
380
- let nullable_30: true;
381
- export { nullable_30 as nullable };
382
321
  let format_7: "Date";
383
322
  export { format_7 as format };
384
323
  }
@@ -386,8 +325,6 @@ export namespace CityColumnDescriptors {
386
325
  export namespace timezone_1 {
387
326
  let type_36: "String";
388
327
  export { type_36 as type };
389
- let nullable_31: true;
390
- export { nullable_31 as nullable };
391
328
  let format_8: "integer";
392
329
  export { format_8 as format };
393
330
  }
@@ -395,8 +332,6 @@ export namespace CityColumnDescriptors {
395
332
  export namespace title_1 {
396
333
  let type_37: "String";
397
334
  export { type_37 as type };
398
- let nullable_32: true;
399
- export { nullable_32 as nullable };
400
335
  let minLength_19: 1;
401
336
  export { minLength_19 as minLength };
402
337
  let maxLength_19: 255;
@@ -406,29 +341,21 @@ export namespace CityColumnDescriptors {
406
341
  export namespace vk_comment_1 {
407
342
  let type_38: "String";
408
343
  export { type_38 as type };
409
- let nullable_33: true;
410
- export { nullable_33 as nullable };
411
344
  }
412
345
  export { vk_comment_1 as vk_comment };
413
346
  export namespace vk_group_id_1 {
414
347
  let type_39: "String";
415
348
  export { type_39 as type };
416
- let nullable_34: true;
417
- export { nullable_34 as nullable };
418
349
  }
419
350
  export { vk_group_id_1 as vk_group_id };
420
351
  export namespace vk_link_1 {
421
352
  let type_40: "String";
422
353
  export { type_40 as type };
423
- let nullable_35: true;
424
- export { nullable_35 as nullable };
425
354
  }
426
355
  export { vk_link_1 as vk_link };
427
356
  export namespace yandex_metrica_1 {
428
357
  let type_41: "String";
429
358
  export { type_41 as type };
430
- let nullable_36: true;
431
- export { nullable_36 as nullable };
432
359
  }
433
360
  export { yandex_metrica_1 as yandex_metrica };
434
361
  }
@@ -46,7 +46,6 @@ export var CityColumns = /** @type {const} */ ({
46
46
  export var CityColumnDescriptors = /** @type {const} */ ({
47
47
  [CityColumns.address]: {
48
48
  type: 'String',
49
- nullable: true,
50
49
  minLength: 1,
51
50
  maxLength: 255,
52
51
  },
@@ -59,38 +58,32 @@ export var CityColumnDescriptors = /** @type {const} */ ({
59
58
 
60
59
  [CityColumns.chatapp_category]: {
61
60
  type: 'String',
62
- nullable: true,
63
61
  },
64
62
 
65
63
  [CityColumns.chatapp_legacy]: {
66
64
  type: 'Boolean',
67
- nullable: true,
68
65
  },
69
66
 
70
67
  [CityColumns.chatapp_line]: {
71
68
  type: 'String',
72
- nullable: true,
73
69
  minLength: 1,
74
70
  maxLength: 255,
75
71
  },
76
72
 
77
73
  [CityColumns.chatapp_tag]: {
78
74
  type: 'String',
79
- nullable: true,
80
75
  minLength: 1,
81
76
  maxLength: 255,
82
77
  },
83
78
 
84
79
  [CityColumns.chatapp_user]: {
85
80
  type: 'String',
86
- nullable: true,
87
81
  minLength: 1,
88
82
  maxLength: 255,
89
83
  },
90
84
 
91
85
  [CityColumns.country]: {
92
86
  type: 'String',
93
- nullable: true,
94
87
  minLength: 2,
95
88
  maxLength: 2,
96
89
  },
@@ -103,24 +96,20 @@ export var CityColumnDescriptors = /** @type {const} */ ({
103
96
 
104
97
  [CityColumns.custom_html]: {
105
98
  type: 'String',
106
- nullable: true,
107
99
  },
108
100
 
109
101
  [CityColumns.custom_script]: {
110
102
  type: 'String',
111
- nullable: true,
112
103
  },
113
104
 
114
105
  [CityColumns.description]: {
115
106
  type: 'String',
116
- nullable: true,
117
107
  minLength: 1,
118
108
  maxLength: 255,
119
109
  },
120
110
 
121
111
  [CityColumns.email]: {
122
112
  type: 'String',
123
- nullable: true,
124
113
  minLength: 1,
125
114
  maxLength: 255,
126
115
  format: 'email',
@@ -133,37 +122,31 @@ export var CityColumnDescriptors = /** @type {const} */ ({
133
122
 
134
123
  [CityColumns.id]: {
135
124
  type: 'String',
136
- nullable: true,
137
125
  format: 'uuid',
138
126
  },
139
127
 
140
128
  [CityColumns.inst_comment]: {
141
129
  type: 'String',
142
- nullable: true,
143
130
  deprecated: true,
144
131
  },
145
132
 
146
133
  [CityColumns.inst_link]: {
147
134
  type: 'String',
148
- nullable: true,
149
135
  deprecated: true,
150
136
  },
151
137
 
152
138
  [CityColumns.inst_login]: {
153
139
  type: 'String',
154
- nullable: true,
155
140
  deprecated: true,
156
141
  },
157
142
 
158
143
  [CityColumns.inst_password]: {
159
144
  type: 'String',
160
- nullable: true,
161
145
  deprecated: true,
162
146
  },
163
147
 
164
148
  [CityColumns.is_default]: {
165
149
  type: 'Boolean',
166
- nullable: true,
167
150
  },
168
151
 
169
152
  [CityColumns.is_franchise]: {
@@ -172,27 +155,23 @@ export var CityColumnDescriptors = /** @type {const} */ ({
172
155
 
173
156
  [CityColumns.max_members_count]: {
174
157
  type: 'Number',
175
- nullable: true,
176
158
  format: 'integer',
177
159
  },
178
160
 
179
161
  [CityColumns.meta_description]: {
180
162
  type: 'String',
181
- nullable: true,
182
163
  minLength: 1,
183
164
  maxLength: 255,
184
165
  },
185
166
 
186
167
  [CityColumns.meta_title]: {
187
168
  type: 'String',
188
- nullable: true,
189
169
  minLength: 1,
190
170
  maxLength: 255,
191
171
  },
192
172
 
193
173
  [CityColumns.min_members_count]: {
194
174
  type: 'Number',
195
- nullable: true,
196
175
  format: 'integer',
197
176
  },
198
177
 
@@ -204,48 +183,41 @@ export var CityColumnDescriptors = /** @type {const} */ ({
204
183
 
205
184
  [CityColumns.phone]: {
206
185
  type: 'String',
207
- nullable: true,
208
186
  minLength: 1,
209
187
  maxLength: 255,
210
188
  },
211
189
 
212
190
  [CityColumns.price]: {
213
- type: 'String',
214
- nullable: true,
191
+ type: 'Number',
215
192
  format: 'float',
216
193
  },
217
194
 
218
195
  [CityColumns.region]: {
219
196
  type: 'String',
220
- nullable: true,
221
197
  minLength: 1,
222
198
  maxLength: 255,
223
199
  },
224
200
 
225
201
  [CityColumns.telegram_chat_id]: {
226
202
  type: 'String',
227
- nullable: true,
228
203
  minLength: 1,
229
204
  maxLength: 255,
230
205
  },
231
206
 
232
207
  [CityColumns.tg_comment]: {
233
208
  type: 'String',
234
- nullable: true,
235
209
  minLength: 1,
236
210
  maxLength: 255,
237
211
  },
238
212
 
239
213
  [CityColumns.tg_link]: {
240
214
  type: 'String',
241
- nullable: true,
242
215
  minLength: 1,
243
216
  maxLength: 255,
244
217
  },
245
218
 
246
219
  [CityColumns.tg_login]: {
247
220
  type: 'String',
248
- nullable: true,
249
221
  deprecated: true,
250
222
  minLength: 1,
251
223
  maxLength: 255,
@@ -253,7 +225,6 @@ export var CityColumnDescriptors = /** @type {const} */ ({
253
225
 
254
226
  [CityColumns.tg_password]: {
255
227
  type: 'String',
256
- nullable: true,
257
228
  deprecated: true,
258
229
  minLength: 1,
259
230
  maxLength: 255,
@@ -261,46 +232,38 @@ export var CityColumnDescriptors = /** @type {const} */ ({
261
232
 
262
233
  [CityColumns.time_created]: {
263
234
  type: 'String',
264
- nullable: true,
265
235
  format: 'Date',
266
236
  },
267
237
 
268
238
  [CityColumns.time_updated]: {
269
239
  type: 'String',
270
- nullable: true,
271
240
  format: 'Date',
272
241
  },
273
242
 
274
243
  [CityColumns.timezone]: {
275
244
  type: 'String',
276
- nullable: true,
277
245
  format: 'integer',
278
246
  },
279
247
 
280
248
  [CityColumns.title]: {
281
249
  type: 'String',
282
- nullable: true,
283
250
  minLength: 1,
284
251
  maxLength: 255,
285
252
  },
286
253
 
287
254
  [CityColumns.vk_comment]: {
288
255
  type: 'String',
289
- nullable: true,
290
256
  },
291
257
 
292
258
  [CityColumns.vk_group_id]: {
293
259
  type: 'String',
294
- nullable: true,
295
260
  },
296
261
 
297
262
  [CityColumns.vk_link]: {
298
263
  type: 'String',
299
- nullable: true,
300
264
  },
301
265
 
302
266
  [CityColumns.yandex_metrica]: {
303
267
  type: 'String',
304
- nullable: true,
305
268
  },
306
269
  })