@yolo-croket-dev/amqp-access 0.5.7-sj1 → 0.5.7-sj10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/store-item-server/dto/brand-bookmark/query/get-bookmarked-brands-for-buyer.dto.d.ts +2 -4
- package/store-item-server/dto/brand-bookmark/query/get-bookmarked-brands-for-buyer.dto.js +4 -1
- package/store-item-server/dto/brand-bookmark/query/get-brand-bookmarks-by-brand-infos.dto.d.ts +20 -0
- package/store-item-server/dto/brand-bookmark/query/{get-brand-bookmarks-by-brand-ids.dto.js → get-brand-bookmarks-by-brand-infos.dto.js} +6 -5
- package/store-item-server/dto/brand-bookmark/query/index.d.ts +1 -1
- package/store-item-server/dto/brand-bookmark/query/index.js +1 -1
- package/store-item-server/dto/brand-cohort/query/get-users-by-brand-cohort.dto.d.ts +2 -2
- package/store-item-server/dto/brand-bookmark/query/get-brand-bookmarks-by-brand-ids.dto.d.ts +0 -20
package/package.json
CHANGED
|
@@ -7,9 +7,7 @@ export declare class GetBookmarkedBrandsForBuyerPayload {
|
|
|
7
7
|
limit: number;
|
|
8
8
|
sortType: BrandSortTypeEnum;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
export interface GetBookmarkedBrandsForBuyerResult {
|
|
13
|
-
brands: BrandBuyerInfo[];
|
|
10
|
+
export declare class GetBookmarkedBrandsForBuyerResult {
|
|
11
|
+
brands: BrandForBuyerEntity[];
|
|
14
12
|
totalCount: number;
|
|
15
13
|
}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
|
|
12
|
+
exports.GetBookmarkedBrandsForBuyerResult = exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
var BrandSortTypeEnum;
|
|
15
15
|
(function (BrandSortTypeEnum) {
|
|
@@ -31,3 +31,6 @@ __decorate([
|
|
|
31
31
|
(0, class_validator_1.IsEnum)(BrandSortTypeEnum),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], GetBookmarkedBrandsForBuyerPayload.prototype, "sortType", void 0);
|
|
34
|
+
class GetBookmarkedBrandsForBuyerResult {
|
|
35
|
+
}
|
|
36
|
+
exports.GetBookmarkedBrandsForBuyerResult = GetBookmarkedBrandsForBuyerResult;
|
package/store-item-server/dto/brand-bookmark/query/get-brand-bookmarks-by-brand-infos.dto.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare class BrandInfo {
|
|
2
|
+
brandId: string;
|
|
3
|
+
brandName: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class GetBrandBookmarksByBrandInfosPayload {
|
|
6
|
+
brandInfos: BrandInfo[];
|
|
7
|
+
}
|
|
8
|
+
export declare class BrandBookmarkWithUserData {
|
|
9
|
+
userId: string;
|
|
10
|
+
appPush: boolean;
|
|
11
|
+
brandNewsAppPush: boolean;
|
|
12
|
+
phone: boolean;
|
|
13
|
+
phoneNumber: string;
|
|
14
|
+
brandName: string;
|
|
15
|
+
brandLatestBookmarkDate: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetBrandBookmarksByBrandInfosResult {
|
|
18
|
+
bookmarks: BrandBookmarkWithUserData[];
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.BrandBookmarkWithUserData = exports.GetBrandBookmarksByBrandInfosPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class BrandInfo {
|
|
15
15
|
}
|
|
@@ -21,12 +21,13 @@ __decorate([
|
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], BrandInfo.prototype, "brandName", void 0);
|
|
24
|
-
class
|
|
24
|
+
class GetBrandBookmarksByBrandInfosPayload {
|
|
25
25
|
}
|
|
26
|
-
exports.
|
|
26
|
+
exports.GetBrandBookmarksByBrandInfosPayload = GetBrandBookmarksByBrandInfosPayload;
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, class_validator_1.IsArray)(),
|
|
29
29
|
__metadata("design:type", Array)
|
|
30
|
-
],
|
|
31
|
-
class
|
|
30
|
+
], GetBrandBookmarksByBrandInfosPayload.prototype, "brandInfos", void 0);
|
|
31
|
+
class BrandBookmarkWithUserData {
|
|
32
32
|
}
|
|
33
|
+
exports.BrandBookmarkWithUserData = BrandBookmarkWithUserData;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './get-bookmarked-brands-for-buyer.dto';
|
|
2
|
-
export * from './get-brand-bookmarks-by-brand-
|
|
2
|
+
export * from './get-brand-bookmarks-by-brand-infos.dto';
|
|
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-bookmarked-brands-for-buyer.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-brand-bookmarks-by-brand-
|
|
18
|
+
__exportStar(require("./get-brand-bookmarks-by-brand-infos.dto"), exports);
|
|
@@ -8,8 +8,8 @@ export declare class BrandCohortUser {
|
|
|
8
8
|
phone: boolean;
|
|
9
9
|
phoneNumber: string;
|
|
10
10
|
brandName: string;
|
|
11
|
-
brandLatestBookmarkDate:
|
|
11
|
+
brandLatestBookmarkDate: string;
|
|
12
12
|
}
|
|
13
13
|
export interface GetUsersByBrandCohortResult {
|
|
14
|
-
|
|
14
|
+
brandCohortUsers: BrandCohortUser[];
|
|
15
15
|
}
|
package/store-item-server/dto/brand-bookmark/query/get-brand-bookmarks-by-brand-ids.dto.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare class BrandInfo {
|
|
2
|
-
brandId: string;
|
|
3
|
-
brandName: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class GetBrandBookmarksByBrandsPayload {
|
|
6
|
-
brands: BrandInfo[];
|
|
7
|
-
}
|
|
8
|
-
declare class BrandBookmarkData {
|
|
9
|
-
userId: string;
|
|
10
|
-
appPush: boolean;
|
|
11
|
-
brandNewsAppPush: boolean;
|
|
12
|
-
phone: boolean;
|
|
13
|
-
phoneNumber: string;
|
|
14
|
-
brandName: string;
|
|
15
|
-
brandLatestBookmarkDate: Date;
|
|
16
|
-
}
|
|
17
|
-
export interface GetBrandBookmarksByBrandsResult {
|
|
18
|
-
bookmarks: BrandBookmarkData[];
|
|
19
|
-
}
|
|
20
|
-
export {};
|