@strapi/content-type-builder 5.15.1 → 5.16.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.
Files changed (56) hide show
  1. package/dist/admin/components/ContentTypeBuilderNav/ContentTypeBuilderNav.js +12 -23
  2. package/dist/admin/components/ContentTypeBuilderNav/ContentTypeBuilderNav.js.map +1 -1
  3. package/dist/admin/components/ContentTypeBuilderNav/ContentTypeBuilderNav.mjs +12 -23
  4. package/dist/admin/components/ContentTypeBuilderNav/ContentTypeBuilderNav.mjs.map +1 -1
  5. package/dist/admin/components/CustomRadioGroup/Styles.js +2 -4
  6. package/dist/admin/components/CustomRadioGroup/Styles.js.map +1 -1
  7. package/dist/admin/components/CustomRadioGroup/Styles.mjs +2 -4
  8. package/dist/admin/components/CustomRadioGroup/Styles.mjs.map +1 -1
  9. package/dist/admin/components/DataManager/DataManagerProvider.js +10 -22
  10. package/dist/admin/components/DataManager/DataManagerProvider.js.map +1 -1
  11. package/dist/admin/components/DataManager/DataManagerProvider.mjs +10 -22
  12. package/dist/admin/components/DataManager/DataManagerProvider.mjs.map +1 -1
  13. package/dist/admin/components/DataManager/utils/cleanData.js +98 -16
  14. package/dist/admin/components/DataManager/utils/cleanData.js.map +1 -1
  15. package/dist/admin/components/DataManager/utils/cleanData.mjs +98 -16
  16. package/dist/admin/components/DataManager/utils/cleanData.mjs.map +1 -1
  17. package/dist/admin/components/DynamicZoneList.js +15 -28
  18. package/dist/admin/components/DynamicZoneList.js.map +1 -1
  19. package/dist/admin/components/DynamicZoneList.mjs +15 -28
  20. package/dist/admin/components/DynamicZoneList.mjs.map +1 -1
  21. package/dist/admin/components/FormModal/attributes/advancedForm.js +18 -3
  22. package/dist/admin/components/FormModal/attributes/advancedForm.js.map +1 -1
  23. package/dist/admin/components/FormModal/attributes/advancedForm.mjs +18 -3
  24. package/dist/admin/components/FormModal/attributes/advancedForm.mjs.map +1 -1
  25. package/dist/admin/components/Relation/RelationNaturePicker/Components.js +7 -0
  26. package/dist/admin/components/Relation/RelationNaturePicker/Components.js.map +1 -1
  27. package/dist/admin/components/Relation/RelationNaturePicker/Components.mjs +7 -0
  28. package/dist/admin/components/Relation/RelationNaturePicker/Components.mjs.map +1 -1
  29. package/dist/admin/src/components/DataManager/utils/cleanData.d.ts +287 -273
  30. package/dist/admin/translations/en.json.js +2 -0
  31. package/dist/admin/translations/en.json.js.map +1 -1
  32. package/dist/admin/translations/en.json.mjs +2 -0
  33. package/dist/admin/translations/en.json.mjs.map +1 -1
  34. package/dist/admin/translations/fr.json.js +4 -0
  35. package/dist/admin/translations/fr.json.js.map +1 -1
  36. package/dist/admin/translations/fr.json.mjs +4 -0
  37. package/dist/admin/translations/fr.json.mjs.map +1 -1
  38. package/dist/server/controllers/validation/common.js +0 -6
  39. package/dist/server/controllers/validation/common.js.map +1 -1
  40. package/dist/server/controllers/validation/common.mjs +1 -6
  41. package/dist/server/controllers/validation/common.mjs.map +1 -1
  42. package/dist/server/controllers/validation/schema.js +4 -1
  43. package/dist/server/controllers/validation/schema.js.map +1 -1
  44. package/dist/server/controllers/validation/schema.mjs +4 -1
  45. package/dist/server/controllers/validation/schema.mjs.map +1 -1
  46. package/dist/server/controllers/validation/types.js +9 -2
  47. package/dist/server/controllers/validation/types.js.map +1 -1
  48. package/dist/server/controllers/validation/types.mjs +10 -3
  49. package/dist/server/controllers/validation/types.mjs.map +1 -1
  50. package/dist/server/src/controllers/validation/schema.d.ts +192 -0
  51. package/dist/server/src/controllers/validation/schema.d.ts.map +1 -1
  52. package/dist/server/src/services/schema.d.ts +6 -0
  53. package/dist/server/src/services/schema.d.ts.map +1 -1
  54. package/dist/server/src/utils/attributes.d.ts +1 -0
  55. package/dist/server/src/utils/attributes.d.ts.map +1 -1
  56. package/package.json +7 -7
