@tbox.cn/app-module-activity-play 1.0.0-alpha.11 → 1.0.0-alpha.12

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.
@@ -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" | "disabled" | "not_started" | "active" | "ended";
164
- title: string;
163
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
165
164
  activityId: string;
165
+ title: 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" | "disabled" | "not_started" | "active" | "ended";
183
- title: string;
182
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
184
183
  activityId: string;
184
+ title: string;
185
185
  description?: string | undefined;
186
186
  imageUrl?: string | undefined;
187
187
  detailCoverUrl?: string | undefined;
@@ -199,10 +199,12 @@ declare const activityPlayCards: {
199
199
  endsAt?: string | undefined;
200
200
  }>, "many">;
201
201
  }, "strip", zod.ZodTypeAny, {
202
+ mallId: string;
203
+ mode: "list" | "detail";
202
204
  items: {
203
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
204
- title: string;
205
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
205
206
  activityId: string;
207
+ title: string;
206
208
  description?: string | undefined;
207
209
  imageUrl?: string | undefined;
208
210
  detailCoverUrl?: string | undefined;
@@ -219,13 +221,13 @@ declare const activityPlayCards: {
219
221
  startsAt?: string | undefined;
220
222
  endsAt?: string | undefined;
221
223
  }[];
222
- mode: "detail" | "list";
223
- mallId: string;
224
224
  }, {
225
+ mallId: string;
226
+ mode: "list" | "detail";
225
227
  items: {
226
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
227
- title: string;
228
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
228
229
  activityId: string;
230
+ title: string;
229
231
  description?: string | undefined;
230
232
  imageUrl?: string | undefined;
231
233
  detailCoverUrl?: string | undefined;
@@ -242,13 +244,13 @@ declare const activityPlayCards: {
242
244
  startsAt?: string | undefined;
243
245
  endsAt?: string | undefined;
244
246
  }[];
245
- mode: "detail" | "list";
246
- mallId: string;
247
247
  }>, {
248
+ mallId: string;
249
+ mode: "list" | "detail";
248
250
  items: {
249
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
250
- title: string;
251
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
251
252
  activityId: string;
253
+ title: string;
252
254
  description?: string | undefined;
253
255
  imageUrl?: string | undefined;
254
256
  detailCoverUrl?: string | undefined;
@@ -265,13 +267,13 @@ declare const activityPlayCards: {
265
267
  startsAt?: string | undefined;
266
268
  endsAt?: string | undefined;
267
269
  }[];
268
- mode: "detail" | "list";
269
- mallId: string;
270
270
  }, {
271
+ mallId: string;
272
+ mode: "list" | "detail";
271
273
  items: {
272
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
273
- title: string;
274
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
274
275
  activityId: string;
276
+ title: string;
275
277
  description?: string | undefined;
276
278
  imageUrl?: string | undefined;
277
279
  detailCoverUrl?: string | undefined;
@@ -288,8 +290,6 @@ declare const activityPlayCards: {
288
290
  startsAt?: string | undefined;
289
291
  endsAt?: string | undefined;
290
292
  }[];
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
- label: string;
316
315
  kind: "send";
316
+ label: string;
317
317
  value?: string | undefined;
318
318
  visibleValue?: string | undefined;
319
319
  }, {
320
- label: string;
321
320
  kind: "send";
321
+ label: string;
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
- label: string;
330
329
  kind: "link";
330
+ label: string;
331
331
  url: string;
332
332
  }, {
333
- label: string;
334
333
  kind: "link";
334
+ label: string;
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
- label: string;
350
349
  kind: "send";
350
+ label: string;
351
351
  value?: string | undefined;
352
352
  visibleValue?: string | undefined;
353
353
  } | {
354
- label: string;
355
354
  kind: "link";
355
+ label: string;
356
356
  url: string;
357
357
  })[] | undefined;
358
358
  }, {
@@ -367,19 +367,20 @@ declare const activityPlayCards: {
367
367
  wonAt?: string | undefined;
368
368
  usageRuleText?: string | undefined;
369
369
  itemActions?: ({
370
- label: string;
371
370
  kind: "send";
371
+ label: string;
372
372
  value?: string | undefined;
373
373
  visibleValue?: string | undefined;
374
374
  } | {
375
- label: string;
376
375
  kind: "link";
376
+ label: string;
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;
383
384
  items: {
384
385
  title: string;
385
386
  prizeRecordRef: string;
@@ -392,21 +393,21 @@ declare const activityPlayCards: {
392
393
  wonAt?: string | undefined;
393
394
  usageRuleText?: string | undefined;
394
395
  itemActions?: ({
395
- label: string;
396
396
  kind: "send";
397
+ label: string;
397
398
  value?: string | undefined;
398
399
  visibleValue?: string | undefined;
399
400
  } | {
400
- label: string;
401
401
  kind: "link";
402
+ label: string;
402
403
  url: string;
403
404
  })[] | undefined;
404
405
  }[];
405
406
  total: number;
406
- mallId: string;
407
- truncated?: boolean | undefined;
408
407
  noResultsReason?: string | undefined;
408
+ truncated?: boolean | undefined;
409
409
  }, {
410
+ mallId: string;
410
411
  items: {
411
412
  title: string;
412
413
  prizeRecordRef: string;
@@ -419,20 +420,19 @@ declare const activityPlayCards: {
419
420
  wonAt?: string | undefined;
420
421
  usageRuleText?: string | undefined;
421
422
  itemActions?: ({
422
- label: string;
423
423
  kind: "send";
424
+ label: string;
424
425
  value?: string | undefined;
425
426
  visibleValue?: string | undefined;
426
427
  } | {
427
- label: string;
428
428
  kind: "link";
429
+ label: string;
429
430
  url: string;
430
431
  })[] | undefined;
431
432
  }[];
432
433
  total: number;
433
- mallId: string;
434
- truncated?: boolean | undefined;
435
434
  noResultsReason?: string | undefined;
435
+ truncated?: boolean | 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" | "disabled" | "not_started" | "active" | "ended";
642
- title: string;
641
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
643
642
  activityId: string;
643
+ title: 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" | "disabled" | "not_started" | "active" | "ended";
661
- title: string;
660
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
662
661
  activityId: string;
662
+ title: string;
663
663
  description?: string | undefined;
664
664
  imageUrl?: string | undefined;
665
665
  detailCoverUrl?: string | undefined;
@@ -677,10 +677,12 @@ declare const serverModule: {
677
677
  endsAt?: string | undefined;
678
678
  }>, "many">;
679
679
  }, "strip", zod.ZodTypeAny, {
680
+ mallId: string;
681
+ mode: "list" | "detail";
680
682
  items: {
681
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
682
- title: string;
683
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
683
684
  activityId: string;
685
+ title: string;
684
686
  description?: string | undefined;
685
687
  imageUrl?: string | undefined;
686
688
  detailCoverUrl?: string | undefined;
@@ -697,13 +699,13 @@ declare const serverModule: {
697
699
  startsAt?: string | undefined;
698
700
  endsAt?: string | undefined;
699
701
  }[];
700
- mode: "detail" | "list";
701
- mallId: string;
702
702
  }, {
703
+ mallId: string;
704
+ mode: "list" | "detail";
703
705
  items: {
704
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
705
- title: string;
706
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
706
707
  activityId: string;
708
+ title: string;
707
709
  description?: string | undefined;
708
710
  imageUrl?: string | undefined;
709
711
  detailCoverUrl?: string | undefined;
@@ -720,13 +722,13 @@ declare const serverModule: {
720
722
  startsAt?: string | undefined;
721
723
  endsAt?: string | undefined;
722
724
  }[];
723
- mode: "detail" | "list";
724
- mallId: string;
725
725
  }>, {
726
+ mallId: string;
727
+ mode: "list" | "detail";
726
728
  items: {
727
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
728
- title: string;
729
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
729
730
  activityId: string;
731
+ title: string;
730
732
  description?: string | undefined;
731
733
  imageUrl?: string | undefined;
732
734
  detailCoverUrl?: string | undefined;
@@ -743,13 +745,13 @@ declare const serverModule: {
743
745
  startsAt?: string | undefined;
744
746
  endsAt?: string | undefined;
745
747
  }[];
746
- mode: "detail" | "list";
747
- mallId: string;
748
748
  }, {
749
+ mallId: string;
750
+ mode: "list" | "detail";
749
751
  items: {
750
- status: "unknown" | "disabled" | "not_started" | "active" | "ended";
751
- title: string;
752
+ status: "unknown" | "not_started" | "active" | "ended" | "disabled";
752
753
  activityId: string;
754
+ title: string;
753
755
  description?: string | undefined;
754
756
  imageUrl?: string | undefined;
755
757
  detailCoverUrl?: string | undefined;
@@ -766,8 +768,6 @@ declare const serverModule: {
766
768
  startsAt?: string | undefined;
767
769
  endsAt?: string | undefined;
768
770
  }[];
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
- label: string;
794
793
  kind: "send";
794
+ label: string;
795
795
  value?: string | undefined;
796
796
  visibleValue?: string | undefined;
797
797
  }, {
798
- label: string;
799
798
  kind: "send";
799
+ label: string;
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
- label: string;
808
807
  kind: "link";
808
+ label: string;
809
809
  url: string;
810
810
  }, {
811
- label: string;
812
811
  kind: "link";
812
+ label: string;
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
- label: string;
828
827
  kind: "send";
828
+ label: string;
829
829
  value?: string | undefined;
830
830
  visibleValue?: string | undefined;
831
831
  } | {
832
- label: string;
833
832
  kind: "link";
833
+ label: string;
834
834
  url: string;
835
835
  })[] | undefined;
836
836
  }, {
@@ -845,19 +845,20 @@ declare const serverModule: {
845
845
  wonAt?: string | undefined;
846
846
  usageRuleText?: string | undefined;
847
847
  itemActions?: ({
848
- label: string;
849
848
  kind: "send";
849
+ label: string;
850
850
  value?: string | undefined;
851
851
  visibleValue?: string | undefined;
852
852
  } | {
853
- label: string;
854
853
  kind: "link";
854
+ label: string;
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;
861
862
  items: {
862
863
  title: string;
863
864
  prizeRecordRef: string;
@@ -870,21 +871,21 @@ declare const serverModule: {
870
871
  wonAt?: string | undefined;
871
872
  usageRuleText?: string | undefined;
872
873
  itemActions?: ({
873
- label: string;
874
874
  kind: "send";
875
+ label: string;
875
876
  value?: string | undefined;
876
877
  visibleValue?: string | undefined;
877
878
  } | {
878
- label: string;
879
879
  kind: "link";
880
+ label: string;
880
881
  url: string;
881
882
  })[] | undefined;
882
883
  }[];
883
884
  total: number;
884
- mallId: string;
885
- truncated?: boolean | undefined;
886
885
  noResultsReason?: string | undefined;
886
+ truncated?: boolean | undefined;
887
887
  }, {
888
+ mallId: string;
888
889
  items: {
889
890
  title: string;
890
891
  prizeRecordRef: string;
@@ -897,20 +898,19 @@ declare const serverModule: {
897
898
  wonAt?: string | undefined;
898
899
  usageRuleText?: string | undefined;
899
900
  itemActions?: ({
900
- label: string;
901
901
  kind: "send";
902
+ label: string;
902
903
  value?: string | undefined;
903
904
  visibleValue?: string | undefined;
904
905
  } | {
905
- label: string;
906
906
  kind: "link";
907
+ label: string;
907
908
  url: string;
908
909
  })[] | undefined;
909
910
  }[];
910
911
  total: number;
911
- mallId: string;
912
- truncated?: boolean | undefined;
913
912
  noResultsReason?: string | undefined;
913
+ truncated?: boolean | 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.11",
3
+ "version": "1.0.0-alpha.12",
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-agent-sdk-server": "1.0.0-alpha.11",
23
- "@tbox.cn/app-contracts-mall": "1.0.0-alpha.11",
24
- "@tbox.cn/app-contracts": "1.0.0-alpha.11",
25
- "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.11"
22
+ "@tbox.cn/app-contracts": "1.0.0-alpha.12",
23
+ "@tbox.cn/app-contracts-mall": "1.0.0-alpha.12",
24
+ "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.12",
25
+ "@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.12"
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.11"
30
+ "@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.12"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/express": "4.17.25",