@toebean/npc-vortex-api
Version:
A utility package for npc for Vortex.
890 lines • 33.7 kB
TypeScript
import { z } from 'zod';
export declare const iProfileModSchema: z.ZodObject<{
enabled: z.ZodBoolean;
enabledTime: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
enabled: boolean;
enabledTime: number;
}, {
enabled: boolean;
enabledTime: number;
}>;
export declare const iProfileSchema: z.ZodObject<{
id: z.ZodString;
gameId: z.ZodString;
name: z.ZodString;
modState: z.ZodRecord<z.ZodString, z.ZodObject<{
enabled: z.ZodBoolean;
enabledTime: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
enabled: boolean;
enabledTime: number;
}, {
enabled: boolean;
enabledTime: number;
}>>;
lastActivated: z.ZodNumber;
pendingRemove: z.ZodOptional<z.ZodBoolean>;
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
pendingRemove?: boolean | undefined;
features?: Record<string, any> | undefined;
gameId: string;
id: string;
name: string;
modState: Record<string, {
enabled: boolean;
enabledTime: number;
}>;
lastActivated: number;
}, {
pendingRemove?: boolean | undefined;
features?: Record<string, any> | undefined;
gameId: string;
id: string;
name: string;
modState: Record<string, {
enabled: boolean;
enabledTime: number;
}>;
lastActivated: number;
}>;
export declare const iToolStoredSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
shortName: z.ZodOptional<z.ZodString>;
logo: z.ZodString;
executable: z.ZodString;
parameters: z.ZodArray<z.ZodString, "many">;
environment: z.ZodRecord<z.ZodString, z.ZodString>;
shell: z.ZodOptional<z.ZodBoolean>;
detach: z.ZodOptional<z.ZodBoolean>;
onStart: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"hide">, z.ZodLiteral<"hide_recover">, z.ZodLiteral<"close">]>>;
exclusive: z.ZodOptional<z.ZodBoolean>;
defaultPrimary: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}, {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}>;
export declare const iGameStoredSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
shortName: z.ZodOptional<z.ZodString>;
logo: z.ZodOptional<z.ZodString>;
extensionPath: z.ZodOptional<z.ZodString>;
imageURL: z.ZodOptional<z.ZodString>;
requiredFiles: z.ZodArray<z.ZodString, "many">;
executable: z.ZodString;
parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
supportedTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
shortName: z.ZodOptional<z.ZodString>;
logo: z.ZodString;
executable: z.ZodString;
parameters: z.ZodArray<z.ZodString, "many">;
environment: z.ZodRecord<z.ZodString, z.ZodString>;
shell: z.ZodOptional<z.ZodBoolean>;
detach: z.ZodOptional<z.ZodBoolean>;
onStart: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"hide">, z.ZodLiteral<"hide_recover">, z.ZodLiteral<"close">]>>;
exclusive: z.ZodOptional<z.ZodBoolean>;
defaultPrimary: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}, {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}>, "many">>;
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
shell: z.ZodOptional<z.ZodBoolean>;
contributed: z.ZodOptional<z.ZodString>;
final: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
shortName?: string | undefined;
logo?: string | undefined;
parameters?: string[] | undefined;
environment?: Record<string, string> | undefined;
shell?: boolean | undefined;
extensionPath?: string | undefined;
imageURL?: string | undefined;
supportedTools?: {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}[] | undefined;
details?: Record<string, any> | undefined;
contributed?: string | undefined;
final?: boolean | undefined;
id: string;
name: string;
executable: string;
requiredFiles: string[];
}, {
shortName?: string | undefined;
logo?: string | undefined;
parameters?: string[] | undefined;
environment?: Record<string, string> | undefined;
shell?: boolean | undefined;
extensionPath?: string | undefined;
imageURL?: string | undefined;
supportedTools?: {
shortName?: string | undefined;
shell?: boolean | undefined;
detach?: boolean | undefined;
onStart?: "hide" | "hide_recover" | "close" | undefined;
exclusive?: boolean | undefined;
defaultPrimary?: boolean | undefined;
id: string;
name: string;
logo: string;
executable: string;
parameters: string[];
environment: Record<string, string>;
}[] | undefined;
details?: Record<string, any> | undefined;
contributed?: string | undefined;
final?: boolean | undefined;
id: string;
name: string;
executable: string;
requiredFiles: string[];
}>;
export declare const modStateSchema: z.ZodUnion<[z.ZodLiteral<"downloading">, z.ZodLiteral<"downloaded">, z.ZodLiteral<"installing">, z.ZodLiteral<"installed">]>;
export declare const iReferenceSchema: z.ZodObject<{
fileMD5: z.ZodOptional<z.ZodString>;
fileSize: z.ZodOptional<z.ZodNumber>;
gameId: z.ZodOptional<z.ZodString>;
versionMatch: z.ZodOptional<z.ZodString>;
logicalFileName: z.ZodOptional<z.ZodString>;
fileExpression: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
}, {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
}>;
export declare const ruleTypeSchema: z.ZodUnion<[z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"requires">, z.ZodLiteral<"conflicts">, z.ZodLiteral<"recommends">, z.ZodLiteral<"provides">]>;
export declare const iRuleSchema: z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"requires">, z.ZodLiteral<"conflicts">, z.ZodLiteral<"recommends">, z.ZodLiteral<"provides">]>;
reference: z.ZodObject<{
fileMD5: z.ZodOptional<z.ZodString>;
fileSize: z.ZodOptional<z.ZodNumber>;
gameId: z.ZodOptional<z.ZodString>;
versionMatch: z.ZodOptional<z.ZodString>;
logicalFileName: z.ZodOptional<z.ZodString>;
fileExpression: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
}, {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
}>;
comment: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
comment?: string | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
};
}, {
comment?: string | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
fileExpression?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
};
}>;
export declare const iModRepoIdSchema: z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
modId: z.ZodOptional<z.ZodString>;
fileId: z.ZodString;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}>;
export declare const iModReferenceSchema: z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
fileExpression: z.ZodOptional<z.ZodString>;
fileSize: z.ZodOptional<z.ZodNumber>;
fileMD5: z.ZodOptional<z.ZodString>;
versionMatch: z.ZodOptional<z.ZodString>;
logicalFileName: z.ZodOptional<z.ZodString>;
id: z.ZodOptional<z.ZodString>;
idHint: z.ZodOptional<z.ZodString>;
md5Hint: z.ZodOptional<z.ZodString>;
tag: z.ZodOptional<z.ZodString>;
archiveId: z.ZodOptional<z.ZodString>;
repo: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
repository: z.ZodString;
campaign: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
campaign?: string | undefined;
repository: string;
}, {
campaign?: string | undefined;
repository: string;
}>, z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
modId: z.ZodOptional<z.ZodString>;
fileId: z.ZodString;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}>>>;
description: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}>;
export declare const iFileListItemSchema: z.ZodObject<{
path: z.ZodString;
md5: z.ZodOptional<z.ZodString>;
xxh64: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}>;
export declare const iDownloadHintSchema: z.ZodObject<{
mode: z.ZodUnion<[z.ZodLiteral<"direct">, z.ZodLiteral<"browse">, z.ZodLiteral<"manual">]>;
url: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}>;
export declare const iModRuleSchema: z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"requires">, z.ZodLiteral<"conflicts">, z.ZodLiteral<"recommends">, z.ZodLiteral<"provides">]>;
comment: z.ZodOptional<z.ZodString>;
reference: z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
fileExpression: z.ZodOptional<z.ZodString>;
fileSize: z.ZodOptional<z.ZodNumber>;
fileMD5: z.ZodOptional<z.ZodString>;
versionMatch: z.ZodOptional<z.ZodString>;
logicalFileName: z.ZodOptional<z.ZodString>;
id: z.ZodOptional<z.ZodString>;
idHint: z.ZodOptional<z.ZodString>;
md5Hint: z.ZodOptional<z.ZodString>;
tag: z.ZodOptional<z.ZodString>;
archiveId: z.ZodOptional<z.ZodString>;
repo: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
repository: z.ZodString;
campaign: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
campaign?: string | undefined;
repository: string;
}, {
campaign?: string | undefined;
repository: string;
}>, z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
modId: z.ZodOptional<z.ZodString>;
fileId: z.ZodString;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}>>>;
description: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}>;
fileList: z.ZodOptional<z.ZodArray<z.ZodObject<{
path: z.ZodString;
md5: z.ZodOptional<z.ZodString>;
xxh64: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}>, "many">>;
installerChoices: z.ZodOptional<z.ZodAny>;
downloadHint: z.ZodOptional<z.ZodObject<{
mode: z.ZodUnion<[z.ZodLiteral<"direct">, z.ZodLiteral<"browse">, z.ZodLiteral<"manual">]>;
url: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}>>;
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
ignored: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}, {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}>;
export declare const iModSchema: z.ZodObject<{
id: z.ZodString;
state: z.ZodUnion<[z.ZodLiteral<"downloading">, z.ZodLiteral<"downloaded">, z.ZodLiteral<"installing">, z.ZodLiteral<"installed">]>;
type: z.ZodString;
archiveId: z.ZodOptional<z.ZodString>;
installationPath: z.ZodString;
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"before">, z.ZodLiteral<"after">, z.ZodLiteral<"requires">, z.ZodLiteral<"conflicts">, z.ZodLiteral<"recommends">, z.ZodLiteral<"provides">]>;
comment: z.ZodOptional<z.ZodString>;
reference: z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
fileExpression: z.ZodOptional<z.ZodString>;
fileSize: z.ZodOptional<z.ZodNumber>;
fileMD5: z.ZodOptional<z.ZodString>;
versionMatch: z.ZodOptional<z.ZodString>;
logicalFileName: z.ZodOptional<z.ZodString>;
id: z.ZodOptional<z.ZodString>;
idHint: z.ZodOptional<z.ZodString>;
md5Hint: z.ZodOptional<z.ZodString>;
tag: z.ZodOptional<z.ZodString>;
archiveId: z.ZodOptional<z.ZodString>;
repo: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
repository: z.ZodString;
campaign: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
campaign?: string | undefined;
repository: string;
}, {
campaign?: string | undefined;
repository: string;
}>, z.ZodObject<{
gameId: z.ZodOptional<z.ZodString>;
modId: z.ZodOptional<z.ZodString>;
fileId: z.ZodString;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}, {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}>>>;
description: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}, {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
}>;
fileList: z.ZodOptional<z.ZodArray<z.ZodObject<{
path: z.ZodString;
md5: z.ZodOptional<z.ZodString>;
xxh64: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}, {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}>, "many">>;
installerChoices: z.ZodOptional<z.ZodAny>;
downloadHint: z.ZodOptional<z.ZodObject<{
mode: z.ZodUnion<[z.ZodLiteral<"direct">, z.ZodLiteral<"browse">, z.ZodLiteral<"manual">]>;
url: z.ZodOptional<z.ZodString>;
instructions: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}, {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
}>>;
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
ignored: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}, {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}>, "many">>;
enabledINITweaks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
fileOverrides: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
archiveId?: string | undefined;
attributes?: Record<string, any> | undefined;
rules?: {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}[] | undefined;
enabledINITweaks?: string[] | undefined;
fileOverrides?: string[] | undefined;
type: string;
id: string;
state: "downloading" | "downloaded" | "installing" | "installed";
installationPath: string;
}, {
archiveId?: string | undefined;
attributes?: Record<string, any> | undefined;
rules?: {
comment?: string | undefined;
fileList?: {
md5?: string | undefined;
xxh64?: string | undefined;
path: string;
}[] | undefined;
installerChoices?: any;
downloadHint?: {
instructions?: string | undefined;
url?: string | undefined;
mode: "direct" | "browse" | "manual";
} | undefined;
extra?: Record<string, any> | undefined;
ignored?: boolean | undefined;
type: "before" | "after" | "requires" | "conflicts" | "recommends" | "provides";
reference: {
gameId?: string | undefined;
id?: string | undefined;
description?: string | undefined;
fileExpression?: string | undefined;
instructions?: string | undefined;
fileSize?: number | undefined;
fileMD5?: string | undefined;
versionMatch?: string | undefined;
logicalFileName?: string | undefined;
idHint?: string | undefined;
md5Hint?: string | undefined;
tag?: string | undefined;
archiveId?: string | undefined;
repo?: ({
campaign?: string | undefined;
repository: string;
} & {
gameId?: string | undefined;
modId?: string | undefined;
fileId: string;
}) | undefined;
};
}[] | undefined;
enabledINITweaks?: string[] | undefined;
fileOverrides?: string[] | undefined;
type: string;
id: string;
state: "downloading" | "downloaded" | "installing" | "installed";
installationPath: string;
}>;
//# sourceMappingURL=schemas.d.ts.map