@medusajs/link-modules 0.2.12-snapshot-20241002082304 → 0.2.12-snapshot-20241008110822
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dynamic-service-class.js","sourceRoot":"","sources":["../../src/services/dynamic-service-class.ts"],"names":[],"mappings":";;AAQA,4CAqBC;AAED,4DAMC;AAhCD,qDAAqD;AACrD,yCAA6C;AAE7C,SAAgB,gBAAgB,CAC9B,YAAgC;IAEhC,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAA;IAC9D,MAAM,cAAc,GAAG,aAAa,CAAC,cAAc,CAAA;IAEnD,OAAO,aAAa,CAAC,cAAc,CAAA;IAEnC,uFAAuF;IACvF,8CAA8C;IAC9C,IAAI,CAAC,IAAA,iBAAS,EAAC,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,aAAa,CAAC,eAAe,GAAG,MAAM,CAAC,IAAI,CACzC,cAAc,EAAE,WAAW,IAAI,EAAE,CAClC,CAAA;IACH,CAAC;IAED,OAAO,MAAM,WAAY,SAAQ,
|
1
|
+
{"version":3,"file":"dynamic-service-class.js","sourceRoot":"","sources":["../../src/services/dynamic-service-class.ts"],"names":[],"mappings":";;AAQA,4CAqBC;AAED,4DAMC;AAhCD,qDAAqD;AACrD,yCAA6C;AAE7C,SAAgB,gBAAgB,CAC9B,YAAgC;IAEhC,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAA;IAC9D,MAAM,cAAc,GAAG,aAAa,CAAC,cAAc,CAAA;IAEnD,OAAO,aAAa,CAAC,cAAc,CAAA;IAEnC,uFAAuF;IACvF,8CAA8C;IAC9C,IAAI,CAAC,IAAA,iBAAS,EAAC,aAAa,CAAC,eAAe,CAAC,EAAE,CAAC;QAC9C,aAAa,CAAC,eAAe,GAAG,MAAM,CAAC,IAAI,CACzC,cAAc,EAAE,WAAW,IAAI,EAAE,CAClC,CAAA;IACH,CAAC;IAED,OAAO,MAAM,WAAY,SAAQ,6BAAiB;QACvC,cAAc;YACrB,OAAO,aAAmC,CAAA;QAC5C,CAAC;KACF,CAAA;AACH,CAAC;AAED,SAAgB,wBAAwB,CAAC,YAAgC;IACvE,OAAO,MAAM,mBAAmB;QAC9B,cAAc;YACZ,OAAO,YAAkC,CAAA;QAC3C,CAAC;KACF,CAAA;AACH,CAAC"}
|
@@ -11,10 +11,10 @@ type InjectedDependencies = {
|
|
11
11
|
serviceName: string;
|
12
12
|
[Modules.EVENT_BUS]?: IEventBusModuleService;
|
13
13
|
};
|
14
|
-
export default class LinkModuleService
|
14
|
+
export default class LinkModuleService implements ILinkModule {
|
15
15
|
readonly moduleDeclaration: InternalModuleDeclaration;
|
16
16
|
protected baseRepository_: DAL.RepositoryService;
|
17
|
-
protected readonly linkService_: LinkService<
|
17
|
+
protected readonly linkService_: LinkService<any>;
|
18
18
|
protected readonly eventBusModuleService_?: IEventBusModuleService;
|
19
19
|
protected readonly entityName_: string;
|
20
20
|
protected readonly serviceName_: string;
|
@@ -29,8 +29,8 @@ export default class LinkModuleService<TLink> implements ILinkModule {
|
|
29
29
|
retrieve(primaryKeyData: string | string[], foreignKeyData: string, sharedContext?: Context): Promise<unknown>;
|
30
30
|
list(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<unknown[]>;
|
31
31
|
listAndCount(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<[unknown[], number]>;
|
32
|
-
create(primaryKeyOrBulkData: string | string[] | [string | string[], string, Record<string, unknown>][], foreignKeyData?: string, extraFields?: Record<string, unknown>, sharedContext?: Context): Promise<
|
33
|
-
dismiss(primaryKeyOrBulkData: string | string[] | [string | string[], string][], foreignKeyData?: string, sharedContext?: Context): Promise<
|
32
|
+
create(primaryKeyOrBulkData: string | string[] | [string | string[], string, Record<string, unknown>][], foreignKeyData?: string, extraFields?: Record<string, unknown>, sharedContext?: Context): Promise<any[]>;
|
33
|
+
dismiss(primaryKeyOrBulkData: string | string[] | [string | string[], string][], foreignKeyData?: string, sharedContext?: Context): Promise<any[]>;
|
34
34
|
delete(data: any, sharedContext?: Context): Promise<void>;
|
35
35
|
softDelete(data: any, { returnLinkableKeys }?: SoftDeleteReturn, sharedContext?: Context): Promise<Record<string, unknown[]> | void>;
|
36
36
|
protected softDelete_(data: any[], sharedContext?: Context): Promise<[object[], Record<string, string[]>]>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link-module-service.d.ts","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,EACH,UAAU,EACV,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EASL,OAAO,EAER,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAGvC,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IAC7B,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,sBAAsB,CAAA;CAC7C,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,
|
1
|
+
{"version":3,"file":"link-module-service.d.ts","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,EACH,UAAU,EACV,sBAAsB,EACtB,WAAW,EACX,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E,GAAE,gBAAqB,EAC5B,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC;cAgD5B,WAAW,CACzB,IAAI,EAAE,GAAG,EAAE,EACM,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAI1C,OAAO,CACX,IAAI,EAAE,GAAG,EACT,EAAE,kBAAkB,EAAE,GAAE,aAAkB,EACzB,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC;IA+CtC,QAAQ,CACZ,IAAI,EAAE,GAAG,EACQ,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;CAGjD"}
|
@@ -71,14 +71,14 @@ class LinkModuleService {
|
|
71
71
|
config.take = null;
|
72
72
|
}
|
73
73
|
const rows = await this.linkService_.list(filters, config, sharedContext);
|
74
|
-
return
|
74
|
+
return rows.map((row) => row.toJSON());
|
75
75
|
}
|
76
76
|
async listAndCount(filters = {}, config = {}, sharedContext = {}) {
|
77
77
|
if (!(0, utils_1.isDefined)(config.take)) {
|
78
78
|
config.take = null;
|
79
79
|
}
|
80
80
|
const [rows, count] = await this.linkService_.listAndCount(filters, config, sharedContext);
|
81
|
-
return [
|
81
|
+
return [rows.map((row) => row.toJSON()), count];
|
82
82
|
}
|
83
83
|
async create(primaryKeyOrBulkData, foreignKeyData, extraFields, sharedContext = {}) {
|
84
84
|
const data = [];
|
@@ -101,7 +101,7 @@ class LinkModuleService {
|
|
101
101
|
},
|
102
102
|
data: { id },
|
103
103
|
})));
|
104
|
-
return
|
104
|
+
return links.map((row) => row.toJSON());
|
105
105
|
}
|
106
106
|
async dismiss(primaryKeyOrBulkData, foreignKeyData, sharedContext = {}) {
|
107
107
|
const data = [];
|
@@ -114,7 +114,7 @@ class LinkModuleService {
|
|
114
114
|
data.push(this.buildData(primaryKeyOrBulkData, foreignKeyData));
|
115
115
|
}
|
116
116
|
const links = await this.linkService_.dismiss(data, sharedContext);
|
117
|
-
return
|
117
|
+
return links.map((row) => row.toJSON());
|
118
118
|
}
|
119
119
|
async delete(data, sharedContext = {}) {
|
120
120
|
this.validateFields(data);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link-module-service.js","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAWA,qDAWkC;AAElC,oCAAiD;AAajD,MAAqB,iBAAiB;IAUpC,YACE,EACE,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,CAAC,eAAO,CAAC,SAAS,CAAC,EAAE,qBAAqB,GACrB,EACd,iBAA4C;QAA5C,sBAAiB,GAAjB,iBAAiB,CAA2B;QAErD,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;QACrC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;QAC/B,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,CAAA;QACnD,IAAI,CAAC,WAAW,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAA;QACzE,IAAI,CAAC,WAAW,GAAG,UAAU,CAAA;QAC7B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;QAC/B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAA;QAC7B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;IACjC,CAAC;IAED,cAAc;QACZ,OAAO,EAAwB,CAAA;IACjC,CAAC;IAEO,SAAS,CACf,cAAiC,EACjC,cAAsB,EACtB,QAAiC,EAAE;QAEnC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,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAQjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;+CAuCjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAIjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;gDAmBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;+CAmBjB;AAEK;IAGH,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;mDA8CjB;AAGe;IADf,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;oDAGjB;AAEK;IAGH,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;gDA6CjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;iDAGjB"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/link-modules",
|
3
|
-
"version": "0.2.12-snapshot-
|
3
|
+
"version": "0.2.12-snapshot-20241008110822",
|
4
4
|
"description": "Medusa Default Link Modules Package and Definitions",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@medusajs/framework": "0.0.2-snapshot-
|
36
|
+
"@medusajs/framework": "0.0.2-snapshot-20241008110822",
|
37
37
|
"@mikro-orm/core": "5.9.7",
|
38
38
|
"@mikro-orm/migrations": "5.9.7",
|
39
39
|
"@mikro-orm/postgresql": "5.9.7",
|
@@ -41,13 +41,13 @@
|
|
41
41
|
"@swc/jest": "^0.2.36",
|
42
42
|
"cross-env": "^5.2.1",
|
43
43
|
"jest": "^29.7.0",
|
44
|
-
"medusa-test-utils": "1.1.45-snapshot-
|
44
|
+
"medusa-test-utils": "1.1.45-snapshot-20241008110822",
|
45
45
|
"rimraf": "^5.0.1",
|
46
46
|
"tsc-alias": "^1.8.6",
|
47
47
|
"typescript": "^5.6.2"
|
48
48
|
},
|
49
49
|
"peerDependencies": {
|
50
|
-
"@medusajs/framework": "0.0.2-snapshot-
|
50
|
+
"@medusajs/framework": "0.0.2-snapshot-20241008110822",
|
51
51
|
"@mikro-orm/core": "5.9.7",
|
52
52
|
"@mikro-orm/migrations": "5.9.7",
|
53
53
|
"@mikro-orm/postgresql": "5.9.7",
|