@medusajs/link-modules 2.0.7-snapshot-20241126115813 → 2.0.7-snapshot-20241126134600

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,19 +7,20 @@ export declare function getLinkRepository(model: EntitySchema): {
7
7
  readonly joinerConfig_: ModuleJoinerConfig;
8
8
  delete(data: any, context?: Context): Promise<void>;
9
9
  create(data: object[], context?: Context): Promise<object[]>;
10
+ entity: import("@mikro-orm/core").EntityClass<EntitySchema<any, never>>;
10
11
  update(data: {
11
12
  entity: any;
12
13
  update: any;
13
- }[], context?: Context): Promise<object[]>;
14
- find(options?: import("@medusajs/framework/types").FindOptions<object> | undefined, context?: Context): Promise<object[]>;
15
- findAndCount(options?: import("@medusajs/framework/types").FindOptions<object> | undefined, context?: Context): Promise<[object[], number]>;
16
- upsert(data: unknown[], context?: Context): Promise<object[]>;
17
- upsertWithReplace(data: unknown[], config?: import("@medusajs/framework/types").UpsertWithReplaceConfig<object> | undefined, context?: Context): Promise<{
18
- entities: object[];
14
+ }[], context?: Context): Promise<any[]>;
15
+ find(options?: import("@medusajs/framework/types").FindOptions<EntitySchema<any, never>> | undefined, context?: Context): Promise<any[]>;
16
+ findAndCount(options?: import("@medusajs/framework/types").FindOptions<EntitySchema<any, never>> | undefined, context?: Context): Promise<[any[], number]>;
17
+ upsert(data: unknown[], context?: Context): Promise<any[]>;
18
+ upsertWithReplace(data: unknown[], config?: import("@medusajs/framework/types").UpsertWithReplaceConfig<any> | undefined, context?: Context): Promise<{
19
+ entities: any[];
19
20
  performedActions: import("@medusajs/framework/types").PerformedActions;
20
21
  }>;
21
- softDelete(filters: string | string[] | (object & import("@medusajs/framework/types").BaseFilterable<object>) | (object & import("@medusajs/framework/types").BaseFilterable<object>)[], sharedContext?: Context): Promise<[object[], Record<string, unknown[]>]>;
22
- restore(idsOrFilter: string[] | import("@medusajs/framework/types").FilterQuery, sharedContext?: Context): Promise<[object[], Record<string, unknown[]>]>;
22
+ softDelete(filters: string | string[] | (import("@medusajs/types/dist/dal/utils").FilterQueryProperties<EntitySchema<any, never>, 3> & import("@medusajs/framework/types").BaseFilterable<import("@medusajs/types/dist/dal/utils").FilterQueryProperties<EntitySchema<any, never>, 3>>) | (import("@medusajs/types/dist/dal/utils").FilterQueryProperties<EntitySchema<any, never>, 3> & import("@medusajs/framework/types").BaseFilterable<import("@medusajs/types/dist/dal/utils").FilterQueryProperties<EntitySchema<any, never>, 3>>)[], sharedContext?: Context): Promise<[any[], Record<string, unknown[]>]>;
23
+ restore(idsOrFilter: string[] | import("@medusajs/framework/types").FilterQuery, sharedContext?: Context): Promise<[any[], Record<string, unknown[]>]>;
23
24
  applyFreeTextSearchFilters<T>(findOptions: import("@medusajs/framework/types").FindOptions<T & {
24
25
  q?: string;
25
26
  }>, retrieveConstraintsToApply: (q: string) => any[]): void;
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/repositories/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY;2BAInB;QAAE,YAAY,EAAE,kBAAkB,CAAA;KAAE;gCAF1C,kBAAkB;qBAQvB,GAAG,YAAW,OAAO,GAAQ,OAAO,CAAC,IAAI,CAAC;qBAY1C,MAAM,EAAE,YAAW,OAAO,GAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;aAkB6qD,CAAC;;;;;;0BA9B/rD,CAAC;oCAElD,CAAC;uBACD,CAAA;;;;EA0BP"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/repositories/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY;2BAInB;QAAE,YAAY,EAAE,kBAAkB,CAAA;KAAE;gCAF1C,kBAAkB;qBAQvB,GAAG,YAAW,OAAO,GAAQ,OAAO,CAAC,IAAI,CAAC;qBAY1C,MAAM,EAAE,YAAW,OAAO,GAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;aAkB+5D,CAAC;;;;;;0BA7Bl+D,CAAC;oCACkB,CAAC;uBAElB,CAAP;;;;EAyBF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/link-modules",
3
- "version": "2.0.7-snapshot-20241126115813",
3
+ "version": "2.0.7-snapshot-20241126134600",
4
4
  "description": "Medusa Default Link Modules Package and Definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,8 +33,8 @@
33
33
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
34
34
  },
35
35
  "devDependencies": {
36
- "@medusajs/framework": "2.0.7-snapshot-20241126115813",
37
- "@medusajs/test-utils": "2.0.7-snapshot-20241126115813",
36
+ "@medusajs/framework": "2.0.7-snapshot-20241126134600",
37
+ "@medusajs/test-utils": "2.0.7-snapshot-20241126134600",
38
38
  "@mikro-orm/core": "5.9.7",
39
39
  "@mikro-orm/migrations": "5.9.7",
40
40
  "@mikro-orm/postgresql": "5.9.7",
@@ -47,7 +47,7 @@
47
47
  "typescript": "^5.6.2"
48
48
  },
49
49
  "peerDependencies": {
50
- "@medusajs/framework": "2.0.7-snapshot-20241126115813",
50
+ "@medusajs/framework": "2.0.7-snapshot-20241126134600",
51
51
  "@mikro-orm/core": "5.9.7",
52
52
  "@mikro-orm/migrations": "5.9.7",
53
53
  "@mikro-orm/postgresql": "5.9.7",