@medusajs/sales-channel 2.1.1-snapshot-20241205131915 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/sales-channel.d.ts +14 -17
- package/dist/models/sales-channel.d.ts.map +1 -1
- package/dist/models/sales-channel.js +7 -84
- package/dist/models/sales-channel.js.map +1 -1
- package/dist/services/sales-channel-module.d.ts +13 -4
- package/dist/services/sales-channel-module.d.ts.map +1 -1
- package/dist/services/sales-channel-module.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
@@ -1,18 +1,15 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
onInit(): void;
|
16
|
-
}
|
17
|
-
export {};
|
1
|
+
declare const SalesChannel: import("@medusajs/framework/utils").DmlEntity<{
|
2
|
+
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
3
|
+
name: import("@medusajs/framework/utils").TextProperty;
|
4
|
+
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
5
|
+
is_disabled: import("@medusajs/framework/utils").BooleanProperty;
|
6
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
7
|
+
} & {
|
8
|
+
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
9
|
+
name: import("@medusajs/framework/utils").TextProperty;
|
10
|
+
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
11
|
+
is_disabled: import("@medusajs/framework/utils").BooleanProperty;
|
12
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
13
|
+
} & {} & import("@medusajs/framework/utils").DMLSchemaDefaults, "SalesChannel">;
|
14
|
+
export default SalesChannel;
|
18
15
|
//# sourceMappingURL=sales-channel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../src/models/sales-channel.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../src/models/sales-channel.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY;;;;;;;;;;;;+EAMhB,CAAA;AAEF,eAAe,YAAY,CAAA"}
|
@@ -1,89 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
-
};
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
3
|
const utils_1 = require("@medusajs/framework/utils");
|
13
|
-
const
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
onCreate() {
|
22
|
-
this.id = (0, utils_1.generateEntityId)(this.id, "sc");
|
23
|
-
}
|
24
|
-
onInit() {
|
25
|
-
this.id = (0, utils_1.generateEntityId)(this.id, "sc");
|
26
|
-
}
|
27
|
-
};
|
28
|
-
__decorate([
|
29
|
-
(0, core_1.PrimaryKey)({ columnType: "text" }),
|
30
|
-
__metadata("design:type", String)
|
31
|
-
], SalesChannel.prototype, "id", void 0);
|
32
|
-
__decorate([
|
33
|
-
(0, utils_1.Searchable)(),
|
34
|
-
(0, core_1.Property)({ columnType: "text" }),
|
35
|
-
__metadata("design:type", String)
|
36
|
-
], SalesChannel.prototype, "name", void 0);
|
37
|
-
__decorate([
|
38
|
-
(0, utils_1.Searchable)(),
|
39
|
-
(0, core_1.Property)({ columnType: "text", nullable: true }),
|
40
|
-
__metadata("design:type", Object)
|
41
|
-
], SalesChannel.prototype, "description", void 0);
|
42
|
-
__decorate([
|
43
|
-
(0, core_1.Property)({ columnType: "boolean", default: false }),
|
44
|
-
__metadata("design:type", Boolean)
|
45
|
-
], SalesChannel.prototype, "is_disabled", void 0);
|
46
|
-
__decorate([
|
47
|
-
(0, core_1.Property)({
|
48
|
-
onCreate: () => new Date(),
|
49
|
-
columnType: "timestamptz",
|
50
|
-
defaultRaw: "now()",
|
51
|
-
}),
|
52
|
-
__metadata("design:type", Date)
|
53
|
-
], SalesChannel.prototype, "created_at", void 0);
|
54
|
-
__decorate([
|
55
|
-
(0, core_1.Property)({ columnType: "jsonb", nullable: true }),
|
56
|
-
__metadata("design:type", Object)
|
57
|
-
], SalesChannel.prototype, "metadata", void 0);
|
58
|
-
__decorate([
|
59
|
-
(0, core_1.Property)({
|
60
|
-
onCreate: () => new Date(),
|
61
|
-
onUpdate: () => new Date(),
|
62
|
-
columnType: "timestamptz",
|
63
|
-
defaultRaw: "now()",
|
64
|
-
}),
|
65
|
-
__metadata("design:type", Date)
|
66
|
-
], SalesChannel.prototype, "updated_at", void 0);
|
67
|
-
__decorate([
|
68
|
-
(0, core_1.Index)({ name: "IDX_sales_channel_deleted_at" }),
|
69
|
-
(0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
|
70
|
-
__metadata("design:type", Object)
|
71
|
-
], SalesChannel.prototype, "deleted_at", void 0);
|
72
|
-
__decorate([
|
73
|
-
(0, core_1.BeforeCreate)(),
|
74
|
-
__metadata("design:type", Function),
|
75
|
-
__metadata("design:paramtypes", []),
|
76
|
-
__metadata("design:returntype", void 0)
|
77
|
-
], SalesChannel.prototype, "onCreate", null);
|
78
|
-
__decorate([
|
79
|
-
(0, core_1.OnInit)(),
|
80
|
-
__metadata("design:type", Function),
|
81
|
-
__metadata("design:paramtypes", []),
|
82
|
-
__metadata("design:returntype", void 0)
|
83
|
-
], SalesChannel.prototype, "onInit", null);
|
84
|
-
SalesChannel = __decorate([
|
85
|
-
(0, core_1.Entity)(),
|
86
|
-
(0, core_1.Filter)(utils_1.DALUtils.mikroOrmSoftDeletableFilterOptions)
|
87
|
-
], SalesChannel);
|
4
|
+
const SalesChannel = utils_1.model.define("SalesChannel", {
|
5
|
+
id: utils_1.model.id({ prefix: "sc" }).primaryKey(),
|
6
|
+
name: utils_1.model.text().searchable(),
|
7
|
+
description: utils_1.model.text().searchable().nullable(),
|
8
|
+
is_disabled: utils_1.model.boolean().default(false),
|
9
|
+
metadata: utils_1.model.json().nullable(),
|
10
|
+
});
|
88
11
|
exports.default = SalesChannel;
|
89
12
|
//# sourceMappingURL=sales-channel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sales-channel.js","sourceRoot":"","sources":["../../src/models/sales-channel.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"sales-channel.js","sourceRoot":"","sources":["../../src/models/sales-channel.ts"],"names":[],"mappings":";;AAAA,qDAAiD;AAEjD,MAAM,YAAY,GAAG,aAAK,CAAC,MAAM,CAAC,cAAc,EAAE;IAChD,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE;IAC3C,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE;IAC/B,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE;IACjD,WAAW,EAAE,aAAK,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAC3C,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,kBAAe,YAAY,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Context, CreateSalesChannelDTO, DAL, FilterableSalesChannelProps, InternalModuleDeclaration, ISalesChannelModuleService, ModuleJoinerConfig, ModulesSdkTypes, SalesChannelDTO, UpdateSalesChannelDTO, UpsertSalesChannelDTO } from "@medusajs/framework/types";
|
1
|
+
import { Context, CreateSalesChannelDTO, DAL, FilterableSalesChannelProps, InferEntityType, InternalModuleDeclaration, ISalesChannelModuleService, ModuleJoinerConfig, ModulesSdkTypes, SalesChannelDTO, UpdateSalesChannelDTO, UpsertSalesChannelDTO } from "@medusajs/framework/types";
|
2
2
|
import { SalesChannel } from "../models";
|
3
3
|
type InjectedDependencies = {
|
4
4
|
baseRepository: DAL.RepositoryService;
|
@@ -12,15 +12,24 @@ declare const SalesChannelModuleService_base: import("@medusajs/framework/utils"
|
|
12
12
|
export default class SalesChannelModuleService extends SalesChannelModuleService_base implements ISalesChannelModuleService {
|
13
13
|
protected readonly moduleDeclaration: InternalModuleDeclaration;
|
14
14
|
protected baseRepository_: DAL.RepositoryService;
|
15
|
-
protected readonly salesChannelService_: ModulesSdkTypes.IMedusaInternalService<SalesChannel
|
15
|
+
protected readonly salesChannelService_: ModulesSdkTypes.IMedusaInternalService<InferEntityType<typeof SalesChannel>>;
|
16
16
|
constructor({ baseRepository, salesChannelService }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
|
17
17
|
__joinerConfig(): ModuleJoinerConfig;
|
18
18
|
createSalesChannels(data: CreateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
|
19
19
|
createSalesChannels(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
|
20
|
-
createSalesChannels_(data: CreateSalesChannelDTO[], sharedContext: Context): Promise<SalesChannel[]>;
|
20
|
+
createSalesChannels_(data: CreateSalesChannelDTO[], sharedContext: Context): Promise<InferEntityType<typeof SalesChannel>[]>;
|
21
21
|
updateSalesChannels(id: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
|
22
22
|
updateSalesChannels(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
|
23
|
-
updateSalesChannels_(data: UpdateSalesChannelDTO[], sharedContext: Context): Promise<
|
23
|
+
updateSalesChannels_(data: UpdateSalesChannelDTO[], sharedContext: Context): Promise<{
|
24
|
+
id: string;
|
25
|
+
name: string;
|
26
|
+
description: string | null;
|
27
|
+
is_disabled: boolean;
|
28
|
+
metadata: Record<string, unknown> | null;
|
29
|
+
created_at: Date;
|
30
|
+
updated_at: Date;
|
31
|
+
deleted_at: Date | null;
|
32
|
+
}[]>;
|
24
33
|
upsertSalesChannels(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
|
25
34
|
upsertSalesChannels(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
|
26
35
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sales-channel-module.d.ts","sourceRoot":"","sources":["../../src/services/sales-channel-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,GAAG,EACH,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2BAA2B,CAAA;AAUlC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAItC,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,mBAAmB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;CACjE,CAAA;;kBAGuC;QAAE,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CAAC,eAAe,CAAC;IAoBrB,oBAAoB,CACxB,IAAI,EAAE,qBAAqB,EAAE,EACZ,aAAa,EAAE,OAAO,GACtC,OAAO,CAAC,eAAe,CAAC,OAAO,YAAY,CAAC,EAAE,CAAC;IAK5C,mBAAmB,CACvB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC;IACrB,mBAAmB,CACvB,QAAQ,EAAE,2BAA2B,EACrC,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC;IAsCvB,oBAAoB,CACxB,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,EAAE,OAAO;;;;;;;;;;IAKlB,mBAAmB,CACvB,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC;IACvB,mBAAmB,CACvB,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC;CA4B5B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sales-channel-module.js","sourceRoot":"","sources":["../../src/services/sales-channel-module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"sales-channel-module.js","sourceRoot":"","sources":["../../src/services/sales-channel-module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAcA,qDAOkC;AAElC,qCAAsC;AAEtC,sDAAgD;AAOhD,MAAqB,yBACnB,SAAQ,IAAA,qBAAa,EAA6C;IAChE,YAAY,EAAZ,sBAAY;CACb,CAAC;IAQF,YACE,EAAE,cAAc,EAAE,mBAAmB,EAAwB,EAC1C,iBAA4C;QAE/D,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QAHA,sBAAiB,GAAjB,iBAAiB,CAA2B;Q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M,EAAE,CAAC;YACrB,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAA;QACtE,CAAC;QAED,MAAM,MAAM,GAAG,CAAC,MAAM,IAAA,kBAAU,EAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;QACpD,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,SAAS,CAEzC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;IAC7C,CAAC;CACF;AAtJD,4CAsJC;AAlHO;IADL,IAAA,qBAAa,GAAE;IAGb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;oEAYjB;AAGK;IADL,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;qEAGjB;AAeK;IADL,IAAA,qBAAa,GAAE;IAIb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;oEA6BjB;AAGK;IADL,IAAA,gCAAwB,GAAE;;;;qEAM1B;AAWK;IADL,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;oEAuBjB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["../src/index.ts","../src/joinfer-config.ts","../src/migrations/
|
1
|
+
{"root":["../src/index.ts","../src/joinfer-config.ts","../src/migrations/migration20240115152146.ts","../src/models/index.ts","../src/models/sales-channel.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/sales-channel-module.ts","../src/services/__tests__/index.ts","../src/types/index.ts"],"version":"5.6.2"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/sales-channel",
|
3
|
-
"version": "2.1.1
|
3
|
+
"version": "2.1.1",
|
4
4
|
"description": "Medusa Sales Channel module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -36,8 +36,8 @@
|
|
36
36
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@medusajs/framework": "2.1.1
|
40
|
-
"@medusajs/test-utils": "2.1.1
|
39
|
+
"@medusajs/framework": "^2.1.1",
|
40
|
+
"@medusajs/test-utils": "^2.1.1",
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
42
42
|
"@mikro-orm/core": "5.9.7",
|
43
43
|
"@mikro-orm/migrations": "5.9.7",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"typescript": "^5.6.2"
|
51
51
|
},
|
52
52
|
"peerDependencies": {
|
53
|
-
"@medusajs/framework": "2.
|
53
|
+
"@medusajs/framework": "^2.0.0",
|
54
54
|
"@mikro-orm/core": "5.9.7",
|
55
55
|
"@mikro-orm/migrations": "5.9.7",
|
56
56
|
"@mikro-orm/postgresql": "5.9.7",
|