@strapi/core 5.0.5 → 5.0.6

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.
@@ -20,351 +20,47 @@ export declare const getComponentJoinColumnInverseName: (identifiers: Identifier
20
20
  export declare const getComponentTypeColumn: (identifiers: Identifiers) => string;
21
21
  export declare const getComponentFkIndexName: (contentType: string, identifiers: Identifiers) => string;
22
22
  export type LoadedContentTypeModel = Struct.ContentTypeSchema & Required<Pick<Struct.ContentTypeSchema, 'collectionName' | 'uid' | 'modelName'>> & Pick<Model, 'lifecycles'>;
23
- export declare const transformAttribute: (name: string, attribute: Schema.Attribute.AnyAttribute, contentType: LoadedContentTypeModel, identifiers: Identifiers) => {
24
- type: "biginteger";
25
- pluginOptions?: object | undefined;
26
- searchable?: boolean | undefined;
27
- configurable?: boolean | undefined;
28
- default?: string | (() => string) | undefined;
29
- min?: string | undefined;
30
- max?: string | undefined;
31
- private?: boolean | undefined;
32
- required?: boolean | undefined;
33
- writable?: boolean | undefined;
34
- visible?: boolean | undefined;
35
- unique?: boolean | undefined;
36
- } | {
37
- type: "boolean";
38
- pluginOptions?: object | undefined;
39
- searchable?: boolean | undefined;
40
- configurable?: boolean | undefined;
41
- default?: boolean | (() => boolean) | undefined;
42
- private?: boolean | undefined;
43
- required?: boolean | undefined;
44
- writable?: boolean | undefined;
45
- visible?: boolean | undefined;
46
- } | {
47
- type: "blocks";
48
- pluginOptions?: object | undefined;
49
- searchable?: boolean | undefined;
50
- configurable?: boolean | undefined;
51
- private?: boolean | undefined;
52
- required?: boolean | undefined;
53
- writable?: boolean | undefined;
54
- visible?: boolean | undefined;
55
- } | {
56
- type: "datetime";
57
- pluginOptions?: object | undefined;
58
- searchable?: boolean | undefined;
59
- configurable?: boolean | undefined;
60
- default?: Schema.Attribute.DateTimeValue | (() => Schema.Attribute.DateTimeValue) | undefined;
61
- private?: boolean | undefined;
62
- required?: boolean | undefined;
63
- unique?: boolean | undefined;
64
- writable?: boolean | undefined;
65
- visible?: boolean | undefined;
66
- } | {
67
- type: "date";
68
- pluginOptions?: object | undefined;
69
- searchable?: boolean | undefined;
70
- configurable?: boolean | undefined;
71
- default?: Schema.Attribute.DateValue | (() => Schema.Attribute.DateValue) | undefined;
72
- private?: boolean | undefined;
73
- required?: boolean | undefined;
74
- unique?: boolean | undefined;
75
- writable?: boolean | undefined;
76
- visible?: boolean | undefined;
77
- } | {
78
- type: "decimal";
79
- pluginOptions?: object | undefined;
80
- searchable?: boolean | undefined;
81
- configurable?: boolean | undefined;
82
- default?: number | (() => number) | undefined;
83
- min?: number | undefined;
84
- max?: number | undefined;
85
- private?: boolean | undefined;
86
- required?: boolean | undefined;
87
- writable?: boolean | undefined;
88
- visible?: boolean | undefined;
89
- unique?: boolean | undefined;
90
- } | {
91
- type: "email";
92
- pluginOptions?: object | undefined;
93
- searchable?: boolean | undefined;
94
- configurable?: boolean | undefined;
95
- default?: string | (() => string) | undefined;
96
- minLength?: number | undefined;
97
- maxLength?: number | undefined;
98
- private?: boolean | undefined;
99
- required?: boolean | undefined;
100
- unique?: boolean | undefined;
101
- writable?: boolean | undefined;
102
- visible?: boolean | undefined;
103
- } | {
104
- type: "enumeration";
105
- pluginOptions?: object | undefined;
106
- searchable?: boolean | undefined;
107
- enum: string[];
108
- enumName?: string | undefined;
109
- configurable?: boolean | undefined;
110
- default?: string | (() => string) | undefined;
111
- private?: boolean | undefined;
112
- required?: boolean | undefined;
113
- writable?: boolean | undefined;
114
- visible?: boolean | undefined;
115
- } | {
116
- type: "float";
117
- pluginOptions?: object | undefined;
118
- searchable?: boolean | undefined;
119
- configurable?: boolean | undefined;
120
- default?: number | (() => number) | undefined;
121
- min?: number | undefined;
122
- max?: number | undefined;
123
- private?: boolean | undefined;
124
- required?: boolean | undefined;
125
- writable?: boolean | undefined;
126
- visible?: boolean | undefined;
127
- unique?: boolean | undefined;
128
- } | {
129
- type: "integer";
130
- pluginOptions?: object | undefined;
131
- searchable?: boolean | undefined;
132
- configurable?: boolean | undefined;
133
- default?: number | (() => number) | undefined;
134
- min?: number | undefined;
135
- max?: number | undefined;
136
- private?: boolean | undefined;
137
- required?: boolean | undefined;
138
- writable?: boolean | undefined;
139
- visible?: boolean | undefined;
140
- unique?: boolean | undefined;
141
- } | {
142
- type: "json";
143
- pluginOptions?: object | undefined;
144
- searchable?: boolean | undefined;
145
- configurable?: boolean | undefined;
146
- required?: boolean | undefined;
147
- private?: boolean | undefined;
148
- writable?: boolean | undefined;
149
- visible?: boolean | undefined;
150
- default?: import("@strapi/types/dist/utils").JSONPrimitive | (() => import("@strapi/types/dist/utils").JSONPrimitive) | undefined;
151
- } | {
152
- type: "password";
153
- pluginOptions?: object | undefined;
154
- searchable?: boolean | undefined;
155
- configurable?: boolean | undefined;
156
- default?: string | (() => string) | undefined;
157
- minLength?: number | undefined;
158
- maxLength?: number | undefined;
159
- private?: boolean | undefined;
160
- required?: boolean | undefined;
161
- writable?: boolean | undefined;
162
- visible?: boolean | undefined;
163
- } | {
164
- type: "relation";
165
- pluginOptions?: object | undefined;
166
- searchable?: boolean | undefined;
167
- configurable?: boolean | undefined;
168
- private?: boolean | undefined;
169
- writable?: boolean | undefined;
170
- visible?: boolean | undefined;
171
- required?: boolean | undefined;
23
+ export declare const transformAttribute: (name: string, attribute: Schema.Attribute.AnyAttribute, contentType: LoadedContentTypeModel, identifiers: Identifiers) => (Schema.Attribute.OfType<"biginteger"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxOption<string> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.UniqueOption) | (Schema.Attribute.OfType<"boolean"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<boolean> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"blocks"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"datetime"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<Schema.Attribute.DateTimeValue> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.UniqueOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"date"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<Schema.Attribute.DateValue> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.UniqueOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"decimal"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<number> & Schema.Attribute.MinMaxOption<number> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.UniqueOption) | (Schema.Attribute.OfType<"email"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.UniqueOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"enumeration"> & Schema.Attribute.EnumerationProperties<string[]> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"float"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<number> & Schema.Attribute.MinMaxOption<number> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.UniqueOption) | (Schema.Attribute.OfType<"integer"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<number> & Schema.Attribute.MinMaxOption<number> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.UniqueOption) | (Schema.Attribute.OfType<"json"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.RequiredOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.DefaultOption<import("@strapi/types/dist/utils").JSONPrimitive>) | (Schema.Attribute.OfType<"password"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
172
24
  useJoinTable?: boolean | undefined;
25
+ } & {
173
26
  relation: "morphToOne";
174
- } | {
175
- type: "relation";
176
- pluginOptions?: object | undefined;
177
- searchable?: boolean | undefined;
178
- configurable?: boolean | undefined;
179
- private?: boolean | undefined;
180
- writable?: boolean | undefined;
181
- visible?: boolean | undefined;
182
- required?: boolean | undefined;
27
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
183
28
  useJoinTable?: boolean | undefined;
29
+ } & {
184
30
  relation: "morphToMany";
185
- } | {
186
- type: "relation";
187
- pluginOptions?: object | undefined;
188
- searchable?: boolean | undefined;
189
- target: import("@strapi/types/dist/uid").ContentType;
190
- inversedBy?: string | undefined;
191
- mappedBy?: string | undefined;
192
- configurable?: boolean | undefined;
193
- private?: boolean | undefined;
194
- writable?: boolean | undefined;
195
- visible?: boolean | undefined;
196
- required?: boolean | undefined;
31
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.CommonBidirectionalProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
197
32
  useJoinTable?: boolean | undefined;
33
+ } & {
198
34
  relation: "oneToOne";
199
- } | {
200
- type: "relation";
201
- pluginOptions?: object | undefined;
202
- searchable?: boolean | undefined;
203
- target: import("@strapi/types/dist/uid").ContentType;
204
- inversedBy?: string | undefined;
205
- mappedBy?: string | undefined;
206
- configurable?: boolean | undefined;
207
- private?: boolean | undefined;
208
- writable?: boolean | undefined;
209
- visible?: boolean | undefined;
210
- required?: boolean | undefined;
35
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.CommonBidirectionalProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
211
36
  useJoinTable?: boolean | undefined;
37
+ } & {
212
38
  relation: "oneToMany";
213
- } | {
214
- type: "relation";
215
- pluginOptions?: object | undefined;
216
- searchable?: boolean | undefined;
217
- target: import("@strapi/types/dist/uid").ContentType;
218
- inversedBy?: string | undefined;
219
- mappedBy?: string | undefined;
220
- configurable?: boolean | undefined;
221
- private?: boolean | undefined;
222
- writable?: boolean | undefined;
223
- visible?: boolean | undefined;
224
- required?: boolean | undefined;
39
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.CommonBidirectionalProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
225
40
  useJoinTable?: boolean | undefined;
41
+ } & {
226
42
  relation: "manyToOne";
227
- } | {
228
- type: "relation";
229
- pluginOptions?: object | undefined;
230
- searchable?: boolean | undefined;
231
- target: import("@strapi/types/dist/uid").ContentType;
232
- inversedBy?: string | undefined;
233
- mappedBy?: string | undefined;
234
- configurable?: boolean | undefined;
235
- private?: boolean | undefined;
236
- writable?: boolean | undefined;
237
- visible?: boolean | undefined;
238
- required?: boolean | undefined;
43
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.CommonBidirectionalProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
239
44
  useJoinTable?: boolean | undefined;
45
+ } & {
240
46
  relation: "manyToMany";
241
- } | {
242
- type: "relation";
243
- pluginOptions?: object | undefined;
244
- searchable?: boolean | undefined;
245
- target: import("@strapi/types/dist/uid").ContentType;
246
- configurable?: boolean | undefined;
247
- private?: boolean | undefined;
248
- writable?: boolean | undefined;
249
- visible?: boolean | undefined;
250
- required?: boolean | undefined;
47
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.XWayCommonProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
251
48
  useJoinTable?: boolean | undefined;
49
+ } & {
252
50
  relation: "oneWay";
253
- } | {
254
- type: "relation";
255
- pluginOptions?: object | undefined;
256
- searchable?: boolean | undefined;
257
- target: import("@strapi/types/dist/uid").ContentType;
258
- configurable?: boolean | undefined;
259
- private?: boolean | undefined;
260
- writable?: boolean | undefined;
261
- visible?: boolean | undefined;
262
- required?: boolean | undefined;
51
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.XWayCommonProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
263
52
  useJoinTable?: boolean | undefined;
53
+ } & {
264
54
  relation: "manyWay";
265
- } | {
266
- type: "relation";
267
- pluginOptions?: object | undefined;
268
- searchable?: boolean | undefined;
269
- target: import("@strapi/types/dist/uid").ContentType;
270
- morphBy?: string | undefined;
271
- configurable?: boolean | undefined;
272
- private?: boolean | undefined;
273
- writable?: boolean | undefined;
274
- visible?: boolean | undefined;
275
- required?: boolean | undefined;
55
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.MorphReferenceCommonProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
276
56
  useJoinTable?: boolean | undefined;
57
+ } & {
277
58
  relation: "morphOne";
278
- } | {
279
- type: "relation";
280
- pluginOptions?: object | undefined;
281
- searchable?: boolean | undefined;
282
- target: import("@strapi/types/dist/uid").ContentType;
283
- morphBy?: string | undefined;
284
- configurable?: boolean | undefined;
285
- private?: boolean | undefined;
286
- writable?: boolean | undefined;
287
- visible?: boolean | undefined;
288
- required?: boolean | undefined;
59
+ }) | (Schema.Attribute.OfType<"relation"> & Schema.Attribute.MorphReferenceCommonProperties<import("@strapi/types/dist/uid").ContentType> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Schema.Attribute.RequiredOption & {
289
60
  useJoinTable?: boolean | undefined;
61
+ } & {
290
62
  relation: "morphMany";
291
- } | {
292
- type: "richtext";
293
- pluginOptions?: object | undefined;
294
- searchable?: boolean | undefined;
295
- configurable?: boolean | undefined;
296
- default?: string | (() => string) | undefined;
297
- minLength?: number | undefined;
298
- maxLength?: number | undefined;
299
- private?: boolean | undefined;
300
- required?: boolean | undefined;
301
- writable?: boolean | undefined;
302
- visible?: boolean | undefined;
303
- } | {
304
- type: "string";
305
- pluginOptions?: object | undefined;
306
- searchable?: boolean | undefined;
307
- regex?: RegExp | undefined;
308
- configurable?: boolean | undefined;
309
- default?: string | (() => string) | undefined;
310
- minLength?: number | undefined;
311
- maxLength?: number | undefined;
312
- private?: boolean | undefined;
313
- unique?: boolean | undefined;
314
- required?: boolean | undefined;
315
- writable?: boolean | undefined;
316
- visible?: boolean | undefined;
317
- } | {
318
- type: "text";
319
- pluginOptions?: object | undefined;
320
- searchable?: boolean | undefined;
321
- regex?: RegExp | undefined;
322
- configurable?: boolean | undefined;
323
- default?: string | (() => string) | undefined;
324
- minLength?: number | undefined;
325
- maxLength?: number | undefined;
326
- private?: boolean | undefined;
327
- unique?: boolean | undefined;
328
- required?: boolean | undefined;
329
- writable?: boolean | undefined;
330
- visible?: boolean | undefined;
331
- } | {
332
- type: "time";
333
- pluginOptions?: object | undefined;
334
- searchable?: boolean | undefined;
335
- configurable?: boolean | undefined;
336
- default?: Schema.Attribute.TimeValue | (() => Schema.Attribute.TimeValue) | undefined;
337
- private?: boolean | undefined;
338
- required?: boolean | undefined;
339
- unique?: boolean | undefined;
340
- writable?: boolean | undefined;
341
- visible?: boolean | undefined;
342
- } | {
343
- type: "timestamp";
344
- pluginOptions?: object | undefined;
345
- searchable?: boolean | undefined;
346
- configurable?: boolean | undefined;
347
- default?: Schema.Attribute.TimestampValue | (() => Schema.Attribute.TimestampValue) | undefined;
348
- private?: boolean | undefined;
349
- required?: boolean | undefined;
350
- unique?: boolean | undefined;
351
- writable?: boolean | undefined;
352
- visible?: boolean | undefined;
353
- } | {
354
- type: "uid";
355
- pluginOptions?: object | undefined;
356
- searchable?: boolean | undefined;
357
- targetField?: string | undefined;
358
- options?: Schema.Attribute.UIDOptions | undefined;
359
- configurable?: boolean | undefined;
360
- default?: string | (() => string) | undefined;
361
- minLength?: number | undefined;
362
- maxLength?: number | undefined;
363
- private?: boolean | undefined;
364
- required?: boolean | undefined;
365
- writable?: boolean | undefined;
366
- visible?: boolean | undefined;
367
- } | {
63
+ }) | (Schema.Attribute.OfType<"richtext"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"string"> & Schema.Attribute.StringProperties & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.UniqueOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"text"> & Schema.Attribute.TextProperties & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.UniqueOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"time"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<Schema.Attribute.TimeValue> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.UniqueOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"timestamp"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<Schema.Attribute.TimestampValue> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.UniqueOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | (Schema.Attribute.OfType<"uid"> & Schema.Attribute.UIDProperties<string, Schema.Attribute.UIDOptions> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<string> & Schema.Attribute.MinMaxLengthOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption) | {
368
64
  type: string;
369
65
  relation: string;
370
66
  target: string;
@@ -1 +1 @@
1
- {"version":3,"file":"transform-content-types-to-models.d.ts","sourceRoot":"","sources":["../../src/utils/transform-content-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BAAgB,GAAG,KAAK,GAAG,WAAW,CAAC,CAAC,GAChF,IAAI,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;AAG5B,eAAO,MAAM,kBAAkB,SACvB,MAAM,aACD,OAAO,SAAS,CAAC,YAAY,eAC3B,sBAAsB,eACtB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,gBACjB,sBAAsB,eACtB,WAAW,OAazB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gBACf,sBAAsB;UACc,aAAa,GAAG,WAAW;CAI7E,CAAC;AAEF,eAAO,MAAM,gBAAgB,iBAAW,CAAC;AAgFzC,eAAO,MAAM,6BAA6B,iBAC1B,sBAAsB,EAAE,eACzB,WAAW,KACvB,KAAK,EAkEP,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/core",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Core of Strapi",
5
5
  "homepage": "https://strapi.io",
6
6
  "bugs": {
@@ -55,15 +55,15 @@
55
55
  "@koa/cors": "5.0.0",
56
56
  "@koa/router": "12.0.1",
57
57
  "@paralleldrive/cuid2": "2.2.2",
58
- "@strapi/admin": "5.0.5",
59
- "@strapi/database": "5.0.5",
60
- "@strapi/generators": "5.0.5",
61
- "@strapi/logger": "5.0.5",
58
+ "@strapi/admin": "5.0.6",
59
+ "@strapi/database": "5.0.6",
60
+ "@strapi/generators": "5.0.6",
61
+ "@strapi/logger": "5.0.6",
62
62
  "@strapi/pack-up": "5.0.0",
63
- "@strapi/permissions": "5.0.5",
64
- "@strapi/types": "5.0.5",
65
- "@strapi/typescript-utils": "5.0.5",
66
- "@strapi/utils": "5.0.5",
63
+ "@strapi/permissions": "5.0.6",
64
+ "@strapi/types": "5.0.6",
65
+ "@strapi/typescript-utils": "5.0.6",
66
+ "@strapi/utils": "5.0.6",
67
67
  "bcryptjs": "2.4.3",
68
68
  "boxen": "5.1.2",
69
69
  "chalk": "4.1.2",
@@ -126,13 +126,13 @@
126
126
  "@types/node": "18.19.24",
127
127
  "@types/node-schedule": "2.1.7",
128
128
  "@types/statuses": "2.0.1",
129
- "eslint-config-custom": "5.0.5",
129
+ "eslint-config-custom": "5.0.6",
130
130
  "supertest": "6.3.3",
131
- "tsconfig": "5.0.5"
131
+ "tsconfig": "5.0.6"
132
132
  },
133
133
  "engines": {
134
134
  "node": ">=18.0.0 <=22.x.x",
135
135
  "npm": ">=6.0.0"
136
136
  },
137
- "gitHead": "9cbf0e65dc4979f0db4355c05a03917f21448367"
137
+ "gitHead": "a281e06e9e1520e3f86e18c4ff78b8daa7a33356"
138
138
  }