XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

chore: improve IVendorManifest

d5d60bcb
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +9 -2
Modified src/services/serversideVendorsService.ts +9 -2
@@ -1,4 +1,4 @@
1 import { IOid } from "@/src/types/commonTypes";
1 import { IMongoDate, IOid } from "@/src/types/commonTypes";
2 2
3 3 import ArchimedeanVendorManifest from "@/static/fixed_responses/getVendorInfo/ArchimedeanVendorManifest.json";
4 4 import DeimosEntratiFragmentVendorProductsManifest from "@/static/fixed_responses/getVendorInfo/DeimosEntratiFragmentVendorProductsManifest.json";
@@ -35,9 +35,16 @@ interface IVendorManifest {
35 35 TypeName: string;
36 36 ItemManifest: {
37 37 StoreItem: string;
38 ItemPrices?: { ItemType: string; ItemCount: number; ProductCategory: string }[];
39 Bin: string;
38 40 QuantityMultiplier: number;
39 // has a few more fields but we don't care about those right now
41 Expiry: IMongoDate;
42 PurchaseQuantityLimit?: number;
43 RotatedWeekly?: boolean;
44 AllowMultipurchase: boolean;
45 Id: IOid;
40 46 }[];
47 Expiry: IMongoDate;
41 48 };
42 49 }
43 50