@candlerip/shared 0.0.93 → 0.0.95

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.
Files changed (63) hide show
  1. package/cache/{redis → common/cache}/domains.d.ts +4 -2
  2. package/cache/common/cache/domains.js +1 -0
  3. package/cache/common/cache/index.d.ts +1 -0
  4. package/cache/common/cache/index.js +1 -0
  5. package/cache/common/cache-key/cache-key/configs.d.ts +1 -1
  6. package/cache/common/cache-key/cache-key/configs.js +7 -1
  7. package/cache/common/cache-key/cache-key/domains.d.ts +2 -4
  8. package/cache/common/cache-key/common-page-header-langmenu-items-cache-key/configs.d.ts +2 -0
  9. package/cache/common/cache-key/common-page-header-langmenu-items-cache-key/configs.js +2 -0
  10. package/cache/common/cache-key/common-page-header-langmenu-items-cache-key/domains.d.ts +2 -0
  11. package/cache/common/cache-key/common-page-header-langmenu-items-cache-key/index.d.ts +2 -0
  12. package/cache/common/cache-key/common-page-header-langmenu-items-cache-key/index.js +2 -0
  13. package/cache/common/cache-key/index.d.ts +1 -0
  14. package/cache/common/cache-key/index.js +1 -0
  15. package/cache/common/cache-key/page-server-data-cache-key/configs.d.ts +1 -1
  16. package/cache/common/index.d.ts +1 -0
  17. package/cache/common/index.js +1 -0
  18. package/cache/redis/index.d.ts +0 -1
  19. package/cache/redis/index.js +0 -1
  20. package/cache/redis/workers/type.d.ts +1 -1
  21. package/common/header/index.d.ts +1 -0
  22. package/common/header/index.js +1 -0
  23. package/common/header/lang-menu/index.d.ts +1 -0
  24. package/common/header/lang-menu/index.js +1 -0
  25. package/common/header/lang-menu/lang-menu-languages/configs.d.ts +1 -0
  26. package/common/header/lang-menu/lang-menu-languages/configs.js +3 -0
  27. package/common/header/lang-menu/lang-menu-languages/index.d.ts +1 -0
  28. package/common/header/lang-menu/lang-menu-languages/index.js +1 -0
  29. package/common/index.d.ts +1 -0
  30. package/common/index.js +1 -0
  31. package/common/page-data/common/domains.d.ts +8 -0
  32. package/common/page-data/common/domains.js +1 -0
  33. package/common/page-data/common/header/index.d.ts +1 -0
  34. package/common/page-data/common/header/index.js +1 -0
  35. package/common/page-data/common/header/lang-menu/index.d.ts +1 -0
  36. package/common/page-data/common/header/lang-menu/index.js +1 -0
  37. package/common/page-data/common/header/lang-menu/items/domains.d.ts +5 -0
  38. package/common/page-data/common/header/lang-menu/items/domains.js +1 -0
  39. package/common/page-data/common/header/lang-menu/items/index.d.ts +2 -0
  40. package/common/page-data/common/header/lang-menu/items/index.js +2 -0
  41. package/common/page-data/common/header/lang-menu/items/utils/fetch-common-page-header-langmenu-items-data-from-db/index.d.ts +2 -0
  42. package/common/page-data/common/header/lang-menu/items/utils/fetch-common-page-header-langmenu-items-data-from-db/index.js +23 -0
  43. package/common/page-data/common/header/lang-menu/items/utils/fetch-common-page-header-langmenu-items-data-from-db/type.d.ts +4 -0
  44. package/common/page-data/common/header/lang-menu/items/utils/fetch-common-page-header-langmenu-items-data-from-db/type.js +1 -0
  45. package/common/page-data/common/header/lang-menu/items/utils/index.d.ts +1 -0
  46. package/common/page-data/common/header/lang-menu/items/utils/index.js +1 -0
  47. package/common/page-data/common/index.d.ts +3 -0
  48. package/common/page-data/common/index.js +3 -0
  49. package/common/page-data/common/utils/compose-common-page-data/index.d.ts +2 -0
  50. package/common/page-data/common/utils/compose-common-page-data/index.js +7 -0
  51. package/common/page-data/common/utils/compose-common-page-data/type.d.ts +5 -0
  52. package/common/page-data/common/utils/compose-common-page-data/type.js +1 -0
  53. package/common/page-data/common/utils/fetch-common-page-data-from-db/index.d.ts +2 -0
  54. package/common/page-data/common/utils/fetch-common-page-data-from-db/index.js +17 -0
  55. package/common/page-data/common/utils/fetch-common-page-data-from-db/type.d.ts +4 -0
  56. package/common/page-data/common/utils/fetch-common-page-data-from-db/type.js +1 -0
  57. package/common/page-data/common/utils/index.d.ts +2 -0
  58. package/common/page-data/common/utils/index.js +2 -0
  59. package/common/page-data/index.d.ts +1 -0
  60. package/common/page-data/index.js +1 -0
  61. package/database/model/person/configs/index.d.ts +161 -161
  62. package/package.json +1 -1
  63. /package/cache/{redis → common/cache-key/common-page-header-langmenu-items-cache-key}/domains.js +0 -0
