@strapi/data-transfer 5.0.0-beta.0 → 5.0.0-beta.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 (42) hide show
  1. package/dist/engine/index.d.ts.map +1 -1
  2. package/dist/file/providers/source/index.d.ts +2 -2
  3. package/dist/index.js +5 -9
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +5 -9
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/strapi/providers/local-destination/index.d.ts +4 -4
  8. package/dist/strapi/providers/local-destination/index.d.ts.map +1 -1
  9. package/dist/strapi/providers/local-destination/strategies/restore/configuration.d.ts +3 -3
  10. package/dist/strapi/providers/local-destination/strategies/restore/configuration.d.ts.map +1 -1
  11. package/dist/strapi/providers/local-destination/strategies/restore/entities.d.ts +3 -3
  12. package/dist/strapi/providers/local-destination/strategies/restore/entities.d.ts.map +1 -1
  13. package/dist/strapi/providers/local-destination/strategies/restore/index.d.ts +3 -3
  14. package/dist/strapi/providers/local-destination/strategies/restore/index.d.ts.map +1 -1
  15. package/dist/strapi/providers/local-destination/strategies/restore/links.d.ts +2 -2
  16. package/dist/strapi/providers/local-destination/strategies/restore/links.d.ts.map +1 -1
  17. package/dist/strapi/providers/local-source/assets.d.ts +2 -2
  18. package/dist/strapi/providers/local-source/assets.d.ts.map +1 -1
  19. package/dist/strapi/providers/local-source/configuration.d.ts +2 -2
  20. package/dist/strapi/providers/local-source/configuration.d.ts.map +1 -1
  21. package/dist/strapi/providers/local-source/entities.d.ts +2 -2
  22. package/dist/strapi/providers/local-source/entities.d.ts.map +1 -1
  23. package/dist/strapi/providers/local-source/index.d.ts +4 -4
  24. package/dist/strapi/providers/local-source/index.d.ts.map +1 -1
  25. package/dist/strapi/providers/local-source/links.d.ts +2 -2
  26. package/dist/strapi/providers/local-source/links.d.ts.map +1 -1
  27. package/dist/strapi/providers/remote-destination/index.d.ts +2 -2
  28. package/dist/strapi/providers/remote-source/index.d.ts +2 -2
  29. package/dist/strapi/providers/remote-source/index.d.ts.map +1 -1
  30. package/dist/strapi/queries/entity.d.ts +2 -2
  31. package/dist/strapi/queries/entity.d.ts.map +1 -1
  32. package/dist/strapi/queries/link.d.ts +2 -2
  33. package/dist/strapi/queries/link.d.ts.map +1 -1
  34. package/dist/utils/components.d.ts +83 -12
  35. package/dist/utils/components.d.ts.map +1 -1
  36. package/dist/utils/providers.d.ts +2 -2
  37. package/dist/utils/providers.d.ts.map +1 -1
  38. package/dist/utils/schema.d.ts +2 -2
  39. package/dist/utils/schema.d.ts.map +1 -1
  40. package/dist/utils/transaction.d.ts +2 -2
  41. package/dist/utils/transaction.d.ts.map +1 -1
  42. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -1273,13 +1273,9 @@ const createEntityQuery = (strapi2) => {
1273
1273
  return getComponents(uid, entity2);
1274
1274
  },
1275
1275
  delete(uid, componentsToDelete) {
1276
- return deleteComponents(
1277
- uid,
1278
- componentsToDelete,
1279
- {
1280
- loadComponents: false
1281
- }
1282
- );
1276
+ return deleteComponents(uid, componentsToDelete, {
1277
+ loadComponents: false
1278
+ });
1283
1279
  }
1284
1280
  };
1285
1281
  const query = (uid) => {
@@ -2947,8 +2943,8 @@ class RemoteStrapiSourceProvider {
2947
2943
  async getSchemas() {
2948
2944
  const schemas = await this.dispatcher?.dispatchTransferAction(
2949
2945
  "getSchemas"
2950
- ) ?? null;
2951
- return schemas;
2946
+ );
2947
+ return schemas ?? null;
2952
2948
  }
2953
2949
  async #startStep(step) {
2954
2950
  try {