UNPKG

@bscotch/yy

Version:

Stringify, parse, read, and write GameMaker yy and yyp files.

26 lines 1.24 kB
import { z } from 'zod'; export type yyParentSchema = z.infer<typeof yyParentSchema>; export declare const yyParentSchema: z.ZodDefault<z.ZodObject<{ name: z.ZodString; path: z.ZodString; }, z.core.$strip>>; export declare const configValuesSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>; export type YyBase = z.infer<typeof yyBaseSchema>; export declare const yyBaseSchema: z.ZodObject<{ "%Name": z.ZodOptional<z.ZodString>; ConfigValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>; name: z.ZodString; resourceType: z.ZodString; tags: z.ZodOptional<z.ZodArray<z.ZodString>>; /** * Parent folder */ parent: z.ZodDefault<z.ZodObject<{ name: z.ZodString; path: z.ZodString; }, z.core.$strip>>; resourceVersion: z.ZodDefault<z.ZodString>; }, z.core.$strip>; export type YyResourceType = (typeof yyResourceTypes)[number]; export declare const yyResourceTypes: readonly ["animcurves", "extensions", "fonts", "notes", "objects", "particles", "paths", "rooms", "roomui", "extensions", "scripts", "sequences", "shaders", "sounds", "sprites", "tilesets", "timelines"]; //# sourceMappingURL=YyBase.d.ts.map