@@ -4,22 +4,33 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
4
4
  }, {
5
5
  name?: string | null | undefined;
6
6
  createdAt?: NativeDate | null | undefined;
7
+ description?: string | null | undefined;
8
+ userId?: string | null | undefined;
9
+ birth?: {
10
+ date?: string | null | undefined;
11
+ place?: {
12
+ countryCode?: string | null | undefined;
13
+ } | null | undefined;
14
+ } | null | undefined;
15
+ death?: {
16
+ date?: string | null | undefined;
17
+ } | null | undefined;
7
18
  images?: mongoose.Types.DocumentArray<{
8
19
  name?: string | null | undefined;
9
20
  dimensions?: {
10
21
  original?: {
11
- width?: number | null | undefined;
12
22
  height?: number | null | undefined;
23
+ width?: number | null | undefined;
13
24
  } | null | undefined;
14
25
  resized?: mongoose.Types.DocumentArray<{
15
- width?: number | null | undefined;
16
26
  height?: number | null | undefined;
17
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
18
27
  width?: number | null | undefined;
28
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
19
29
  height?: number | null | undefined;
20
- }> & {
21
30
  width?: number | null | undefined;
31
+ }> & {
22
32
  height?: number | null | undefined;
33
+ width?: number | null | undefined;
23
34
  }> | null | undefined;
24
35
  } | null | undefined;
25
36
  extension?: string | null | undefined;
@@ -27,18 +38,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
27
38
  name?: string | null | undefined;
28
39
  dimensions?: {
29
40
  original?: {
30
- width?: number | null | undefined;
31
41
  height?: number | null | undefined;
42
+ width?: number | null | undefined;
32
43
  } | null | undefined;
33
44
  resized?: mongoose.Types.DocumentArray<{
34
- width?: number | null | undefined;
35
45
  height?: number | null | undefined;
36
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
37
46
  width?: number | null | undefined;
47
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
38
48
  height?: number | null | undefined;
39
- }> & {
40
49
  width?: number | null | undefined;
50
+ }> & {
41
51
  height?: number | null | undefined;
52
+ width?: number | null | undefined;
42
53
  }> | null | undefined;
43
54
  } | null | undefined;
44
55
  extension?: string | null | undefined;
@@ -46,22 +57,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
46
57
  name?: string | null | undefined;
47
58
  dimensions?: {
48
59
  original?: {
49
- width?: number | null | undefined;
50
60
  height?: number | null | undefined;
61
+ width?: number | null | undefined;
51
62
  } | null | undefined;
52
63
  resized?: mongoose.Types.DocumentArray<{
53
- width?: number | null | undefined;
54
64
  height?: number | null | undefined;
55
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
56
65
  width?: number | null | undefined;
66
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
57
67
  height?: number | null | undefined;
58
- }> & {
59
68
  width?: number | null | undefined;
69
+ }> & {
60
70
  height?: number | null | undefined;
71
+ width?: number | null | undefined;
61
72
  }> | null | undefined;
62
73
  } | null | undefined;
63
74
  extension?: string | null | undefined;
64
75
  }> | null | undefined;
76
+ isProposable?: boolean | null | undefined;
77
+ }, mongoose.Document<unknown, {}, {
78
+ name?: string | null | undefined;
79
+ createdAt?: NativeDate | null | undefined;
65
80
  description?: string | null | undefined;
66
81
  userId?: string | null | undefined;
67
82
  birth?: {
@@ -73,26 +88,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
73
88
  death?: {
74
89
  date?: string | null | undefined;
75
90
  } | null | undefined;
76
- isProposable?: boolean | null | undefined;
77
- }, mongoose.Document<unknown, {}, {
78
- name?: string | null | undefined;
79
- createdAt?: NativeDate | null | undefined;
80
91
  images?: mongoose.Types.DocumentArray<{
81
92
  name?: string | null | undefined;
82
93
  dimensions?: {
83
94
  original?: {
84
- width?: number | null | undefined;
85
95
  height?: number | null | undefined;
96
+ width?: number | null | undefined;
86
97
  } | null | undefined;
87
98
  resized?: mongoose.Types.DocumentArray<{
88
- width?: number | null | undefined;
89
99
  height?: number | null | undefined;
90
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
91
100
  width?: number | null | undefined;
101
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
92
102
  height?: number | null | undefined;
93
- }> & {
94
103
  width?: number | null | undefined;
104
+ }> & {
95
105
  height?: number | null | undefined;
106
+ width?: number | null | undefined;
96
107
  }> | null | undefined;
97
108
  } | null | undefined;
98
109
  extension?: string | null | undefined;
@@ -100,18 +111,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
100
111
  name?: string | null | undefined;
101
112
  dimensions?: {
102
113
  original?: {
103
- width?: number | null | undefined;
104
114
  height?: number | null | undefined;
115
+ width?: number | null | undefined;
105
116
  } | null | undefined;
106
117
  resized?: mongoose.Types.DocumentArray<{
107
- width?: number | null | undefined;
108
118
  height?: number | null | undefined;
109
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
110
119
  width?: number | null | undefined;
120
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
111
121
  height?: number | null | undefined;
112
- }> & {
113
122
  width?: number | null | undefined;
123
+ }> & {
114
124
  height?: number | null | undefined;
125
+ width?: number | null | undefined;
115
126
  }> | null | undefined;
116
127
  } | null | undefined;
117
128
  extension?: string | null | undefined;
@@ -119,22 +130,30 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
119
130
  name?: string | null | undefined;
120
131
  dimensions?: {
121
132
  original?: {
122
- width?: number | null | undefined;
123
133
  height?: number | null | undefined;
134
+ width?: number | null | undefined;
124
135
  } | null | undefined;
125
136
  resized?: mongoose.Types.DocumentArray<{
126
- width?: number | null | undefined;
127
137
  height?: number | null | undefined;
128
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
129
138
  width?: number | null | undefined;
139
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
130
140
  height?: number | null | undefined;
131
- }> & {
132
141
  width?: number | null | undefined;
142
+ }> & {
133
143
  height?: number | null | undefined;
144
+ width?: number | null | undefined;
134
145
  }> | null | undefined;
135
146
  } | null | undefined;
136
147
  extension?: string | null | undefined;
137
148
  }> | null | undefined;
149
+ isProposable?: boolean | null | undefined;
150
+ }, {
151
+ id: string;
152
+ }, mongoose.ResolveSchemaOptions<{
153
+ versionKey: false;
154
+ }>> & Omit<{
155
+ name?: string | null | undefined;
156
+ createdAt?: NativeDate | null | undefined;
138
157
  description?: string | null | undefined;
139
158
  userId?: string | null | undefined;
140
159
  birth?: {
@@ -146,30 +165,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
146
165
  death?: {
147
166
  date?: string | null | undefined;
148
167
  } | null | undefined;
149
- isProposable?: boolean | null | undefined;
150
- }, {
151
- id: string;
152
- }, mongoose.ResolveSchemaOptions<{
153
- versionKey: false;
154
- }>> & Omit<{
155
- name?: string | null | undefined;
156
- createdAt?: NativeDate | null | undefined;
157
168
  images?: mongoose.Types.DocumentArray<{
158
169
  name?: string | null | undefined;
159
170
  dimensions?: {
160
171
  original?: {
161
- width?: number | null | undefined;
162
172
  height?: number | null | undefined;
173
+ width?: number | null | undefined;
163
174
  } | null | undefined;
164
175
  resized?: mongoose.Types.DocumentArray<{
165
- width?: number | null | undefined;
166
176
  height?: number | null | undefined;
167
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
168
177
  width?: number | null | undefined;
178
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
169
179
  height?: number | null | undefined;
170
- }> & {
171
180
  width?: number | null | undefined;
181
+ }> & {
172
182
  height?: number | null | undefined;
183
+ width?: number | null | undefined;
173
184
  }> | null | undefined;
174
185
  } | null | undefined;
175
186
  extension?: string | null | undefined;
@@ -177,18 +188,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
177
188
  name?: string | null | undefined;
178
189
  dimensions?: {
179
190
  original?: {
180
- width?: number | null | undefined;
181
191
  height?: number | null | undefined;
192
+ width?: number | null | undefined;
182
193
  } | null | undefined;
183
194
  resized?: mongoose.Types.DocumentArray<{
184
- width?: number | null | undefined;
185
195
  height?: number | null | undefined;
186
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
187
196
  width?: number | null | undefined;
197
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
188
198
  height?: number | null | undefined;
189
- }> & {
190
199
  width?: number | null | undefined;
200
+ }> & {
191
201
  height?: number | null | undefined;
202
+ width?: number | null | undefined;
192
203
  }> | null | undefined;
193
204
  } | null | undefined;
194
205
  extension?: string | null | undefined;
@@ -196,33 +207,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
196
207
  name?: string | null | undefined;
197
208
  dimensions?: {
198
209
  original?: {
199
- width?: number | null | undefined;
200
210
  height?: number | null | undefined;
211
+ width?: number | null | undefined;
201
212
  } | null | undefined;
202
213
  resized?: mongoose.Types.DocumentArray<{
203
- width?: number | null | undefined;
204
214
  height?: number | null | undefined;
205
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
206
215
  width?: number | null | undefined;
216
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
207
217
  height?: number | null | undefined;
208
- }> & {
209
218
  width?: number | null | undefined;
219
+ }> & {
210
220
  height?: number | null | undefined;
221
+ width?: number | null | undefined;
211
222
  }> | null | undefined;
212
223
  } | null | undefined;
213
224
  extension?: string | null | undefined;
214
225
  }> | null | undefined;
215
- description?: string | null | undefined;
216
- userId?: string | null | undefined;
217
- birth?: {
218
- date?: string | null | undefined;
219
- place?: {
220
- countryCode?: string | null | undefined;
221
- } | null | undefined;
222
- } | null | undefined;
223
- death?: {
224
- date?: string | null | undefined;
225
- } | null | undefined;
226
226
  isProposable?: boolean | null | undefined;
227
227
  } & {
228
228
  _id: mongoose.Types.ObjectId;
@@ -234,22 +234,33 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
234
234
  [x: string]: mongoose.SchemaDefinitionProperty<any, any, mongoose.Document<unknown, {}, {
235
235
  name?: string | null | undefined;
236
236
  createdAt?: NativeDate | null | undefined;
237
+ description?: string | null | undefined;
238
+ userId?: string | null | undefined;
239
+ birth?: {
240
+ date?: string | null | undefined;
241
+ place?: {
242
+ countryCode?: string | null | undefined;
243
+ } | null | undefined;
244
+ } | null | undefined;
245
+ death?: {
246
+ date?: string | null | undefined;
247
+ } | null | undefined;
237
248
  images?: mongoose.Types.DocumentArray<{
238
249
  name?: string | null | undefined;
239
250
  dimensions?: {
240
251
  original?: {
241
- width?: number | null | undefined;
242
252
  height?: number | null | undefined;
253
+ width?: number | null | undefined;
243
254
  } | null | undefined;
244
255
  resized?: mongoose.Types.DocumentArray<{
245
- width?: number | null | undefined;
246
256
  height?: number | null | undefined;
247
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
248
257
  width?: number | null | undefined;
258
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
249
259
  height?: number | null | undefined;
250
- }> & {
251
260
  width?: number | null | undefined;
261
+ }> & {
252
262
  height?: number | null | undefined;
263
+ width?: number | null | undefined;
253
264
  }> | null | undefined;
254
265
  } | null | undefined;
255
266
  extension?: string | null | undefined;
@@ -257,18 +268,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
257
268
  name?: string | null | undefined;
258
269
  dimensions?: {
259
270
  original?: {
260
- width?: number | null | undefined;
261
271
  height?: number | null | undefined;
272
+ width?: number | null | undefined;
262
273
  } | null | undefined;
263
274
  resized?: mongoose.Types.DocumentArray<{
264
- width?: number | null | undefined;
265
275
  height?: number | null | undefined;
266
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
267
276
  width?: number | null | undefined;
277
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
268
278
  height?: number | null | undefined;
269
- }> & {
270
279
  width?: number | null | undefined;
280
+ }> & {
271
281
  height?: number | null | undefined;
282
+ width?: number | null | undefined;
272
283
  }> | null | undefined;
273
284
  } | null | undefined;
274
285
  extension?: string | null | undefined;
@@ -276,22 +287,30 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
276
287
  name?: string | null | undefined;
277
288
  dimensions?: {
278
289
  original?: {
279
- width?: number | null | undefined;
280
290
  height?: number | null | undefined;
291
+ width?: number | null | undefined;
281
292
  } | null | undefined;
282
293
  resized?: mongoose.Types.DocumentArray<{
283
- width?: number | null | undefined;
284
294
  height?: number | null | undefined;
285
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
286
295
  width?: number | null | undefined;
296
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
287
297
  height?: number | null | undefined;
288
- }> & {
289
298
  width?: number | null | undefined;
299
+ }> & {
290
300
  height?: number | null | undefined;
301
+ width?: number | null | undefined;
291
302
  }> | null | undefined;
292
303
  } | null | undefined;
293
304
  extension?: string | null | undefined;
294
305
  }> | null | undefined;
306
+ isProposable?: boolean | null | undefined;
307
+ }, {
308
+ id: string;
309
+ }, mongoose.ResolveSchemaOptions<{
310
+ versionKey: false;
311
+ }>> & Omit<{
312
+ name?: string | null | undefined;
313
+ createdAt?: NativeDate | null | undefined;
295
314
  description?: string | null | undefined;
296
315
  userId?: string | null | undefined;
297
316
  birth?: {
@@ -303,30 +322,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
303
322
  death?: {
304
323
  date?: string | null | undefined;
305
324
  } | null | undefined;
306
- isProposable?: boolean | null | undefined;
307
- }, {
308
- id: string;
309
- }, mongoose.ResolveSchemaOptions<{
310
- versionKey: false;
311
- }>> & Omit<{
312
- name?: string | null | undefined;
313
- createdAt?: NativeDate | null | undefined;
314
325
  images?: mongoose.Types.DocumentArray<{
315
326
  name?: string | null | undefined;
316
327
  dimensions?: {
317
328
  original?: {
318
- width?: number | null | undefined;
319
329
  height?: number | null | undefined;
330
+ width?: number | null | undefined;
320
331
  } | null | undefined;
321
332
  resized?: mongoose.Types.DocumentArray<{
322
- width?: number | null | undefined;
323
333
  height?: number | null | undefined;
324
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
325
334
  width?: number | null | undefined;
335
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
326
336
  height?: number | null | undefined;
327
- }> & {
328
337
  width?: number | null | undefined;
338
+ }> & {
329
339
  height?: number | null | undefined;
340
+ width?: number | null | undefined;
330
341
  }> | null | undefined;
331
342
  } | null | undefined;
332
343
  extension?: string | null | undefined;
@@ -334,18 +345,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
334
345
  name?: string | null | undefined;
335
346
  dimensions?: {
336
347
  original?: {
337
- width?: number | null | undefined;
338
348
  height?: number | null | undefined;
349
+ width?: number | null | undefined;
339
350
  } | null | undefined;
340
351
  resized?: mongoose.Types.DocumentArray<{
341
- width?: number | null | undefined;
342
352
  height?: number | null | undefined;
343
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
344
353
  width?: number | null | undefined;
354
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
345
355
  height?: number | null | undefined;
346
- }> & {
347
356
  width?: number | null | undefined;
357
+ }> & {
348
358
  height?: number | null | undefined;
359
+ width?: number | null | undefined;
349
360
  }> | null | undefined;
350
361
  } | null | undefined;
351
362
  extension?: string | null | undefined;
@@ -353,33 +364,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
353
364
  name?: string | null | undefined;
354
365
  dimensions?: {
355
366
  original?: {
356
- width?: number | null | undefined;
357
367
  height?: number | null | undefined;
368
+ width?: number | null | undefined;
358
369
  } | null | undefined;
359
370
  resized?: mongoose.Types.DocumentArray<{
360
- width?: number | null | undefined;
361
371
  height?: number | null | undefined;
362
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
363
372
  width?: number | null | undefined;
373
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
364
374
  height?: number | null | undefined;
365
- }> & {
366
375
  width?: number | null | undefined;
376
+ }> & {
367
377
  height?: number | null | undefined;
378
+ width?: number | null | undefined;
368
379
  }> | null | undefined;
369
380
  } | null | undefined;
370
381
  extension?: string | null | undefined;
371
382
  }> | null | undefined;
372
- description?: string | null | undefined;
373
- userId?: string | null | undefined;
374
- birth?: {
375
- date?: string | null | undefined;
376
- place?: {
377
- countryCode?: string | null | undefined;
378
- } | null | undefined;
379
- } | null | undefined;
380
- death?: {
381
- date?: string | null | undefined;
382
- } | null | undefined;
383
383
  isProposable?: boolean | null | undefined;
384
384
  } & {
385
385
  _id: mongoose.Types.ObjectId;
@@ -389,22 +389,33 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
389
389
  }, {
390
390
  name?: string | null | undefined;
391
391
  createdAt?: NativeDate | null | undefined;
392
+ description?: string | null | undefined;
393
+ userId?: string | null | undefined;
394
+ birth?: {
395
+ date?: string | null | undefined;
396
+ place?: {
397
+ countryCode?: string | null | undefined;
398
+ } | null | undefined;
399
+ } | null | undefined;
400
+ death?: {
401
+ date?: string | null | undefined;
402
+ } | null | undefined;
392
403
  images?: mongoose.Types.DocumentArray<{
393
404
  name?: string | null | undefined;
394
405
  dimensions?: {
395
406
  original?: {
396
- width?: number | null | undefined;
397
407
  height?: number | null | undefined;
408
+ width?: number | null | undefined;
398
409
  } | null | undefined;
399
410
  resized?: mongoose.Types.DocumentArray<{
400
- width?: number | null | undefined;
401
411
  height?: number | null | undefined;
402
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
403
412
  width?: number | null | undefined;
413
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
404
414
  height?: number | null | undefined;
405
- }> & {
406
415
  width?: number | null | undefined;
416
+ }> & {
407
417
  height?: number | null | undefined;
418
+ width?: number | null | undefined;
408
419
  }> | null | undefined;
409
420
  } | null | undefined;
410
421
  extension?: string | null | undefined;
@@ -412,26 +423,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
412
423
  name?: string | null | undefined;
413
424
  dimensions?: {
414
425
  original?: {
415
- width?: number | null | undefined;
416
426
  height?: number | null | undefined;
427
+ width?: number | null | undefined;
417
428
  } | null | undefined;
418
429
  resized?: mongoose.Types.DocumentArray<string | {
419
- width?: number | null | undefined;
420
430
  height?: number | null | undefined;
431
+ width?: number | null | undefined;
421
432
  } | {
422
433
  _id: mongoose.Types.ObjectId;
423
434
  } | {
424
435
  _id: string;
425
436
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
426
- width?: number | null | undefined;
427
437
  height?: number | null | undefined;
438
+ width?: number | null | undefined;
428
439
  } | {
429
440
  _id: mongoose.Types.ObjectId;
430
441
  } | {
431
442
  _id: string;
432
443
  }> & (string | {
433
- width?: number | null | undefined;
434
444
  height?: number | null | undefined;
445
+ width?: number | null | undefined;
435
446
  } | {
436
447
  _id: mongoose.Types.ObjectId;
437
448
  } | {
@@ -444,22 +455,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
444
455
  name?: string | null | undefined;
445
456
  dimensions?: {
446
457
  original?: {
447
- width?: number | null | undefined;
448
458
  height?: number | null | undefined;
459
+ width?: number | null | undefined;
449
460
  } | null | undefined;
450
461
  resized?: mongoose.Types.DocumentArray<string | {
451
- width?: number | null | undefined;
452
462
  height?: number | null | undefined;
463
+ width?: number | null | undefined;
453
464
  } | {
454
465
  _id: mongoose.Types.ObjectId;
455
466
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
456
- width?: number | null | undefined;
457
467
  height?: number | null | undefined;
468
+ width?: number | null | undefined;
458
469
  } | {
459
470
  _id: mongoose.Types.ObjectId;
460
471
  }> & (string | {
461
- width?: number | null | undefined;
462
472
  height?: number | null | undefined;
473
+ width?: number | null | undefined;
463
474
  } | {
464
475
  _id: mongoose.Types.ObjectId;
465
476
  })> | null | undefined;
@@ -470,26 +481,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
470
481
  name?: string | null | undefined;
471
482
  dimensions?: {
472
483
  original?: {
473
- width?: number | null | undefined;
474
484
  height?: number | null | undefined;
485
+ width?: number | null | undefined;
475
486
  } | null | undefined;
476
487
  resized?: mongoose.Types.DocumentArray<string | {
477
- width?: number | null | undefined;
478
488
  height?: number | null | undefined;
489
+ width?: number | null | undefined;
479
490
  } | {
480
491
  _id: mongoose.Types.ObjectId;
481
492
  } | {
482
493
  _id: string;
483
494
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
484
- width?: number | null | undefined;
485
495
  height?: number | null | undefined;
496
+ width?: number | null | undefined;
486
497
  } | {
487
498
  _id: mongoose.Types.ObjectId;
488
499
  } | {
489
500
  _id: string;
490
501
  }> & (string | {
491
- width?: number | null | undefined;
492
502
  height?: number | null | undefined;
503
+ width?: number | null | undefined;
493
504
  } | {
494
505
  _id: mongoose.Types.ObjectId;
495
506
  } | {
@@ -502,18 +513,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
502
513
  name?: string | null | undefined;
503
514
  dimensions?: {
504
515
  original?: {
505
- width?: number | null | undefined;
506
516
  height?: number | null | undefined;
517
+ width?: number | null | undefined;
507
518
  } | null | undefined;
508
519
  resized?: mongoose.Types.DocumentArray<{
509
- width?: number | null | undefined;
510
520
  height?: number | null | undefined;
511
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
512
521
  width?: number | null | undefined;
522
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
513
523
  height?: number | null | undefined;
514
- }> & {
515
524
  width?: number | null | undefined;
525
+ }> & {
516
526
  height?: number | null | undefined;
527
+ width?: number | null | undefined;
517
528
  }> | null | undefined;
518
529
  } | null | undefined;
519
530
  extension?: string | null | undefined;
@@ -521,26 +532,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
521
532
  name?: string | null | undefined;
522
533
  dimensions?: {
523
534
  original?: {
524
- width?: number | null | undefined;
525
535
  height?: number | null | undefined;
536
+ width?: number | null | undefined;
526
537
  } | null | undefined;
527
538
  resized?: mongoose.Types.DocumentArray<string | {
528
- width?: number | null | undefined;
529
539
  height?: number | null | undefined;
540
+ width?: number | null | undefined;
530
541
  } | {
531
542
  _id: mongoose.Types.ObjectId;
532
543
  } | {
533
544
  _id: string;
534
545
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
535
- width?: number | null | undefined;
536
546
  height?: number | null | undefined;
547
+ width?: number | null | undefined;
537
548
  } | {
538
549
  _id: mongoose.Types.ObjectId;
539
550
  } | {
540
551
  _id: string;
541
552
  }> & (string | {
542
- width?: number | null | undefined;
543
553
  height?: number | null | undefined;
554
+ width?: number | null | undefined;
544
555
  } | {
545
556
  _id: mongoose.Types.ObjectId;
546
557
  } | {
@@ -553,22 +564,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
553
564
  name?: string | null | undefined;
554
565
  dimensions?: {
555
566
  original?: {
556
- width?: number | null | undefined;
557
567
  height?: number | null | undefined;
568
+ width?: number | null | undefined;
558
569
  } | null | undefined;
559
570
  resized?: mongoose.Types.DocumentArray<string | {
560
- width?: number | null | undefined;
561
571
  height?: number | null | undefined;
572
+ width?: number | null | undefined;
562
573
  } | {
563
574
  _id: mongoose.Types.ObjectId;
564
575
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
565
- width?: number | null | undefined;
566
576
  height?: number | null | undefined;
577
+ width?: number | null | undefined;
567
578
  } | {
568
579
  _id: mongoose.Types.ObjectId;
569
580
  }> & (string | {
570
- width?: number | null | undefined;
571
581
  height?: number | null | undefined;
582
+ width?: number | null | undefined;
572
583
  } | {
573
584
  _id: mongoose.Types.ObjectId;
574
585
  })> | null | undefined;
@@ -579,26 +590,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
579
590
  name?: string | null | undefined;
580
591
  dimensions?: {
581
592
  original?: {
582
- width?: number | null | undefined;
583
593
  height?: number | null | undefined;
594
+ width?: number | null | undefined;
584
595
  } | null | undefined;
585
596
  resized?: mongoose.Types.DocumentArray<string | {
586
- width?: number | null | undefined;
587
597
  height?: number | null | undefined;
598
+ width?: number | null | undefined;
588
599
  } | {
589
600
  _id: mongoose.Types.ObjectId;
590
601
  } | {
591
602
  _id: string;
592
603
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
593
- width?: number | null | undefined;
594
604
  height?: number | null | undefined;
605
+ width?: number | null | undefined;
595
606
  } | {
596
607
  _id: mongoose.Types.ObjectId;
597
608
  } | {
598
609
  _id: string;
599
610
  }> & (string | {
600
- width?: number | null | undefined;
601
611
  height?: number | null | undefined;
612
+ width?: number | null | undefined;
602
613
  } | {
603
614
  _id: mongoose.Types.ObjectId;
604
615
  } | {
@@ -611,18 +622,18 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
611
622
  name?: string | null | undefined;
612
623
  dimensions?: {
613
624
  original?: {
614
- width?: number | null | undefined;
615
625
  height?: number | null | undefined;
626
+ width?: number | null | undefined;
616
627
  } | null | undefined;
617
628
  resized?: mongoose.Types.DocumentArray<{
618
- width?: number | null | undefined;
619
629
  height?: number | null | undefined;
620
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
621
630
  width?: number | null | undefined;
631
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
622
632
  height?: number | null | undefined;
623
- }> & {
624
633
  width?: number | null | undefined;
634
+ }> & {
625
635
  height?: number | null | undefined;
636
+ width?: number | null | undefined;
626
637
  }> | null | undefined;
627
638
  } | null | undefined;
628
639
  extension?: string | null | undefined;
@@ -630,26 +641,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
630
641
  name?: string | null | undefined;
631
642
  dimensions?: {
632
643
  original?: {
633
- width?: number | null | undefined;
634
644
  height?: number | null | undefined;
645
+ width?: number | null | undefined;
635
646
  } | null | undefined;
636
647
  resized?: mongoose.Types.DocumentArray<string | {
637
- width?: number | null | undefined;
638
648
  height?: number | null | undefined;
649
+ width?: number | null | undefined;
639
650
  } | {
640
651
  _id: mongoose.Types.ObjectId;
641
652
  } | {
642
653
  _id: string;
643
654
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
644
- width?: number | null | undefined;
645
655
  height?: number | null | undefined;
656
+ width?: number | null | undefined;
646
657
  } | {
647
658
  _id: mongoose.Types.ObjectId;
648
659
  } | {
649
660
  _id: string;
650
661
  }> & (string | {
651
- width?: number | null | undefined;
652
662
  height?: number | null | undefined;
663
+ width?: number | null | undefined;
653
664
  } | {
654
665
  _id: mongoose.Types.ObjectId;
655
666
  } | {
@@ -662,22 +673,22 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
662
673
  name?: string | null | undefined;
663
674
  dimensions?: {
664
675
  original?: {
665
- width?: number | null | undefined;
666
676
  height?: number | null | undefined;
677
+ width?: number | null | undefined;
667
678
  } | null | undefined;
668
679
  resized?: mongoose.Types.DocumentArray<string | {
669
- width?: number | null | undefined;
670
680
  height?: number | null | undefined;
681
+ width?: number | null | undefined;
671
682
  } | {
672
683
  _id: mongoose.Types.ObjectId;
673
684
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
674
- width?: number | null | undefined;
675
685
  height?: number | null | undefined;
686
+ width?: number | null | undefined;
676
687
  } | {
677
688
  _id: mongoose.Types.ObjectId;
678
689
  }> & (string | {
679
- width?: number | null | undefined;
680
690
  height?: number | null | undefined;
691
+ width?: number | null | undefined;
681
692
  } | {
682
693
  _id: mongoose.Types.ObjectId;
683
694
  })> | null | undefined;
@@ -688,26 +699,26 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
688
699
  name?: string | null | undefined;
689
700
  dimensions?: {
690
701
  original?: {
691
- width?: number | null | undefined;
692
702
  height?: number | null | undefined;
703
+ width?: number | null | undefined;
693
704
  } | null | undefined;
694
705
  resized?: mongoose.Types.DocumentArray<string | {
695
- width?: number | null | undefined;
696
706
  height?: number | null | undefined;
707
+ width?: number | null | undefined;
697
708
  } | {
698
709
  _id: mongoose.Types.ObjectId;
699
710
  } | {
700
711
  _id: string;
701
712
  }, mongoose.Types.Subdocument<string | mongoose.Types.ObjectId | mongoose.mongo.BSON.ObjectId, unknown, string | {
702
- width?: number | null | undefined;
703
713
  height?: number | null | undefined;
714
+ width?: number | null | undefined;
704
715
  } | {
705
716
  _id: mongoose.Types.ObjectId;
706
717
  } | {
707
718
  _id: string;
708
719
  }> & (string | {
709
- width?: number | null | undefined;
710
720
  height?: number | null | undefined;
721
+ width?: number | null | undefined;
711
722
  } | {
712
723
  _id: mongoose.Types.ObjectId;
713
724
  } | {
@@ -717,17 +728,6 @@ export declare const PersonDbSchema: mongoose.Schema<any, mongoose.Model<any, an
717
728
  extension?: string | null | undefined;
718
729
  _id: string;
719
730
  })> | null | undefined;
720
- description?: string | null | undefined;
721
- userId?: string | null | undefined;
722
- birth?: {
723
- date?: string | null | undefined;
724
- place?: {
725
- countryCode?: string | null | undefined;
726
- } | null | undefined;
727
- } | null | undefined;
728
- death?: {
729
- date?: string | null | undefined;
730
- } | null | undefined;
731
731
  isProposable?: boolean | null | undefined;
732
732
  } & {
733
733
  _id: mongoose.Types.ObjectId;