@tbox.cn/app-module-promotion 1.0.0-alpha.6 → 1.0.0-alpha.8
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/dist/server/index.d.ts +16 -16
- package/package.json +5 -5
package/dist/server/index.d.ts
CHANGED
|
@@ -201,7 +201,6 @@ declare const promotionCards: {
|
|
|
201
201
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
202
202
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
203
203
|
}, "strip", zod.ZodTypeAny, {
|
|
204
|
-
mode: "claimable" | "search" | "recommend";
|
|
205
204
|
items: {
|
|
206
205
|
offerRef: string;
|
|
207
206
|
title: string;
|
|
@@ -238,13 +237,13 @@ declare const promotionCards: {
|
|
|
238
237
|
url: string;
|
|
239
238
|
})[] | undefined;
|
|
240
239
|
}[];
|
|
240
|
+
mode: "claimable" | "search" | "recommend";
|
|
241
241
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
242
242
|
summary?: string | undefined;
|
|
243
243
|
noResultsReason?: string | undefined;
|
|
244
244
|
maxItems?: number | undefined;
|
|
245
245
|
nextCursor?: string | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
mode: "claimable" | "search" | "recommend";
|
|
248
247
|
items: {
|
|
249
248
|
offerRef: string;
|
|
250
249
|
title: string;
|
|
@@ -281,6 +280,7 @@ declare const promotionCards: {
|
|
|
281
280
|
url: string;
|
|
282
281
|
})[] | undefined;
|
|
283
282
|
}[];
|
|
283
|
+
mode: "claimable" | "search" | "recommend";
|
|
284
284
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
285
285
|
summary?: string | undefined;
|
|
286
286
|
noResultsReason?: string | undefined;
|
|
@@ -381,12 +381,12 @@ declare const promotionCards: {
|
|
|
381
381
|
validityText?: string | undefined;
|
|
382
382
|
imageUrl?: string | undefined;
|
|
383
383
|
description?: string | undefined;
|
|
384
|
-
|
|
384
|
+
notice?: string | undefined;
|
|
385
385
|
steps?: {
|
|
386
386
|
title: string;
|
|
387
387
|
description?: string | undefined;
|
|
388
388
|
}[] | undefined;
|
|
389
|
-
|
|
389
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
390
390
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
391
391
|
requirements?: string[] | undefined;
|
|
392
392
|
stores?: {
|
|
@@ -426,12 +426,12 @@ declare const promotionCards: {
|
|
|
426
426
|
validityText?: string | undefined;
|
|
427
427
|
imageUrl?: string | undefined;
|
|
428
428
|
description?: string | undefined;
|
|
429
|
-
|
|
429
|
+
notice?: string | undefined;
|
|
430
430
|
steps?: {
|
|
431
431
|
title: string;
|
|
432
432
|
description?: string | undefined;
|
|
433
433
|
}[] | undefined;
|
|
434
|
-
|
|
434
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
435
435
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
436
436
|
requirements?: string[] | undefined;
|
|
437
437
|
stores?: {
|
|
@@ -911,8 +911,8 @@ declare const promotionCards: {
|
|
|
911
911
|
conditions: string[];
|
|
912
912
|
subtitle?: string | undefined;
|
|
913
913
|
description?: string | undefined;
|
|
914
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
915
914
|
notice?: string | undefined;
|
|
915
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
916
916
|
location?: string | undefined;
|
|
917
917
|
coverUrl?: string | undefined;
|
|
918
918
|
jumpOnly?: boolean | undefined;
|
|
@@ -942,8 +942,8 @@ declare const promotionCards: {
|
|
|
942
942
|
conditions: string[];
|
|
943
943
|
subtitle?: string | undefined;
|
|
944
944
|
description?: string | undefined;
|
|
945
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
946
945
|
notice?: string | undefined;
|
|
946
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
947
947
|
location?: string | undefined;
|
|
948
948
|
coverUrl?: string | undefined;
|
|
949
949
|
jumpOnly?: boolean | undefined;
|
|
@@ -1413,7 +1413,6 @@ declare const serverModule: {
|
|
|
1413
1413
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
1414
1414
|
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
1415
1415
|
}, "strip", zod.ZodTypeAny, {
|
|
1416
|
-
mode: "claimable" | "search" | "recommend";
|
|
1417
1416
|
items: {
|
|
1418
1417
|
offerRef: string;
|
|
1419
1418
|
title: string;
|
|
@@ -1450,13 +1449,13 @@ declare const serverModule: {
|
|
|
1450
1449
|
url: string;
|
|
1451
1450
|
})[] | undefined;
|
|
1452
1451
|
}[];
|
|
1452
|
+
mode: "claimable" | "search" | "recommend";
|
|
1453
1453
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1454
1454
|
summary?: string | undefined;
|
|
1455
1455
|
noResultsReason?: string | undefined;
|
|
1456
1456
|
maxItems?: number | undefined;
|
|
1457
1457
|
nextCursor?: string | undefined;
|
|
1458
1458
|
}, {
|
|
1459
|
-
mode: "claimable" | "search" | "recommend";
|
|
1460
1459
|
items: {
|
|
1461
1460
|
offerRef: string;
|
|
1462
1461
|
title: string;
|
|
@@ -1493,6 +1492,7 @@ declare const serverModule: {
|
|
|
1493
1492
|
url: string;
|
|
1494
1493
|
})[] | undefined;
|
|
1495
1494
|
}[];
|
|
1495
|
+
mode: "claimable" | "search" | "recommend";
|
|
1496
1496
|
presentation?: "coupon" | "promotion" | "recommendation" | "offer" | undefined;
|
|
1497
1497
|
summary?: string | undefined;
|
|
1498
1498
|
noResultsReason?: string | undefined;
|
|
@@ -1593,12 +1593,12 @@ declare const serverModule: {
|
|
|
1593
1593
|
validityText?: string | undefined;
|
|
1594
1594
|
imageUrl?: string | undefined;
|
|
1595
1595
|
description?: string | undefined;
|
|
1596
|
-
|
|
1596
|
+
notice?: string | undefined;
|
|
1597
1597
|
steps?: {
|
|
1598
1598
|
title: string;
|
|
1599
1599
|
description?: string | undefined;
|
|
1600
1600
|
}[] | undefined;
|
|
1601
|
-
|
|
1601
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1602
1602
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1603
1603
|
requirements?: string[] | undefined;
|
|
1604
1604
|
stores?: {
|
|
@@ -1638,12 +1638,12 @@ declare const serverModule: {
|
|
|
1638
1638
|
validityText?: string | undefined;
|
|
1639
1639
|
imageUrl?: string | undefined;
|
|
1640
1640
|
description?: string | undefined;
|
|
1641
|
-
|
|
1641
|
+
notice?: string | undefined;
|
|
1642
1642
|
steps?: {
|
|
1643
1643
|
title: string;
|
|
1644
1644
|
description?: string | undefined;
|
|
1645
1645
|
}[] | undefined;
|
|
1646
|
-
|
|
1646
|
+
presentation?: "package" | "coupon" | "promotion" | "offer" | "promotion-guide" | undefined;
|
|
1647
1647
|
participationMode?: "UNKNOWN" | "AUTOMATIC_DISCOUNT" | "CLAIM_THEN_PURCHASE" | "REGISTER_THEN_ATTEND" | "GROUP_PURCHASE" | undefined;
|
|
1648
1648
|
requirements?: string[] | undefined;
|
|
1649
1649
|
stores?: {
|
|
@@ -2123,8 +2123,8 @@ declare const serverModule: {
|
|
|
2123
2123
|
conditions: string[];
|
|
2124
2124
|
subtitle?: string | undefined;
|
|
2125
2125
|
description?: string | undefined;
|
|
2126
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2127
2126
|
notice?: string | undefined;
|
|
2127
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2128
2128
|
location?: string | undefined;
|
|
2129
2129
|
coverUrl?: string | undefined;
|
|
2130
2130
|
jumpOnly?: boolean | undefined;
|
|
@@ -2154,8 +2154,8 @@ declare const serverModule: {
|
|
|
2154
2154
|
conditions: string[];
|
|
2155
2155
|
subtitle?: string | undefined;
|
|
2156
2156
|
description?: string | undefined;
|
|
2157
|
-
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2158
2157
|
notice?: string | undefined;
|
|
2158
|
+
presentation?: "detail" | "schedule" | "guide" | undefined;
|
|
2159
2159
|
location?: string | undefined;
|
|
2160
2160
|
coverUrl?: string | undefined;
|
|
2161
2161
|
jumpOnly?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-promotion",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "商圈营销模块:资格校验、推荐降级链、券卡(codegen 源)。",
|
|
6
6
|
"exports": {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"jsbarcode": "^3.12.3",
|
|
22
22
|
"qrcode": "^1.5.4",
|
|
23
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
24
|
-
"@tbox.cn/app-
|
|
25
|
-
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.
|
|
26
|
-
"@tbox.cn/app-
|
|
23
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.8",
|
|
24
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.8",
|
|
25
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.8",
|
|
26
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.8"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@phosphor-icons/react": "2.1.10",
|