@tbox.cn/app-module-activity-play 1.0.0-alpha.12 → 1.0.0-alpha.14
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 +72 -72
- package/package.json +6 -6
package/dist/server/index.d.ts
CHANGED
|
@@ -160,9 +160,9 @@ declare const activityPlayCards: {
|
|
|
160
160
|
endsAt: zod.ZodOptional<zod.ZodString>;
|
|
161
161
|
status: zod.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
162
162
|
}, "strict", zod.ZodTypeAny, {
|
|
163
|
-
status: "unknown" | "
|
|
164
|
-
activityId: string;
|
|
163
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
165
164
|
title: string;
|
|
165
|
+
activityId: string;
|
|
166
166
|
description?: string | undefined;
|
|
167
167
|
imageUrl?: string | undefined;
|
|
168
168
|
detailCoverUrl?: string | undefined;
|
|
@@ -179,9 +179,9 @@ declare const activityPlayCards: {
|
|
|
179
179
|
startsAt?: string | undefined;
|
|
180
180
|
endsAt?: string | undefined;
|
|
181
181
|
}, {
|
|
182
|
-
status: "unknown" | "
|
|
183
|
-
activityId: string;
|
|
182
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
184
183
|
title: string;
|
|
184
|
+
activityId: string;
|
|
185
185
|
description?: string | undefined;
|
|
186
186
|
imageUrl?: string | undefined;
|
|
187
187
|
detailCoverUrl?: string | undefined;
|
|
@@ -199,12 +199,10 @@ declare const activityPlayCards: {
|
|
|
199
199
|
endsAt?: string | undefined;
|
|
200
200
|
}>, "many">;
|
|
201
201
|
}, "strip", zod.ZodTypeAny, {
|
|
202
|
-
mallId: string;
|
|
203
|
-
mode: "list" | "detail";
|
|
204
202
|
items: {
|
|
205
|
-
status: "unknown" | "
|
|
206
|
-
activityId: string;
|
|
203
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
207
204
|
title: string;
|
|
205
|
+
activityId: string;
|
|
208
206
|
description?: string | undefined;
|
|
209
207
|
imageUrl?: string | undefined;
|
|
210
208
|
detailCoverUrl?: string | undefined;
|
|
@@ -221,13 +219,13 @@ declare const activityPlayCards: {
|
|
|
221
219
|
startsAt?: string | undefined;
|
|
222
220
|
endsAt?: string | undefined;
|
|
223
221
|
}[];
|
|
224
|
-
|
|
222
|
+
mode: "detail" | "list";
|
|
225
223
|
mallId: string;
|
|
226
|
-
|
|
224
|
+
}, {
|
|
227
225
|
items: {
|
|
228
|
-
status: "unknown" | "
|
|
229
|
-
activityId: string;
|
|
226
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
230
227
|
title: string;
|
|
228
|
+
activityId: string;
|
|
231
229
|
description?: string | undefined;
|
|
232
230
|
imageUrl?: string | undefined;
|
|
233
231
|
detailCoverUrl?: string | undefined;
|
|
@@ -244,13 +242,13 @@ declare const activityPlayCards: {
|
|
|
244
242
|
startsAt?: string | undefined;
|
|
245
243
|
endsAt?: string | undefined;
|
|
246
244
|
}[];
|
|
247
|
-
|
|
245
|
+
mode: "detail" | "list";
|
|
248
246
|
mallId: string;
|
|
249
|
-
|
|
247
|
+
}>, {
|
|
250
248
|
items: {
|
|
251
|
-
status: "unknown" | "
|
|
252
|
-
activityId: string;
|
|
249
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
253
250
|
title: string;
|
|
251
|
+
activityId: string;
|
|
254
252
|
description?: string | undefined;
|
|
255
253
|
imageUrl?: string | undefined;
|
|
256
254
|
detailCoverUrl?: string | undefined;
|
|
@@ -267,13 +265,13 @@ declare const activityPlayCards: {
|
|
|
267
265
|
startsAt?: string | undefined;
|
|
268
266
|
endsAt?: string | undefined;
|
|
269
267
|
}[];
|
|
270
|
-
|
|
268
|
+
mode: "detail" | "list";
|
|
271
269
|
mallId: string;
|
|
272
|
-
|
|
270
|
+
}, {
|
|
273
271
|
items: {
|
|
274
|
-
status: "unknown" | "
|
|
275
|
-
activityId: string;
|
|
272
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
276
273
|
title: string;
|
|
274
|
+
activityId: string;
|
|
277
275
|
description?: string | undefined;
|
|
278
276
|
imageUrl?: string | undefined;
|
|
279
277
|
detailCoverUrl?: string | undefined;
|
|
@@ -290,6 +288,8 @@ declare const activityPlayCards: {
|
|
|
290
288
|
startsAt?: string | undefined;
|
|
291
289
|
endsAt?: string | undefined;
|
|
292
290
|
}[];
|
|
291
|
+
mode: "detail" | "list";
|
|
292
|
+
mallId: string;
|
|
293
293
|
}>>;
|
|
294
294
|
readonly 'activity-play-prize-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
295
295
|
mallId: zod.ZodString;
|
|
@@ -312,13 +312,13 @@ declare const activityPlayCards: {
|
|
|
312
312
|
value: zod.ZodOptional<zod.ZodString>;
|
|
313
313
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
314
314
|
}, "strip", zod.ZodTypeAny, {
|
|
315
|
-
kind: "send";
|
|
316
315
|
label: string;
|
|
316
|
+
kind: "send";
|
|
317
317
|
value?: string | undefined;
|
|
318
318
|
visibleValue?: string | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
kind: "send";
|
|
321
320
|
label: string;
|
|
321
|
+
kind: "send";
|
|
322
322
|
value?: string | undefined;
|
|
323
323
|
visibleValue?: string | undefined;
|
|
324
324
|
}>, zod.ZodObject<{
|
|
@@ -326,12 +326,12 @@ declare const activityPlayCards: {
|
|
|
326
326
|
label: zod.ZodString;
|
|
327
327
|
url: zod.ZodString;
|
|
328
328
|
}, "strip", zod.ZodTypeAny, {
|
|
329
|
-
kind: "link";
|
|
330
329
|
label: string;
|
|
330
|
+
kind: "link";
|
|
331
331
|
url: string;
|
|
332
332
|
}, {
|
|
333
|
-
kind: "link";
|
|
334
333
|
label: string;
|
|
334
|
+
kind: "link";
|
|
335
335
|
url: string;
|
|
336
336
|
}>]>, "many">>;
|
|
337
337
|
}, "strict", zod.ZodTypeAny, {
|
|
@@ -346,13 +346,13 @@ declare const activityPlayCards: {
|
|
|
346
346
|
wonAt?: string | undefined;
|
|
347
347
|
usageRuleText?: string | undefined;
|
|
348
348
|
itemActions?: ({
|
|
349
|
-
kind: "send";
|
|
350
349
|
label: string;
|
|
350
|
+
kind: "send";
|
|
351
351
|
value?: string | undefined;
|
|
352
352
|
visibleValue?: string | undefined;
|
|
353
353
|
} | {
|
|
354
|
-
kind: "link";
|
|
355
354
|
label: string;
|
|
355
|
+
kind: "link";
|
|
356
356
|
url: string;
|
|
357
357
|
})[] | undefined;
|
|
358
358
|
}, {
|
|
@@ -367,20 +367,19 @@ declare const activityPlayCards: {
|
|
|
367
367
|
wonAt?: string | undefined;
|
|
368
368
|
usageRuleText?: string | undefined;
|
|
369
369
|
itemActions?: ({
|
|
370
|
-
kind: "send";
|
|
371
370
|
label: string;
|
|
371
|
+
kind: "send";
|
|
372
372
|
value?: string | undefined;
|
|
373
373
|
visibleValue?: string | undefined;
|
|
374
374
|
} | {
|
|
375
|
-
kind: "link";
|
|
376
375
|
label: string;
|
|
376
|
+
kind: "link";
|
|
377
377
|
url: string;
|
|
378
378
|
})[] | undefined;
|
|
379
379
|
}>, "many">;
|
|
380
380
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
381
381
|
truncated: zod.ZodOptional<zod.ZodBoolean>;
|
|
382
382
|
}, "strict", zod.ZodTypeAny, {
|
|
383
|
-
mallId: string;
|
|
384
383
|
items: {
|
|
385
384
|
title: string;
|
|
386
385
|
prizeRecordRef: string;
|
|
@@ -393,21 +392,21 @@ declare const activityPlayCards: {
|
|
|
393
392
|
wonAt?: string | undefined;
|
|
394
393
|
usageRuleText?: string | undefined;
|
|
395
394
|
itemActions?: ({
|
|
396
|
-
kind: "send";
|
|
397
395
|
label: string;
|
|
396
|
+
kind: "send";
|
|
398
397
|
value?: string | undefined;
|
|
399
398
|
visibleValue?: string | undefined;
|
|
400
399
|
} | {
|
|
401
|
-
kind: "link";
|
|
402
400
|
label: string;
|
|
401
|
+
kind: "link";
|
|
403
402
|
url: string;
|
|
404
403
|
})[] | undefined;
|
|
405
404
|
}[];
|
|
406
405
|
total: number;
|
|
407
|
-
|
|
406
|
+
mallId: string;
|
|
408
407
|
truncated?: boolean | undefined;
|
|
408
|
+
noResultsReason?: string | undefined;
|
|
409
409
|
}, {
|
|
410
|
-
mallId: string;
|
|
411
410
|
items: {
|
|
412
411
|
title: string;
|
|
413
412
|
prizeRecordRef: string;
|
|
@@ -420,19 +419,20 @@ declare const activityPlayCards: {
|
|
|
420
419
|
wonAt?: string | undefined;
|
|
421
420
|
usageRuleText?: string | undefined;
|
|
422
421
|
itemActions?: ({
|
|
423
|
-
kind: "send";
|
|
424
422
|
label: string;
|
|
423
|
+
kind: "send";
|
|
425
424
|
value?: string | undefined;
|
|
426
425
|
visibleValue?: string | undefined;
|
|
427
426
|
} | {
|
|
428
|
-
kind: "link";
|
|
429
427
|
label: string;
|
|
428
|
+
kind: "link";
|
|
430
429
|
url: string;
|
|
431
430
|
})[] | undefined;
|
|
432
431
|
}[];
|
|
433
432
|
total: number;
|
|
434
|
-
|
|
433
|
+
mallId: string;
|
|
435
434
|
truncated?: boolean | undefined;
|
|
435
|
+
noResultsReason?: string | undefined;
|
|
436
436
|
}>>;
|
|
437
437
|
};
|
|
438
438
|
|
|
@@ -638,9 +638,9 @@ declare const serverModule: {
|
|
|
638
638
|
endsAt: zod.ZodOptional<zod.ZodString>;
|
|
639
639
|
status: zod.ZodEnum<["not_started", "active", "ended", "disabled", "unknown"]>;
|
|
640
640
|
}, "strict", zod.ZodTypeAny, {
|
|
641
|
-
status: "unknown" | "
|
|
642
|
-
activityId: string;
|
|
641
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
643
642
|
title: string;
|
|
643
|
+
activityId: string;
|
|
644
644
|
description?: string | undefined;
|
|
645
645
|
imageUrl?: string | undefined;
|
|
646
646
|
detailCoverUrl?: string | undefined;
|
|
@@ -657,9 +657,9 @@ declare const serverModule: {
|
|
|
657
657
|
startsAt?: string | undefined;
|
|
658
658
|
endsAt?: string | undefined;
|
|
659
659
|
}, {
|
|
660
|
-
status: "unknown" | "
|
|
661
|
-
activityId: string;
|
|
660
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
662
661
|
title: string;
|
|
662
|
+
activityId: string;
|
|
663
663
|
description?: string | undefined;
|
|
664
664
|
imageUrl?: string | undefined;
|
|
665
665
|
detailCoverUrl?: string | undefined;
|
|
@@ -677,12 +677,10 @@ declare const serverModule: {
|
|
|
677
677
|
endsAt?: string | undefined;
|
|
678
678
|
}>, "many">;
|
|
679
679
|
}, "strip", zod.ZodTypeAny, {
|
|
680
|
-
mallId: string;
|
|
681
|
-
mode: "list" | "detail";
|
|
682
680
|
items: {
|
|
683
|
-
status: "unknown" | "
|
|
684
|
-
activityId: string;
|
|
681
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
685
682
|
title: string;
|
|
683
|
+
activityId: string;
|
|
686
684
|
description?: string | undefined;
|
|
687
685
|
imageUrl?: string | undefined;
|
|
688
686
|
detailCoverUrl?: string | undefined;
|
|
@@ -699,13 +697,13 @@ declare const serverModule: {
|
|
|
699
697
|
startsAt?: string | undefined;
|
|
700
698
|
endsAt?: string | undefined;
|
|
701
699
|
}[];
|
|
702
|
-
|
|
700
|
+
mode: "detail" | "list";
|
|
703
701
|
mallId: string;
|
|
704
|
-
|
|
702
|
+
}, {
|
|
705
703
|
items: {
|
|
706
|
-
status: "unknown" | "
|
|
707
|
-
activityId: string;
|
|
704
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
708
705
|
title: string;
|
|
706
|
+
activityId: string;
|
|
709
707
|
description?: string | undefined;
|
|
710
708
|
imageUrl?: string | undefined;
|
|
711
709
|
detailCoverUrl?: string | undefined;
|
|
@@ -722,13 +720,13 @@ declare const serverModule: {
|
|
|
722
720
|
startsAt?: string | undefined;
|
|
723
721
|
endsAt?: string | undefined;
|
|
724
722
|
}[];
|
|
725
|
-
|
|
723
|
+
mode: "detail" | "list";
|
|
726
724
|
mallId: string;
|
|
727
|
-
|
|
725
|
+
}>, {
|
|
728
726
|
items: {
|
|
729
|
-
status: "unknown" | "
|
|
730
|
-
activityId: string;
|
|
727
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
731
728
|
title: string;
|
|
729
|
+
activityId: string;
|
|
732
730
|
description?: string | undefined;
|
|
733
731
|
imageUrl?: string | undefined;
|
|
734
732
|
detailCoverUrl?: string | undefined;
|
|
@@ -745,13 +743,13 @@ declare const serverModule: {
|
|
|
745
743
|
startsAt?: string | undefined;
|
|
746
744
|
endsAt?: string | undefined;
|
|
747
745
|
}[];
|
|
748
|
-
|
|
746
|
+
mode: "detail" | "list";
|
|
749
747
|
mallId: string;
|
|
750
|
-
|
|
748
|
+
}, {
|
|
751
749
|
items: {
|
|
752
|
-
status: "unknown" | "
|
|
753
|
-
activityId: string;
|
|
750
|
+
status: "unknown" | "disabled" | "not_started" | "active" | "ended";
|
|
754
751
|
title: string;
|
|
752
|
+
activityId: string;
|
|
755
753
|
description?: string | undefined;
|
|
756
754
|
imageUrl?: string | undefined;
|
|
757
755
|
detailCoverUrl?: string | undefined;
|
|
@@ -768,6 +766,8 @@ declare const serverModule: {
|
|
|
768
766
|
startsAt?: string | undefined;
|
|
769
767
|
endsAt?: string | undefined;
|
|
770
768
|
}[];
|
|
769
|
+
mode: "detail" | "list";
|
|
770
|
+
mallId: string;
|
|
771
771
|
}>>;
|
|
772
772
|
readonly 'activity-play-prize-list': _tbox_cn_app_contracts.CardMeta<zod.ZodObject<{
|
|
773
773
|
mallId: zod.ZodString;
|
|
@@ -790,13 +790,13 @@ declare const serverModule: {
|
|
|
790
790
|
value: zod.ZodOptional<zod.ZodString>;
|
|
791
791
|
visibleValue: zod.ZodOptional<zod.ZodString>;
|
|
792
792
|
}, "strip", zod.ZodTypeAny, {
|
|
793
|
-
kind: "send";
|
|
794
793
|
label: string;
|
|
794
|
+
kind: "send";
|
|
795
795
|
value?: string | undefined;
|
|
796
796
|
visibleValue?: string | undefined;
|
|
797
797
|
}, {
|
|
798
|
-
kind: "send";
|
|
799
798
|
label: string;
|
|
799
|
+
kind: "send";
|
|
800
800
|
value?: string | undefined;
|
|
801
801
|
visibleValue?: string | undefined;
|
|
802
802
|
}>, zod.ZodObject<{
|
|
@@ -804,12 +804,12 @@ declare const serverModule: {
|
|
|
804
804
|
label: zod.ZodString;
|
|
805
805
|
url: zod.ZodString;
|
|
806
806
|
}, "strip", zod.ZodTypeAny, {
|
|
807
|
-
kind: "link";
|
|
808
807
|
label: string;
|
|
808
|
+
kind: "link";
|
|
809
809
|
url: string;
|
|
810
810
|
}, {
|
|
811
|
-
kind: "link";
|
|
812
811
|
label: string;
|
|
812
|
+
kind: "link";
|
|
813
813
|
url: string;
|
|
814
814
|
}>]>, "many">>;
|
|
815
815
|
}, "strict", zod.ZodTypeAny, {
|
|
@@ -824,13 +824,13 @@ declare const serverModule: {
|
|
|
824
824
|
wonAt?: string | undefined;
|
|
825
825
|
usageRuleText?: string | undefined;
|
|
826
826
|
itemActions?: ({
|
|
827
|
-
kind: "send";
|
|
828
827
|
label: string;
|
|
828
|
+
kind: "send";
|
|
829
829
|
value?: string | undefined;
|
|
830
830
|
visibleValue?: string | undefined;
|
|
831
831
|
} | {
|
|
832
|
-
kind: "link";
|
|
833
832
|
label: string;
|
|
833
|
+
kind: "link";
|
|
834
834
|
url: string;
|
|
835
835
|
})[] | undefined;
|
|
836
836
|
}, {
|
|
@@ -845,20 +845,19 @@ declare const serverModule: {
|
|
|
845
845
|
wonAt?: string | undefined;
|
|
846
846
|
usageRuleText?: string | undefined;
|
|
847
847
|
itemActions?: ({
|
|
848
|
-
kind: "send";
|
|
849
848
|
label: string;
|
|
849
|
+
kind: "send";
|
|
850
850
|
value?: string | undefined;
|
|
851
851
|
visibleValue?: string | undefined;
|
|
852
852
|
} | {
|
|
853
|
-
kind: "link";
|
|
854
853
|
label: string;
|
|
854
|
+
kind: "link";
|
|
855
855
|
url: string;
|
|
856
856
|
})[] | undefined;
|
|
857
857
|
}>, "many">;
|
|
858
858
|
noResultsReason: zod.ZodOptional<zod.ZodString>;
|
|
859
859
|
truncated: zod.ZodOptional<zod.ZodBoolean>;
|
|
860
860
|
}, "strict", zod.ZodTypeAny, {
|
|
861
|
-
mallId: string;
|
|
862
861
|
items: {
|
|
863
862
|
title: string;
|
|
864
863
|
prizeRecordRef: string;
|
|
@@ -871,21 +870,21 @@ declare const serverModule: {
|
|
|
871
870
|
wonAt?: string | undefined;
|
|
872
871
|
usageRuleText?: string | undefined;
|
|
873
872
|
itemActions?: ({
|
|
874
|
-
kind: "send";
|
|
875
873
|
label: string;
|
|
874
|
+
kind: "send";
|
|
876
875
|
value?: string | undefined;
|
|
877
876
|
visibleValue?: string | undefined;
|
|
878
877
|
} | {
|
|
879
|
-
kind: "link";
|
|
880
878
|
label: string;
|
|
879
|
+
kind: "link";
|
|
881
880
|
url: string;
|
|
882
881
|
})[] | undefined;
|
|
883
882
|
}[];
|
|
884
883
|
total: number;
|
|
885
|
-
|
|
884
|
+
mallId: string;
|
|
886
885
|
truncated?: boolean | undefined;
|
|
886
|
+
noResultsReason?: string | undefined;
|
|
887
887
|
}, {
|
|
888
|
-
mallId: string;
|
|
889
888
|
items: {
|
|
890
889
|
title: string;
|
|
891
890
|
prizeRecordRef: string;
|
|
@@ -898,19 +897,20 @@ declare const serverModule: {
|
|
|
898
897
|
wonAt?: string | undefined;
|
|
899
898
|
usageRuleText?: string | undefined;
|
|
900
899
|
itemActions?: ({
|
|
901
|
-
kind: "send";
|
|
902
900
|
label: string;
|
|
901
|
+
kind: "send";
|
|
903
902
|
value?: string | undefined;
|
|
904
903
|
visibleValue?: string | undefined;
|
|
905
904
|
} | {
|
|
906
|
-
kind: "link";
|
|
907
905
|
label: string;
|
|
906
|
+
kind: "link";
|
|
908
907
|
url: string;
|
|
909
908
|
})[] | undefined;
|
|
910
909
|
}[];
|
|
911
910
|
total: number;
|
|
912
|
-
|
|
911
|
+
mallId: string;
|
|
913
912
|
truncated?: boolean | undefined;
|
|
913
|
+
noResultsReason?: string | undefined;
|
|
914
914
|
}>>;
|
|
915
915
|
};
|
|
916
916
|
skills: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-activity-play",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "活动玩法业务模块:供应商活动查询(HTTP/工具/出卡)",
|
|
6
6
|
"exports": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
23
|
-
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.
|
|
24
|
-
"@tbox.cn/app-agent-sdk-
|
|
25
|
-
"@tbox.cn/app-agent-sdk-
|
|
22
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.14",
|
|
23
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.14",
|
|
24
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.14",
|
|
25
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.14"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"zod": "3.25.76",
|
|
29
29
|
"react": "18.3.1",
|
|
30
|
-
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.
|
|
30
|
+
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.14"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/express": "4.17.25",
|