UNPKG

@bscotch/stitch-config

Version:

Schemas and utilities for the stitch.config.json file.

26 lines 1.01 kB
import { type StitchConfig } from './schema.ts'; /** * Ensure that any texture/audio group assignments set in the config * (if found) are being applied to the appropriate assets. */ export declare function applyGroupAssignments(yypPath: string): Promise<void>; export declare function ensureProjectConfig(yypPath: string): Promise<void>; /** * Given a path to a GameMaker project's YYP file, load * its Stitch Config file if it has one. Else return an * empty config. */ export declare function loadProjectConfig(yypPath: string): Promise<StitchConfig>; export declare function saveProjectConfig(yypPath: string, config: StitchConfig): Promise<void>; /** * Given a path to a GameMaker project's YYP file, get * the path to where its config file should be. Asserts * existence of the yyp file. */ export declare function findProjectConfigPath(yypPath: string): Promise<{ filename: string; fullpath: string; parent: string; ext: `.${string}`; }>; //# sourceMappingURL=project.d.ts.map