Configure tuning for each game copy
This commit is contained in:
1 parent
3e08e9314e
commit
6068d5bc65
15 files changed
+440
-9
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
import { LabInfoSchema, LaunchStateSchema } from '../schemas/launch.ts';
|
||||
import { MaintenanceInfoSchema, MaintenanceProgressSchema, MaintenanceRequestSchema } from '../schemas/maintenance.ts';
|
||||
import { ResearchBranchSchema, ResearchOperationSchema, SaveResearchSchema, OfficialImportOptionsSchema, OfficialPreviewSchema, SaveOfficialRequestSchema, CurrencyEditsSchema, SaveBackupNameSchema, SaveBackupSchema, SaveDetailsSchema, SaveKeysSchema, SaveListSchema, SaveRegistrationSchema, SaveTransferSchema } from '../schemas/saves.ts';
|
||||
import { TuningPatchSchema, TuningViewSchema } from '../schemas/tuning.ts';
|
||||
import { SettingsPatchSchema, SettingsSchema } from '../schemas/settings.ts';
|
||||
|
||||
/**
|
||||
@@ -196,6 +197,14 @@ export const ipcContract = {
|
||||
input: SaveKeysSchema.extend({ branch: ResearchBranchSchema, action: ResearchOperationSchema }),
|
||||
output: SaveResearchSchema,
|
||||
},
|
||||
'tuning:get': {
|
||||
input: z.object({ copyId: CopyIdSchema }),
|
||||
output: TuningViewSchema,
|
||||
},
|
||||
'tuning:update': {
|
||||
input: z.object({ copyId: CopyIdSchema, patch: TuningPatchSchema }),
|
||||
output: TuningViewSchema,
|
||||
},
|
||||
'launch:getState': {
|
||||
input: z.void(),
|
||||
output: LaunchStateSchema,
|
||||
|
||||
Reference in new issue
Block a user