@medusajs/link-modules 2.3.2-snapshot-20250121122339 → 2.4.0-preview-20250121150146
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/migration/index.d.ts +2 -1
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +20 -1
- package/dist/migration/index.js.map +1 -1
- package/dist/repositories/link.d.ts +0 -3
- package/dist/repositories/link.d.ts.map +1 -1
- package/dist/utils/generate-entity.d.ts.map +1 -1
- package/dist/utils/generate-entity.js +9 -3
- package/dist/utils/generate-entity.js.map +1 -1
- package/package.json +10 -10
@@ -18,7 +18,7 @@ export declare class MigrationsExecutionPlanner implements ILinkMigrationsPlanne
|
|
18
18
|
* Initializes the ORM using the normalized dbConfig and set
|
19
19
|
* of provided entities
|
20
20
|
*/
|
21
|
-
protected createORM(entities?: EntitySchema[]): Promise<MikroORM<PostgreSqlDriver
|
21
|
+
protected createORM(entities?: EntitySchema[]): Promise<MikroORM<PostgreSqlDriver, import("@mikro-orm/postgresql").EntityManager<PostgreSqlDriver> & import("@mikro-orm/core").EntityManager<import("@mikro-orm/core").IDatabaseDriver<import("@mikro-orm/core").Connection>>>>;
|
22
22
|
/**
|
23
23
|
* Ensure the table to track link modules migrations
|
24
24
|
* exists.
|
@@ -60,6 +60,7 @@ export declare class MigrationsExecutionPlanner implements ILinkMigrationsPlanne
|
|
60
60
|
table_name: string;
|
61
61
|
link_descriptor: PlannerActionLinkDescriptor;
|
62
62
|
}[]>;
|
63
|
+
private pickTableRelatedCommands;
|
63
64
|
/**
|
64
65
|
* Returns the migration plan for a specific link entity.
|
65
66
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,8BAA8B,EAC9B,2BAA2B,EAC5B,MAAM,2BAA2B,CAAA;AASlC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iB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B,CAC9B,GAAG,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EAC/B,aAAa,EAAE;QACb,UAAU,EAAE,MAAM,CAAA;QAClB,eAAe,EAAE,2BAA2B,CAAA;KAC7C,EAAE;oBAGW,MAAM;yBACD,2BAA2B;;IA0ChD;;OAEG;cACa,cAAc,CAC5B,GAAG,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EAC/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,2BAA2B;IAYzC;;;;;;OAMG;IACG,UAAU;IA2DhB;;;;;;;OAOG;IACG,WAAW,CAAC,UAAU,EAAE,2BAA2B,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB5E"}
|
package/dist/migration/index.js
CHANGED
@@ -166,6 +166,24 @@ class MigrationsExecutionPlanner {
|
|
166
166
|
link_descriptor: tuple.link_descriptor,
|
167
167
|
}));
|
168
168
|
}
|
169
|
+
pickTableRelatedCommands(tableName, sqlCommand) {
|
170
|
+
const ignoreColumns = ["created_at", "updated_at", "deleted_at"];
|
171
|
+
const commands = sqlCommand.split(";");
|
172
|
+
const returnedCommands = commands
|
173
|
+
.filter((command) => {
|
174
|
+
const cmd = command.trim();
|
175
|
+
return (cmd.length &&
|
176
|
+
cmd !== "set names 'utf8'" &&
|
177
|
+
cmd.includes(`"${tableName}"`) &&
|
178
|
+
!ignoreColumns.some((column) => cmd.includes(`column "${column}"`)));
|
179
|
+
})
|
180
|
+
.map((cmd) => cmd.trim());
|
181
|
+
if (returnedCommands.length > 0) {
|
182
|
+
// adds ; at the end of each command
|
183
|
+
returnedCommands.push("");
|
184
|
+
}
|
185
|
+
return returnedCommands.join(";");
|
186
|
+
}
|
169
187
|
/**
|
170
188
|
* Returns the migration plan for a specific link entity.
|
171
189
|
*/
|
@@ -207,9 +225,10 @@ class MigrationsExecutionPlanner {
|
|
207
225
|
schema_name: schemaName,
|
208
226
|
},
|
209
227
|
]);
|
210
|
-
|
228
|
+
let updateSQL = (0, utils_1.normalizeMigrationSQL)(await generator.getUpdateSchemaSQL({
|
211
229
|
fromSchema: dbSchema,
|
212
230
|
}));
|
231
|
+
updateSQL = this.pickTableRelatedCommands(tableName, updateSQL);
|
213
232
|
/**
|
214
233
|
* Entity is upto-date and hence we do not have to perform
|
215
234
|
* any updates on it.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,qDAMkC;AAElC,sDAAwE;AACxE,oCAAyC;AAEzC;;;;GAIG;AACH,MAAa,0BAA0B;IA0BrC,YACE,YAAkC,EAClC,OAAwC;QA3B1C;;WAEG;QACH,uDAAgE;QAEhE;;;WAGG;QACH,wDAAqB,CAAC,cAAc,EAAE,aAAa,CAAC;QAEpD;;WAEG;UAJiD;QAEpD;;WAEG;QACH,4DAGG;QAEH;;;WAGG;QACO,cAAS,GAAG,wBAAwB,CAAA;QAM5C,uBAAA,IAAI,wCAAa,uBAAe,CAAC,kBAAkB,CAAC,cAAc,EAAE,OAAO,CAAC,MAAA,CAAA;QAC5E,uBAAA,IAAI,6CAAkB,YAAY;aAC/B,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;YACd,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;gBAC1B,OAAM;YACR,CAAC;YAED,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,aAAa,IAAI,EAAE,CAAA;YACrD,MAAM,cAAc,GAAgC;gBAClD,UAAU,EAAE,OAAO,CAAC,WAAW;gBAC/B,QAAQ,EAAE,OAAO,CAAC,WAAW;gBAC7B,SAAS,EAAE,OAAO,CAAC,KAAK;gBACxB,OAAO,EAAE,OAAO,CAAC,KAAK;aACvB,CAAA;YAED,OAAO;gBACL,MAAM,EAAE,IAAA,sBAAc,EAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;gBAChD,cAAc;aACf,CAAA;QACH,CAAC,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CAAA;gBAChD,KAAK,QAAQ;oBACX,OAAO,MAAM,GAAG,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;gBACrE;oBACE,OAAM;YACV,CAAC;QACH,CAAC,CAAC,CACH,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;IAClC,CAAC;CACF;AAteD,gEAseC"}
|
@@ -21,9 +21,6 @@ export declare function getLinkRepository(model: EntitySchema): {
|
|
21
21
|
}>;
|
22
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
23
|
restore(idsOrFilter: string[] | import("@medusajs/framework/types").FilterQuery, sharedContext?: Context): Promise<[any[], Record<string, unknown[]>]>;
|
24
|
-
applyFreeTextSearchFilters<T>(findOptions: import("@medusajs/framework/types").FindOptions<T & {
|
25
|
-
q?: string;
|
26
|
-
}>, retrieveConstraintsToApply: (q: string) => any[]): void;
|
27
24
|
readonly manager_: any;
|
28
25
|
getFreshManager<TManager = unknown>(): TManager;
|
29
26
|
getActiveManager<TManager = unknown>({ transactionManager, manager, }?: Context): TManager;
|
@@ -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;;;;;;;;;;;;;;;;;;;0BAXlE,CAAC;oCACkB,CAAC;uBAElB,CAAP;;;;EAyBF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-entity.d.ts","sourceRoot":"","sources":["../../src/utils/generate-entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAQlC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAa9C,wBAAgB,cAAc,CAC5B,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,
|
1
|
+
{"version":3,"file":"generate-entity.d.ts","sourceRoot":"","sources":["../../src/utils/generate-entity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAQlC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAa9C,wBAAgB,cAAc,CAC5B,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,4BAmG5B"}
|
@@ -46,16 +46,22 @@ function generateEntity(joinerConfig, primary, foreign) {
|
|
46
46
|
},
|
47
47
|
...fields,
|
48
48
|
created_at: {
|
49
|
-
|
49
|
+
columnType: "timestamptz",
|
50
|
+
type: "date",
|
50
51
|
nullable: false,
|
51
52
|
defaultRaw: "CURRENT_TIMESTAMP",
|
52
53
|
},
|
53
54
|
updated_at: {
|
54
|
-
|
55
|
+
columnType: "timestamptz",
|
56
|
+
type: "date",
|
55
57
|
nullable: false,
|
56
58
|
defaultRaw: "CURRENT_TIMESTAMP",
|
57
59
|
},
|
58
|
-
deleted_at: {
|
60
|
+
deleted_at: {
|
61
|
+
columnType: "timestamptz",
|
62
|
+
type: "date",
|
63
|
+
nullable: true,
|
64
|
+
},
|
59
65
|
},
|
60
66
|
filters: {
|
61
67
|
[utils_1.SoftDeletableFilterKey]: utils_1.mikroOrmSoftDeletableFilterOptions,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-entity.js","sourceRoot":"","sources":["../../src/utils/generate-entity.ts"],"names":[],"mappings":";;AAwBA,
|
1
|
+
{"version":3,"file":"generate-entity.js","sourceRoot":"","sources":["../../src/utils/generate-entity.ts"],"names":[],"mappings":";;AAwBA,wCAsGC;AA1HD,qDAKkC;AAElC,0CAA8C;AAC9C,mDAA8C;AAE9C,SAAS,QAAQ,CAAC,GAAG,UAAU;IAC7B,OAAO,MAAM,SAAS;QACpB,YAAY,GAAG,MAAM;YACnB,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;gBAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;YAC1B,CAAC,C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AAM,GAAG,OAAO,CAAC,UAAU,GAAG,GAAG,GAAG,aAAa;aACxD;YACD;gBACE,UAAU,EAAE,CAAC,YAAY,CAAC;gBAC1B,IAAI,EAAE,iBAAiB,GAAG,aAAa;aACxC;SACF;KACF,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/link-modules",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.4.0-preview-20250121150146",
|
4
4
|
"description": "Medusa Default Link Modules Package and Definitions",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -33,11 +33,11 @@
|
|
33
33
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@medusajs/framework": "2.
|
37
|
-
"@medusajs/test-utils": "2.
|
38
|
-
"@mikro-orm/core": "
|
39
|
-
"@mikro-orm/migrations": "
|
40
|
-
"@mikro-orm/postgresql": "
|
36
|
+
"@medusajs/framework": "2.4.0-preview-20250121150146",
|
37
|
+
"@medusajs/test-utils": "2.4.0-preview-20250121150146",
|
38
|
+
"@mikro-orm/core": "6.4.3",
|
39
|
+
"@mikro-orm/migrations": "6.4.3",
|
40
|
+
"@mikro-orm/postgresql": "6.4.3",
|
41
41
|
"@swc/core": "^1.7.28",
|
42
42
|
"@swc/jest": "^0.2.36",
|
43
43
|
"cross-env": "^5.2.1",
|
@@ -47,10 +47,10 @@
|
|
47
47
|
"typescript": "^5.6.2"
|
48
48
|
},
|
49
49
|
"peerDependencies": {
|
50
|
-
"@medusajs/framework": "2.
|
51
|
-
"@mikro-orm/core": "
|
52
|
-
"@mikro-orm/migrations": "
|
53
|
-
"@mikro-orm/postgresql": "
|
50
|
+
"@medusajs/framework": "2.4.0-preview-20250121150146",
|
51
|
+
"@mikro-orm/core": "6.4.3",
|
52
|
+
"@mikro-orm/migrations": "6.4.3",
|
53
|
+
"@mikro-orm/postgresql": "6.4.3",
|
54
54
|
"awilix": "^8.0.1"
|
55
55
|
}
|
56
56
|
}
|