@bscotch/sprite-source
Version:
Art pipeline scripting module for GameMaker sprites.
45 lines • 1.91 kB
TypeScript
import { z } from 'zod';
export interface SpriteDestAction {
kind: 'update' | 'create';
spine: boolean;
/** The name of the sprite */
name: string;
/** The fullpath to the folder containing the source files */
source: string;
/** The fullpath to the {project}/sprites/{spriteName} folder where this sprite asset does (or should) live */
dest: string;
/** The fullpath to the SpriteSource folder containing this sprite */
sourceRoot: string;
}
export type SpriteDestSource = z.infer<typeof spriteDestSourceSchema>;
declare const spriteDestSourceSchema: z.ZodObject<{
source: z.ZodString;
collaboratorSources: z.ZodOptional<z.ZodArray<z.ZodString>>;
ignore: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
prefix: z.ZodOptional<z.ZodString>;
}, z.core.$loose>;
export type SpriteDestConfig = z.infer<typeof spriteDestConfigSchema>;
export declare const spriteDestConfigSchema: z.ZodObject<{
$schema: z.ZodOptional<z.ZodDefault<z.ZodString>>;
sources: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
source: z.ZodString;
collaboratorSources: z.ZodOptional<z.ZodArray<z.ZodString>>;
ignore: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
prefix: z.ZodOptional<z.ZodString>;
}, z.core.$loose>>>>;
}, z.core.$strip>;
export declare const spriteDestConfigInfo: {
schema: z.ZodObject<{
$schema: z.ZodOptional<z.ZodDefault<z.ZodString>>;
sources: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
source: z.ZodString;
collaboratorSources: z.ZodOptional<z.ZodArray<z.ZodString>>;
ignore: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
prefix: z.ZodOptional<z.ZodString>;
}, z.core.$loose>>>>;
}, z.core.$strip>;
name: string;
filename: string;
};
export {};
//# sourceMappingURL=SpriteDest.schemas.d.ts.map