campaignFromFile beta
Function of @v12-engine/client/app
ts
export declare function campaignFromFile<D extends object = Record<string, unknown>>(def: CampaignFromFile<D>): CampaignDef<D>;A campaign made of its file and its code (CampaignFromFile): the file's over the code's, field by field; a mission's debrief merged (the file's words, the code's rating). What defineCampaign({ file }) plays. Throws where the file does not read, or a mission of the code's that the file has not got has no name or map