@wrcb/cb-common 1.0.696 → 1.0.698
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.
|
@@ -10,6 +10,7 @@ export declare class RedisService {
|
|
|
10
10
|
static productDataKey(tenant: Tenant, productId: string): string;
|
|
11
11
|
static bannedViewerKey(streamerId: string, viewerId: string): string;
|
|
12
12
|
static promotionByIdKey(tenant: Tenant, promotionId: string): string;
|
|
13
|
+
static sellerProfileKey(tenant: Tenant, sellerId: string): string;
|
|
13
14
|
static promotionsListKey(params: {
|
|
14
15
|
tenant: Tenant;
|
|
15
16
|
categoria?: string;
|
|
@@ -32,6 +32,9 @@ class RedisService {
|
|
|
32
32
|
static promotionByIdKey(tenant, promotionId) {
|
|
33
33
|
return `${tenant}:promotion:${promotionId}`;
|
|
34
34
|
}
|
|
35
|
+
static sellerProfileKey(tenant, sellerId) {
|
|
36
|
+
return `${tenant}:seller:${sellerId}:profile`;
|
|
37
|
+
}
|
|
35
38
|
static promotionsListKey(params) {
|
|
36
39
|
var _a;
|
|
37
40
|
const categoria = (_a = params.categoria) !== null && _a !== void 0 ? _a : 'all';
|