@@ -11,301 +11,315 @@ declare const sortContentType: (types: ContentTypes) => {
11
11
  restrictRelationsTo: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null;
12
12
  status: import("../../../types").Status;
13
13
  }[];
14
- declare const stateToRequestData: (state: {
14
+ type TrackingEventProperties = {
15
+ newContentTypes: number;
16
+ editedContentTypes: number;
17
+ deletedContentTypes: number;
18
+ newComponents: number;
19
+ editedComponents: number;
20
+ deletedComponents: number;
21
+ newFields: number;
22
+ editedFields: number;
23
+ deletedFields: number;
24
+ };
25
+ declare const stateToRequestData: ({ components, contentTypes, }: {
15
26
  components: Components;
16
27
  contentTypes: ContentTypes;
17
28
  }) => {
18
- components: ({
19
- action: string;
20
- uid: `${string}.${string}` | UID.ContentType;
21
- } | {
22
- attributes: ({
29
+ requestData: {
30
+ components: ({
23
31
  action: string;
24
- name: string;
25
- properties?: undefined;
32
+ uid: `${string}.${string}` | UID.ContentType;
26
33
  } | {
34
+ attributes: ({
35
+ action: string;
36
+ name: string;
37
+ properties?: undefined;
38
+ } | {
39
+ action: string;
40
+ name: string;
41
+ properties: {
42
+ [k: string]: unknown;
43
+ };
44
+ })[];
45
+ displayName: string;
46
+ description?: string | undefined;
47
+ icon?: string | undefined;
48
+ reviewWorkflows?: boolean | undefined;
49
+ populateCreatorFields?: boolean | undefined;
50
+ comment?: string | undefined;
51
+ version?: string | undefined;
52
+ draftAndPublish?: boolean | undefined;
53
+ modelType?: "component" | undefined;
54
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
55
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
56
+ category: string | undefined;
57
+ modelName?: string | undefined;
58
+ globalId?: string | undefined;
59
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
60
+ collectionName?: string | undefined;
61
+ plugin?: string | undefined;
62
+ info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
63
+ status?: import("../../../types").Status | undefined;
27
64
  action: string;
28
- name: string;
29
- properties: {
30
- [k: string]: unknown;
31
- };
32
- })[];
33
- displayName: string;
34
- description?: string | undefined;
35
- icon?: string | undefined;
36
- reviewWorkflows?: boolean | undefined;
37
- populateCreatorFields?: boolean | undefined;
38
- comment?: string | undefined;
39
- version?: string | undefined;
40
- draftAndPublish?: boolean | undefined;
41
- modelType?: "component" | undefined;
42
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
43
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
44
- category: string | undefined;
45
- modelName?: string | undefined;
46
- globalId?: string | undefined;
47
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
48
- collectionName?: string | undefined;
49
- plugin?: string | undefined;
50
- info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
51
- status?: import("../../../types").Status | undefined;
52
- action: string;
53
- } | {
54
- attributes: ({
55
- action: string;
56
- name: string;
57
- properties?: undefined;
58
65
  } | {
66
+ attributes: ({
67
+ action: string;
68
+ name: string;
69
+ properties?: undefined;
70
+ } | {
71
+ action: string;
72
+ name: string;
73
+ properties: {
74
+ [k: string]: unknown;
75
+ };
76
+ })[];
77
+ singularName: string;
78
+ pluralName: string;
79
+ displayName: string;
80
+ description?: string | undefined;
81
+ icon?: string | undefined;
82
+ reviewWorkflows?: boolean | undefined;
83
+ populateCreatorFields?: boolean | undefined;
84
+ comment?: string | undefined;
85
+ version?: string | undefined;
86
+ draftAndPublish?: boolean | undefined;
87
+ modelType?: "component" | undefined;
88
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
89
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
90
+ category: string | undefined;
91
+ modelName?: string | undefined;
92
+ globalId?: string | undefined;
93
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
94
+ collectionName?: string | undefined;
95
+ plugin?: string | undefined;
96
+ info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
97
+ status?: import("../../../types").Status | undefined;
59
98
  action: string;
60
- name: string;
61
- properties: {
62
- [k: string]: unknown;
63
- };
64
- })[];
65
- singularName: string;
66
- pluralName: string;
67
- displayName: string;
68
- description?: string | undefined;
69
- icon?: string | undefined;
70
- reviewWorkflows?: boolean | undefined;
71
- populateCreatorFields?: boolean | undefined;
72
- comment?: string | undefined;
73
- version?: string | undefined;
74
- draftAndPublish?: boolean | undefined;
75
- modelType?: "component" | undefined;
76
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
77
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
78
- category: string | undefined;
79
- modelName?: string | undefined;
80
- globalId?: string | undefined;
81
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
82
- collectionName?: string | undefined;
83
- plugin?: string | undefined;
84
- info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
85
- status?: import("../../../types").Status | undefined;
86
- action: string;
87
- } | {
88
- attributes: ({
89
- action: string;
90
- name: string;
91
- properties?: undefined;
92
99
  } | {
100
+ attributes: ({
101
+ action: string;
102
+ name: string;
103
+ properties?: undefined;
104
+ } | {
105
+ action: string;
106
+ name: string;
107
+ properties: {
108
+ [k: string]: unknown;
109
+ };
110
+ })[];
111
+ displayName: string;
112
+ description?: string | undefined;
113
+ icon?: string | undefined;
114
+ reviewWorkflows?: boolean | undefined;
115
+ populateCreatorFields?: boolean | undefined;
116
+ comment?: string | undefined;
117
+ version?: string | undefined;
118
+ draftAndPublish?: boolean | undefined;
119
+ kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
120
+ modelType?: "contentType" | undefined;
121
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
122
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
123
+ modelName?: string | undefined;
124
+ globalId?: string | undefined;
125
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
126
+ collectionName?: string | undefined;
127
+ plugin?: string | undefined;
128
+ info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
129
+ indexes?: unknown[] | undefined;
130
+ foreignKeys?: unknown[] | undefined;
131
+ visible?: boolean | undefined;
132
+ status?: import("../../../types").Status | undefined;
133
+ restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
93
134
  action: string;
94
- name: string;
95
- properties: {
96
- [k: string]: unknown;
97
- };
98
- })[];
99
- displayName: string;
100
- description?: string | undefined;
101
- icon?: string | undefined;
102
- reviewWorkflows?: boolean | undefined;
103
- populateCreatorFields?: boolean | undefined;
104
- comment?: string | undefined;
105
- version?: string | undefined;
106
- draftAndPublish?: boolean | undefined;
107
- kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
108
- modelType?: "contentType" | undefined;
109
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
110
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
111
- modelName?: string | undefined;
112
- globalId?: string | undefined;
113
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
114
- collectionName?: string | undefined;
115
- plugin?: string | undefined;
116
- info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
117
- indexes?: unknown[] | undefined;
118
- foreignKeys?: unknown[] | undefined;
119
- visible?: boolean | undefined;
120
- status?: import("../../../types").Status | undefined;
121
- restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
122
- action: string;
123
- category: string | undefined;
124
- } | {
125
- attributes: ({
126
- action: string;
127
- name: string;
128
- properties?: undefined;
135
+ category: string | undefined;
129
136
  } | {
137
+ attributes: ({
138
+ action: string;
139
+ name: string;
140
+ properties?: undefined;
141
+ } | {
142
+ action: string;
143
+ name: string;
144
+ properties: {
145
+ [k: string]: unknown;
146
+ };
147
+ })[];
148
+ singularName: string;
149
+ pluralName: string;
150
+ displayName: string;
151
+ description?: string | undefined;
152
+ icon?: string | undefined;
153
+ reviewWorkflows?: boolean | undefined;
154
+ populateCreatorFields?: boolean | undefined;
155
+ comment?: string | undefined;
156
+ version?: string | undefined;
157
+ draftAndPublish?: boolean | undefined;
158
+ kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
159
+ modelType?: "contentType" | undefined;
160
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
161
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
162
+ modelName?: string | undefined;
163
+ globalId?: string | undefined;
164
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
165
+ collectionName?: string | undefined;
166
+ plugin?: string | undefined;
167
+ info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
168
+ indexes?: unknown[] | undefined;
169
+ foreignKeys?: unknown[] | undefined;
170
+ visible?: boolean | undefined;
171
+ status?: import("../../../types").Status | undefined;
172
+ restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
130
173
  action: string;
131
- name: string;
132
- properties: {
133
- [k: string]: unknown;
134
- };
174
+ category: string | undefined;
135
175
  })[];
136
- singularName: string;
137
- pluralName: string;
138
- displayName: string;
139
- description?: string | undefined;
140
- icon?: string | undefined;
141
- reviewWorkflows?: boolean | undefined;
142
- populateCreatorFields?: boolean | undefined;
143
- comment?: string | undefined;
144
- version?: string | undefined;
145
- draftAndPublish?: boolean | undefined;
146
- kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
147
- modelType?: "contentType" | undefined;
148
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
149
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
150
- modelName?: string | undefined;
151
- globalId?: string | undefined;
152
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
153
- collectionName?: string | undefined;
154
- plugin?: string | undefined;
155
- info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
156
- indexes?: unknown[] | undefined;
157
- foreignKeys?: unknown[] | undefined;
158
- visible?: boolean | undefined;
159
- status?: import("../../../types").Status | undefined;
160
- restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
161
- action: string;
162
- category: string | undefined;
163
- })[];
164
- contentTypes: ({
165
- action: string;
166
- uid: `${string}.${string}` | UID.ContentType;
167
- } | {
168
- attributes: ({
176
+ contentTypes: ({
169
177
  action: string;
170
- name: string;
171
- properties?: undefined;
178
+ uid: `${string}.${string}` | UID.ContentType;
172
179
  } | {
180
+ attributes: ({
181
+ action: string;
182
+ name: string;
183
+ properties?: undefined;
184
+ } | {
185
+ action: string;
186
+ name: string;
187
+ properties: {
188
+ [k: string]: unknown;
189
+ };
190
+ })[];
191
+ displayName: string;
192
+ description?: string | undefined;
193
+ icon?: string | undefined;
194
+ reviewWorkflows?: boolean | undefined;
195
+ populateCreatorFields?: boolean | undefined;
196
+ comment?: string | undefined;
197
+ version?: string | undefined;
198
+ draftAndPublish?: boolean | undefined;
199
+ modelType?: "component" | undefined;
200
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
201
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
202
+ category: string | undefined;
203
+ modelName?: string | undefined;
204
+ globalId?: string | undefined;
205
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
206
+ collectionName?: string | undefined;
207
+ plugin?: string | undefined;
208
+ info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
209
+ status?: import("../../../types").Status | undefined;
173
210
  action: string;
174
- name: string;
175
- properties: {
176
- [k: string]: unknown;
177
- };
178
- })[];
179
- displayName: string;
180
- description?: string | undefined;
181
- icon?: string | undefined;
182
- reviewWorkflows?: boolean | undefined;
183
- populateCreatorFields?: boolean | undefined;
184
- comment?: string | undefined;
185
- version?: string | undefined;
186
- draftAndPublish?: boolean | undefined;
187
- modelType?: "component" | undefined;
188
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
189
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
190
- category: string | undefined;
191
- modelName?: string | undefined;
192
- globalId?: string | undefined;
193
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
194
- collectionName?: string | undefined;
195
- plugin?: string | undefined;
196
- info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
197
- status?: import("../../../types").Status | undefined;
198
- action: string;
199
- } | {
200
- attributes: ({
201
- action: string;
202
- name: string;
203
- properties?: undefined;
204
211
  } | {
212
+ attributes: ({
213
+ action: string;
214
+ name: string;
215
+ properties?: undefined;
216
+ } | {
217
+ action: string;
218
+ name: string;
219
+ properties: {
220
+ [k: string]: unknown;
221
+ };
222
+ })[];
223
+ singularName: string;
224
+ pluralName: string;
225
+ displayName: string;
226
+ description?: string | undefined;
227
+ icon?: string | undefined;
228
+ reviewWorkflows?: boolean | undefined;
229
+ populateCreatorFields?: boolean | undefined;
230
+ comment?: string | undefined;
231
+ version?: string | undefined;
232
+ draftAndPublish?: boolean | undefined;
233
+ modelType?: "component" | undefined;
234
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
235
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
236
+ category: string | undefined;
237
+ modelName?: string | undefined;
238
+ globalId?: string | undefined;
239
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
240
+ collectionName?: string | undefined;
241
+ plugin?: string | undefined;
242
+ info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
243
+ status?: import("../../../types").Status | undefined;
205
244
  action: string;
206
- name: string;
207
- properties: {
208
- [k: string]: unknown;
209
- };
210
- })[];
211
- singularName: string;
212
- pluralName: string;
213
- displayName: string;
214
- description?: string | undefined;
215
- icon?: string | undefined;
216
- reviewWorkflows?: boolean | undefined;
217
- populateCreatorFields?: boolean | undefined;
218
- comment?: string | undefined;
219
- version?: string | undefined;
220
- draftAndPublish?: boolean | undefined;
221
- modelType?: "component" | undefined;
222
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
223
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
224
- category: string | undefined;
225
- modelName?: string | undefined;
226
- globalId?: string | undefined;
227
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
228
- collectionName?: string | undefined;
229
- plugin?: string | undefined;
230
- info?: import("@strapi/types/dist/struct").SchemaInfo | undefined;
231
- status?: import("../../../types").Status | undefined;
232
- action: string;
233
- } | {
234
- attributes: ({
235
- action: string;
236
- name: string;
237
- properties?: undefined;
238
245
  } | {
246
+ attributes: ({
247
+ action: string;
248
+ name: string;
249
+ properties?: undefined;
250
+ } | {
251
+ action: string;
252
+ name: string;
253
+ properties: {
254
+ [k: string]: unknown;
255
+ };
256
+ })[];
257
+ displayName: string;
258
+ description?: string | undefined;
259
+ icon?: string | undefined;
260
+ reviewWorkflows?: boolean | undefined;
261
+ populateCreatorFields?: boolean | undefined;
262
+ comment?: string | undefined;
263
+ version?: string | undefined;
264
+ draftAndPublish?: boolean | undefined;
265
+ kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
266
+ modelType?: "contentType" | undefined;
267
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
268
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
269
+ modelName?: string | undefined;
270
+ globalId?: string | undefined;
271
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
272
+ collectionName?: string | undefined;
273
+ plugin?: string | undefined;
274
+ info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
275
+ indexes?: unknown[] | undefined;
276
+ foreignKeys?: unknown[] | undefined;
277
+ visible?: boolean | undefined;
278
+ status?: import("../../../types").Status | undefined;
279
+ restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
239
280
  action: string;
240
- name: string;
241
- properties: {
242
- [k: string]: unknown;
243
- };
244
- })[];
245
- displayName: string;
246
- description?: string | undefined;
247
- icon?: string | undefined;
248
- reviewWorkflows?: boolean | undefined;
249
- populateCreatorFields?: boolean | undefined;
250
- comment?: string | undefined;
251
- version?: string | undefined;
252
- draftAndPublish?: boolean | undefined;
253
- kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
254
- modelType?: "contentType" | undefined;
255
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
256
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
257
- modelName?: string | undefined;
258
- globalId?: string | undefined;
259
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
260
- collectionName?: string | undefined;
261
- plugin?: string | undefined;
262
- info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
263
- indexes?: unknown[] | undefined;
264
- foreignKeys?: unknown[] | undefined;
265
- visible?: boolean | undefined;
266
- status?: import("../../../types").Status | undefined;
267
- restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
268
- action: string;
269
- category: string | undefined;
270
- } | {
271
- attributes: ({
272
- action: string;
273
- name: string;
274
- properties?: undefined;
281
+ category: string | undefined;
275
282
  } | {
283
+ attributes: ({
284
+ action: string;
285
+ name: string;
286
+ properties?: undefined;
287
+ } | {
288
+ action: string;
289
+ name: string;
290
+ properties: {
291
+ [k: string]: unknown;
292
+ };
293
+ })[];
294
+ singularName: string;
295
+ pluralName: string;
296
+ displayName: string;
297
+ description?: string | undefined;
298
+ icon?: string | undefined;
299
+ reviewWorkflows?: boolean | undefined;
300
+ populateCreatorFields?: boolean | undefined;
301
+ comment?: string | undefined;
302
+ version?: string | undefined;
303
+ draftAndPublish?: boolean | undefined;
304
+ kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
305
+ modelType?: "contentType" | undefined;
306
+ uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
307
+ options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
308
+ modelName?: string | undefined;
309
+ globalId?: string | undefined;
310
+ pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
311
+ collectionName?: string | undefined;
312
+ plugin?: string | undefined;
313
+ info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
314
+ indexes?: unknown[] | undefined;
315
+ foreignKeys?: unknown[] | undefined;
316
+ visible?: boolean | undefined;
317
+ status?: import("../../../types").Status | undefined;
318
+ restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
276
319
  action: string;
277
- name: string;
278
- properties: {
279
- [k: string]: unknown;
280
- };
320
+ category: string | undefined;
281
321
  })[];
282
- singularName: string;
283
- pluralName: string;
284
- displayName: string;
285
- description?: string | undefined;
286
- icon?: string | undefined;
287
- reviewWorkflows?: boolean | undefined;
288
- populateCreatorFields?: boolean | undefined;
289
- comment?: string | undefined;
290
- version?: string | undefined;
291
- draftAndPublish?: boolean | undefined;
292
- kind?: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
293
- modelType?: "contentType" | undefined;
294
- uid: `${string}.${string}` | `admin::${string}` | `strapi::${string}`;
295
- options?: import("@strapi/types/dist/struct").SchemaOptions | undefined;
296
- modelName?: string | undefined;
297
- globalId?: string | undefined;
298
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions | undefined;
299
- collectionName?: string | undefined;
300
- plugin?: string | undefined;
301
- info?: import("@strapi/types/dist/struct").ContentTypeSchemaInfo | undefined;
302
- indexes?: unknown[] | undefined;
303
- foreignKeys?: unknown[] | undefined;
304
- visible?: boolean | undefined;
305
- status?: import("../../../types").Status | undefined;
306
- restrictRelationsTo?: import("@strapi/types/dist/schema/attribute").RelationKind.Any[] | null | undefined;
307
- action: string;
308
- category: string | undefined;
309
- })[];
322
+ };
323
+ trackingEventProperties: TrackingEventProperties;
310
324
  };
311
325
  export { stateToRequestData, sortContentType };
@@ -95,8 +95,10 @@ var en = {
95
95
  "form.attribute.item.enumeration.placeholder": "Ex:\nmorning\nnoon\nevening",
96
96
  "form.attribute.item.enumeration.rules": "Values (one line per value)",
97
97
  "form.attribute.item.maximum": "Maximum value",
98
+ "form.attribute.item.maximumComponents": "Maximum components",
98
99
  "form.attribute.item.maximumLength": "Maximum length",
99
100
  "form.attribute.item.minimum": "Minimum value",
101
+ "form.attribute.item.minimumComponents": "Minimum components",
100
102
  "form.attribute.item.minimumLength": "Minimum length",
101
103
  "form.attribute.item.number.type": "Number format",
102
104
  "form.attribute.item.number.type.biginteger": "big integer (ex: 123456789)",
@@ -1 +1 @@
1
- {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -91,8 +91,10 @@ var en = {
91
91
  "form.attribute.item.enumeration.placeholder": "Ex:\nmorning\nnoon\nevening",
92
92
  "form.attribute.item.enumeration.rules": "Values (one line per value)",
93
93
  "form.attribute.item.maximum": "Maximum value",
94
+ "form.attribute.item.maximumComponents": "Maximum components",
94
95
  "form.attribute.item.maximumLength": "Maximum length",
95
96
  "form.attribute.item.minimum": "Minimum value",
97
+ "form.attribute.item.minimumComponents": "Minimum components",
96
98
  "form.attribute.item.minimumLength": "Minimum length",
97
99
  "form.attribute.item.number.type": "Number format",
98
100
  "form.attribute.item.number.type.biginteger": "big integer (ex: 123456789)",
@@ -1 +1 @@
1
- {"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -27,8 +27,12 @@ var fr = {
27
27
  "form.attribute.item.enumeration.placeholder": "Ex:\nmatin\nmidi\nsoir",
28
28
  "form.attribute.item.enumeration.rules": "Valeurs (les séparer par une nouvelle ligne)",
29
29
  "form.attribute.item.maximum": "Valeur maximum",
30
+ "form.attribute.item.maximumComponents": "Composants maximum",
31
+ "form.attribute.item.maximumComponents.description": "Nombre maximum de composants",
30
32
  "form.attribute.item.maximumLength": "Taille maximum",
31
33
  "form.attribute.item.minimum": "Valeur minimun",
34
+ "form.attribute.item.minimumComponents": "Composants minimun",
35
+ "form.attribute.item.minimumComponents.description": "Nombre minimum de composants",
32
36
  "form.attribute.item.minimumLength": "Taille minimun",
33
37
  "form.attribute.item.number.type": "Format nombre",
34
38
  "form.attribute.item.number.type.decimal": "décimal approximatif (ex: 2,22)",
@@ -1 +1 @@
1
- {"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -23,8 +23,12 @@ var fr = {
23
23
  "form.attribute.item.enumeration.placeholder": "Ex:\nmatin\nmidi\nsoir",
24
24
  "form.attribute.item.enumeration.rules": "Valeurs (les séparer par une nouvelle ligne)",
25
25
  "form.attribute.item.maximum": "Valeur maximum",
26
+ "form.attribute.item.maximumComponents": "Composants maximum",
27
+ "form.attribute.item.maximumComponents.description": "Nombre maximum de composants",
26
28
  "form.attribute.item.maximumLength": "Taille maximum",
27
29
  "form.attribute.item.minimum": "Valeur minimun",
30
+ "form.attribute.item.minimumComponents": "Composants minimun",
31
+ "form.attribute.item.minimumComponents.description": "Nombre minimum de composants",
28
32
  "form.attribute.item.minimumLength": "Taille minimun",
29
33
  "form.attribute.item.number.type": "Format nombre",
30
34
  "form.attribute.item.number.type.decimal": "décimal approximatif (ex: 2,22)",
@@ -1 +1 @@
1
- {"version":3,"file":"fr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}