mirror of
https://github.com/djhackersdev/minime.git
synced 2026-03-21 17:54:13 -05:00
idz: Add stamps to SaveStockerRequest
This commit is contained in:
parent
63cd59e10e
commit
7b0380a719
|
|
@ -12,6 +12,9 @@ export async function saveStocker(
|
|||
w.backgrounds().saveAll(profileId, req.backgrounds),
|
||||
w.chara().save(profileId, req.chara),
|
||||
w.car().saveSelection(profileId, req.selectedCar),
|
||||
req.selectedStamps &&
|
||||
w.stamps().saveSelection(profileId, req.selectedStamps),
|
||||
req.stamps && w.stamps().saveAll(profileId, req.stamps),
|
||||
]);
|
||||
|
||||
return { type: "generic_res" };
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { BackgroundCode } from "../model/base";
|
||||
import { BackgroundCode, StampCode } from "../model/base";
|
||||
import { CarSelector } from "../model/car";
|
||||
import { Chara } from "../model/chara";
|
||||
import { SelectedStamps } from "../model/stamps";
|
||||
import { AimeId } from "../../../model";
|
||||
|
||||
export interface SaveStockerRequest {
|
||||
|
|
@ -10,4 +11,6 @@ export interface SaveStockerRequest {
|
|||
selectedCar: CarSelector;
|
||||
backgrounds: Set<BackgroundCode>;
|
||||
chara: Chara;
|
||||
selectedStamps?: SelectedStamps;
|
||||
stamps?: Set<StampCode>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user