@strapi/data-transfer 5.0.0-alpha.4 → 5.0.0-alpha.7
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.
- package/dist/engine/index.d.ts.map +1 -1
- package/dist/file/providers/source/index.d.ts +2 -2
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -9
- package/dist/index.mjs.map +1 -1
- package/dist/strapi/providers/local-destination/index.d.ts +4 -4
- package/dist/strapi/providers/local-destination/index.d.ts.map +1 -1
- package/dist/strapi/providers/local-destination/strategies/restore/configuration.d.ts +3 -3
- package/dist/strapi/providers/local-destination/strategies/restore/configuration.d.ts.map +1 -1
- package/dist/strapi/providers/local-destination/strategies/restore/entities.d.ts +3 -3
- package/dist/strapi/providers/local-destination/strategies/restore/entities.d.ts.map +1 -1
- package/dist/strapi/providers/local-destination/strategies/restore/index.d.ts +3 -3
- package/dist/strapi/providers/local-destination/strategies/restore/index.d.ts.map +1 -1
- package/dist/strapi/providers/local-destination/strategies/restore/links.d.ts +2 -2
- package/dist/strapi/providers/local-destination/strategies/restore/links.d.ts.map +1 -1
- package/dist/strapi/providers/local-source/assets.d.ts +2 -2
- package/dist/strapi/providers/local-source/assets.d.ts.map +1 -1
- package/dist/strapi/providers/local-source/configuration.d.ts +2 -2
- package/dist/strapi/providers/local-source/configuration.d.ts.map +1 -1
- package/dist/strapi/providers/local-source/entities.d.ts +2 -2
- package/dist/strapi/providers/local-source/entities.d.ts.map +1 -1
- package/dist/strapi/providers/local-source/index.d.ts +4 -4
- package/dist/strapi/providers/local-source/index.d.ts.map +1 -1
- package/dist/strapi/providers/local-source/links.d.ts +2 -2
- package/dist/strapi/providers/local-source/links.d.ts.map +1 -1
- package/dist/strapi/providers/remote-destination/index.d.ts +2 -2
- package/dist/strapi/providers/remote-source/index.d.ts +2 -2
- package/dist/strapi/providers/remote-source/index.d.ts.map +1 -1
- package/dist/strapi/queries/entity.d.ts +2 -2
- package/dist/strapi/queries/entity.d.ts.map +1 -1
- package/dist/strapi/queries/link.d.ts +2 -2
- package/dist/strapi/queries/link.d.ts.map +1 -1
- package/dist/utils/components.d.ts +83 -12
- package/dist/utils/components.d.ts.map +1 -1
- package/dist/utils/providers.d.ts +2 -2
- package/dist/utils/providers.d.ts.map +1 -1
- package/dist/utils/schema.d.ts +2 -2
- package/dist/utils/schema.d.ts.map +1 -1
- package/dist/utils/transaction.d.ts +2 -2
- package/dist/utils/transaction.d.ts.map +1 -1
- 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
|
-
|
|
1278
|
-
|
|
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
|
-
)
|
|
2951
|
-
return schemas;
|
|
2946
|
+
);
|
|
2947
|
+
return schemas ?? null;
|
|
2952
2948
|
}
|
|
2953
2949
|
async #startStep(step) {
|
|
2954
2950
|
try {
|