@strapi/content-manager 5.50.1 → 5.50.2

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 (33) hide show
  1. package/dist/admin/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.js +6 -2
  2. package/dist/admin/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.js.map +1 -1
  3. package/dist/admin/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.mjs +6 -2
  4. package/dist/admin/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.mjs.map +1 -1
  5. package/dist/admin/src/content-manager.d.ts +1 -1
  6. package/dist/admin/src/history/services/historyVersion.d.ts +1 -1
  7. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withStrapiSchema.d.ts +1 -1
  8. package/dist/admin/src/services/documents.d.ts +5 -5
  9. package/dist/admin/src/services/uid.d.ts +2 -2
  10. package/dist/admin/translations/ko.json.js +180 -1
  11. package/dist/admin/translations/ko.json.js.map +1 -1
  12. package/dist/admin/translations/ko.json.mjs +180 -1
  13. package/dist/admin/translations/ko.json.mjs.map +1 -1
  14. package/dist/server/src/controllers/index.d.ts +1 -1
  15. package/dist/server/src/controllers/utils/metadata.d.ts +1 -1
  16. package/dist/server/src/history/routes/index.d.ts +1 -1
  17. package/dist/server/src/history/services/index.d.ts +3 -3
  18. package/dist/server/src/homepage/index.d.ts +3 -3
  19. package/dist/server/src/homepage/routes/index.d.ts +1 -1
  20. package/dist/server/src/homepage/services/index.d.ts +1 -1
  21. package/dist/server/src/index.d.ts +67 -67
  22. package/dist/server/src/preview/routes/index.d.ts +1 -1
  23. package/dist/server/src/preview/services/index.d.ts +4 -4
  24. package/dist/server/src/preview/services/index.d.ts.map +1 -1
  25. package/dist/server/src/routes/index.d.ts +1 -1
  26. package/dist/server/src/services/data-mapper.d.ts +1 -1
  27. package/dist/server/src/services/index.d.ts +63 -63
  28. package/dist/server/src/services/populate-builder.d.ts +1 -1
  29. package/dist/server/src/utils/index.d.ts +2 -2
  30. package/dist/server/src/utils/index.d.ts.map +1 -1
  31. package/dist/server/utils/index.js.map +1 -1
  32. package/dist/server/utils/index.mjs.map +1 -1
  33. package/package.json +14 -10
