@strapi/content-type-builder 5.0.6 → 5.1.1

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.
@@ -8,7 +8,267 @@ export declare const formatAttributes: (model: any) => any;
8
8
  /**
9
9
  * Formats a component attribute
10
10
  */
11
- export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute & Record<string, any>) => (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 & Record<string, any>) | (Schema.Attribute.OfType<"boolean"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.DefaultOption<boolean> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Record<string, any>) | (Schema.Attribute.OfType<"blocks"> & Schema.Attribute.ConfigurableOption & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Record<string, any>) | (Schema.Attribute.OfType<"component"> & Schema.Attribute.ComponentProperties<`${string}.${string}`, boolean> & Schema.Attribute.ConfigurableOption & Schema.Attribute.MinMaxOption<number> & Schema.Attribute.PrivateOption & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (Schema.Attribute.OfType<"dynamiczone"> & Schema.Attribute.DynamicZoneProperties<`${string}.${string}`[]> & Schema.Attribute.ConfigurableOption & Schema.Attribute.MinMaxOption<number> & Schema.Attribute.RequiredOption & Schema.Attribute.WritableOption & Schema.Attribute.VisibleOption & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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> & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | (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 & Record<string, any>) | {
11
+ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute & Record<string, any>) => ({
12
+ type: "biginteger";
13
+ pluginOptions?: object | undefined;
14
+ searchable?: boolean | undefined;
15
+ column?: Partial<Schema.Attribute.Column> | undefined;
16
+ configurable?: boolean | undefined;
17
+ default?: string | (() => string) | undefined;
18
+ min?: string | undefined;
19
+ max?: string | undefined;
20
+ private?: boolean | undefined;
21
+ required?: boolean | undefined;
22
+ writable?: boolean | undefined;
23
+ visible?: boolean | undefined;
24
+ unique?: boolean | undefined;
25
+ } & Record<string, any>) | ({
26
+ type: "boolean";
27
+ pluginOptions?: object | undefined;
28
+ searchable?: boolean | undefined;
29
+ column?: Partial<Schema.Attribute.Column> | undefined;
30
+ configurable?: boolean | undefined;
31
+ default?: boolean | (() => boolean) | undefined;
32
+ private?: boolean | undefined;
33
+ required?: boolean | undefined;
34
+ writable?: boolean | undefined;
35
+ visible?: boolean | undefined;
36
+ } & Record<string, any>) | ({
37
+ type: "blocks";
38
+ pluginOptions?: object | undefined;
39
+ searchable?: boolean | undefined;
40
+ column?: Partial<Schema.Attribute.Column> | undefined;
41
+ configurable?: boolean | undefined;
42
+ private?: boolean | undefined;
43
+ required?: boolean | undefined;
44
+ writable?: boolean | undefined;
45
+ visible?: boolean | undefined;
46
+ } & Record<string, any>) | ({
47
+ type: "component";
48
+ pluginOptions?: object | undefined;
49
+ searchable?: boolean | undefined;
50
+ column?: Partial<Schema.Attribute.Column> | undefined;
51
+ component: `${string}.${string}`;
52
+ repeatable?: boolean | undefined;
53
+ configurable?: boolean | undefined;
54
+ min?: number | undefined;
55
+ max?: number | undefined;
56
+ private?: boolean | undefined;
57
+ required?: boolean | undefined;
58
+ writable?: boolean | undefined;
59
+ visible?: boolean | undefined;
60
+ } & Record<string, any>) | ({
61
+ type: "datetime";
62
+ pluginOptions?: object | undefined;
63
+ searchable?: boolean | undefined;
64
+ column?: Partial<Schema.Attribute.Column> | undefined;
65
+ configurable?: boolean | undefined;
66
+ default?: Schema.Attribute.DateTimeValue | (() => Schema.Attribute.DateTimeValue) | undefined;
67
+ private?: boolean | undefined;
68
+ required?: boolean | undefined;
69
+ unique?: boolean | undefined;
70
+ writable?: boolean | undefined;
71
+ visible?: boolean | undefined;
72
+ } & Record<string, any>) | ({
73
+ type: "date";
74
+ pluginOptions?: object | undefined;
75
+ searchable?: boolean | undefined;
76
+ column?: Partial<Schema.Attribute.Column> | undefined;
77
+ configurable?: boolean | undefined;
78
+ default?: Schema.Attribute.DateValue | (() => Schema.Attribute.DateValue) | undefined;
79
+ private?: boolean | undefined;
80
+ required?: boolean | undefined;
81
+ unique?: boolean | undefined;
82
+ writable?: boolean | undefined;
83
+ visible?: boolean | undefined;
84
+ } & Record<string, any>) | ({
85
+ type: "decimal";
86
+ pluginOptions?: object | undefined;
87
+ searchable?: boolean | undefined;
88
+ column?: Partial<Schema.Attribute.Column> | undefined;
89
+ configurable?: boolean | undefined;
90
+ default?: number | (() => number) | undefined;
91
+ min?: number | undefined;
92
+ max?: number | undefined;
93
+ private?: boolean | undefined;
94
+ required?: boolean | undefined;
95
+ writable?: boolean | undefined;
96
+ visible?: boolean | undefined;
97
+ unique?: boolean | undefined;
98
+ } & Record<string, any>) | ({
99
+ type: "dynamiczone";
100
+ pluginOptions?: object | undefined;
101
+ searchable?: boolean | undefined;
102
+ column?: Partial<Schema.Attribute.Column> | undefined;
103
+ components: `${string}.${string}`[];
104
+ configurable?: boolean | undefined;
105
+ min?: number | undefined;
106
+ max?: number | undefined;
107
+ required?: boolean | undefined;
108
+ writable?: boolean | undefined;
109
+ visible?: boolean | undefined;
110
+ } & Record<string, any>) | ({
111
+ type: "email";
112
+ pluginOptions?: object | undefined;
113
+ searchable?: boolean | undefined;
114
+ column?: Partial<Schema.Attribute.Column> | undefined;
115
+ configurable?: boolean | undefined;
116
+ default?: string | (() => string) | undefined;
117
+ minLength?: number | undefined;
118
+ maxLength?: number | undefined;
119
+ private?: boolean | undefined;
120
+ required?: boolean | undefined;
121
+ unique?: boolean | undefined;
122
+ writable?: boolean | undefined;
123
+ visible?: boolean | undefined;
124
+ } & Record<string, any>) | ({
125
+ type: "enumeration";
126
+ pluginOptions?: object | undefined;
127
+ searchable?: boolean | undefined;
128
+ column?: Partial<Schema.Attribute.Column> | undefined;
129
+ enum: string[];
130
+ enumName?: string | undefined;
131
+ configurable?: boolean | undefined;
132
+ default?: string | (() => string) | undefined;
133
+ private?: boolean | undefined;
134
+ required?: boolean | undefined;
135
+ writable?: boolean | undefined;
136
+ visible?: boolean | undefined;
137
+ } & Record<string, any>) | ({
138
+ type: "float";
139
+ pluginOptions?: object | undefined;
140
+ searchable?: boolean | undefined;
141
+ column?: Partial<Schema.Attribute.Column> | undefined;
142
+ configurable?: boolean | undefined;
143
+ default?: number | (() => number) | undefined;
144
+ min?: number | undefined;
145
+ max?: number | undefined;
146
+ private?: boolean | undefined;
147
+ required?: boolean | undefined;
148
+ writable?: boolean | undefined;
149
+ visible?: boolean | undefined;
150
+ unique?: boolean | undefined;
151
+ } & Record<string, any>) | ({
152
+ type: "integer";
153
+ pluginOptions?: object | undefined;
154
+ searchable?: boolean | undefined;
155
+ column?: Partial<Schema.Attribute.Column> | undefined;
156
+ configurable?: boolean | undefined;
157
+ default?: number | (() => number) | undefined;
158
+ min?: number | undefined;
159
+ max?: number | undefined;
160
+ private?: boolean | undefined;
161
+ required?: boolean | undefined;
162
+ writable?: boolean | undefined;
163
+ visible?: boolean | undefined;
164
+ unique?: boolean | undefined;
165
+ } & Record<string, any>) | ({
166
+ type: "json";
167
+ pluginOptions?: object | undefined;
168
+ searchable?: boolean | undefined;
169
+ column?: Partial<Schema.Attribute.Column> | undefined;
170
+ configurable?: boolean | undefined;
171
+ required?: boolean | undefined;
172
+ private?: boolean | undefined;
173
+ writable?: boolean | undefined;
174
+ visible?: boolean | undefined;
175
+ default?: import("@strapi/types/dist/utils").JSONPrimitive | (() => import("@strapi/types/dist/utils").JSONPrimitive) | undefined;
176
+ } & Record<string, any>) | ({
177
+ type: "password";
178
+ pluginOptions?: object | undefined;
179
+ searchable?: boolean | undefined;
180
+ column?: Partial<Schema.Attribute.Column> | undefined;
181
+ configurable?: boolean | undefined;
182
+ default?: string | (() => string) | undefined;
183
+ minLength?: number | undefined;
184
+ maxLength?: number | undefined;
185
+ private?: boolean | undefined;
186
+ required?: boolean | undefined;
187
+ writable?: boolean | undefined;
188
+ visible?: boolean | undefined;
189
+ } & Record<string, any>) | ({
190
+ type: "richtext";
191
+ pluginOptions?: object | undefined;
192
+ searchable?: boolean | undefined;
193
+ column?: Partial<Schema.Attribute.Column> | undefined;
194
+ configurable?: boolean | undefined;
195
+ default?: string | (() => string) | undefined;
196
+ minLength?: number | undefined;
197
+ maxLength?: number | undefined;
198
+ private?: boolean | undefined;
199
+ required?: boolean | undefined;
200
+ writable?: boolean | undefined;
201
+ visible?: boolean | undefined;
202
+ } & Record<string, any>) | ({
203
+ type: "string";
204
+ pluginOptions?: object | undefined;
205
+ searchable?: boolean | undefined;
206
+ column?: Partial<Schema.Attribute.Column> | undefined;
207
+ regex?: RegExp | undefined;
208
+ configurable?: boolean | undefined;
209
+ default?: string | (() => string) | undefined;
210
+ minLength?: number | undefined;
211
+ maxLength?: number | undefined;
212
+ private?: boolean | undefined;
213
+ unique?: boolean | undefined;
214
+ required?: boolean | undefined;
215
+ writable?: boolean | undefined;
216
+ visible?: boolean | undefined;
217
+ } & Record<string, any>) | ({
218
+ type: "text";
219
+ pluginOptions?: object | undefined;
220
+ searchable?: boolean | undefined;
221
+ column?: Partial<Schema.Attribute.Column> | undefined;
222
+ regex?: RegExp | undefined;
223
+ configurable?: boolean | undefined;
224
+ default?: string | (() => string) | undefined;
225
+ minLength?: number | undefined;
226
+ maxLength?: number | undefined;
227
+ private?: boolean | undefined;
228
+ unique?: boolean | undefined;
229
+ required?: boolean | undefined;
230
+ writable?: boolean | undefined;
231
+ visible?: boolean | undefined;
232
+ } & Record<string, any>) | ({
233
+ type: "time";
234
+ pluginOptions?: object | undefined;
235
+ searchable?: boolean | undefined;
236
+ column?: Partial<Schema.Attribute.Column> | undefined;
237
+ configurable?: boolean | undefined;
238
+ default?: Schema.Attribute.TimeValue | (() => Schema.Attribute.TimeValue) | undefined;
239
+ private?: boolean | undefined;
240
+ required?: boolean | undefined;
241
+ unique?: boolean | undefined;
242
+ writable?: boolean | undefined;
243
+ visible?: boolean | undefined;
244
+ } & Record<string, any>) | ({
245
+ type: "timestamp";
246
+ pluginOptions?: object | undefined;
247
+ searchable?: boolean | undefined;
248
+ column?: Partial<Schema.Attribute.Column> | undefined;
249
+ configurable?: boolean | undefined;
250
+ default?: Schema.Attribute.TimestampValue | (() => Schema.Attribute.TimestampValue) | undefined;
251
+ private?: boolean | undefined;
252
+ required?: boolean | undefined;
253
+ unique?: boolean | undefined;
254
+ writable?: boolean | undefined;
255
+ visible?: boolean | undefined;
256
+ } & Record<string, any>) | ({
257
+ type: "uid";
258
+ pluginOptions?: object | undefined;
259
+ searchable?: boolean | undefined;
260
+ column?: Partial<Schema.Attribute.Column> | undefined;
261
+ targetField?: string | undefined;
262
+ options?: Schema.Attribute.UIDOptions | undefined;
263
+ configurable?: boolean | undefined;
264
+ default?: string | (() => string) | undefined;
265
+ minLength?: number | undefined;
266
+ maxLength?: number | undefined;
267
+ private?: boolean | undefined;
268
+ required?: boolean | undefined;
269
+ writable?: boolean | undefined;
270
+ visible?: boolean | undefined;
271
+ } & Record<string, any>) | {
12
272
  type: string;
13
273
  multiple: boolean;
14
274
  required: boolean;
@@ -25,6 +285,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
25
285
  pluginOptions: object | undefined;
26
286
  autoPopulate: any;
27
287
  searchable?: boolean | undefined;
288
+ column?: Partial<Schema.Attribute.Column> | undefined;
28
289
  writable?: boolean | undefined;
29
290
  visible?: boolean | undefined;
30
291
  required?: boolean | undefined;
@@ -41,6 +302,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
41
302
  pluginOptions: object | undefined;
42
303
  autoPopulate: any;
43
304
  searchable?: boolean | undefined;
305
+ column?: Partial<Schema.Attribute.Column> | undefined;
44
306
  writable?: boolean | undefined;
45
307
  visible?: boolean | undefined;
46
308
  required?: boolean | undefined;
@@ -57,6 +319,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
57
319
  pluginOptions: object | undefined;
58
320
  autoPopulate: any;
59
321
  searchable?: boolean | undefined;
322
+ column?: Partial<Schema.Attribute.Column> | undefined;
60
323
  inversedBy?: string | undefined;
61
324
  mappedBy?: string | undefined;
62
325
  writable?: boolean | undefined;
@@ -75,6 +338,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
75
338
  pluginOptions: object | undefined;
76
339
  autoPopulate: any;
77
340
  searchable?: boolean | undefined;
341
+ column?: Partial<Schema.Attribute.Column> | undefined;
78
342
  inversedBy?: string | undefined;
79
343
  mappedBy?: string | undefined;
80
344
  writable?: boolean | undefined;
@@ -93,6 +357,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
93
357
  pluginOptions: object | undefined;
94
358
  autoPopulate: any;
95
359
  searchable?: boolean | undefined;
360
+ column?: Partial<Schema.Attribute.Column> | undefined;
96
361
  inversedBy?: string | undefined;
97
362
  mappedBy?: string | undefined;
98
363
  writable?: boolean | undefined;
@@ -111,6 +376,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
111
376
  pluginOptions: object | undefined;
112
377
  autoPopulate: any;
113
378
  searchable?: boolean | undefined;
379
+ column?: Partial<Schema.Attribute.Column> | undefined;
114
380
  inversedBy?: string | undefined;
115
381
  mappedBy?: string | undefined;
116
382
  writable?: boolean | undefined;
@@ -129,6 +395,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
129
395
  pluginOptions: object | undefined;
130
396
  autoPopulate: any;
131
397
  searchable?: boolean | undefined;
398
+ column?: Partial<Schema.Attribute.Column> | undefined;
132
399
  writable?: boolean | undefined;
133
400
  visible?: boolean | undefined;
134
401
  required?: boolean | undefined;
@@ -145,6 +412,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
145
412
  pluginOptions: object | undefined;
146
413
  autoPopulate: any;
147
414
  searchable?: boolean | undefined;
415
+ column?: Partial<Schema.Attribute.Column> | undefined;
148
416
  writable?: boolean | undefined;
149
417
  visible?: boolean | undefined;
150
418
  required?: boolean | undefined;
@@ -161,6 +429,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
161
429
  pluginOptions: object | undefined;
162
430
  autoPopulate: any;
163
431
  searchable?: boolean | undefined;
432
+ column?: Partial<Schema.Attribute.Column> | undefined;
164
433
  morphBy?: string | undefined;
165
434
  writable?: boolean | undefined;
166
435
  visible?: boolean | undefined;
@@ -178,6 +447,7 @@ export declare const formatAttribute: (attribute: Schema.Attribute.AnyAttribute
178
447
  pluginOptions: object | undefined;
179
448
  autoPopulate: any;
180
449
  searchable?: boolean | undefined;
450
+ column?: Partial<Schema.Attribute.Column> | undefined;
181
451
  morphBy?: string | undefined;
182
452
  writable?: boolean | undefined;
183
453
  visible?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../../server/src/utils/attributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,eAAO,MAAM,cAAc,cAAe,OAAO,SAAS,CAAC,YAAY,YAC/B,CAAC;AAEzC,eAAO,MAAM,UAAU,cAAe,OAAO,SAAS,CAAC,YAAY,YACpC,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAW,GAAG,QAQ1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,cAAe,OAAO,SAAS,CAAC,YAAY,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B7F,CAAC;AAGF,eAAO,MAAM,oBAAoB,WAAY,GAAG,cAAc,GAAG,QA4ChE,CAAC"}
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../../server/src/utils/attributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,eAAO,MAAM,cAAc,cAAe,OAAO,SAAS,CAAC,YAAY,YAC/B,CAAC;AAEzC,eAAO,MAAM,UAAU,cAAe,OAAO,SAAS,CAAC,YAAY,YACpC,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAW,GAAG,QAQ1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,cAAe,OAAO,SAAS,CAAC,YAAY,GAAG,OAAO,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B7F,CAAC;AAGF,eAAO,MAAM,oBAAoB,WAAY,GAAG,cAAc,GAAG,QA4ChE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/content-type-builder",
3
- "version": "5.0.6",
3
+ "version": "5.1.1",
4
4
  "description": "Create and manage content types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,9 +59,9 @@
59
59
  "@reduxjs/toolkit": "1.9.7",
60
60
  "@sindresorhus/slugify": "1.1.0",
61
61
  "@strapi/design-system": "2.0.0-rc.11",
62
- "@strapi/generators": "5.0.6",
62
+ "@strapi/generators": "5.1.1",
63
63
  "@strapi/icons": "2.0.0-rc.11",
64
- "@strapi/utils": "5.0.6",
64
+ "@strapi/utils": "5.1.1",
65
65
  "date-fns": "2.30.0",
66
66
  "fs-extra": "11.2.0",
67
67
  "immer": "9.0.21",
@@ -73,9 +73,9 @@
73
73
  "yup": "0.32.9"
74
74
  },
75
75
  "devDependencies": {
76
- "@strapi/admin": "5.0.6",
76
+ "@strapi/admin": "5.1.1",
77
77
  "@strapi/pack-up": "5.0.0",
78
- "@strapi/types": "5.0.6",
78
+ "@strapi/types": "5.1.1",
79
79
  "@testing-library/dom": "10.1.0",
80
80
  "@testing-library/react": "15.0.7",
81
81
  "@testing-library/user-event": "14.5.2",
@@ -107,5 +107,5 @@
107
107
  "kind": "plugin",
108
108
  "required": true
109
109
  },
110
- "gitHead": "a281e06e9e1520e3f86e18c4ff78b8daa7a33356"
110
+ "gitHead": "642dabff0ba05c7fb69fbf70a779ef12b766b242"
111
111
  }