@bscotch/stitch
Version:
Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.
21 lines • 746 B
TypeScript
import { YypFolder } from '@bscotch/yy';
export declare class Gms2Folder {
#private;
constructor(folder: YypFolder);
/** The path as seen by a user in the IDE. */
get path(): string;
get name(): string;
toJSON(): YypFolder;
/**
* Given a path as seen in the IDE,
* get the 'folderPath' field value used in the .yyp and .yy files
*/
static folderPathFromPath(path: string): string;
/**
* Given a path as seen in the IDE,
* get the 'name' field value used in the .yyp and .yy files
*/
static nameFromPath(path: string): string;
static get defaultDataValues(): Pick<YypFolder, 'tags' | 'order' | 'resourceType' | 'resourceVersion'>;
}
//# sourceMappingURL=Gms2Folder.d.ts.map