@@ -1,10 +1,10 @@
1
1
  declare const _default: () => {
2
2
  register: ({ strapi }: {
3
- strapi: import("@strapi/types/dist/core").Strapi;
3
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
4
4
  }) => void | Promise<void>;
5
5
  bootstrap: () => Promise<void>;
6
6
  destroy: ({ strapi }: {
7
- strapi: import("@strapi/types/dist/core").Strapi;
7
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
8
8
  }) => void | Promise<void>;
9
9
  controllers: {
10
10
  'collection-types': {
@@ -40,7 +40,7 @@ declare const _default: () => {
40
40
  getInitData(ctx: any): void;
41
41
  };
42
42
  relations: {
43
- extractAndValidateRequestInfo(ctx: any, id?: import("@strapi/types/dist/data").ID): Promise<any>;
43
+ extractAndValidateRequestInfo(ctx: any, id?: import("@strapi/types/dist/data/constants.js").ID): Promise<any>;
44
44
  findAvailable(ctx: any): Promise<void>;
45
45
  findExisting(ctx: any): Promise<void>;
46
46
  };
@@ -59,7 +59,7 @@ declare const _default: () => {
59
59
  };
60
60
  };
61
61
  routes: {
62
- homepage: import("@strapi/types/dist/core").Router;
62
+ homepage: import("@strapi/types/dist/core/router.js").Router;
63
63
  admin: {
64
64
  type: string;
65
65
  routes: ({
@@ -109,7 +109,7 @@ declare const _default: () => {
109
109
  };
110
110
  services: {
111
111
  homepage: ({ strapi }: {
112
- strapi: import("@strapi/types/dist/core").Strapi;
112
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
113
113
  }) => {
114
114
  addStatusToDocuments(documents: import("../../shared/contracts/homepage").RecentDocument[]): Promise<import("../../shared/contracts/homepage").RecentDocument[]>;
115
115
  queryLastDocuments(additionalQueryParams?: Record<string, unknown>, draftAndPublishOnly?: boolean): Promise<import("../../shared/contracts/homepage").RecentDocument[]>;
@@ -118,11 +118,11 @@ declare const _default: () => {
118
118
  getCountDocuments(): Promise<import("../../shared/contracts/homepage").GetCountDocuments.Response["data"]>;
119
119
  };
120
120
  components: ({ strapi }: {
121
- strapi: import("@strapi/types/dist/core").Strapi;
121
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
122
122
  }) => {
123
123
  findAllComponents(): unknown[];
124
- findComponent(uid: import("@strapi/types/dist/uid").Component): any;
125
- findConfiguration(component: import("@strapi/types/dist/struct").ComponentSchema): Promise<{
124
+ findComponent(uid: import("@strapi/types/dist/uid/index.js").Component): any;
125
+ findConfiguration(component: import("@strapi/types/dist/struct/schema.js").ComponentSchema): Promise<{
126
126
  uid: string;
127
127
  settings: import("../../shared/contracts/content-types").Settings;
128
128
  metadatas: import("../../shared/contracts/content-types").Metadatas;
@@ -130,7 +130,7 @@ declare const _default: () => {
130
130
  options?: object;
131
131
  category: string;
132
132
  }>;
133
- updateConfiguration(component: import("@strapi/types/dist/struct").ComponentSchema, newConfiguration: import("./services/configuration").ConfigurationUpdate): Promise<{
133
+ updateConfiguration(component: import("@strapi/types/dist/struct/schema.js").ComponentSchema, newConfiguration: import("./services/configuration").ConfigurationUpdate): Promise<{
134
134
  uid: string;
135
135
  settings: import("../../shared/contracts/content-types").Settings;
136
136
  metadatas: import("../../shared/contracts/content-types").Metadatas;
@@ -138,52 +138,52 @@ declare const _default: () => {
138
138
  options?: object;
139
139
  category: string;
140
140
  }>;
141
- findComponentsConfigurations(model: import("@strapi/types/dist/struct").ComponentSchema): Promise<Record<string, import("../../shared/contracts/content-types").Configuration & {
141
+ findComponentsConfigurations(model: import("@strapi/types/dist/struct/schema.js").ComponentSchema): Promise<Record<string, import("../../shared/contracts/content-types").Configuration & {
142
142
  category: string;
143
143
  isComponent: boolean;
144
144
  }>>;
145
145
  syncConfigurations(): Promise<void>;
146
146
  };
147
147
  'content-types': ({ strapi }: {
148
- strapi: import("@strapi/types/dist/core").Strapi;
148
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
149
149
  }) => {
150
150
  findAllContentTypes(): unknown[];
151
- findContentType(uid: import("@strapi/types/dist/uid").ContentType): any;
151
+ findContentType(uid: import("@strapi/types/dist/uid/index.js").ContentType): any;
152
152
  findDisplayedContentTypes(): unknown[];
153
153
  findContentTypesByKind(kind: {
154
- kind: import("@strapi/types/dist/struct").ContentTypeKind | undefined;
154
+ kind: import("@strapi/types/dist/struct/schema.js").ContentTypeKind | undefined;
155
155
  }): unknown[];
156
- findConfiguration(contentType: import("@strapi/types/dist/struct").ContentTypeSchema): Promise<any>;
157
- updateConfiguration(contentType: import("@strapi/types/dist/struct").ContentTypeSchema, newConfiguration: import("./services/configuration").ConfigurationUpdate): Promise<any>;
158
- findComponentsConfigurations(contentType: import("@strapi/types/dist/struct").ContentTypeSchema): any;
156
+ findConfiguration(contentType: import("@strapi/types/dist/struct/schema.js").ContentTypeSchema): Promise<any>;
157
+ updateConfiguration(contentType: import("@strapi/types/dist/struct/schema.js").ContentTypeSchema, newConfiguration: import("./services/configuration").ConfigurationUpdate): Promise<any>;
158
+ findComponentsConfigurations(contentType: import("@strapi/types/dist/struct/schema.js").ContentTypeSchema): any;
159
159
  syncConfigurations(): Promise<void>;
160
160
  };
161
161
  'data-mapper': () => {
162
- toContentManagerModel(contentType: import("@strapi/types/dist/struct").ComponentSchema): {
162
+ toContentManagerModel(contentType: import("@strapi/types/dist/struct/schema.js").ComponentSchema): {
163
163
  apiID: string;
164
164
  isDisplayed: boolean;
165
165
  attributes: any;
166
166
  modelType: "component";
167
- uid: import("@strapi/types/dist/uid").Component;
167
+ uid: import("@strapi/types/dist/uid/index.js").Component;
168
168
  category: string;
169
169
  modelName: string;
170
170
  globalId: string;
171
- pluginOptions?: import("@strapi/types/dist/struct").SchemaPluginOptions;
172
- options?: import("@strapi/types/dist/struct").SchemaOptions;
171
+ pluginOptions?: import("@strapi/types/dist/struct/schema.js").SchemaPluginOptions;
172
+ options?: import("@strapi/types/dist/struct/schema.js").SchemaOptions;
173
173
  collectionName?: string;
174
174
  plugin?: string;
175
- info: import("@strapi/types/dist/struct").SchemaInfo;
175
+ info: import("@strapi/types/dist/struct/schema.js").SchemaInfo;
176
176
  };
177
177
  toDto: import("lodash/fp").LodashPick2x1;
178
178
  };
179
179
  'document-metadata': ({ strapi }: {
180
- strapi: import("@strapi/types/dist/core").Strapi;
180
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
181
181
  }) => {
182
- getAvailableLocales(uid: import("@strapi/types/dist/uid").ContentType, version: import("./services/document-metadata").DocumentVersion, allVersions: import("./services/document-metadata").DocumentVersion[]): Promise<import("../../shared/contracts/collection-types").AvailableLocaleDocument[]>;
182
+ getAvailableLocales(uid: import("@strapi/types/dist/uid/index.js").ContentType, version: import("./services/document-metadata").DocumentVersion, allVersions: import("./services/document-metadata").DocumentVersion[]): Promise<import("../../shared/contracts/collection-types").AvailableLocaleDocument[]>;
183
183
  getAvailableStatus(version: import("./services/document-metadata").DocumentVersion, allVersions: import("./services/document-metadata").DocumentVersion[]): Partial<import("./services/document-metadata").DocumentVersion> | undefined;
184
- getManyAvailableStatus(uid: import("@strapi/types/dist/uid").ContentType, documents: import("./services/document-metadata").DocumentVersion[]): Promise<any[]>;
184
+ getManyAvailableStatus(uid: import("@strapi/types/dist/uid/index.js").ContentType, documents: import("./services/document-metadata").DocumentVersion[]): Promise<any[]>;
185
185
  getStatus(version: import("./services/document-metadata").DocumentVersion, otherDocumentStatuses?: import("../../shared/contracts/collection-types").DocumentMetadata["availableStatus"]): string;
186
- getMetadata(uid: import("@strapi/types/dist/uid").ContentType, version: import("./services/document-metadata").DocumentVersion, { availableLocales, availableStatus }?: import("./services/document-metadata").GetMetadataOptions): Promise<{
186
+ getMetadata(uid: import("@strapi/types/dist/uid/index.js").ContentType, version: import("./services/document-metadata").DocumentVersion, { availableLocales, availableStatus }?: import("./services/document-metadata").GetMetadataOptions): Promise<{
187
187
  availableLocales: never[];
188
188
  availableStatus: Pick<any, string>[];
189
189
  versions: import("./services/document-metadata").DocumentVersion[];
@@ -192,11 +192,11 @@ declare const _default: () => {
192
192
  availableStatus: Partial<import("./services/document-metadata").DocumentVersion>[];
193
193
  versions: any[];
194
194
  }>;
195
- formatDocumentWithMetadata(uid: import("@strapi/types/dist/uid").ContentType, document: import("./services/document-metadata").DocumentVersion, opts?: import("./services/document-metadata").GetMetadataOptions): Promise<{
195
+ formatDocumentWithMetadata(uid: import("@strapi/types/dist/uid/index.js").ContentType, document: import("./services/document-metadata").DocumentVersion, opts?: import("./services/document-metadata").GetMetadataOptions): Promise<{
196
196
  data: {
197
197
  status: string | undefined;
198
198
  id: string | number;
199
- documentId: import("@strapi/types/dist/modules/documents").ID;
199
+ documentId: import("@strapi/types/dist/modules/documents/index.js").ID;
200
200
  locale?: string;
201
201
  localizations?: import("./services/document-metadata").DocumentVersion[];
202
202
  updatedAt?: string | null | Date;
@@ -212,47 +212,47 @@ declare const _default: () => {
212
212
  }>;
213
213
  };
214
214
  'document-manager': ({ strapi }: {
215
- strapi: import("@strapi/types/dist/core").Strapi;
215
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
216
216
  }) => {
217
- findOne(id: string, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").FindOne<import("@strapi/types/dist/uid").ContentType>, "documentId">): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
218
- findLocales(id: string | string[] | undefined, uid: import("@strapi/types/dist/uid").CollectionType, opts: {
219
- populate?: import("@strapi/types/dist/modules/documents/params").Pick<any, "populate">;
217
+ findOne(id: string, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").FindOne<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId">): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
218
+ findLocales(id: string | string[] | undefined, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts: {
219
+ populate?: import("@strapi/types/dist/modules/documents/params/index.js").Pick<any, "populate">;
220
220
  locale?: string | string[] | "*";
221
221
  isPublished?: boolean;
222
222
  }): Promise<any[]>;
223
- findMany(opts: import("@strapi/types/dist/modules/documents/params/document-engine").FindMany<import("@strapi/types/dist/uid").ContentType> | undefined, uid: import("@strapi/types/dist/uid").CollectionType): Promise<import("@strapi/types/dist/modules/documents").AnyDocument[]>;
224
- findPage(opts: import("@strapi/types/dist/modules/documents/params/document-engine").FindMany<import("@strapi/types/dist/uid").ContentType> | undefined, uid: import("@strapi/types/dist/uid").CollectionType): Promise<{
225
- results: import("@strapi/types/dist/modules/documents").AnyDocument[];
223
+ findMany(opts: import("@strapi/types/dist/modules/documents/params/document-engine.js").FindMany<import("@strapi/types/dist/uid/index.js").ContentType> | undefined, uid: import("@strapi/types/dist/uid/index.js").CollectionType): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument[]>;
224
+ findPage(opts: import("@strapi/types/dist/modules/documents/params/document-engine.js").FindMany<import("@strapi/types/dist/uid/index.js").ContentType> | undefined, uid: import("@strapi/types/dist/uid/index.js").CollectionType): Promise<{
225
+ results: import("@strapi/types/dist/modules/documents/index.js").AnyDocument[];
226
226
  pagination: import("@strapi/utils/dist/pagination").PagePatinationInformation;
227
227
  }>;
228
- create(uid: import("@strapi/types/dist/uid").CollectionType, opts?: import("@strapi/types/dist/modules/documents/params/document-engine").Create<import("@strapi/types/dist/uid").ContentType>): Promise<import("@strapi/types/dist/modules/documents").AnyDocument>;
229
- update(id: import("@strapi/types/dist/modules/documents").ID, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").Update<import("@strapi/types/dist/uid").ContentType>, "documentId">): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
230
- clone(id: import("@strapi/types/dist/modules/documents").ID, body: Partial<import("@strapi/types/dist/modules/documents/params/data").Input<import("@strapi/types/dist/uid").CollectionType>>, uid: import("@strapi/types/dist/uid").CollectionType): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | undefined>;
231
- exists(uid: import("@strapi/types/dist/uid").CollectionType, id?: string): Promise<boolean>;
232
- delete(id: import("@strapi/types/dist/modules/documents").ID, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").Delete<import("@strapi/types/dist/uid").ContentType>, "documentId">): Promise<{}>;
233
- deleteMany(documentIds: import("@strapi/types/dist/modules/documents").ID[], uid: import("@strapi/types/dist/uid").CollectionType, opts?: (import("@strapi/types/dist/modules/documents/params/document-engine").FindMany<import("@strapi/types/dist/uid").ContentType> | undefined) & {
228
+ create(uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: import("@strapi/types/dist/modules/documents/params/document-engine.js").Create<import("@strapi/types/dist/uid/index.js").ContentType>): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument>;
229
+ update(id: import("@strapi/types/dist/modules/documents/index.js").ID, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").Update<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId">): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
230
+ clone(id: import("@strapi/types/dist/modules/documents/index.js").ID, body: Partial<import("@strapi/types/dist/modules/documents/params/data.js").Input<import("@strapi/types/dist/uid/index.js").CollectionType>>, uid: import("@strapi/types/dist/uid/index.js").CollectionType): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | undefined>;
231
+ exists(uid: import("@strapi/types/dist/uid/index.js").CollectionType, id?: string): Promise<boolean>;
232
+ delete(id: import("@strapi/types/dist/modules/documents/index.js").ID, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").Delete<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId">): Promise<{}>;
233
+ deleteMany(documentIds: import("@strapi/types/dist/modules/documents/index.js").ID[], uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: (import("@strapi/types/dist/modules/documents/params/document-engine.js").FindMany<import("@strapi/types/dist/uid/index.js").ContentType> | undefined) & {
234
234
  locale?: string;
235
235
  }): Promise<{
236
236
  count: number;
237
237
  }>;
238
- publish(id: import("@strapi/types/dist/modules/documents").ID, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").Publish<import("@strapi/types/dist/uid").ContentType>, "documentId"> & {
238
+ publish(id: import("@strapi/types/dist/modules/documents/index.js").ID, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").Publish<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId"> & {
239
239
  populate?: object;
240
- }): Promise<import("@strapi/types/dist/modules/documents").AnyDocument[]>;
241
- publishMany(uid: import("@strapi/types/dist/uid").ContentType, documentIds: string[], locale?: string | string[]): Promise<number>;
242
- unpublishMany(documentIds: import("@strapi/types/dist/modules/documents").ID[], uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").Unpublish<import("@strapi/types/dist/uid").ContentType>, "documentId">): Promise<{
240
+ }): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument[]>;
241
+ publishMany(uid: import("@strapi/types/dist/uid/index.js").ContentType, documentIds: string[], locale?: string | string[]): Promise<number>;
242
+ unpublishMany(documentIds: import("@strapi/types/dist/modules/documents/index.js").ID[], uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").Unpublish<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId">): Promise<{
243
243
  count: number;
244
244
  }>;
245
- unpublish(id: import("@strapi/types/dist/modules/documents").ID, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").Unpublish<import("@strapi/types/dist/uid").ContentType>, "documentId"> & {
245
+ unpublish(id: import("@strapi/types/dist/modules/documents/index.js").ID, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").Unpublish<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId"> & {
246
246
  populate?: object;
247
- }): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | undefined>;
248
- discardDraft(id: import("@strapi/types/dist/modules/documents").ID, uid: import("@strapi/types/dist/uid").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine").DiscardDraft<import("@strapi/types/dist/uid").ContentType>, "documentId"> & {
247
+ }): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | undefined>;
248
+ discardDraft(id: import("@strapi/types/dist/modules/documents/index.js").ID, uid: import("@strapi/types/dist/uid/index.js").CollectionType, opts?: Omit<import("@strapi/types/dist/modules/documents/params/document-engine.js").DiscardDraft<import("@strapi/types/dist/uid/index.js").ContentType>, "documentId"> & {
249
249
  populate?: object;
250
- }): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | undefined>;
251
- countDraftRelations(id: string, uid: import("@strapi/types/dist/uid").ContentType, locale: string): Promise<import("./services/utils/draft-relations").DraftRelationCounts>;
252
- countManyEntriesDraftRelations(documentIds: import("@strapi/types/dist/modules/documents").ID[], uid: import("@strapi/types/dist/uid").CollectionType, locale: string | string[]): Promise<number>;
250
+ }): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | undefined>;
251
+ countDraftRelations(id: string, uid: import("@strapi/types/dist/uid/index.js").ContentType, locale: string): Promise<import("./services/utils/draft-relations").DraftRelationCounts>;
252
+ countManyEntriesDraftRelations(documentIds: import("@strapi/types/dist/modules/documents/index.js").ID[], uid: import("@strapi/types/dist/uid/index.js").CollectionType, locale: string | string[]): Promise<number>;
253
253
  };
254
254
  'field-sizes': ({ strapi }: {
255
- strapi: import("@strapi/types/dist/core").Strapi;
255
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
256
256
  }) => {
257
257
  getAllFieldSizes(): Record<string, {
258
258
  default: 4 | 6 | 8 | 12;
@@ -270,30 +270,30 @@ declare const _default: () => {
270
270
  setCustomFieldInputSizes(): void;
271
271
  };
272
272
  metrics: ({ strapi }: {
273
- strapi: import("@strapi/types/dist/core").Strapi;
273
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
274
274
  }) => {
275
- sendDidConfigureListView: (contentType: import("@strapi/types/dist/struct").ContentTypeSchema, configuration: import("../../shared/contracts/content-types").Configuration) => Promise<void>;
275
+ sendDidConfigureListView: (contentType: import("@strapi/types/dist/struct/schema.js").ContentTypeSchema, configuration: import("../../shared/contracts/content-types").Configuration) => Promise<void>;
276
276
  };
277
277
  'permission-checker': ({ strapi }: {
278
- strapi: import("@strapi/types/dist/core").Strapi;
278
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
279
279
  }) => {
280
280
  create: ({ userAbility, model }: {
281
281
  userAbility: import("@casl/ability").Ability;
282
282
  model: string;
283
283
  }) => {
284
284
  can: (action: string, entity?: {
285
- id: import("@strapi/types/dist/modules/entity-service/params/attributes").ID;
285
+ id: import("@strapi/types/dist/modules/entity-service/params/attributes/id.js").ID;
286
286
  } & {
287
287
  [key: string]: any;
288
288
  }, field: string) => boolean;
289
289
  cannot: (action: string, entity?: {
290
- id: import("@strapi/types/dist/modules/entity-service/params/attributes").ID;
290
+ id: import("@strapi/types/dist/modules/entity-service/params/attributes/id.js").ID;
291
291
  } & {
292
292
  [key: string]: any;
293
293
  }, field: string) => boolean;
294
294
  requiresEntity: (action: string) => boolean;
295
295
  sanitizeOutput: (data: {
296
- id: import("@strapi/types/dist/modules/entity-service/params/attributes").ID;
296
+ id: import("@strapi/types/dist/modules/entity-service/params/attributes/id.js").ID;
297
297
  } & {
298
298
  [key: string]: any;
299
299
  }, { action }?: {
@@ -308,7 +308,7 @@ declare const _default: () => {
308
308
  }) => any;
309
309
  sanitizeCreateInput: (data: any) => any;
310
310
  sanitizeUpdateInput: (entity: {
311
- id: import("@strapi/types/dist/modules/entity-service/params/attributes").ID;
311
+ id: import("@strapi/types/dist/modules/entity-service/params/attributes/id.js").ID;
312
312
  } & {
313
313
  [key: string]: any;
314
314
  }) => (data: any) => any;
@@ -320,7 +320,7 @@ declare const _default: () => {
320
320
  action?: string;
321
321
  }) => any;
322
322
  validateInput: (action: string, data: any, entity?: {
323
- id: import("@strapi/types/dist/modules/entity-service/params/attributes").ID;
323
+ id: import("@strapi/types/dist/modules/entity-service/params/attributes/id.js").ID;
324
324
  } & {
325
325
  [key: string]: any;
326
326
  }) => any;
@@ -334,15 +334,15 @@ declare const _default: () => {
334
334
  };
335
335
  };
336
336
  permission: ({ strapi }: {
337
- strapi: import("@strapi/types/dist/core").Strapi;
337
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
338
338
  }) => {
339
339
  canConfigureContentType({ userAbility, contentType, }: {
340
340
  userAbility: any;
341
- contentType: import("@strapi/types/dist/struct").ContentTypeSchema;
341
+ contentType: import("@strapi/types/dist/struct/schema.js").ContentTypeSchema;
342
342
  }): any;
343
343
  registerPermissions(): Promise<void>;
344
344
  };
345
- 'populate-builder': () => (uid: import("@strapi/types/dist/uid").Schema) => {
345
+ 'populate-builder': () => (uid: import("@strapi/types/dist/uid/index.js").Schema) => {
346
346
  populateFromQuery(query: object): /*elided*/ any;
347
347
  countRelations({ toMany, toOne }?: {
348
348
  toMany: boolean;
@@ -350,27 +350,27 @@ declare const _default: () => {
350
350
  }): /*elided*/ any;
351
351
  populateDeep(level?: number): /*elided*/ any;
352
352
  withPopulateOverride(overrides: Record<string, any>): /*elided*/ any;
353
- build(): Promise<string | import("@strapi/types/dist/modules/entity-service/params/populate").ArrayNotation<import("@strapi/types/dist/uid").Schema> | {
353
+ build(): Promise<string | import("@strapi/types/dist/modules/entity-service/params/populate.js").ArrayNotation<import("@strapi/types/dist/uid/index.js").Schema> | {
354
354
  [key: string]: boolean | object;
355
355
  } | undefined>;
356
356
  };
357
357
  uid: ({ strapi }: {
358
- strapi: import("@strapi/types/dist/core").Strapi;
358
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
359
359
  }) => {
360
360
  generateUIDField({ contentTypeUID, field, data, locale, }: {
361
- contentTypeUID: import("@strapi/types/dist/uid").ContentType;
361
+ contentTypeUID: import("@strapi/types/dist/uid/index.js").ContentType;
362
362
  field: string;
363
363
  data: Record<string, any>;
364
364
  locale?: string;
365
365
  }): Promise<string>;
366
366
  findUniqueUID({ contentTypeUID, field, value, locale, }: {
367
- contentTypeUID: import("@strapi/types/dist/uid").ContentType;
367
+ contentTypeUID: import("@strapi/types/dist/uid/index.js").ContentType;
368
368
  field: string;
369
369
  value: string;
370
370
  locale?: string;
371
371
  }): Promise<string>;
372
372
  checkUIDAvailability({ contentTypeUID, field, value, locale, }: {
373
- contentTypeUID: import("@strapi/types/dist/uid").ContentType;
373
+ contentTypeUID: import("@strapi/types/dist/uid/index.js").ContentType;
374
374
  field: string;
375
375
  value: string;
376
376
  locale?: string;
@@ -3,6 +3,6 @@
3
3
  * so we need to avoid conficts in the router name, and to prefix the path for each route.
4
4
  */
5
5
  export declare const routes: {
6
- preview: import("@strapi/types/dist/core").Router;
6
+ preview: import("@strapi/types/dist/core/router.js").Router;
7
7
  };
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,17 +1,17 @@
1
1
  export declare const services: {
2
2
  preview: ({ strapi }: {
3
- strapi: import("@strapi/types/dist/core").Strapi;
3
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
4
4
  }) => {
5
- getPreviewUrl(uid: import("@strapi/types/dist/uid").ContentType, params: import("./preview-config").HandlerParams): Promise<string | null | undefined>;
5
+ getPreviewUrl(uid: import("@strapi/types/dist/uid/index.js").ContentType, params: import("./preview-config").HandlerParams): Promise<string | null | undefined>;
6
6
  };
7
7
  'preview-config': ({ strapi }: {
8
- strapi: import("@strapi/types/dist/core").Strapi;
8
+ strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
9
9
  }) => {
10
10
  register(): void;
11
11
  isConfigured(): boolean;
12
12
  isEnabled(): boolean;
13
13
  validate(): void;
14
- getPreviewHandler(): NonNullable<import("@strapi/types/dist/core/config").Admin["preview"]>["config"]["handler"];
14
+ getPreviewHandler(): NonNullable<import("@strapi/types/dist/core/config/admin.js").Admin["preview"]>["config"]["handler"];
15
15
  };
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/preview/services/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;6BAIk5D,gFAAoD;;CADh7D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/preview/services/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;6BAIk5D,yFAAoD;;CADh7D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- homepage: import("@strapi/types/dist/core").Router;
2
+ homepage: import("@strapi/types/dist/core/router.js").Router;
3
3
  admin: {
4
4
  type: string;
5
5
  routes: ({
@@ -5,7 +5,7 @@ declare const _default: () => {
5
5
  isDisplayed: boolean;
6
6
  attributes: any;
7
7
  modelType: "component";
8
- uid: import("@strapi/types/dist/uid").Component;
8
+ uid: import("@strapi/types/dist/uid/index.js").Component;
9
9
  category: string;
10
10
  modelName: string;
11
11
  globalId: string;