import { License } from "./license.js";

export type needleMeta = {
    needleEditor: string | null,
    meta: string | null | { title?: string, description?: string, image?: string }
    absolutePath: string | null,
    sceneName: string | null,
    deployOnly: boolean,
    generator: string | null,
    gzip: boolean,
    allowHotReload: boolean,
    license: License | null | undefined,
    useRapier: boolean,
    developmentBuild: boolean,
}


/** The content of the needle.config.json in the project directory */
export type needleConfig = {
    baseUrL?: string;
    buildDirectory?: string;
    assetsDirectory?: string;
    scriptsDirectory?: string;
    codegenDirectory?: string;
    build?: {
        copy?: Array<string>;
    }
}