@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
@@ -1,12 +1,12 @@
1
1
  /// <reference types="node" />
2
2
  import { Writable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core, Struct } from '@strapi/types';
4
4
  import type { IDestinationProvider, IMetadata, ProviderType, Transaction } from '../../../../types';
5
5
  import { restore } from './strategies';
6
6
  export declare const VALID_CONFLICT_STRATEGIES: string[];
7
7
  export declare const DEFAULT_CONFLICT_STRATEGY = "restore";
8
8
  export interface ILocalStrapiDestinationProviderOptions {
9
- getStrapi(): LoadedStrapi | Promise<LoadedStrapi>;
9
+ getStrapi(): Core.LoadedStrapi | Promise<Core.LoadedStrapi>;
10
10
  autoDestroy?: boolean;
11
11
  restore?: restore.IRestoreOptions;
12
12
  strategy: 'restore';
@@ -16,7 +16,7 @@ declare class LocalStrapiDestinationProvider implements IDestinationProvider {
16
16
  name: string;
17
17
  type: ProviderType;
18
18
  options: ILocalStrapiDestinationProviderOptions;
19
- strapi?: LoadedStrapi;
19
+ strapi?: Core.LoadedStrapi;
20
20
  transaction?: Transaction;
21
21
  uploadsBackupDirectoryName: string;
22
22
  onWarning?: ((message: string) => void) | undefined;
@@ -26,7 +26,7 @@ declare class LocalStrapiDestinationProvider implements IDestinationProvider {
26
26
  rollback(): Promise<void>;
27
27
  beforeTransfer(): Promise<void>;
28
28
  getMetadata(): IMetadata;
29
- getSchemas(): import("@strapi/types/dist/types/utils/string").Dict<import("@strapi/types/dist/types/core/schemas").Schema>;
29
+ getSchemas(): Record<string, Struct.Schema>;
30
30
  createEntitiesWriteStream(): Writable;
31
31
  createAssetsWriteStream(): Promise<Writable>;
32
32
  createConfigurationWriteStream(): Promise<Writable>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-destination/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,QAAQ,CAAC;AAI5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAEV,oBAAoB,EAEpB,SAAS,EACT,YAAY,EACZ,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AASvC,eAAO,MAAM,yBAAyB,UAAc,CAAC;AACrD,eAAO,MAAM,yBAAyB,YAAY,CAAC;AAEnD,MAAM,WAAW,sCAAsC;IACrD,SAAS,IAAI,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAElD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,cAAM,8BAA+B,YAAW,oBAAoB;;IAClE,IAAI,SAA+B;IAEnC,IAAI,EAAE,YAAY,CAAiB;IAEnC,OAAO,EAAE,sCAAsC,CAAC;IAEhD,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,0BAA0B,EAAE,MAAM,CAAC;IAEnC,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;gBAOxC,OAAO,EAAE,sCAAsC;IAMrD,SAAS,IAAI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CAAC;IAE1B,0BAA0B,EAAE,MAAM,CAAC;IAEnC,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;gBAOxC,OAAO,EAAE,sCAAsC;IAMrD,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IA0B1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA8DtB,QAAQ;IAIR,cAAc;IAkBpB,WAAW,IAAI,SAAS;IAaxB,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IAU3C,yBAAyB,IAAI,QAAQ;IAuF/B,uBAAuB,IAAI,OAAO,CAAC,QAAQ,CAAC;IAuH5C,8BAA8B,IAAI,OAAO,CAAC,QAAQ,CAAC;IAgBnD,sBAAsB,IAAI,OAAO,CAAC,QAAQ,CAAC;CAkBlD;AAED,eAAO,MAAM,oCAAoC,YACtC,sCAAsC,mCAGhD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { Writable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  import { IConfiguration, Transaction } from '../../../../../../types';
5
- export declare const restoreConfigs: (strapi: LoadedStrapi, config: IConfiguration) => Promise<any>;
6
- export declare const createConfigurationWriteStream: (strapi: LoadedStrapi, transaction?: Transaction) => Promise<Writable>;
5
+ export declare const restoreConfigs: (strapi: Core.LoadedStrapi, config: IConfiguration) => Promise<any>;
6
+ export declare const createConfigurationWriteStream: (strapi: Core.LoadedStrapi, transaction?: Transaction) => Promise<Writable>;
7
7
  //# sourceMappingURL=configuration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/configuration.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAmBtE,eAAO,MAAM,cAAc,WAAkB,YAAY,UAAU,cAAc,iBAQhF,CAAC;AAEF,eAAO,MAAM,8BAA8B,WACjC,YAAY,gBACN,WAAW,sBAyB1B,CAAC"}
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/configuration.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAyBtE,eAAO,MAAM,cAAc,WAAkB,KAAK,YAAY,UAAU,cAAc,iBAQrF,CAAC;AAEF,eAAO,MAAM,8BAA8B,WACjC,KAAK,YAAY,gBACX,WAAW,sBAyB1B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="node" />
2
2
  import { Writable } from 'stream';
3
- import type { LoadedStrapi, Common } from '@strapi/types';
3
+ import type { Core, UID } from '@strapi/types';
4
4
  import type { Transaction } from '../../../../../../types';
5
5
  interface IEntitiesRestoreStreamOptions {
6
- strapi: LoadedStrapi;
7
- updateMappingTable<TSchemaUID extends Common.UID.Schema>(type: TSchemaUID, oldID: number, newID: number): void;
6
+ strapi: Core.LoadedStrapi;
7
+ updateMappingTable<TSchemaUID extends UID.Schema>(type: TSchemaUID, oldID: number, newID: number): void;
8
8
  transaction?: Transaction;
9
9
  }
10
10
  declare const createEntitiesWriteStream: (options: IEntitiesRestoreStreamOptions) => Writable;
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAKlE,OAAO,KAAK,EAAW,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIpE,UAAU,6BAA6B;IACrC,MAAM,EAAE,YAAY,CAAC;IACrB,kBAAkB,CAAC,UAAU,SAAS,MAAM,CAAC,GAAG,CAAC,MAAM,EACrD,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,QAAA,MAAM,yBAAyB,YAAa,6BAA6B,aA+FxE,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,IAAI,EAAU,GAAG,EAAE,MAAM,eAAe,CAAC;AAKvD,OAAO,KAAK,EAAW,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIpE,UAAU,6BAA6B;IACrC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC;IAC1B,kBAAkB,CAAC,UAAU,SAAS,GAAG,CAAC,MAAM,EAC9C,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,QAAA,MAAM,yBAAyB,YAAa,6BAA6B,aA+FxE,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { LoadedStrapi, Schema } from '@strapi/types';
1
+ import type { Core, Struct } from '@strapi/types';
2
2
  export interface IRestoreOptions {
3
3
  assets?: boolean;
4
4
  configuration?: {
@@ -8,7 +8,7 @@ export interface IRestoreOptions {
8
8
  entities?: {
9
9
  include?: string[];
10
10
  exclude?: string[];
11
- filters?: ((contentType: Schema.ContentType) => boolean)[];
11
+ filters?: ((contentType: Struct.ContentTypeSchema) => boolean)[];
12
12
  params?: {
13
13
  [uid: string]: unknown;
14
14
  };
@@ -22,7 +22,7 @@ interface IDeleteResults {
22
22
  };
23
23
  };
24
24
  }
25
- export declare const deleteRecords: (strapi: LoadedStrapi, options: IRestoreOptions) => Promise<{
25
+ export declare const deleteRecords: (strapi: Core.LoadedStrapi, options: IRestoreOptions) => Promise<{
26
26
  count: number;
27
27
  entities: IDeleteResults;
28
28
  configuration: IDeleteResults;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAKlE,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,WAAW,KAAK,OAAO,CAAC,EAAE,CAAC;QAC3D,MAAM,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACrC,CAAC;CACH;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;CACjD;AAED,eAAO,MAAM,aAAa,WAAkB,YAAY,WAAW,eAAe;;;;EASjF,CAAC;AAsIF,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,iBAAiB,KAAK,OAAO,CAAC,EAAE,CAAC;QACjE,MAAM,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACrC,CAAC;CACH;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;CACjD;AAED,eAAO,MAAM,aAAa,WAAkB,KAAK,YAAY,WAAW,eAAe;;;;EAStF,CAAC;AAsIF,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { Writable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  import { Transaction } from '../../../../../../types';
5
- export declare const createLinksWriteStream: (mapID: (uid: string, id: number) => number | undefined, strapi: LoadedStrapi, transaction?: Transaction, onWarning?: ((message: string) => void) | undefined) => Writable;
5
+ export declare const createLinksWriteStream: (mapID: (uid: string, id: number) => number | undefined, strapi: Core.LoadedStrapi, transaction?: Transaction, onWarning?: ((message: string) => void) | undefined) => Writable;
6
6
  //# sourceMappingURL=links.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/links.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAS,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAuB7D,eAAO,MAAM,sBAAsB,gBACpB,MAAM,MAAM,MAAM,KAAK,MAAM,GAAG,SAAS,UAC9C,YAAY,gBACN,WAAW,yBACH,MAAM,KAAK,IAAI,0BAwCtC,CAAC"}
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../../src/strapi/providers/local-destination/strategies/restore/links.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAS,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAuB7D,eAAO,MAAM,sBAAsB,gBACpB,MAAM,MAAM,MAAM,KAAK,MAAM,GAAG,SAAS,UAC9C,KAAK,YAAY,gBACX,WAAW,yBACH,MAAM,KAAK,IAAI,0BAwCtC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  import { Duplex } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  /**
5
5
  * Generate and consume assets streams in order to stream each file individually
6
6
  */
7
- export declare const createAssetsStream: (strapi: LoadedStrapi) => Duplex;
7
+ export declare const createAssetsStream: (strapi: Core.LoadedStrapi) => Duplex;
8
8
  //# sourceMappingURL=assets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/assets.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAyB,MAAM,QAAQ,CAAC;AAGvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAoElD;;GAEG;AACH,eAAO,MAAM,kBAAkB,WAAY,YAAY,KAAG,MA8CzD,CAAC"}
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/assets.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAyB,MAAM,QAAQ,CAAC;AAGvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAoE1C;;GAEG;AACH,eAAO,MAAM,kBAAkB,WAAY,KAAK,YAAY,KAAG,MA8C9D,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  import { Readable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  /**
5
5
  * Create a readable stream that export the Strapi app configuration
6
6
  */
7
- export declare const createConfigurationStream: (strapi: LoadedStrapi) => Readable;
7
+ export declare const createConfigurationStream: (strapi: Core.LoadedStrapi) => Readable;
8
8
  //# sourceMappingURL=configuration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/configuration.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD;;GAEG;AACH,eAAO,MAAM,yBAAyB,WAAY,YAAY,KAAG,QAyBhE,CAAC"}
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/configuration.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAI1C;;GAEG;AACH,eAAO,MAAM,yBAAyB,WAAY,KAAK,YAAY,KAAG,QAyBrE,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="node" />
2
2
  import { Readable, Transform } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  /**
5
5
  * Generate and consume content-types streams in order to stream each entity individually
6
6
  */
7
- export declare const createEntitiesStream: (strapi: LoadedStrapi) => Readable;
7
+ export declare const createEntitiesStream: (strapi: Core.LoadedStrapi) => Readable;
8
8
  /**
9
9
  * Create an entity transform stream which convert the output of
10
10
  * the multi-content-types stream to the transfer entity format
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AAK1D;;GAEG;AACH,eAAO,MAAM,oBAAoB,WAAY,YAAY,KAAG,QAuC3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAO,SAchD,CAAC"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAU,MAAM,eAAe,CAAC;AAKlD;;GAEG;AACH,eAAO,MAAM,oBAAoB,WAAY,KAAK,YAAY,KAAG,QAuChE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAO,SAchD,CAAC"}
@@ -1,9 +1,9 @@
1
1
  /// <reference types="node" />
2
2
  import { Readable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core, Struct } from '@strapi/types';
4
4
  import type { IMetadata, ISourceProvider, ProviderType } from '../../../../types';
5
5
  export interface ILocalStrapiSourceProviderOptions {
6
- getStrapi(): LoadedStrapi | Promise<LoadedStrapi>;
6
+ getStrapi(): Core.LoadedStrapi | Promise<Core.LoadedStrapi>;
7
7
  autoDestroy?: boolean;
8
8
  }
9
9
  export declare const createLocalStrapiSourceProvider: (options: ILocalStrapiSourceProviderOptions) => LocalStrapiSourceProvider;
@@ -11,7 +11,7 @@ declare class LocalStrapiSourceProvider implements ISourceProvider {
11
11
  name: string;
12
12
  type: ProviderType;
13
13
  options: ILocalStrapiSourceProviderOptions;
14
- strapi?: LoadedStrapi;
14
+ strapi?: Core.LoadedStrapi;
15
15
  constructor(options: ILocalStrapiSourceProviderOptions);
16
16
  bootstrap(): Promise<void>;
17
17
  close(): Promise<void>;
@@ -19,7 +19,7 @@ declare class LocalStrapiSourceProvider implements ISourceProvider {
19
19
  createEntitiesReadStream(): Promise<Readable>;
20
20
  createLinksReadStream(): Readable;
21
21
  createConfigurationReadStream(): Readable;
22
- getSchemas(): import("@strapi/types/dist/types/utils/string").Dict<import("@strapi/types/dist/types/core/schemas").Schema>;
22
+ getSchemas(): Record<string, Struct.Schema>;
23
23
  createSchemasReadStream(): Readable;
24
24
  createAssetsReadStream(): Readable;
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM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C;AAEF,cAAM,yBAA0B,YAAW,eAAe;IACxD,IAAI,SAA0B;IAE9B,IAAI,EAAE,YAAY,CAAY;IAE9B,OAAO,EAAE,iCAAiC,CAAC;IAE3C,MAAM,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC;gBAEf,OAAO,EAAE,iCAAiC;IAIhD,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAI1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAS5B,WAAW,IAAI,SAAS;IAYlB,wBAAwB,IAAI,OAAO,CAAC,QAAQ,CAAC;IAYnD,qBAAqB,IAAI,QAAQ;IAMjC,6BAA6B,IAAI,QAAQ;IAMzC,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IAW3C,uBAAuB,IAAI,QAAQ;IAInC,sBAAsB,IAAI,QAAQ;CAKnC;AAED,MAAM,MAAM,0BAA0B,GAAG,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  import { Readable } from 'stream';
3
- import type { LoadedStrapi } from '@strapi/types';
3
+ import type { Core } from '@strapi/types';
4
4
  /**
5
5
  * Create a Readable which will stream all the links from a Strapi instance
6
6
  */
7
- export declare const createLinksStream: (strapi: LoadedStrapi) => Readable;
7
+ export declare const createLinksStream: (strapi: Core.LoadedStrapi) => Readable;
8
8
  //# sourceMappingURL=links.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/links.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAKlD;;GAEG;AACH,eAAO,MAAM,iBAAiB,WAAY,YAAY,KAAG,QAiBxD,CAAC"}
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/local-source/links.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAK1C;;GAEG;AACH,eAAO,MAAM,iBAAiB,WAAY,KAAK,YAAY,KAAG,QAiB7D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { Writable } from 'stream';
3
3
  import { WebSocket } from 'ws';
4
- import type { Schema, Utils } from '@strapi/types';
4
+ import type { Struct, Utils } from '@strapi/types';
5
5
  import { createDispatcher } from '../utils';
6
6
  import type { IDestinationProvider, IMetadata, ProviderType } from '../../../../types';
7
7
  import type { Auth } from '../../../../types/remote/protocol';
@@ -29,7 +29,7 @@ declare class RemoteStrapiDestinationProvider implements IDestinationProvider {
29
29
  getMetadata(): Promise<IMetadata | null> | null;
30
30
  beforeTransfer(): Promise<void>;
31
31
  rollback(): Promise<void>;
32
- getSchemas(): Promise<Utils.String.Dict<Schema.Schema> | null>;
32
+ getSchemas(): Promise<Utils.String.Dict<Struct.Schema> | null>;
33
33
  createEntitiesWriteStream(): Writable;
34
34
  createLinksWriteStream(): Writable;
35
35
  createConfigurationWriteStream(): Writable;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { Readable, Writable } from 'stream';
3
- import type { Schema, Utils } from '@strapi/types';
3
+ import type { Struct, Utils } from '@strapi/types';
4
4
  import { WebSocket } from 'ws';
5
5
  import type { IMetadata, ISourceProvider, ISourceProviderTransferResults, MaybePromise, ProviderType } from '../../../../types';
6
6
  import { Auth } from '../../../../types/remote/protocol';
@@ -33,7 +33,7 @@ declare class RemoteStrapiSourceProvider implements ISourceProvider {
33
33
  initTransfer(): Promise<string>;
34
34
  bootstrap(): Promise<void>;
35
35
  close(): Promise<void>;
36
- getSchemas(): Promise<Utils.String.Dict<Schema.Schema> | null>;
36
+ getSchemas(): Promise<Utils.String.Dict<Struct.Schema> | null>;
37
37
  }
38
38
  export declare const createRemoteStrapiSourceProvider: (options: IRemoteStrapiSourceProviderOptions) => RemoteStrapiSourceProvider;
39
39
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/strapi/providers/remote-source/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAe,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,OAAO,KAAK,EAEV,SAAS,EACT,eAAe,EACf,8BAA8B,EAC9B,YAAY,EAEZ,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAkB,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAGzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAyC,MAAM,UAAU,CAAC;AAEnF,MAAM,WAAW,kCAAmC,SAAQ,iCAAiC;IAC3F,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC;IAC/B,mBAAmB,CAAC,EAAE;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,sBAAsB,EAAE,MAAM,CAAC;KAChC,CAAC;CACH;AAED,cAAM,0BAA2B,YAAW,eAAe;;IACzD,IAAI,SAA2B;IAE/B,IAAI,EAAE,YAAY,CAAY;IAE9B,OAAO,EAAE,kCAAkC,CAAC;IAE5C,EAAE,EAAE,SAAS,GAAG,IAAI,CAAC;IAErB,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,IAAI,CAAC;gBAE3C,OAAO,EAAE,kCAAkC;IAMvD,OAAO,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IAqDrD,wBAAwB,IAAI,YAAY,CAAC,QAAQ,CAAC;IAIlD,qBA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ACzD,IAAI,SAA2B;IAE/B,IAAI,EAAE,YAAY,CAAY;IAE9B,OAAO,EAAE,kCAAkC,CAAC;IAE5C,EAAE,EAAE,SAAS,GAAG,IAAI,CAAC;IAErB,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,IAAI,CAAC;gBAE3C,OAAO,EAAE,kCAAkC;IAMvD,OAAO,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IAqDrD,wBAAwB,IAAI,YAAY,CAAC,QAAQ,CAAC;IAIlD,qBAAqB,IAAI,YAAY,CAAC,QAAQ,CAAC;IAI/C,UAAU,cAAe,QAAQ,4BAU/B;IAEI,sBAAsB,IAAI,OAAO,CAAC,QAAQ,CAAC;IAyDjD,6BAA6B,IAAI,YAAY,CAAC,QAAQ,CAAC;IAIjD,WAAW,IAAI,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAM9C,mBAAmB,CAAC,GAAG,EAAE,GAAG;IActB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAc/B,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAuC1B,KAAK;IAeL,UAAU;CAqDjB;AAED,eAAO,MAAM,gCAAgC,YAAa,kCAAkC,+BAE3F,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { LoadedStrapi } from '@strapi/types';
2
- declare const createEntityQuery: (strapi: LoadedStrapi) => any;
1
+ import type { Core } from '@strapi/types';
2
+ declare const createEntityQuery: (strapi: Core.LoadedStrapi) => any;
3
3
  export { createEntityQuery };
4
4
  //# sourceMappingURL=entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/strapi/queries/entity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAA6B,MAAM,eAAe,CAAC;AAkB7E,QAAA,MAAM,iBAAiB,WAAY,YAAY,KAAG,GAqIjD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/strapi/queries/entity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAqB,MAAM,eAAe,CAAC;AAkB7D,QAAA,MAAM,iBAAiB,WAAY,KAAK,YAAY,KAAG,GAiItD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { Knex } from 'knex';
2
- import type { LoadedStrapi } from '@strapi/types';
2
+ import type { Core } from '@strapi/types';
3
3
  import { ILink } from '../../../types';
4
- export declare const createLinkQuery: (strapi: LoadedStrapi, trx?: Knex.Transaction) => () => {
4
+ export declare const createLinkQuery: (strapi: Core.LoadedStrapi, trx?: Knex.Transaction) => () => {
5
5
  generateAll: (uid: string) => AsyncGenerator<ILink>;
6
6
  generateAllForAttribute: (uid: string, fieldName: string) => AsyncGenerator<ILink>;
7
7
  insert: (link: ILink) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/strapi/queries/link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,eAAO,MAAM,eAAe,WAAY,YAAY,QAAQ,KAAK,WAAW;uBAmMvC,MAAM,KAAG,eAAe,KAAK,CAAC;mCAzLlB,MAAM,aAAa,MAAM,KAAG,eAAe,KAAK,CAAC;mBAyMlE,KAAK;CAyGpC,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/strapi/queries/link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEjC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,eAAO,MAAM,eAAe,WAAY,KAAK,YAAY,QAAQ,KAAK,WAAW;uBAmM5C,MAAM,KAAG,eAAe,KAAK,CAAC;mCAzLlB,MAAM,aAAa,MAAM,KAAG,eAAe,KAAK,CAAC;mBAyMlE,KAAK;CAyGpC,CAAC"}
@@ -1,20 +1,91 @@
1
- import type { Attribute, Common, Schema, EntityService } from '@strapi/types';
2
- type LoadedComponents<TUID extends Common.UID.Schema> = Attribute.GetValues<TUID, Attribute.GetKeysByType<TUID, 'component' | 'dynamiczone'>>;
1
+ import type { Modules, UID, Data, Utils, Schema } from '@strapi/types';
2
+ type LoadedComponents<TUID extends UID.Schema> = Data.Entity<TUID, Schema.AttributeNamesByType<TUID, 'component' | 'dynamiczone'>>;
3
3
  type ComponentBody = {
4
- [key: string]: Attribute.GetValue<Attribute.Component<Common.UID.Component, false> | Attribute.Component<Common.UID.Component, true> | Attribute.DynamicZone>;
4
+ [key: string]: Schema.Attribute.Value<Schema.Attribute.Component<UID.Component, false> | Schema.Attribute.Component<UID.Component, true> | Schema.Attribute.DynamicZone>;
5
5
  };
6
- declare function omitComponentData(contentType: Schema.ContentType, data: EntityService.Params.Data.Input<Schema.ContentType['uid']>): Partial<EntityService.Params.Data.Input<Schema.ContentType['uid']>>;
7
- declare function omitComponentData(contentType: Schema.Component, data: EntityService.Params.Data.Input<Schema.Component['uid']>): Partial<EntityService.Params.Data.Input<Schema.Component['uid']>>;
8
- declare const createComponents: <TUID extends Common.UID.Schema, TData extends EntityService.Params.Data.Input<TUID>>(uid: TUID, data: TData) => Promise<ComponentBody>;
9
- declare const getComponents: <TUID extends Common.UID.Schema>(uid: TUID, entity: {
10
- id: EntityService.Params.Attribute.ID;
6
+ declare function omitComponentData(contentType: Schema.ContentType, data: Modules.EntityService.Params.Data.Input<Schema.ContentType['uid']>): Partial<Modules.EntityService.Params.Data.Input<Schema.ContentType['uid']>>;
7
+ declare function omitComponentData(contentType: Schema.Component, data: Modules.EntityService.Params.Data.Input<Schema.Component['uid']>): Partial<Modules.EntityService.Params.Data.Input<Schema.Component['uid']>>;
8
+ declare const createComponents: <TUID extends UID.Schema, TData extends Modules.EntityService.Params.Data.Input<TUID>>(uid: TUID, data: TData) => Promise<ComponentBody>;
9
+ declare const getComponents: <TUID extends UID.Schema>(uid: TUID, entity: {
10
+ id: Modules.EntityService.Params.Attribute.ID;
11
11
  }) => Promise<LoadedComponents<TUID>>;
12
- declare const updateComponents: <TUID extends Common.UID.Schema, TData extends Partial<EntityService.Params.Data.Input<TUID>>>(uid: TUID, entityToUpdate: {
13
- id: EntityService.Params.Attribute.ID;
12
+ declare const updateComponents: <TUID extends UID.Schema, TData extends Partial<Modules.EntityService.Params.Data.Input<TUID>>>(uid: TUID, entityToUpdate: {
13
+ id: Modules.EntityService.Params.Attribute.ID;
14
14
  }, data: TData) => Promise<ComponentBody>;
15
- declare const deleteComponents: <TUID extends Common.UID.Schema, TEntity extends Attribute.GetValues<TUID, Attribute.GetKeys<TUID>>>(uid: TUID, entityToDelete: TEntity, { loadComponents }?: {
15
+ declare const deleteComponents: <TUID extends UID.Schema, TEntity extends Data.Entity<TUID, Extract<keyof Schema.Attributes<TUID>, string>>>(uid: TUID, entityToDelete: TEntity, { loadComponents }?: {
16
16
  loadComponents?: boolean | undefined;
17
17
  }) => Promise<void>;
18
- declare const deleteComponent: <TUID extends `${string}.${string}`>(uid: TUID, componentToDelete: Attribute.GetValues<TUID, Attribute.GetKeys<TUID>>) => Promise<void>;
18
+ declare const deleteComponent: <TUID extends `${string}.${string}`>(uid: TUID, componentToDelete: {
19
+ id: Data.ID;
20
+ } & Pick<{ [TAttributeName in Extract<keyof Schema.Attributes<TUID>, string>]?: Utils.If<Utils.IsTrue<Utils.IsTrue<Utils.Extends<{
21
+ biginteger: Schema.Attribute.GetBigIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
22
+ boolean: Schema.Attribute.GetBooleanValue<Schema.AttributeByName<TUID, TAttributeName>>;
23
+ blocks: Schema.Attribute.GetBlocksValue<Schema.AttributeByName<TUID, TAttributeName>>;
24
+ decimal: Schema.Attribute.GetDecimalValue<Schema.AttributeByName<TUID, TAttributeName>>;
25
+ enumeration: Schema.Attribute.GetEnumerationValue<Schema.AttributeByName<TUID, TAttributeName>>;
26
+ email: Schema.Attribute.GetEmailValue<Schema.AttributeByName<TUID, TAttributeName>>;
27
+ float: Schema.Attribute.GetFloatValue<Schema.AttributeByName<TUID, TAttributeName>>;
28
+ integer: Schema.Attribute.GetIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
29
+ json: Schema.Attribute.GetJsonValue<Schema.AttributeByName<TUID, TAttributeName>>;
30
+ password: Schema.Attribute.GetPasswordValue<Schema.AttributeByName<TUID, TAttributeName>>;
31
+ richtext: Schema.Attribute.GetRichTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
32
+ string: Schema.Attribute.GetStringValue<Schema.AttributeByName<TUID, TAttributeName>>;
33
+ text: Schema.Attribute.GetTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
34
+ uid: Schema.Attribute.GetUIDValue<Schema.AttributeByName<TUID, TAttributeName>>;
35
+ date: Schema.Attribute.GetDateValue<Schema.AttributeByName<TUID, TAttributeName>>;
36
+ datetime: Schema.Attribute.GetDateTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
37
+ time: Schema.Attribute.GetTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
38
+ timestamp: Schema.Attribute.GetTimestampValue<Schema.AttributeByName<TUID, TAttributeName>>;
39
+ component: Schema.Attribute.GetComponentValue<Schema.AttributeByName<TUID, TAttributeName>>;
40
+ dynamiczone: Schema.Attribute.GetDynamicZoneValue<Schema.AttributeByName<TUID, TAttributeName>>;
41
+ media: Schema.Attribute.GetMediaValue<Schema.AttributeByName<TUID, TAttributeName>>;
42
+ relation: Schema.Attribute.GetRelationValue<Schema.AttributeByName<TUID, TAttributeName>>;
43
+ }[Schema.Attribute.TypeOf<Schema.AttributeByName<TUID, TAttributeName>>], never>> | Utils.IsTrue<Utils.Extends<never, {
44
+ biginteger: Schema.Attribute.GetBigIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
45
+ boolean: Schema.Attribute.GetBooleanValue<Schema.AttributeByName<TUID, TAttributeName>>;
46
+ blocks: Schema.Attribute.GetBlocksValue<Schema.AttributeByName<TUID, TAttributeName>>;
47
+ decimal: Schema.Attribute.GetDecimalValue<Schema.AttributeByName<TUID, TAttributeName>>;
48
+ enumeration: Schema.Attribute.GetEnumerationValue<Schema.AttributeByName<TUID, TAttributeName>>;
49
+ email: Schema.Attribute.GetEmailValue<Schema.AttributeByName<TUID, TAttributeName>>;
50
+ float: Schema.Attribute.GetFloatValue<Schema.AttributeByName<TUID, TAttributeName>>;
51
+ integer: Schema.Attribute.GetIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
52
+ json: Schema.Attribute.GetJsonValue<Schema.AttributeByName<TUID, TAttributeName>>;
53
+ password: Schema.Attribute.GetPasswordValue<Schema.AttributeByName<TUID, TAttributeName>>;
54
+ richtext: Schema.Attribute.GetRichTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
55
+ string: Schema.Attribute.GetStringValue<Schema.AttributeByName<TUID, TAttributeName>>;
56
+ text: Schema.Attribute.GetTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
57
+ uid: Schema.Attribute.GetUIDValue<Schema.AttributeByName<TUID, TAttributeName>>;
58
+ date: Schema.Attribute.GetDateValue<Schema.AttributeByName<TUID, TAttributeName>>;
59
+ datetime: Schema.Attribute.GetDateTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
60
+ time: Schema.Attribute.GetTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
61
+ timestamp: Schema.Attribute.GetTimestampValue<Schema.AttributeByName<TUID, TAttributeName>>;
62
+ component: Schema.Attribute.GetComponentValue<Schema.AttributeByName<TUID, TAttributeName>>;
63
+ dynamiczone: Schema.Attribute.GetDynamicZoneValue<Schema.AttributeByName<TUID, TAttributeName>>;
64
+ media: Schema.Attribute.GetMediaValue<Schema.AttributeByName<TUID, TAttributeName>>;
65
+ relation: Schema.Attribute.GetRelationValue<Schema.AttributeByName<TUID, TAttributeName>>;
66
+ }[Schema.Attribute.TypeOf<Schema.AttributeByName<TUID, TAttributeName>>]>>>, unknown, {
67
+ biginteger: Schema.Attribute.GetBigIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
68
+ boolean: Schema.Attribute.GetBooleanValue<Schema.AttributeByName<TUID, TAttributeName>>;
69
+ blocks: Schema.Attribute.GetBlocksValue<Schema.AttributeByName<TUID, TAttributeName>>;
70
+ decimal: Schema.Attribute.GetDecimalValue<Schema.AttributeByName<TUID, TAttributeName>>;
71
+ enumeration: Schema.Attribute.GetEnumerationValue<Schema.AttributeByName<TUID, TAttributeName>>;
72
+ email: Schema.Attribute.GetEmailValue<Schema.AttributeByName<TUID, TAttributeName>>;
73
+ float: Schema.Attribute.GetFloatValue<Schema.AttributeByName<TUID, TAttributeName>>;
74
+ integer: Schema.Attribute.GetIntegerValue<Schema.AttributeByName<TUID, TAttributeName>>;
75
+ json: Schema.Attribute.GetJsonValue<Schema.AttributeByName<TUID, TAttributeName>>;
76
+ password: Schema.Attribute.GetPasswordValue<Schema.AttributeByName<TUID, TAttributeName>>;
77
+ richtext: Schema.Attribute.GetRichTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
78
+ string: Schema.Attribute.GetStringValue<Schema.AttributeByName<TUID, TAttributeName>>;
79
+ text: Schema.Attribute.GetTextValue<Schema.AttributeByName<TUID, TAttributeName>>;
80
+ uid: Schema.Attribute.GetUIDValue<Schema.AttributeByName<TUID, TAttributeName>>;
81
+ date: Schema.Attribute.GetDateValue<Schema.AttributeByName<TUID, TAttributeName>>;
82
+ datetime: Schema.Attribute.GetDateTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
83
+ time: Schema.Attribute.GetTimeValue<Schema.AttributeByName<TUID, TAttributeName>>;
84
+ timestamp: Schema.Attribute.GetTimestampValue<Schema.AttributeByName<TUID, TAttributeName>>;
85
+ component: Schema.Attribute.GetComponentValue<Schema.AttributeByName<TUID, TAttributeName>>;
86
+ dynamiczone: Schema.Attribute.GetDynamicZoneValue<Schema.AttributeByName<TUID, TAttributeName>>;
87
+ media: Schema.Attribute.GetMediaValue<Schema.AttributeByName<TUID, TAttributeName>>;
88
+ relation: Schema.Attribute.GetRelationValue<Schema.AttributeByName<TUID, TAttributeName>>;
89
+ }[Schema.Attribute.TypeOf<Schema.AttributeByName<TUID, TAttributeName>>]> | null | undefined; }, Extract<keyof Schema.Attributes<TUID>, string>>) => Promise<void>;
19
90
  export { omitComponentData, getComponents, createComponents, updateComponents, deleteComponents, deleteComponent, };
20
91
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/utils/components.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAS,aAAa,EAAE,MAAM,eAAe,CAAC;AAErF,KAAK,gBAAgB,CAAC,IAAI,SAAS,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,SAAS,CAAC,SAAS,CACzE,IAAI,EACJ,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,WAAW,GAAG,aAAa,CAAC,CAC3D,CAAC;AAMF,KAAK,aAAa,GAAG;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,QAAQ,CAC7B,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,GAChD,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,GAC/C,SAAS,CAAC,WAAW,CACxB,CAAC;CACH,CAAC;AAIF,iBAAS,iBAAiB,CACxB,WAAW,EAAE,MAAM,CAAC,WAAW,EAC/B,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC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,CAAC,EAAE,CAAA;CAAE,wCA2FlE,CAAC;AAkGF,QAAA,MAAM,gBAAgB;;mBA+CrB,CAAC;AA8DF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kKAMpB,CAAC;AAEF,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { LoadedStrapi } from '@strapi/types';
2
- export type ValidStrapiAssertion = (strapi: unknown, msg?: string) => asserts strapi is LoadedStrapi;
1
+ import type { Core } from '@strapi/types';
2
+ export type ValidStrapiAssertion = (strapi: unknown, msg?: string) => asserts strapi is Core.LoadedStrapi;
3
3
  export declare const assertValidStrapi: ValidStrapiAssertion;
4
4
  //# sourceMappingURL=providers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/utils/providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,OAAO,EACf,GAAG,CAAC,EAAE,MAAM,KACT,OAAO,CAAC,MAAM,IAAI,YAAY,CAAC;AAEpC,eAAO,MAAM,iBAAiB,EAAE,oBAI/B,CAAC"}
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/utils/providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAI1C,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,OAAO,EACf,GAAG,CAAC,EAAE,MAAM,KACT,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,YAAY,CAAC;AAEzC,eAAO,MAAM,iBAAiB,EAAE,oBAI/B,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { Schema, Utils } from '@strapi/types';
1
+ import type { Struct, Utils } from '@strapi/types';
2
2
  /**
3
3
  * Sanitize a schemas dictionary by omitting unwanted properties
4
4
  * The list of allowed properties can be found here: {@link VALID_SCHEMA_PROPERTIES}
5
5
  */
6
- export declare const mapSchemasValues: (schemas: Utils.String.Dict<Schema.Schema>) => Utils.String.Dict<Schema.Schema>;
6
+ export declare const mapSchemasValues: (schemas: Utils.String.Dict<Struct.Schema>) => Utils.String.Dict<Struct.Schema>;
7
7
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAoBnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAa,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,qCAEzE,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAoBnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAa,YAAY,CAAC,IAAI,CAAC,OAAO,MAAM,CAAC,qCAEzE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { LoadedStrapi } from '@strapi/types';
1
+ import type { Core } from '@strapi/types';
2
2
  import { Transaction } from '../../types/utils';
3
- export declare const createTransaction: (strapi: LoadedStrapi) => Transaction;
3
+ export declare const createTransaction: (strapi: Core.LoadedStrapi) => Transaction;
4
4
  //# sourceMappingURL=transaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAC;AAErE,eAAO,MAAM,iBAAiB,WAAY,YAAY,KAAG,WA2FxD,CAAC"}
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAC;AAErE,eAAO,MAAM,iBAAiB,WAAY,KAAK,YAAY,KAAG,WA2F7D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/data-transfer",
3
- "version": "5.0.0-beta.0",
3
+ "version": "5.0.0-beta.1",
4
4
  "description": "Data transfer capabilities for Strapi",
5
5
  "keywords": [
6
6
  "strapi",
@@ -40,9 +40,9 @@
40
40
  "watch": "pack-up watch"
41
41
  },
42
42
  "dependencies": {
43
- "@strapi/logger": "5.0.0-beta.0",
44
- "@strapi/types": "5.0.0-beta.0",
45
- "@strapi/utils": "5.0.0-beta.0",
43
+ "@strapi/logger": "5.0.0-beta.1",
44
+ "@strapi/types": "5.0.0-beta.1",
45
+ "@strapi/utils": "5.0.0-beta.1",
46
46
  "chalk": "4.1.2",
47
47
  "cli-table3": "0.6.2",
48
48
  "commander": "8.3.0",
@@ -59,8 +59,8 @@
59
59
  "ws": "8.13.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@strapi/database": "5.0.0-beta.0",
63
- "@strapi/pack-up": "5.0.0-beta.0",
62
+ "@strapi/database": "5.0.0-beta.1",
63
+ "@strapi/pack-up": "5.0.0-beta.1",
64
64
  "@types/fs-extra": "9.0.13",
65
65
  "@types/jest": "29.5.2",
66
66
  "@types/koa": "2.13.4",
@@ -81,5 +81,5 @@
81
81
  "node": ">=18.0.0 <=20.x.x",
82
82
  "npm": ">=6.0.0"
83
83
  },
84
- "gitHead": "4b2e592f77adbb0eacd7e3f15dd09e5cd3c46c22"
84
+ "gitHead": "ae773621dfcbc67c49dc6fa52ac41ea5de676ecb"
85
85
  }