@tbox.cn/app-module-activity-play 1.0.0-alpha.8 → 1.0.0-alpha.9
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/INTEGRATION.md +6 -4
- package/README.md +5 -3
- package/dist/chunk-CVZ4T5JN.js +471 -0
- package/dist/{chunk-HXO47NYM.js → chunk-YH6HTRSS.js} +7 -76
- package/dist/client/index.d.ts +0 -1
- package/dist/client/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -4
- package/dist/server/index.d.ts +207 -102
- package/dist/server/index.js +1 -3
- package/package.json +15 -7
- package/skills/activity-play/SKILL.md +10 -0
- package/src/client/cards/ListPresentation.tsx +83 -0
- package/src/client/cards/activity-play/ActivityDetailSheet.tsx +135 -0
- package/src/client/cards/activity-play/ActivityPlayCard.tsx +60 -54
- package/src/client/cards/activity-play-prize/ActivityPlayPrizeListCard.tsx +55 -44
- package/src/client/cards/activity-play-prize/PrizeDetailContent.tsx +33 -0
- package/src/client/cards/activity-play-prize/PrizeDetailSheet.tsx +52 -0
- package/src/client/cards/activity-play-prize/index.ts +0 -7
- package/src/client/cards/view.ts +16 -0
- package/src/client/index.ts +7 -11
- package/src/server/cards/index.ts +1 -3
- package/src/server/index.ts +2 -19
- package/src/server/prizes/cards.ts +6 -6
- package/src/server/prizes/tools.ts +4 -6
- package/src/server/tools.ts +1 -1
- package/tbox.module.json +0 -4
- package/tests/activity-card.test.tsx +156 -0
- package/tests/prizes-tools.test.ts +7 -4
- package/tests/prizes.test.ts +6 -12
- package/tests/routes.test.ts +13 -0
- package/tests/smoke.test.ts +7 -5
- package/tsup.config.ts +1 -0
- package/dist/chunk-KK4F22GE.js +0 -190
- package/src/client/cards/activity-play-prize/ActivityPlayPrizeDetailCard.tsx +0 -44
- package/src/server/cards/activity-play-prize-detail/meta.ts +0 -29
- package/src/server/cards/activity-play-prize-detail/samples.ts +0 -54
|
@@ -515,7 +515,7 @@ function cardNoteOf(items) {
|
|
|
515
515
|
function createActivityPlayTools(opts) {
|
|
516
516
|
const listActivityPlays = createTool({
|
|
517
517
|
id: "listActivityPlays",
|
|
518
|
-
description: "\u67E5\u8BE2\u5F53\u524D\u5546\u573A\u5728\u552E\u7684\u6D3B\u52A8\u73A9\u6CD5\u5217\u8868\uFF08\u5927\u8F6C\u76D8\u3001\u62BD\u5956\u3001\u7B7E\u5230\u3001\u4E92\u52A8\u6E38\u620F\u7B49\u2014\u2014\u6765\u81EA\u5916\u90E8\u4F9B\u5E94\u5546\u5B9E\u65F6\u6570\u636E\uFF09\uFF0C\u53EF\u7528 keyword \u6309\u540D\u79F0\u6216\u8BF4\u660E\u8FC7\u6EE4\u3001limit \u63A7\u5236\u8FD4\u56DE\u6570\u91CF\uFF08\u7F3A\u7701 20\uFF09\uFF1Bkeyword \u53EA\u6309\u540D\u79F0/\u8BF4\u660E\u6587\u672C\u5339\u914D\u3001\u4E0D\u5339\u914D\u6D3B\u52A8\u6807\u8BC6\u2014\u2014\u7528\u6237\u7ED9\u51FA\u6D3B\u52A8\u6807\u8BC6\uFF08ID\uFF09\u67E5\u8BE6\u60C5\u65F6\u76F4\u63A5\u7528 getActivityPlayDetail\uFF0C\u4E0D\u8981\u628A\u6807\u8BC6\u5F53 keyword\uFF1B\u53EA\u8BFB\u67E5\u8BE2\uFF0C\u4E0D\u6267\u884C\u53C2\u4E0E\u6216\u62BD\u5956\uFF1B\u67E5\u8BE2\u7ED3\u679C\u4E3A\u5F53\u4E0B\u7684\u6D3B\u52A8\u4E8B\u5B9E\u4E0E\u72B6\u6001\uFF0C\u4E0D\u4EE3\u8868\u53C2\u4E0E\u8D44\u683C\u3002",
|
|
518
|
+
description: "\u7528\u6237\u6CDB\u6307\u6D3B\u52A8\u3001\u6709\u4EC0\u4E48\u6D3B\u52A8\u3001\u6D3B\u52A8\u4E2D\u5FC3\u6216\u6D3B\u52A8\u5217\u8868\u65F6\u4F18\u5148\u8C03\u7528\u672C\u5DE5\u5177\u3002\u67E5\u8BE2\u5F53\u524D\u5546\u573A\u5728\u552E\u7684\u6D3B\u52A8\u73A9\u6CD5\u5217\u8868\uFF08\u5927\u8F6C\u76D8\u3001\u62BD\u5956\u3001\u7B7E\u5230\u3001\u4E92\u52A8\u6E38\u620F\u7B49\u2014\u2014\u6765\u81EA\u5916\u90E8\u4F9B\u5E94\u5546\u5B9E\u65F6\u6570\u636E\uFF09\uFF0C\u53EF\u7528 keyword \u6309\u540D\u79F0\u6216\u8BF4\u660E\u8FC7\u6EE4\u3001limit \u63A7\u5236\u8FD4\u56DE\u6570\u91CF\uFF08\u7F3A\u7701 20\uFF09\uFF1Bkeyword \u53EA\u6309\u540D\u79F0/\u8BF4\u660E\u6587\u672C\u5339\u914D\u3001\u4E0D\u5339\u914D\u6D3B\u52A8\u6807\u8BC6\u2014\u2014\u7528\u6237\u7ED9\u51FA\u6D3B\u52A8\u6807\u8BC6\uFF08ID\uFF09\u67E5\u8BE6\u60C5\u65F6\u76F4\u63A5\u7528 getActivityPlayDetail\uFF0C\u4E0D\u8981\u628A\u6807\u8BC6\u5F53 keyword\uFF1B\u53EA\u8BFB\u67E5\u8BE2\uFF0C\u4E0D\u6267\u884C\u53C2\u4E0E\u6216\u62BD\u5956\uFF1B\u67E5\u8BE2\u7ED3\u679C\u4E3A\u5F53\u4E0B\u7684\u6D3B\u52A8\u4E8B\u5B9E\u4E0E\u72B6\u6001\uFF0C\u4E0D\u4EE3\u8868\u53C2\u4E0E\u8D44\u683C\u3002",
|
|
519
519
|
inputSchema: z.object({
|
|
520
520
|
keyword: z.string().optional(),
|
|
521
521
|
limit: z.string().optional()
|
|
@@ -611,7 +611,6 @@ import {
|
|
|
611
611
|
withCardEmissionHint as withCardEmissionHint2
|
|
612
612
|
} from "@tbox.cn/app-agent-sdk-server";
|
|
613
613
|
import {
|
|
614
|
-
activityPlayPrizeDetailCardDataSchema,
|
|
615
614
|
activityPlayPrizeListCardDataSchema
|
|
616
615
|
} from "@tbox.cn/app-contracts-mall";
|
|
617
616
|
|
|
@@ -647,12 +646,12 @@ function toPrizeListCardData(input) {
|
|
|
647
646
|
};
|
|
648
647
|
}
|
|
649
648
|
function toPrizeDetailCardData(input) {
|
|
650
|
-
|
|
649
|
+
const { redemptionMethod: _method, redemptionInstruction: _instruction, prizeUrl: _url, ...record } = input.detail;
|
|
650
|
+
return toPrizeListCardData({ mallId: input.mallId, result: { total: 1, items: [record] } });
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
// src/server/prizes/tools.ts
|
|
654
654
|
var ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE = "activity-play-prize-list";
|
|
655
|
-
var ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE = "activity-play-prize-detail";
|
|
656
655
|
function toPrizeFailureFact(err) {
|
|
657
656
|
const httpError = toActivityPlayPrizeError(err);
|
|
658
657
|
return { found: false, errorCode: httpError.code, message: httpError.message };
|
|
@@ -736,7 +735,7 @@ function createActivityPlayPrizeTools(opts) {
|
|
|
736
735
|
const detail = await queryMyPrizeDetail(reqCtx, ctx, normalizePrizeRecordRef(refRaw));
|
|
737
736
|
const { mallId } = requirePrizeQueryContext(reqCtx);
|
|
738
737
|
const data = toPrizeDetailCardData({ mallId, detail });
|
|
739
|
-
|
|
738
|
+
activityPlayPrizeListCardDataSchema.parse(data);
|
|
740
739
|
return {
|
|
741
740
|
found: true,
|
|
742
741
|
mallId,
|
|
@@ -746,7 +745,7 @@ function createActivityPlayPrizeTools(opts) {
|
|
|
746
745
|
...detail.prizeUrl ? { prizeUrl: detail.prizeUrl } : {},
|
|
747
746
|
notice: "\u4E2D\u5956\u8BB0\u5F55\u4E3A\u67E5\u8BE2\u65F6\u5FEB\u7167\uFF1B\u9886\u53D6\u65B9\u5F0F\u3001\u4F7F\u7528\u89C4\u5219\u4E0E\u6838\u9500\u4EE5\u6D3B\u52A8\u9875\u9762/\u4F9B\u5E94\u5546\u6307\u5F15\u4E3A\u51C6\uFF0C\u672C\u5DE5\u5177\u4E0D\u80FD\u4EE3\u4E3A\u9886\u53D6\u3002",
|
|
748
747
|
cards: [{
|
|
749
|
-
cardType:
|
|
748
|
+
cardType: ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
750
749
|
data,
|
|
751
750
|
note: `\u5956\u54C1\u8BE6\u60C5 \xB7 ${detail.title}`.slice(0, 120)
|
|
752
751
|
}]
|
|
@@ -1011,76 +1010,10 @@ var meta2 = {
|
|
|
1011
1010
|
};
|
|
1012
1011
|
var meta_default2 = meta2;
|
|
1013
1012
|
|
|
1014
|
-
// src/server/cards/activity-play-prize-detail/meta.ts
|
|
1015
|
-
import { activityPlayPrizeDetailCardDataSchema as activityPlayPrizeDetailCardDataSchema3 } from "@tbox.cn/app-contracts-mall";
|
|
1016
|
-
|
|
1017
|
-
// src/server/cards/activity-play-prize-detail/samples.ts
|
|
1018
|
-
import { activityPlayPrizeDetailCardDataSchema as activityPlayPrizeDetailCardDataSchema2 } from "@tbox.cn/app-contracts-mall";
|
|
1019
|
-
var activityPlayPrizeDetailCardSamples = [
|
|
1020
|
-
{
|
|
1021
|
-
label: "\u8BE6\u60C5\xB7\u5B8C\u6574\u9762",
|
|
1022
|
-
group: "\u672C\u4EBA\u5956\u54C1\xB7\u8BE6\u60C5",
|
|
1023
|
-
note: "\u542B\u6765\u6E90\u6D3B\u52A8/\u56FE\u7247/\u65F6\u95F4/\u89C4\u5219/\u9886\u53D6\u65B9\u5F0F/\u8BF4\u660E/\u6307\u5F15\u5168\u91CF\u53EF\u9009\u5B57\u6BB5",
|
|
1024
|
-
data: {
|
|
1025
|
-
mallId: "mall-demo",
|
|
1026
|
-
prizeRecordRef: "prize-demo-001",
|
|
1027
|
-
title: "\u5496\u5561\u5151\u6362\u5238",
|
|
1028
|
-
prizeType: "COUPON",
|
|
1029
|
-
claimStatus: "CLAIMED",
|
|
1030
|
-
useStatus: "UNUSED",
|
|
1031
|
-
activityId: "demo-wheel",
|
|
1032
|
-
activityTitle: "\u5E78\u8FD0\u8F6C\u76D8",
|
|
1033
|
-
imageUrl: "https://example.com/prize.png",
|
|
1034
|
-
wonAt: "2026-11-01T10:00:00+08:00",
|
|
1035
|
-
usageRuleText: "\u8BF7\u5728\u6709\u6548\u671F\u5185\u5230\u5E97\u4F7F\u7528",
|
|
1036
|
-
redemptionMethod: "\u95E8\u5E97\u67DC\u53F0",
|
|
1037
|
-
redemptionInstruction: "\u8BF7\u6309\u6D3B\u52A8\u9875\u9762\u7684\u9886\u53D6\u53CA\u4F7F\u7528\u6307\u5F15\u64CD\u4F5C",
|
|
1038
|
-
prizeUrl: "https://example.com/claim"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
label: "\u8BE6\u60C5\xB7\u6700\u5C0F\u9762",
|
|
1043
|
-
group: "\u672C\u4EBA\u5956\u54C1\xB7\u8BE6\u60C5",
|
|
1044
|
-
note: "\u4EC5\u5FC5\u586B\u5B57\u6BB5 + UNKNOWN \u72B6\u6001\u6876\uFF08\u672A\u77E5\u72B6\u6001\u4FDD\u5B88\u5C55\u793A\u2014\u2014\u4E0D\u7F16\u9020\u5177\u4F53\u72B6\u6001\uFF09",
|
|
1045
|
-
data: {
|
|
1046
|
-
mallId: "mall-demo",
|
|
1047
|
-
prizeRecordRef: "prize-demo-002",
|
|
1048
|
-
title: "\u5468\u5E74\u5E86\u793C\u76D2",
|
|
1049
|
-
prizeType: "UNKNOWN",
|
|
1050
|
-
claimStatus: "WAIT_CLAIM",
|
|
1051
|
-
useStatus: "UNKNOWN"
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
];
|
|
1055
|
-
for (const sample of activityPlayPrizeDetailCardSamples) {
|
|
1056
|
-
activityPlayPrizeDetailCardDataSchema2.parse(sample.data);
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
// src/server/cards/activity-play-prize-detail/meta.ts
|
|
1060
|
-
var meta3 = {
|
|
1061
|
-
cardType: "activity-play-prize-detail",
|
|
1062
|
-
dataSchema: activityPlayPrizeDetailCardDataSchema3,
|
|
1063
|
-
displayName: "\u672C\u4EBA\u5956\u54C1\u8BE6\u60C5",
|
|
1064
|
-
description: "\u672C\u4EBA\u4E2D\u5956\u8BB0\u5F55\u8BE6\u60C5\u5361\u7247\uFF08\u5956\u54C1\u4E8B\u5B9E\u3001\u4F9B\u5E94\u5546\u89C4\u5219\u4E0E\u9886\u53D6\u8BF4\u660E\u2014\u2014\u5E73\u94FA\u5C55\u793A\uFF09",
|
|
1065
|
-
schemaVersion: 1,
|
|
1066
|
-
sampleData: {
|
|
1067
|
-
mallId: "mall-demo",
|
|
1068
|
-
prizeRecordRef: "prize-demo-001",
|
|
1069
|
-
title: "\u5496\u5561\u5151\u6362\u5238",
|
|
1070
|
-
prizeType: "COUPON",
|
|
1071
|
-
claimStatus: "CLAIMED",
|
|
1072
|
-
useStatus: "UNUSED",
|
|
1073
|
-
redemptionInstruction: "\u8BF7\u6309\u6D3B\u52A8\u9875\u9762\u7684\u9886\u53D6\u53CA\u4F7F\u7528\u6307\u5F15\u64CD\u4F5C"
|
|
1074
|
-
},
|
|
1075
|
-
samples: activityPlayPrizeDetailCardSamples
|
|
1076
|
-
};
|
|
1077
|
-
var meta_default3 = meta3;
|
|
1078
|
-
|
|
1079
1013
|
// src/server/cards/index.ts
|
|
1080
1014
|
var activityPlayCards = {
|
|
1081
1015
|
"activity-play": meta_default,
|
|
1082
|
-
"activity-play-prize-list": meta_default2
|
|
1083
|
-
"activity-play-prize-detail": meta_default3
|
|
1016
|
+
"activity-play-prize-list": meta_default2
|
|
1084
1017
|
};
|
|
1085
1018
|
|
|
1086
1019
|
// src/server/index.ts
|
|
@@ -1098,8 +1031,7 @@ var skills = Object.fromEntries(
|
|
|
1098
1031
|
);
|
|
1099
1032
|
var cards = {
|
|
1100
1033
|
"activity-play": meta_default,
|
|
1101
|
-
"activity-play-prize-list": meta_default2
|
|
1102
|
-
"activity-play-prize-detail": meta_default3
|
|
1034
|
+
"activity-play-prize-list": meta_default2
|
|
1103
1035
|
};
|
|
1104
1036
|
var serverModule = {
|
|
1105
1037
|
declaration: {
|
|
@@ -1147,7 +1079,6 @@ export {
|
|
|
1147
1079
|
toPrizeListCardData,
|
|
1148
1080
|
toPrizeDetailCardData,
|
|
1149
1081
|
ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
1150
|
-
ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE,
|
|
1151
1082
|
createActivityPlayPrizeTools,
|
|
1152
1083
|
activityPlayCards,
|
|
1153
1084
|
serverModule
|
package/dist/client/index.d.ts
CHANGED
package/dist/client/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ACTIVITY_PLAY_CARD_TYPE, ACTIVITY_PLAY_LIMIT_DEFAULT, ACTIVITY_PLAY_LIMIT_MAX, ACTIVITY_PLAY_LIMIT_MIN,
|
|
1
|
+
export { ACTIVITY_PLAY_CARD_TYPE, ACTIVITY_PLAY_LIMIT_DEFAULT, ACTIVITY_PLAY_LIMIT_MAX, ACTIVITY_PLAY_LIMIT_MIN, ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE, ActivityPlayErrorCode, ActivityPlayHttpError, ActivityPlayPrizeErrorCode, ActivityPlayPrizeHttpError, PRIZE_NO_RESULTS_TEXT, PRIZE_VIEW_DETAIL_LABEL, activityPlayCards, createActivityPlayPrizeRouter, createActivityPlayPrizeTools, createActivityPlayRouter, createActivityPlayTools, normalizeActivityId, normalizeKeyword, normalizeListLimit, normalizePrizeRecordRef, queryActivityPlayDetail, queryActivityPlayList, queryMyPrizeDetail, queryMyPrizeList, requireMallIdOf, requirePrizeQueryContext, requirePrizeSubjectId, resolveActivityPlayPrizePort, resolveActivityPlayQueryPort, serverModule, toActivityPlayHttpError, toActivityPlayPrizeError, toPrizeDetailCardData, toPrizeListCardData } from './server/index.js';
|
|
2
2
|
export { clientModule } from './client/index.js';
|
|
3
3
|
import '@tbox.cn/app-sdk-server';
|
|
4
4
|
import '@tbox.cn/app-contracts';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
ACTIVITY_PLAY_LIMIT_DEFAULT,
|
|
4
4
|
ACTIVITY_PLAY_LIMIT_MAX,
|
|
5
5
|
ACTIVITY_PLAY_LIMIT_MIN,
|
|
6
|
-
ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE,
|
|
7
6
|
ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
8
7
|
ActivityPlayHttpError,
|
|
9
8
|
ActivityPlayPrizeHttpError,
|
|
@@ -32,16 +31,15 @@ import {
|
|
|
32
31
|
toActivityPlayPrizeError,
|
|
33
32
|
toPrizeDetailCardData,
|
|
34
33
|
toPrizeListCardData
|
|
35
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YH6HTRSS.js";
|
|
36
35
|
import {
|
|
37
36
|
clientModule
|
|
38
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CVZ4T5JN.js";
|
|
39
38
|
export {
|
|
40
39
|
ACTIVITY_PLAY_CARD_TYPE,
|
|
41
40
|
ACTIVITY_PLAY_LIMIT_DEFAULT,
|
|
42
41
|
ACTIVITY_PLAY_LIMIT_MAX,
|
|
43
42
|
ACTIVITY_PLAY_LIMIT_MIN,
|
|
44
|
-
ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE,
|
|
45
43
|
ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
46
44
|
ActivityPlayHttpError,
|
|
47
45
|
ActivityPlayPrizeHttpError,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as zod from 'zod';
|
|
|
5
5
|
import * as _tbox_cn_app_agent_sdk_server from '@tbox.cn/app-agent-sdk-server';
|
|
6
6
|
import { ServerContext } from '@tbox.cn/app-agent-sdk-server';
|
|
7
7
|
import { Router } from 'express';
|
|
8
|
-
import { ActivityPlayQueryPort, ActivityPlayPrizeQueryPort, ActivityPlayPrizeDetail, ActivityPlayPrizeListResult, ActivityPlayPrizeQueryContext,
|
|
8
|
+
import { ActivityPlayQueryPort, ActivityPlayPrizeQueryPort, ActivityPlayPrizeDetail, ActivityPlayPrizeListResult, ActivityPlayPrizeQueryContext, ActivityPlayPrizeListCardData, ActivityPlayActivity, ActivityPlayPage } from '@tbox.cn/app-contracts-mall';
|
|
9
9
|
import * as _mastra_core_tools from '@mastra/core/tools';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -86,9 +86,8 @@ declare function createActivityPlayTools(opts: {
|
|
|
86
86
|
}, unknown, unknown, unknown, _mastra_core_tools.ToolExecutionContext<unknown, unknown, unknown>, "getActivityPlayDetail", unknown>;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
/**
|
|
89
|
+
/** 奖品唯一列表卡型(与 meta.cardType 同名——cards map 键约定铁律) */
|
|
90
90
|
declare const ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE = "activity-play-prize-list";
|
|
91
|
-
declare const ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE = "activity-play-prize-detail";
|
|
92
91
|
declare function createActivityPlayPrizeTools(opts: {
|
|
93
92
|
getCtx: () => ServerContext;
|
|
94
93
|
}): {
|
|
@@ -122,6 +121,41 @@ declare const activityPlayCards: {
|
|
|
122
121
|
title: zod.ZodString;
|
|
123
122
|
description: zod.ZodOptional<zod.ZodString>;
|
|
124
123
|
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
124
|
+
detailCoverUrl: zod.ZodOptional<zod.ZodString>;
|
|
125
|
+
participationRules: zod.ZodOptional<zod.ZodObject<{
|
|
126
|
+
ruleTexts: zod.ZodArray<zod.ZodString, "many">;
|
|
127
|
+
}, "strict", zod.ZodTypeAny, {
|
|
128
|
+
ruleTexts: string[];
|
|
129
|
+
}, {
|
|
130
|
+
ruleTexts: string[];
|
|
131
|
+
}>>;
|
|
132
|
+
rewardSummary: zod.ZodOptional<zod.ZodObject<{
|
|
133
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
134
|
+
title: zod.ZodString;
|
|
135
|
+
tierName: zod.ZodString;
|
|
136
|
+
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
137
|
+
}, "strict", zod.ZodTypeAny, {
|
|
138
|
+
title: string;
|
|
139
|
+
tierName: string;
|
|
140
|
+
imageUrl?: string | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
title: string;
|
|
143
|
+
tierName: string;
|
|
144
|
+
imageUrl?: string | undefined;
|
|
145
|
+
}>, "many">;
|
|
146
|
+
}, "strict", zod.ZodTypeAny, {
|
|
147
|
+
items: {
|
|
148
|
+
title: string;
|
|
149
|
+
tierName: string;
|
|
150
|
+
imageUrl?: string | undefined;
|
|
151
|
+
}[];
|
|
152
|
+
}, {
|
|
153
|
+
items: {
|
|
154
|
+
title: string;
|
|
155
|
+
tierName: string;
|
|
156
|
+
imageUrl?: string | undefined;
|
|
157
|
+
}[];
|
|
158
|
+
}>>;
|
|
125
159
|
startsAt: zod.ZodOptional<zod.ZodString>;
|
|
126
160
|
endsAt: zod.ZodOptional<zod.ZodString>;
|
|
127
161
|
status: zod.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
@@ -131,6 +165,17 @@ declare const activityPlayCards: {
|
|
|
131
165
|
activityId: string;
|
|
132
166
|
description?: string | undefined;
|
|
133
167
|
imageUrl?: string | undefined;
|
|
168
|
+
detailCoverUrl?: string | undefined;
|
|
169
|
+
participationRules?: {
|
|
170
|
+
ruleTexts: string[];
|
|
171
|
+
} | undefined;
|
|
172
|
+
rewardSummary?: {
|
|
173
|
+
items: {
|
|
174
|
+
title: string;
|
|
175
|
+
tierName: string;
|
|
176
|
+
imageUrl?: string | undefined;
|
|
177
|
+
}[];
|
|
178
|
+
} | undefined;
|
|
134
179
|
startsAt?: string | undefined;
|
|
135
180
|
endsAt?: string | undefined;
|
|
136
181
|
}, {
|
|
@@ -139,6 +184,17 @@ declare const activityPlayCards: {
|
|
|
139
184
|
activityId: string;
|
|
140
185
|
description?: string | undefined;
|
|
141
186
|
imageUrl?: string | undefined;
|
|
187
|
+
detailCoverUrl?: string | undefined;
|
|
188
|
+
participationRules?: {
|
|
189
|
+
ruleTexts: string[];
|
|
190
|
+
} | undefined;
|
|
191
|
+
rewardSummary?: {
|
|
192
|
+
items: {
|
|
193
|
+
title: string;
|
|
194
|
+
tierName: string;
|
|
195
|
+
imageUrl?: string | undefined;
|
|
196
|
+
}[];
|
|
197
|
+
} | undefined;
|
|
142
198
|
startsAt?: string | undefined;
|
|
143
199
|
endsAt?: string | undefined;
|
|
144
200
|
}>, "many">;
|
|
@@ -149,6 +205,17 @@ declare const activityPlayCards: {
|
|
|
149
205
|
activityId: string;
|
|
150
206
|
description?: string | undefined;
|
|
151
207
|
imageUrl?: string | undefined;
|
|
208
|
+
detailCoverUrl?: string | undefined;
|
|
209
|
+
participationRules?: {
|
|
210
|
+
ruleTexts: string[];
|
|
211
|
+
} | undefined;
|
|
212
|
+
rewardSummary?: {
|
|
213
|
+
items: {
|
|
214
|
+
title: string;
|
|
215
|
+
tierName: string;
|
|
216
|
+
imageUrl?: string | undefined;
|
|
217
|
+
}[];
|
|
218
|
+
} | undefined;
|
|
152
219
|
startsAt?: string | undefined;
|
|
153
220
|
endsAt?: string | undefined;
|
|
154
221
|
}[];
|
|
@@ -161,6 +228,17 @@ declare const activityPlayCards: {
|
|
|
161
228
|
activityId: string;
|
|
162
229
|
description?: string | undefined;
|
|
163
230
|
imageUrl?: string | undefined;
|
|
231
|
+
detailCoverUrl?: string | undefined;
|
|
232
|
+
participationRules?: {
|
|
233
|
+
ruleTexts: string[];
|
|
234
|
+
} | undefined;
|
|
235
|
+
rewardSummary?: {
|
|
236
|
+
items: {
|
|
237
|
+
title: string;
|
|
238
|
+
tierName: string;
|
|
239
|
+
imageUrl?: string | undefined;
|
|
240
|
+
}[];
|
|
241
|
+
} | undefined;
|
|
164
242
|
startsAt?: string | undefined;
|
|
165
243
|
endsAt?: string | undefined;
|
|
166
244
|
}[];
|
|
@@ -173,6 +251,17 @@ declare const activityPlayCards: {
|
|
|
173
251
|
activityId: string;
|
|
174
252
|
description?: string | undefined;
|
|
175
253
|
imageUrl?: string | undefined;
|
|
254
|
+
detailCoverUrl?: string | undefined;
|
|
255
|
+
participationRules?: {
|
|
256
|
+
ruleTexts: string[];
|
|
257
|
+
} | undefined;
|
|
258
|
+
rewardSummary?: {
|
|
259
|
+
items: {
|
|
260
|
+
title: string;
|
|
261
|
+
tierName: string;
|
|
262
|
+
imageUrl?: string | undefined;
|
|
263
|
+
}[];
|
|
264
|
+
} | undefined;
|
|
176
265
|
startsAt?: string | undefined;
|
|
177
266
|
endsAt?: string | undefined;
|
|
178
267
|
}[];
|
|
@@ -185,6 +274,17 @@ declare const activityPlayCards: {
|
|
|
185
274
|
activityId: string;
|
|
186
275
|
description?: string | undefined;
|
|
187
276
|
imageUrl?: string | undefined;
|
|
277
|
+
detailCoverUrl?: string | undefined;
|
|
278
|
+
participationRules?: {
|
|
279
|
+
ruleTexts: string[];
|
|
280
|
+
} | undefined;
|
|
281
|
+
rewardSummary?: {
|
|
282
|
+
items: {
|
|
283
|
+
title: string;
|
|
284
|
+
tierName: string;
|
|
285
|
+
imageUrl?: string | undefined;
|
|
286
|
+
}[];
|
|
287
|
+
} | undefined;
|
|
188
288
|
startsAt?: string | undefined;
|
|
189
289
|
endsAt?: string | undefined;
|
|
190
290
|
}[];
|
|
@@ -334,54 +434,6 @@ declare const activityPlayCards: {
|
|
|
334
434
|
truncated?: boolean | undefined;
|
|
335
435
|
noResultsReason?: string | undefined;
|
|
336
436
|
}>>;
|
|
337
|
-
readonly 'activity-play-prize-detail': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
338
|
-
prizeRecordRef: zod.ZodEffects<zod.ZodString, string, string>;
|
|
339
|
-
title: zod.ZodString;
|
|
340
|
-
prizeType: zod.ZodString;
|
|
341
|
-
claimStatus: zod.ZodString;
|
|
342
|
-
useStatus: zod.ZodString;
|
|
343
|
-
activityId: zod.ZodOptional<zod.ZodString>;
|
|
344
|
-
activityTitle: zod.ZodOptional<zod.ZodString>;
|
|
345
|
-
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
346
|
-
wonAt: zod.ZodOptional<zod.ZodString>;
|
|
347
|
-
usageRuleText: zod.ZodOptional<zod.ZodString>;
|
|
348
|
-
} & {
|
|
349
|
-
redemptionMethod: zod.ZodOptional<zod.ZodString>;
|
|
350
|
-
redemptionInstruction: zod.ZodOptional<zod.ZodString>;
|
|
351
|
-
prizeUrl: zod.ZodOptional<zod.ZodString>;
|
|
352
|
-
} & {
|
|
353
|
-
mallId: zod.ZodString;
|
|
354
|
-
}, "strict", zod.ZodTypeAny, {
|
|
355
|
-
title: string;
|
|
356
|
-
mallId: string;
|
|
357
|
-
prizeRecordRef: string;
|
|
358
|
-
prizeType: string;
|
|
359
|
-
claimStatus: string;
|
|
360
|
-
useStatus: string;
|
|
361
|
-
activityId?: string | undefined;
|
|
362
|
-
imageUrl?: string | undefined;
|
|
363
|
-
activityTitle?: string | undefined;
|
|
364
|
-
wonAt?: string | undefined;
|
|
365
|
-
usageRuleText?: string | undefined;
|
|
366
|
-
redemptionMethod?: string | undefined;
|
|
367
|
-
redemptionInstruction?: string | undefined;
|
|
368
|
-
prizeUrl?: string | undefined;
|
|
369
|
-
}, {
|
|
370
|
-
title: string;
|
|
371
|
-
mallId: string;
|
|
372
|
-
prizeRecordRef: string;
|
|
373
|
-
prizeType: string;
|
|
374
|
-
claimStatus: string;
|
|
375
|
-
useStatus: string;
|
|
376
|
-
activityId?: string | undefined;
|
|
377
|
-
imageUrl?: string | undefined;
|
|
378
|
-
activityTitle?: string | undefined;
|
|
379
|
-
wonAt?: string | undefined;
|
|
380
|
-
usageRuleText?: string | undefined;
|
|
381
|
-
redemptionMethod?: string | undefined;
|
|
382
|
-
redemptionInstruction?: string | undefined;
|
|
383
|
-
prizeUrl?: string | undefined;
|
|
384
|
-
}>>;
|
|
385
437
|
};
|
|
386
438
|
|
|
387
439
|
/**
|
|
@@ -438,11 +490,11 @@ declare function toPrizeListCardData(input: {
|
|
|
438
490
|
mallId: string;
|
|
439
491
|
result: ActivityPlayPrizeListResult;
|
|
440
492
|
}): ActivityPlayPrizeListCardData;
|
|
441
|
-
/**
|
|
493
|
+
/** 详情查询投影为单条奖品列表卡,领取说明仅在详情 HTTP 与半屏展示 */
|
|
442
494
|
declare function toPrizeDetailCardData(input: {
|
|
443
495
|
mallId: string;
|
|
444
496
|
detail: ActivityPlayPrizeDetail;
|
|
445
|
-
}):
|
|
497
|
+
}): ActivityPlayPrizeListCardData;
|
|
446
498
|
|
|
447
499
|
type ActivityPlayPrizeErrorCode = 'INVALID_REQUEST' | 'SCOPE_REQUIRED' | 'SCOPE_MISMATCH' | 'LOGIN_REQUIRED' | 'PRIZE_NOT_FOUND' | 'NOT_CONFIGURED' | 'PROVIDER_ERROR';
|
|
448
500
|
/** 可直接渲染的奖品链错误(service/route 层统一抛出/转换) */
|
|
@@ -547,6 +599,41 @@ declare const serverModule: {
|
|
|
547
599
|
title: zod.ZodString;
|
|
548
600
|
description: zod.ZodOptional<zod.ZodString>;
|
|
549
601
|
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
602
|
+
detailCoverUrl: zod.ZodOptional<zod.ZodString>;
|
|
603
|
+
participationRules: zod.ZodOptional<zod.ZodObject<{
|
|
604
|
+
ruleTexts: zod.ZodArray<zod.ZodString, "many">;
|
|
605
|
+
}, "strict", zod.ZodTypeAny, {
|
|
606
|
+
ruleTexts: string[];
|
|
607
|
+
}, {
|
|
608
|
+
ruleTexts: string[];
|
|
609
|
+
}>>;
|
|
610
|
+
rewardSummary: zod.ZodOptional<zod.ZodObject<{
|
|
611
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
612
|
+
title: zod.ZodString;
|
|
613
|
+
tierName: zod.ZodString;
|
|
614
|
+
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
615
|
+
}, "strict", zod.ZodTypeAny, {
|
|
616
|
+
title: string;
|
|
617
|
+
tierName: string;
|
|
618
|
+
imageUrl?: string | undefined;
|
|
619
|
+
}, {
|
|
620
|
+
title: string;
|
|
621
|
+
tierName: string;
|
|
622
|
+
imageUrl?: string | undefined;
|
|
623
|
+
}>, "many">;
|
|
624
|
+
}, "strict", zod.ZodTypeAny, {
|
|
625
|
+
items: {
|
|
626
|
+
title: string;
|
|
627
|
+
tierName: string;
|
|
628
|
+
imageUrl?: string | undefined;
|
|
629
|
+
}[];
|
|
630
|
+
}, {
|
|
631
|
+
items: {
|
|
632
|
+
title: string;
|
|
633
|
+
tierName: string;
|
|
634
|
+
imageUrl?: string | undefined;
|
|
635
|
+
}[];
|
|
636
|
+
}>>;
|
|
550
637
|
startsAt: zod.ZodOptional<zod.ZodString>;
|
|
551
638
|
endsAt: zod.ZodOptional<zod.ZodString>;
|
|
552
639
|
status: zod.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
@@ -556,6 +643,17 @@ declare const serverModule: {
|
|
|
556
643
|
activityId: string;
|
|
557
644
|
description?: string | undefined;
|
|
558
645
|
imageUrl?: string | undefined;
|
|
646
|
+
detailCoverUrl?: string | undefined;
|
|
647
|
+
participationRules?: {
|
|
648
|
+
ruleTexts: string[];
|
|
649
|
+
} | undefined;
|
|
650
|
+
rewardSummary?: {
|
|
651
|
+
items: {
|
|
652
|
+
title: string;
|
|
653
|
+
tierName: string;
|
|
654
|
+
imageUrl?: string | undefined;
|
|
655
|
+
}[];
|
|
656
|
+
} | undefined;
|
|
559
657
|
startsAt?: string | undefined;
|
|
560
658
|
endsAt?: string | undefined;
|
|
561
659
|
}, {
|
|
@@ -564,6 +662,17 @@ declare const serverModule: {
|
|
|
564
662
|
activityId: string;
|
|
565
663
|
description?: string | undefined;
|
|
566
664
|
imageUrl?: string | undefined;
|
|
665
|
+
detailCoverUrl?: string | undefined;
|
|
666
|
+
participationRules?: {
|
|
667
|
+
ruleTexts: string[];
|
|
668
|
+
} | undefined;
|
|
669
|
+
rewardSummary?: {
|
|
670
|
+
items: {
|
|
671
|
+
title: string;
|
|
672
|
+
tierName: string;
|
|
673
|
+
imageUrl?: string | undefined;
|
|
674
|
+
}[];
|
|
675
|
+
} | undefined;
|
|
567
676
|
startsAt?: string | undefined;
|
|
568
677
|
endsAt?: string | undefined;
|
|
569
678
|
}>, "many">;
|
|
@@ -574,6 +683,17 @@ declare const serverModule: {
|
|
|
574
683
|
activityId: string;
|
|
575
684
|
description?: string | undefined;
|
|
576
685
|
imageUrl?: string | undefined;
|
|
686
|
+
detailCoverUrl?: string | undefined;
|
|
687
|
+
participationRules?: {
|
|
688
|
+
ruleTexts: string[];
|
|
689
|
+
} | undefined;
|
|
690
|
+
rewardSummary?: {
|
|
691
|
+
items: {
|
|
692
|
+
title: string;
|
|
693
|
+
tierName: string;
|
|
694
|
+
imageUrl?: string | undefined;
|
|
695
|
+
}[];
|
|
696
|
+
} | undefined;
|
|
577
697
|
startsAt?: string | undefined;
|
|
578
698
|
endsAt?: string | undefined;
|
|
579
699
|
}[];
|
|
@@ -586,6 +706,17 @@ declare const serverModule: {
|
|
|
586
706
|
activityId: string;
|
|
587
707
|
description?: string | undefined;
|
|
588
708
|
imageUrl?: string | undefined;
|
|
709
|
+
detailCoverUrl?: string | undefined;
|
|
710
|
+
participationRules?: {
|
|
711
|
+
ruleTexts: string[];
|
|
712
|
+
} | undefined;
|
|
713
|
+
rewardSummary?: {
|
|
714
|
+
items: {
|
|
715
|
+
title: string;
|
|
716
|
+
tierName: string;
|
|
717
|
+
imageUrl?: string | undefined;
|
|
718
|
+
}[];
|
|
719
|
+
} | undefined;
|
|
589
720
|
startsAt?: string | undefined;
|
|
590
721
|
endsAt?: string | undefined;
|
|
591
722
|
}[];
|
|
@@ -598,6 +729,17 @@ declare const serverModule: {
|
|
|
598
729
|
activityId: string;
|
|
599
730
|
description?: string | undefined;
|
|
600
731
|
imageUrl?: string | undefined;
|
|
732
|
+
detailCoverUrl?: string | undefined;
|
|
733
|
+
participationRules?: {
|
|
734
|
+
ruleTexts: string[];
|
|
735
|
+
} | undefined;
|
|
736
|
+
rewardSummary?: {
|
|
737
|
+
items: {
|
|
738
|
+
title: string;
|
|
739
|
+
tierName: string;
|
|
740
|
+
imageUrl?: string | undefined;
|
|
741
|
+
}[];
|
|
742
|
+
} | undefined;
|
|
601
743
|
startsAt?: string | undefined;
|
|
602
744
|
endsAt?: string | undefined;
|
|
603
745
|
}[];
|
|
@@ -610,6 +752,17 @@ declare const serverModule: {
|
|
|
610
752
|
activityId: string;
|
|
611
753
|
description?: string | undefined;
|
|
612
754
|
imageUrl?: string | undefined;
|
|
755
|
+
detailCoverUrl?: string | undefined;
|
|
756
|
+
participationRules?: {
|
|
757
|
+
ruleTexts: string[];
|
|
758
|
+
} | undefined;
|
|
759
|
+
rewardSummary?: {
|
|
760
|
+
items: {
|
|
761
|
+
title: string;
|
|
762
|
+
tierName: string;
|
|
763
|
+
imageUrl?: string | undefined;
|
|
764
|
+
}[];
|
|
765
|
+
} | undefined;
|
|
613
766
|
startsAt?: string | undefined;
|
|
614
767
|
endsAt?: string | undefined;
|
|
615
768
|
}[];
|
|
@@ -759,54 +912,6 @@ declare const serverModule: {
|
|
|
759
912
|
truncated?: boolean | undefined;
|
|
760
913
|
noResultsReason?: string | undefined;
|
|
761
914
|
}>>;
|
|
762
|
-
readonly 'activity-play-prize-detail': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
763
|
-
prizeRecordRef: zod.ZodEffects<zod.ZodString, string, string>;
|
|
764
|
-
title: zod.ZodString;
|
|
765
|
-
prizeType: zod.ZodString;
|
|
766
|
-
claimStatus: zod.ZodString;
|
|
767
|
-
useStatus: zod.ZodString;
|
|
768
|
-
activityId: zod.ZodOptional<zod.ZodString>;
|
|
769
|
-
activityTitle: zod.ZodOptional<zod.ZodString>;
|
|
770
|
-
imageUrl: zod.ZodOptional<zod.ZodString>;
|
|
771
|
-
wonAt: zod.ZodOptional<zod.ZodString>;
|
|
772
|
-
usageRuleText: zod.ZodOptional<zod.ZodString>;
|
|
773
|
-
} & {
|
|
774
|
-
redemptionMethod: zod.ZodOptional<zod.ZodString>;
|
|
775
|
-
redemptionInstruction: zod.ZodOptional<zod.ZodString>;
|
|
776
|
-
prizeUrl: zod.ZodOptional<zod.ZodString>;
|
|
777
|
-
} & {
|
|
778
|
-
mallId: zod.ZodString;
|
|
779
|
-
}, "strict", zod.ZodTypeAny, {
|
|
780
|
-
title: string;
|
|
781
|
-
mallId: string;
|
|
782
|
-
prizeRecordRef: string;
|
|
783
|
-
prizeType: string;
|
|
784
|
-
claimStatus: string;
|
|
785
|
-
useStatus: string;
|
|
786
|
-
activityId?: string | undefined;
|
|
787
|
-
imageUrl?: string | undefined;
|
|
788
|
-
activityTitle?: string | undefined;
|
|
789
|
-
wonAt?: string | undefined;
|
|
790
|
-
usageRuleText?: string | undefined;
|
|
791
|
-
redemptionMethod?: string | undefined;
|
|
792
|
-
redemptionInstruction?: string | undefined;
|
|
793
|
-
prizeUrl?: string | undefined;
|
|
794
|
-
}, {
|
|
795
|
-
title: string;
|
|
796
|
-
mallId: string;
|
|
797
|
-
prizeRecordRef: string;
|
|
798
|
-
prizeType: string;
|
|
799
|
-
claimStatus: string;
|
|
800
|
-
useStatus: string;
|
|
801
|
-
activityId?: string | undefined;
|
|
802
|
-
imageUrl?: string | undefined;
|
|
803
|
-
activityTitle?: string | undefined;
|
|
804
|
-
wonAt?: string | undefined;
|
|
805
|
-
usageRuleText?: string | undefined;
|
|
806
|
-
redemptionMethod?: string | undefined;
|
|
807
|
-
redemptionInstruction?: string | undefined;
|
|
808
|
-
prizeUrl?: string | undefined;
|
|
809
|
-
}>>;
|
|
810
915
|
};
|
|
811
916
|
skills: {
|
|
812
917
|
[k: string]: _tbox_cn_app_sdk_server.LocalSkill;
|
|
@@ -814,4 +919,4 @@ declare const serverModule: {
|
|
|
814
919
|
register(ctx: ServerContext): void;
|
|
815
920
|
};
|
|
816
921
|
|
|
817
|
-
export { ACTIVITY_PLAY_CARD_TYPE, ACTIVITY_PLAY_LIMIT_DEFAULT, ACTIVITY_PLAY_LIMIT_MAX, ACTIVITY_PLAY_LIMIT_MIN,
|
|
922
|
+
export { ACTIVITY_PLAY_CARD_TYPE, ACTIVITY_PLAY_LIMIT_DEFAULT, ACTIVITY_PLAY_LIMIT_MAX, ACTIVITY_PLAY_LIMIT_MIN, ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE, type ActivityPlayErrorCode, ActivityPlayHttpError, type ActivityPlayPrizeErrorCode, ActivityPlayPrizeHttpError, PRIZE_NO_RESULTS_TEXT, PRIZE_VIEW_DETAIL_LABEL, activityPlayCards, createActivityPlayPrizeRouter, createActivityPlayPrizeTools, createActivityPlayRouter, createActivityPlayTools, normalizeActivityId, normalizeKeyword, normalizeListLimit, normalizePrizeRecordRef, queryActivityPlayDetail, queryActivityPlayList, queryMyPrizeDetail, queryMyPrizeList, requireMallIdOf, requirePrizeQueryContext, requirePrizeSubjectId, resolveActivityPlayPrizePort, resolveActivityPlayQueryPort, serverModule, toActivityPlayHttpError, toActivityPlayPrizeError, toPrizeDetailCardData, toPrizeListCardData };
|
package/dist/server/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
ACTIVITY_PLAY_LIMIT_DEFAULT,
|
|
4
4
|
ACTIVITY_PLAY_LIMIT_MAX,
|
|
5
5
|
ACTIVITY_PLAY_LIMIT_MIN,
|
|
6
|
-
ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE,
|
|
7
6
|
ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
8
7
|
ActivityPlayHttpError,
|
|
9
8
|
ActivityPlayPrizeHttpError,
|
|
@@ -32,13 +31,12 @@ import {
|
|
|
32
31
|
toActivityPlayPrizeError,
|
|
33
32
|
toPrizeDetailCardData,
|
|
34
33
|
toPrizeListCardData
|
|
35
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-YH6HTRSS.js";
|
|
36
35
|
export {
|
|
37
36
|
ACTIVITY_PLAY_CARD_TYPE,
|
|
38
37
|
ACTIVITY_PLAY_LIMIT_DEFAULT,
|
|
39
38
|
ACTIVITY_PLAY_LIMIT_MAX,
|
|
40
39
|
ACTIVITY_PLAY_LIMIT_MIN,
|
|
41
|
-
ACTIVITY_PLAY_PRIZE_DETAIL_CARD_TYPE,
|
|
42
40
|
ACTIVITY_PLAY_PRIZE_LIST_CARD_TYPE,
|
|
43
41
|
ActivityPlayHttpError,
|
|
44
42
|
ActivityPlayPrizeHttpError,
|