@medusajs/link-modules 2.0.7-snapshot-20241126134600 → 2.0.7-snapshot-20241127141508
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,20 +7,19 @@ 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>>;
|
11
10
|
update(data: {
|
12
11
|
entity: any;
|
13
12
|
update: any;
|
14
|
-
}[], context?: Context): Promise<
|
15
|
-
find(options?: import("@medusajs/framework/types").FindOptions<
|
16
|
-
findAndCount(options?: import("@medusajs/framework/types").FindOptions<
|
17
|
-
upsert(data: unknown[], context?: Context): Promise<
|
18
|
-
upsertWithReplace(data: unknown[], config?: import("@medusajs/framework/types").UpsertWithReplaceConfig<
|
19
|
-
entities:
|
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[];
|
20
19
|
performedActions: import("@medusajs/framework/types").PerformedActions;
|
21
20
|
}>;
|
22
|
-
softDelete(filters: string | string[] | (
|
23
|
-
restore(idsOrFilter: string[] | import("@medusajs/framework/types").FilterQuery, sharedContext?: Context): Promise<[
|
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[]>]>;
|
24
23
|
applyFreeTextSearchFilters<T>(findOptions: import("@medusajs/framework/types").FindOptions<T & {
|
25
24
|
q?: string;
|
26
25
|
}>, 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
|
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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/link-modules",
|
3
|
-
"version": "2.0.7-snapshot-
|
3
|
+
"version": "2.0.7-snapshot-20241127141508",
|
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-
|
37
|
-
"@medusajs/test-utils": "2.0.7-snapshot-
|
36
|
+
"@medusajs/framework": "2.0.7-snapshot-20241127141508",
|
37
|
+
"@medusajs/test-utils": "2.0.7-snapshot-20241127141508",
|
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-
|
50
|
+
"@medusajs/framework": "2.0.7-snapshot-20241127141508",
|
51
51
|
"@mikro-orm/core": "5.9.7",
|
52
52
|
"@mikro-orm/migrations": "5.9.7",
|
53
53
|
"@mikro-orm/postgresql": "5.9.7",
|