mirror of
https://github.com/djhackersdev/minime.git
synced 2026-04-25 16:20:19 -05:00
idz: Add SaveStockerRequest.myChara
This commit is contained in:
parent
8195e9f937
commit
8562da15b6
|
|
@ -12,6 +12,7 @@ export async function saveStocker(
|
|||
w.backgrounds().saveAll(profileId, req.backgrounds),
|
||||
w.chara().save(profileId, req.chara),
|
||||
w.car().saveSelection(profileId, req.selectedCar),
|
||||
req.myChara && w.myChara().saveAll(profileId, req.myChara),
|
||||
req.selectedStamps &&
|
||||
w.stamps().saveSelection(profileId, req.selectedStamps),
|
||||
req.stamps && w.stamps().saveAll(profileId, req.stamps),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { BackgroundCode, StampCode } from "../model/base";
|
||||
import { BackgroundCode, MyCharaCode, StampCode } from "../model/base";
|
||||
import { CarSelector } from "../model/car";
|
||||
import { Chara } from "../model/chara";
|
||||
import { SelectedStamps } from "../model/stamps";
|
||||
|
|
@ -11,6 +11,7 @@ export interface SaveStockerRequest {
|
|||
selectedCar: CarSelector;
|
||||
backgrounds: Set<BackgroundCode>;
|
||||
chara: Chara;
|
||||
myChara?: Set<MyCharaCode>;
|
||||
selectedStamps?: SelectedStamps;
|
||||
stamps?: Set<StampCode>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user