From da2e91b5a643b335a532ab852b288cac28c3924d Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 12:27:42 +0100 Subject: [PATCH 1/7] Create objectIndex TODO: Give me a better name ffs --- scripts/generate-zod-combinedTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-zod-combinedTypes.js b/scripts/generate-zod-combinedTypes.js index 22bd4e6..52f1f6c 100644 --- a/scripts/generate-zod-combinedTypes.js +++ b/scripts/generate-zod-combinedTypes.js @@ -105,6 +105,6 @@ fs.writeFileSync( .join("") .concat(typeImports), `\t${metaTypes.join(",\n\t")},\n${typeArray}`, - ), + ) + `\nexport const objectIndex = {\n${typeArray.concat("\t" + metaTypes.join(",\n\t"))}\n}`, ); console.log(chalk.green("Data type file generated")); From c1804598f2340987b77b771725695bb4302905d1 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 12:28:12 +0100 Subject: [PATCH 2/7] Build --- _dist/zod/_data.d.ts | 3344 ++++++++++++++++++++- _dist/zod/_data.js | 15 +- _dist/zod/_index.js | 2 +- _dist/zod/_statblock.d.ts | 24 +- _dist/zod/_statblock.js | 2 +- _dist/zod/bundles/byDatatype.d.ts | 46 +- _dist/zod/bundles/bySource.d.ts | 44 +- _dist/zod/content/divineIntercession.d.ts | 6 +- _dist/zod/content/domain.d.ts | 6 +- _dist/zod/content/event.d.ts | 6 +- _dist/zod/content/skill.d.ts | 6 +- _dist/zod/indexes/datatypes.d.ts | 6 +- _dist/zod/indexes/datatypes.js | 9 +- _dist/zod/indexes/homebrewSources.d.ts | 32 +- zod/_data.ts | 16 +- zod/_index.ts | 2 +- zod/_statblock.ts | 2 +- zod/indexes/datatypes.ts | 4 +- 18 files changed, 3458 insertions(+), 114 deletions(-) diff --git a/_dist/zod/_data.d.ts b/_dist/zod/_data.d.ts index 49f5031..3c7e746 100644 --- a/_dist/zod/_data.d.ts +++ b/_dist/zod/_data.d.ts @@ -1389,6 +1389,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1491,7 +1492,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"divineIntercession">; data: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "divineIntercession"; data: { @@ -1717,6 +1717,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1733,7 +1734,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -1758,6 +1758,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1860,7 +1861,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"domain">; data: z.ZodObject<{ preamble: z.ZodOptional; @@ -1995,6 +1995,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -2011,7 +2012,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "domain"; data: { @@ -2046,6 +2046,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -2062,7 +2063,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -2087,6 +2087,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -2189,7 +2190,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"event">; data: z.ZodObject<{ level: z.ZodNumber; @@ -2300,6 +2300,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -2316,7 +2317,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "event"; data: { @@ -2344,6 +2344,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -2360,7 +2361,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -3119,6 +3119,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -3221,7 +3222,6 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"skill">; data: z.ZodObject<{ entries: z.ZodArray | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "skill"; data: { @@ -3289,6 +3289,7 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -3305,5 +3306,3324 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>]>; +export declare const objectIndex: { + background: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"background">; + data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }>; + condition: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"condition">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + }, "strict", z.ZodTypeAny, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }>; + divineIntercession: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects]>, "many">>; + "Minor Boon": z.ZodOptional]>, "many">>; + "Moderate Boon": z.ZodOptional]>, "many">>; + "Major Boon": z.ZodOptional]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; + }, "strict", z.ZodTypeAny, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>; + }, "strict", z.ZodTypeAny, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>; + domain: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"domain">; + data: z.ZodObject<{ + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }>; + }, "strict", z.ZodTypeAny, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>; + event: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"event">; + data: z.ZodObject<{ + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + }, "strict", z.ZodTypeAny, { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>; + familiarAbility: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"familiarAbility">; + data: z.ZodObject<{ + abilityType: z.ZodEnum<["Familiar", "Master"]>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }>; + tags: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }>, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }>; + relicGift: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; + data: z.ZodObject<{ + tier: z.ZodString; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }, { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }>; + tags: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }, { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }, { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }>; + skill: z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + }, "strict", z.ZodTypeAny, { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>; + license: z.ZodObject<{ + type: z.ZodLiteral<"license">; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + }, "strict", z.ZodTypeAny, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }>; + source: z.ZodObject<{ + type: z.ZodLiteral<"source">; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodObject<{ + released: z.ZodString; + version: z.ZodOptional; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + }, "strict", z.ZodTypeAny, { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }, { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }>; + tags: z.ZodOptional>; + "Blog post": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>>; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>>; + misc: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }>, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }>; + sourceGroup: z.ZodObject<{ + type: z.ZodLiteral<"sourceGroup">; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>; + }, "strict", z.ZodTypeAny, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>>; + }, "strict", z.ZodTypeAny, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }>; +}; diff --git a/_dist/zod/_data.js b/_dist/zod/_data.js index 6fef7ec..81f8f53 100644 --- a/_dist/zod/_data.js +++ b/_dist/zod/_data.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 03:24:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT import { z } from "zod"; import { license } from "./license.js"; import { source } from "./source.js"; @@ -24,3 +24,16 @@ export const data = z.discriminatedUnion("type", [ relicGift, skill, ]); +export const objectIndex = { + background, + condition, + divineIntercession, + domain, + event, + familiarAbility, + relicGift, + skill, + license, + source, + sourceGroup +}; diff --git a/_dist/zod/_index.js b/_dist/zod/_index.js index 42e85b2..0aa6560 100644 --- a/_dist/zod/_index.js +++ b/_dist/zod/_index.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 03:24:03 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 11:28:04 GMT // . export { content } from "./content.js"; export { license } from "./license.js"; diff --git a/_dist/zod/_statblock.d.ts b/_dist/zod/_statblock.d.ts index 67ee9e4..3bc5994 100644 --- a/_dist/zod/_statblock.d.ts +++ b/_dist/zod/_statblock.d.ts @@ -931,6 +931,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1033,7 +1034,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"divineIntercession">; data: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "divineIntercession"; data: { @@ -1259,6 +1259,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1275,7 +1276,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -1300,6 +1300,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1402,7 +1403,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"domain">; data: z.ZodObject<{ preamble: z.ZodOptional; @@ -1537,6 +1537,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1553,7 +1554,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "domain"; data: { @@ -1588,6 +1588,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1604,7 +1605,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -1629,6 +1629,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1731,7 +1732,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"event">; data: z.ZodObject<{ level: z.ZodNumber; @@ -1842,6 +1842,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1858,7 +1859,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "event"; data: { @@ -1886,6 +1886,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -1902,7 +1903,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -2661,6 +2661,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -2763,7 +2764,6 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"skill">; data: z.ZodObject<{ entries: z.ZodArray | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "skill"; data: { @@ -2831,6 +2831,7 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -2847,5 +2848,4 @@ export declare const statblock: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>]>; diff --git a/_dist/zod/_statblock.js b/_dist/zod/_statblock.js index 9aa7d37..7efedd7 100644 --- a/_dist/zod/_statblock.js +++ b/_dist/zod/_statblock.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 03:24:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT import { z } from "zod"; import { background } from "./content/background.js"; import { condition } from "./content/condition.js"; diff --git a/_dist/zod/bundles/byDatatype.d.ts b/_dist/zod/bundles/byDatatype.d.ts index bc8137b..ab40861 100644 --- a/_dist/zod/bundles/byDatatype.d.ts +++ b/_dist/zod/bundles/byDatatype.d.ts @@ -1,5 +1,5 @@ import { z } from "zod"; -export declare const byDatatype: z.ZodEffects, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>, z.ZodArray, z.ZodEnum<["license", "source", "sourceGroup"]>]>, z.ZodArray; ID: z.ZodEffects; title: z.ZodObject<{ @@ -1389,6 +1389,7 @@ export declare const byDatatype: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1491,7 +1492,6 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"divineIntercession">; data: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "divineIntercession"; data: { @@ -1717,6 +1717,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -1758,6 +1758,7 @@ export declare const byDatatype: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1860,7 +1861,6 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"domain">; data: z.ZodObject<{ preamble: z.ZodOptional; @@ -1995,6 +1995,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "domain"; data: { @@ -2046,6 +2046,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -2087,6 +2087,7 @@ export declare const byDatatype: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -2189,7 +2190,6 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"event">; data: z.ZodObject<{ level: z.ZodNumber; @@ -2300,6 +2300,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "event"; data: { @@ -2344,6 +2344,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -3119,6 +3119,7 @@ export declare const byDatatype: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -3221,7 +3222,6 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"skill">; data: z.ZodObject<{ entries: z.ZodArray | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "skill"; data: { @@ -3289,6 +3289,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; -}>]>, "many">>, Partial]>, "many">>, Partial | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "domain"; data: { @@ -3577,6 +3577,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "event"; data: { @@ -3621,6 +3621,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "familiarAbility"; data: { @@ -3754,6 +3754,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; -})[]>>, Partial>, Partial | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "domain"; data: { @@ -4042,6 +4042,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "event"; data: { @@ -4086,6 +4086,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "familiarAbility"; data: { @@ -4219,6 +4219,7 @@ export declare const byDatatype: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; })[]>>>; diff --git a/_dist/zod/bundles/bySource.d.ts b/_dist/zod/bundles/bySource.d.ts index c0bdb41..d6ff2a9 100644 --- a/_dist/zod/bundles/bySource.d.ts +++ b/_dist/zod/bundles/bySource.d.ts @@ -1793,6 +1793,7 @@ export declare const bySource: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -1895,7 +1896,6 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"divineIntercession">; data: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "divineIntercession"; data: { @@ -2121,6 +2121,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -2162,6 +2162,7 @@ export declare const bySource: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -2264,7 +2265,6 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"domain">; data: z.ZodObject<{ preamble: z.ZodOptional; @@ -2399,6 +2399,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "domain"; data: { @@ -2450,6 +2450,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -2491,6 +2491,7 @@ export declare const bySource: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -2593,7 +2594,6 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"event">; data: z.ZodObject<{ level: z.ZodNumber; @@ -2704,6 +2704,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "event"; data: { @@ -2748,6 +2748,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>, z.ZodObject<{ source: z.ZodObject<{ ID: z.ZodEffects; @@ -3523,6 +3523,7 @@ export declare const bySource: z.ZodEffects; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -3625,7 +3626,6 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"skill">; data: z.ZodObject<{ entries: z.ZodArray | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "skill"; data: { @@ -3693,6 +3693,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>]>, "many">>>, { source: { type: "source"; @@ -3756,7 +3756,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "domain"; data: { @@ -4027,6 +4027,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "event"; data: { @@ -4071,6 +4071,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "familiarAbility"; data: { @@ -4204,6 +4204,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; })[]>>, { source: { type: "source"; @@ -4267,7 +4267,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "domain"; data: { @@ -4538,6 +4538,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "event"; data: { @@ -4582,6 +4582,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; } | { type: "familiarAbility"; data: { @@ -4715,6 +4715,7 @@ export declare const bySource: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; })[]>>>; diff --git a/_dist/zod/content/divineIntercession.d.ts b/_dist/zod/content/divineIntercession.d.ts index b2ffdd5..b976c97 100644 --- a/_dist/zod/content/divineIntercession.d.ts +++ b/_dist/zod/content/divineIntercession.d.ts @@ -23,6 +23,7 @@ export declare const divineIntercession: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -125,7 +126,6 @@ export declare const divineIntercession: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"divineIntercession">; data: z.ZodEffects | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "divineIntercession"; data: { @@ -351,6 +351,7 @@ export declare const divineIntercession: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -367,5 +368,4 @@ export declare const divineIntercession: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>; diff --git a/_dist/zod/content/domain.d.ts b/_dist/zod/content/domain.d.ts index d609b07..4b89f9d 100644 --- a/_dist/zod/content/domain.d.ts +++ b/_dist/zod/content/domain.d.ts @@ -23,6 +23,7 @@ export declare const domain: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -125,7 +126,6 @@ export declare const domain: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"domain">; data: z.ZodObject<{ preamble: z.ZodOptional; @@ -260,6 +260,7 @@ export declare const domain: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -276,7 +277,6 @@ export declare const domain: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "domain"; data: { @@ -311,6 +311,7 @@ export declare const domain: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -327,5 +328,4 @@ export declare const domain: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>; diff --git a/_dist/zod/content/event.d.ts b/_dist/zod/content/event.d.ts index 224fc14..3312bcb 100644 --- a/_dist/zod/content/event.d.ts +++ b/_dist/zod/content/event.d.ts @@ -23,6 +23,7 @@ export declare const event: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -125,7 +126,6 @@ export declare const event: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"event">; data: z.ZodObject<{ level: z.ZodNumber; @@ -236,6 +236,7 @@ export declare const event: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -252,7 +253,6 @@ export declare const event: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "event"; data: { @@ -280,6 +280,7 @@ export declare const event: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -296,5 +297,4 @@ export declare const event: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>; diff --git a/_dist/zod/content/skill.d.ts b/_dist/zod/content/skill.d.ts index 69cd0c1..4ea1610 100644 --- a/_dist/zod/content/skill.d.ts +++ b/_dist/zod/content/skill.d.ts @@ -23,6 +23,7 @@ export declare const skill: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -125,7 +126,6 @@ export declare const skill: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - tags: z.ZodOptional>; type: z.ZodLiteral<"skill">; data: z.ZodObject<{ entries: z.ZodArray | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }, { type: "skill"; data: { @@ -193,6 +193,7 @@ export declare const skill: z.ZodObject<{ aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -209,5 +210,4 @@ export declare const skill: z.ZodObject<{ value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: {} | undefined; }>; diff --git a/_dist/zod/indexes/datatypes.d.ts b/_dist/zod/indexes/datatypes.d.ts index 9d56692..38cf6fe 100644 --- a/_dist/zod/indexes/datatypes.d.ts +++ b/_dist/zod/indexes/datatypes.d.ts @@ -1,6 +1,6 @@ import { z } from "zod"; export declare const contentDatatype: z.ZodEnum<["background", "condition", "divineIntercession", "domain", "event", "familiarAbility", "relicGift", "skill"]>; -export declare const metaDatatype: z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>; +export declare const metaDatatype: z.ZodEnum<["license", "source", "sourceGroup"]>; export declare const datatypeSansSource: z.ZodUnion<[z.ZodEnum<["background", "condition", "divineIntercession", "domain", "event", "familiarAbility", "relicGift", "skill"]>, z.ZodEnum<["license", "sourceGroup"]>]>; -export declare const datatype: z.ZodUnion<[z.ZodEnum<["background", "condition", "divineIntercession", "domain", "event", "familiarAbility", "relicGift", "skill"]>, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>; -export declare const datatypes: z.ZodArray, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>, "many">; +export declare const datatype: z.ZodUnion<[z.ZodEnum<["background", "condition", "divineIntercession", "domain", "event", "familiarAbility", "relicGift", "skill"]>, z.ZodEnum<["license", "source", "sourceGroup"]>]>; +export declare const datatypes: z.ZodArray, z.ZodEnum<["license", "source", "sourceGroup"]>]>, "many">; diff --git a/_dist/zod/indexes/datatypes.js b/_dist/zod/indexes/datatypes.js index bca31a1..2ebf1de 100644 --- a/_dist/zod/indexes/datatypes.js +++ b/_dist/zod/indexes/datatypes.js @@ -12,14 +12,11 @@ export const contentDatatype = z "skill", ]) .describe("A content datatype's name, as it appears in the JSON data itself."); -// TODO: merge the below once Zod works properly with records and optional properties -const sourceDatatype = z.enum(["source"]); -const metaDatatypeSansSource = z.enum(["license", "sourceGroup"]); -export const metaDatatype = metaDatatypeSansSource - .or(sourceDatatype) +export const metaDatatype = z + .enum(["license", "source", "sourceGroup"]) .describe("A metafile datatype's name, as it appears in the JSON data itself."); +const metaDatatypeSansSource = metaDatatype.exclude(["source"]); export const datatypeSansSource = contentDatatype.or(metaDatatypeSansSource); -// END TODO export const datatype = contentDatatype .or(metaDatatype) .describe("A datatype's name, as it appears in the JSON data itself."); diff --git a/_dist/zod/indexes/homebrewSources.d.ts b/_dist/zod/indexes/homebrewSources.d.ts index e6ba796..004b294 100644 --- a/_dist/zod/indexes/homebrewSources.d.ts +++ b/_dist/zod/indexes/homebrewSources.d.ts @@ -163,7 +163,7 @@ export declare const homebrewSourceSummary: z.ZodObject<{ NSFW?: true | undefined; } | undefined; }>>; - datatypes: z.ZodArray, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>, "many">; + datatypes: z.ZodArray, z.ZodEnum<["license", "source", "sourceGroup"]>]>, "many">; sourceURL: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; @@ -173,7 +173,7 @@ export declare const homebrewSourceSummary: z.ZodObject<{ URL: string; fullTitle: string; publisherAuthors: string; - datatypes: ("source" | "background" | "event" | "condition" | "divineIntercession" | "domain" | "skill" | "relicGift" | "license" | "sourceGroup" | "familiarAbility")[]; + datatypes: ("source" | "background" | "event" | "license" | "sourceGroup" | "condition" | "divineIntercession" | "domain" | "skill" | "familiarAbility" | "relicGift")[]; tags?: { publicationType?: { Comic?: true | undefined; @@ -203,7 +203,7 @@ export declare const homebrewSourceSummary: z.ZodObject<{ URL: string; fullTitle: string; publisherAuthors: string; - datatypes: ("source" | "background" | "event" | "condition" | "divineIntercession" | "domain" | "skill" | "relicGift" | "license" | "sourceGroup" | "familiarAbility")[]; + datatypes: ("source" | "background" | "event" | "license" | "sourceGroup" | "condition" | "divineIntercession" | "domain" | "skill" | "familiarAbility" | "relicGift")[]; tags?: { publicationType?: { Comic?: true | undefined; @@ -229,6 +229,9 @@ export declare const homebrewSourceSummary: z.ZodObject<{ export declare const homebrewSources: z.ZodArray>; @@ -385,24 +388,21 @@ export declare const homebrewSources: z.ZodArray>; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; fullTitle: z.ZodString; publisherAuthors: z.ZodString; - datatypes: z.ZodArray, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>, "many">; + datatypes: z.ZodArray, z.ZodEnum<["license", "source", "sourceGroup"]>]>, "many">; sourceURL: z.ZodOptional; ID: z.ZodEffects; }, "strict", z.ZodTypeAny, { path: string; released: string; - ID: string; added: string; modified: string; URL: string; + ID: string; fullTitle: string; publisherAuthors: string; - datatypes: ("source" | "background" | "event" | "condition" | "divineIntercession" | "domain" | "skill" | "relicGift" | "license" | "sourceGroup" | "familiarAbility")[]; + datatypes: ("source" | "background" | "event" | "license" | "sourceGroup" | "condition" | "divineIntercession" | "domain" | "skill" | "familiarAbility" | "relicGift")[]; tags?: { publicationType?: { Comic?: true | undefined; @@ -427,13 +427,13 @@ export declare const homebrewSources: z.ZodArray>; - datatypes: z.ZodArray, z.ZodUnion<[z.ZodEnum<["license", "sourceGroup"]>, z.ZodEnum<["source"]>]>]>, "many">; + datatypes: z.ZodArray, z.ZodEnum<["license", "source", "sourceGroup"]>]>, "many">; sourceURL: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; @@ -630,7 +630,7 @@ export declare const homebrewSourcesRecord: z.ZodEffects Date: Sun, 11 Feb 2024 12:55:18 +0100 Subject: [PATCH 3/7] Use already existing code --- scripts/generate-zod-combinedTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-zod-combinedTypes.js b/scripts/generate-zod-combinedTypes.js index 52f1f6c..485eddf 100644 --- a/scripts/generate-zod-combinedTypes.js +++ b/scripts/generate-zod-combinedTypes.js @@ -105,6 +105,6 @@ fs.writeFileSync( .join("") .concat(typeImports), `\t${metaTypes.join(",\n\t")},\n${typeArray}`, - ) + `\nexport const objectIndex = {\n${typeArray.concat("\t" + metaTypes.join(",\n\t"))}\n}`, + ) + `\nexport const objectIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`, ); console.log(chalk.green("Data type file generated")); From 09bbce3ac970610e39fbbc8417473ca54b81b570 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 13:04:07 +0100 Subject: [PATCH 4/7] Finally I have what I want --- scripts/generate-zod-combinedTypes.js | 2 +- zod/_data.ts | 26 +++++++++++++------------- zod/_statblock.ts | 2 +- zod/bundles/byDatatype.ts | 6 ++---- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/scripts/generate-zod-combinedTypes.js b/scripts/generate-zod-combinedTypes.js index 485eddf..8ea3c77 100644 --- a/scripts/generate-zod-combinedTypes.js +++ b/scripts/generate-zod-combinedTypes.js @@ -105,6 +105,6 @@ fs.writeFileSync( .join("") .concat(typeImports), `\t${metaTypes.join(",\n\t")},\n${typeArray}`, - ) + `\nexport const objectIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`, + ) + `\nexport const schemaIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`.replaceAll(/(\w+),/g, "$1: $1.array().min(1).optional(),"), ); console.log(chalk.green("Data type file generated")); diff --git a/zod/_data.ts b/zod/_data.ts index e71a7c8..e31e875 100644 --- a/zod/_data.ts +++ b/zod/_data.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT import { z } from "zod"; @@ -28,16 +28,16 @@ export const data = z.discriminatedUnion("type", [ skill, ]); -export const objectIndex = { - background, - condition, - divineIntercession, - domain, - event, - familiarAbility, - relicGift, - skill, - license, - source, - sourceGroup +export const schemaIndex = { + license: license.array().min(1).optional(), + source: source.array().min(1).optional(), + sourceGroup: sourceGroup.array().min(1).optional(), + background: background.array().min(1).optional(), + condition: condition.array().min(1).optional(), + divineIntercession: divineIntercession.array().min(1).optional(), + domain: domain.array().min(1).optional(), + event: event.array().min(1).optional(), + familiarAbility: familiarAbility.array().min(1).optional(), + relicGift: relicGift.array().min(1).optional(), + skill: skill.array().min(1).optional(), } \ No newline at end of file diff --git a/zod/_statblock.ts b/zod/_statblock.ts index 31aefbe..071cb0e 100644 --- a/zod/_statblock.ts +++ b/zod/_statblock.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT import { z } from "zod"; diff --git a/zod/bundles/byDatatype.ts b/zod/bundles/byDatatype.ts index e8a7dec..20abbd1 100644 --- a/zod/bundles/byDatatype.ts +++ b/zod/bundles/byDatatype.ts @@ -1,11 +1,9 @@ import { z } from "zod"; -import { datatype } from "../indexes/datatypes.js"; -import { data } from "../_data.js"; +import { schemaIndex } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; -export const byDatatype = z - .record(datatype, z.array(data)) +export const byDatatype = z.object({...schemaIndex, source: schemaIndex.source.unwrap()}) .describe( "A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.", ) From 223cbf4a1e30402a5aeb5ea2a92cae738ed28111 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 13:07:56 +0100 Subject: [PATCH 5/7] Build --- _dist/zod/_data.d.ts | 3698 +++++------ _dist/zod/_data.js | 26 +- _dist/zod/_index.js | 2 +- _dist/zod/_statblock.js | 2 +- _dist/zod/bundles/byDatatype.d.ts | 8594 ++++++++++++++----------- _dist/zod/bundles/byDatatype.js | 5 +- scripts/generate-zod-combinedTypes.js | 6 +- zod/_data.ts | 2 +- zod/_index.ts | 2 +- zod/_statblock.ts | 2 +- zod/bundles/byDatatype.ts | 3 +- 11 files changed, 6668 insertions(+), 5674 deletions(-) diff --git a/_dist/zod/_data.d.ts b/_dist/zod/_data.d.ts index 3c7e746..08c2e51 100644 --- a/_dist/zod/_data.d.ts +++ b/_dist/zod/_data.d.ts @@ -3307,614 +3307,469 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ }[] | undefined; } | undefined; }>]>; -export declare const objectIndex: { - background: z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; +export declare const schemaIndex: { + license: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + short: string; + full: string; }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + short: string; + full: string; }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { + }>]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { + })[]; + }, { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { + })[]; + }>; + }, "strict", z.ZodTypeAny, { + type: "license"; + data: { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }, { + type: "license"; + data: { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }>, "many">>; + source: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + short: string; + full: string; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; + short: string; + full: string; + }>; data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">; + }>]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; }, "strict", z.ZodTypeAny, { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }, { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }>; tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + publicationType: z.ZodOptional>; + "Blog post": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; + Comic?: true | undefined; + "Blog post"?: true | undefined; }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; }, { - count: number; - skills: Partial>; + Comic?: true | undefined; + "Blog post"?: true | undefined; }>>; - gainedFeats: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }>>; - gainedSpells: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }>>; misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; + Official: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "background"; + type: "source"; data: { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + title: { + short: string; + full: string; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + ID: string; tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; } | undefined; }, { - type: "background"; + type: "source"; data: { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + title: { + short: string; + full: string; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + ID: string; tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; } | undefined; - }>; - condition: z.ZodObject<{ + }>, "many">>; + sourceGroup: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>; + }, "strict", z.ZodTypeAny, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>>; + }, "strict", z.ZodTypeAny, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }>, "many">>; + background: z.ZodOptional; page: z.ZodOptional; @@ -4040,8 +3895,29 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"condition">; + type: z.ZodLiteral<"background">; data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; entries: z.ZodArray; tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + abilityBoosts: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; modifications?: { @@ -4168,20 +4266,52 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; }, { - type: "condition"; + type: "background"; data: { entries: (string | { type: string; })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -4209,16 +4339,43 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - }>; - divineIntercession: z.ZodObject<{ + }>, "many">>; + condition: z.ZodOptional; page: z.ZodOptional; @@ -4242,7 +4399,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; - tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -4345,170 +4501,107 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional]>, "many">>; - "Major Curse": z.ZodOptional; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">>; + }>]>, "many">; }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + }, "strict", z.ZodTypeAny, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>>; }, "strict", z.ZodTypeAny, { - type: "divineIntercession"; + type: "condition"; data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }; source: { ID: string; @@ -4519,7 +4612,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; - tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -4536,30 +4628,21 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; }, { - type: "divineIntercession"; + type: "condition"; data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }; source: { ID: string; @@ -4570,7 +4653,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; - tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -4587,8 +4669,17 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - domain: z.ZodObject<{ + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }>, "many">>; + divineIntercession: z.ZodOptional; page: z.ZodOptional; @@ -4715,130 +4806,170 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Minor Boon": z.ZodOptional; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Moderate Boon": z.ZodOptional>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Major Boon": z.ZodOptional>; + type: string; + }>]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }>; }, "strict", z.ZodTypeAny, { - type: "domain"; + type: "divineIntercession"; data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; source: { ID: string; @@ -4867,29 +4998,29 @@ export declare const objectIndex: { }[] | undefined; } | undefined; }, { - type: "domain"; + type: "divineIntercession"; data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; source: { ID: string; @@ -4917,8 +5048,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - event: z.ZodObject<{ + }>, "many">>; + domain: z.ZodOptional; page: z.ZodOptional; @@ -5045,106 +5176,130 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"event">; + type: z.ZodLiteral<"domain">; data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - type: string; - }>]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }>; }, "strict", z.ZodTypeAny, { - type: "event"; + type: "domain"; data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }; source: { ID: string; @@ -5173,22 +5328,29 @@ export declare const objectIndex: { }[] | undefined; } | undefined; }, { - type: "event"; + type: "domain"; data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }; source: { ID: string; @@ -5216,8 +5378,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - familiarAbility: z.ZodObject<{ + }>, "many">>; + event: z.ZodOptional; page: z.ZodOptional; @@ -5241,6 +5403,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -5343,9 +5506,51 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"familiarAbility">; + type: z.ZodLiteral<"event">; data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; entries: z.ZodArray; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>>; + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "familiarAbility"; + type: "event"; data: { entries: (string | { type: string; })[]; - abilityType: "Familiar" | "Master"; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -5455,6 +5616,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -5471,23 +5633,23 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; }, { - type: "familiarAbility"; + type: "event"; data: { entries: (string | { type: string; })[]; - abilityType: "Familiar" | "Master"; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -5498,6 +5660,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -5514,18 +5677,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; - }>; - relicGift: z.ZodObject<{ + }>, "many">>; + familiarAbility: z.ZodOptional; page: z.ZodOptional; @@ -5651,41 +5804,9 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"relicGift">; + type: z.ZodLiteral<"familiarAbility">; data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; + abilityType: z.ZodEnum<["Familiar", "Master"]>; entries: z.ZodArray; tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; + affectsCommunication: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "relicGift"; + type: "familiarAbility"; data: { entries: (string | { type: string; })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; + abilityType: "Familiar" | "Master"; }; source: { ID: string; @@ -5882,36 +5933,22 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; } | undefined; }, { - type: "relicGift"; + type: "familiarAbility"; data: { entries: (string | { type: string; })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; + abilityType: "Familiar" | "Master"; }; source: { ID: string; @@ -5939,21 +5976,17 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; } | undefined; - }>; - skill: z.ZodObject<{ + }>, "many">>; + relicGift: z.ZodOptional; page: z.ZodOptional; @@ -5977,7 +6010,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; - tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -6075,555 +6107,523 @@ export declare const objectIndex: { type: string; target: { property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - }, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }>; - license: z.ZodObject<{ - type: z.ZodLiteral<"license">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - }, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }>; - source: z.ZodObject<{ - type: z.ZodLiteral<"source">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + }>]>, "many">; }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }>; tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>>; + itemTypes: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; + "Alters relic": z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "source"; + type: "relicGift"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }; - title: { - short: string; - full: string; + source: { + ID: string; + page?: number | undefined; }; - ID: string; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; } | undefined; }, { - type: "source"; + type: "relicGift"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }; - title: { - short: string; - full: string; + source: { + ID: string; + page?: number | undefined; }; - ID: string; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - } | undefined; - }>; - sourceGroup: z.ZodObject<{ - type: z.ZodLiteral<"sourceGroup">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; + } | undefined; + }>, "many">>; + skill: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - short: string; - full: string; + ID: string; + page?: number | undefined; }, { - short: string; - full: string; + ID: string; + page?: number | undefined; }>; - data: z.ZodOptional; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - publisher: string; - }, { - publisher: string; - }>, { - publisher: string; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; }, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; }, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }>; + }>, "many">>; }; diff --git a/_dist/zod/_data.js b/_dist/zod/_data.js index 81f8f53..6c7346c 100644 --- a/_dist/zod/_data.js +++ b/_dist/zod/_data.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; import { license } from "./license.js"; import { source } from "./source.js"; @@ -24,16 +24,16 @@ export const data = z.discriminatedUnion("type", [ relicGift, skill, ]); -export const objectIndex = { - background, - condition, - divineIntercession, - domain, - event, - familiarAbility, - relicGift, - skill, - license, - source, - sourceGroup +export const schemaIndex = { + license: license.array().min(1).optional(), + source: source.array().min(1).optional(), + sourceGroup: sourceGroup.array().min(1).optional(), + background: background.array().min(1).optional(), + condition: condition.array().min(1).optional(), + divineIntercession: divineIntercession.array().min(1).optional(), + domain: domain.array().min(1).optional(), + event: event.array().min(1).optional(), + familiarAbility: familiarAbility.array().min(1).optional(), + relicGift: relicGift.array().min(1).optional(), + skill: skill.array().min(1).optional(), }; diff --git a/_dist/zod/_index.js b/_dist/zod/_index.js index 0aa6560..c8939e2 100644 --- a/_dist/zod/_index.js +++ b/_dist/zod/_index.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 11:28:04 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT // . export { content } from "./content.js"; export { license } from "./license.js"; diff --git a/_dist/zod/_statblock.js b/_dist/zod/_statblock.js index 7efedd7..f0f78c5 100644 --- a/_dist/zod/_statblock.js +++ b/_dist/zod/_statblock.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; import { background } from "./content/background.js"; import { condition } from "./content/condition.js"; diff --git a/_dist/zod/bundles/byDatatype.d.ts b/_dist/zod/bundles/byDatatype.d.ts index ab40861..907b3aa 100644 --- a/_dist/zod/bundles/byDatatype.d.ts +++ b/_dist/zod/bundles/byDatatype.d.ts @@ -1,660 +1,493 @@ import { z } from "zod"; -export declare const byDatatype: z.ZodEffects, z.ZodEnum<["license", "source", "sourceGroup"]>]>, z.ZodArray; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}>, z.ZodObject<{ - type: z.ZodLiteral<"source">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }>; - tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; +export declare const byDatatype: z.ZodEffects; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; + short: string; + full: string; }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; + short: string; + full: string; + }>; + data: z.ZodObject<{ + released: z.ZodString; + version: z.ZodOptional; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; }, "strict", z.ZodTypeAny, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>>; - misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }>; + tags: z.ZodOptional>; + "Blog post": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>>; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>>; + misc: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }>>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; -}, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - type: z.ZodLiteral<"sourceGroup">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodOptional, { - publisher: string; - }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; + }>, "many">; + license: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + short: string; + full: string; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + short: string; + full: string; + }>; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + entries: (string | { + type: string; + })[]; }>; }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "license"; + data: { + entries: (string | { + type: string; + })[]; }; - }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + title: { + short: string; + full: string; }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>>; -}, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { ID: string; - page?: number | undefined; }, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + }>, "many">>; + sourceGroup: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + short: string; + full: string; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + short: string; + full: string; }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; }, { - property: string; - name?: string | undefined; + Adventure?: true | undefined; + Ongoing?: true | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; + }, "strict", z.ZodTypeAny, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + }>>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; - data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; - tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + } | undefined; + }>, "many">>; + background: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; + ID: string; + page?: number | undefined; }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; }, { - count: number; - skills: Partial>; - }>>; - gainedFeats: z.ZodOptional; + reference: z.ZodOptional; + target: z.ZodObject<{ name: z.ZodString; specifier: z.ZodOptional; sourceID: z.ZodEffects; @@ -666,33 +499,601 @@ export declare const byDatatype: z.ZodEffects; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[], { + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"background">; + data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - options: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - }, { - options: { + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - }>>; - gainedSpells: z.ZodOptional | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + condition: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ name: z.ZodString; specifier: z.ZodOptional; sourceID: z.ZodEffects; @@ -704,3536 +1105,4125 @@ export declare const byDatatype: z.ZodEffects; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; + type: z.ZodLiteral<"condition">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }>>; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - gainedFeats?: { - options: { + }>, "many">>; + divineIntercession: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -}, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + type: string; + }>]>, "many">>; + "Minor Boon": z.ZodOptional]>, "many">>; + "Moderate Boon": z.ZodOptional]>, "many">>; + "Major Boon": z.ZodOptional]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; + }, "strict", z.ZodTypeAny, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"condition">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + domain: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"domain">; + data: z.ZodObject<{ + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional]>, "many">>; - "Major Curse": z.ZodOptional]>, "many">>; - }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + event: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"event">; + data: z.ZodObject<{ + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + familiarAbility: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }>; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + type: z.ZodLiteral<"familiarAbility">; + data: z.ZodObject<{ + abilityType: z.ZodEnum<["Familiar", "Master"]>; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }>; + tags: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }>, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; }>>; }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + }, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + }>, "many">>; + relicGift: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"event">; - data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; + data: z.ZodObject<{ + tier: z.ZodString; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }>; + tags: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - type: string; - }>]>, "many">; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>>; }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + skill: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + entries: (string | { + type: string; + })[]; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"familiarAbility">; - data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }>; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + }>, "many">>; +}, "strip", z.ZodTypeAny, { + source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"relicGift">; - data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }>; - tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; + }[] | undefined; }, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }, { + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>, { source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>]>, "many">>, Partial | undefined; + }[] | undefined; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - } | undefined; -} | { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -} | { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -} | { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - gainedFeats?: { - options: { + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - gainedSpells?: { - options: { + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}, { source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>, Partial | undefined; + }[] | undefined; } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -} | { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -} | { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }; + advancedDomainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>>; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>; diff --git a/_dist/zod/bundles/byDatatype.js b/_dist/zod/bundles/byDatatype.js index ac390dd..ca76067 100644 --- a/_dist/zod/bundles/byDatatype.js +++ b/_dist/zod/bundles/byDatatype.js @@ -1,8 +1,7 @@ import { z } from "zod"; -import { datatype } from "../indexes/datatypes.js"; -import { data } from "../_data.js"; +import { schemaIndex } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; export const byDatatype = z - .record(datatype, z.array(data)) + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe("A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.") .refine(...nonEmpty); diff --git a/scripts/generate-zod-combinedTypes.js b/scripts/generate-zod-combinedTypes.js index 8ea3c77..964e2ee 100644 --- a/scripts/generate-zod-combinedTypes.js +++ b/scripts/generate-zod-combinedTypes.js @@ -105,6 +105,10 @@ fs.writeFileSync( .join("") .concat(typeImports), `\t${metaTypes.join(",\n\t")},\n${typeArray}`, - ) + `\nexport const schemaIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`.replaceAll(/(\w+),/g, "$1: $1.array().min(1).optional(),"), + ) + + `\nexport const schemaIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`.replaceAll( + /(\w+),/g, + "$1: $1.array().min(1).optional(),", + ), ); console.log(chalk.green("Data type file generated")); diff --git a/zod/_data.ts b/zod/_data.ts index e31e875..6dc408f 100644 --- a/zod/_data.ts +++ b/zod/_data.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; diff --git a/zod/_index.ts b/zod/_index.ts index 5fc19fa..d72f34e 100644 --- a/zod/_index.ts +++ b/zod/_index.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 11:28:04 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT // . export { content } from "./content.js"; diff --git a/zod/_statblock.ts b/zod/_statblock.ts index 071cb0e..4ffd206 100644 --- a/zod/_statblock.ts +++ b/zod/_statblock.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; diff --git a/zod/bundles/byDatatype.ts b/zod/bundles/byDatatype.ts index 20abbd1..ad519c4 100644 --- a/zod/bundles/byDatatype.ts +++ b/zod/bundles/byDatatype.ts @@ -3,7 +3,8 @@ import { z } from "zod"; import { schemaIndex } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; -export const byDatatype = z.object({...schemaIndex, source: schemaIndex.source.unwrap()}) +export const byDatatype = z + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe( "A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.", ) From 01d0029e7c65c0080f9b83dde696228ab2fa0a31 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 15:13:26 +0100 Subject: [PATCH 6/7] In my stroke of genius I modified the wrong file --- zod/bundles/byDatatype.ts | 5 +++-- zod/bundles/bySource.ts | 7 ++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/zod/bundles/byDatatype.ts b/zod/bundles/byDatatype.ts index ad519c4..e8a7dec 100644 --- a/zod/bundles/byDatatype.ts +++ b/zod/bundles/byDatatype.ts @@ -1,10 +1,11 @@ import { z } from "zod"; -import { schemaIndex } from "../_data.js"; +import { datatype } from "../indexes/datatypes.js"; +import { data } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; export const byDatatype = z - .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) + .record(datatype, z.array(data)) .describe( "A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.", ) diff --git a/zod/bundles/bySource.ts b/zod/bundles/bySource.ts index fa08517..86a071a 100644 --- a/zod/bundles/bySource.ts +++ b/zod/bundles/bySource.ts @@ -1,13 +1,10 @@ import { z } from "zod"; -import { datatypeSansSource } from "../indexes/datatypes.js"; -import { data } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; -import { source } from "../source.js"; +import { schemaIndex } from '../_data.js'; export const bySource = z - .object({ source: z.array(source) }) - .and(z.record(datatypeSansSource, z.array(data).min(1))) +.object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe( "A bundle of all content in a given source. Keys map from a datatype to an array of objects of that datatype. The `source` key is required.", ) From 98f25a862bece7b282ebb637540b96d17eca70bc Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 15:24:45 +0100 Subject: [PATCH 7/7] Build --- _dist/zod/_data.js | 2 +- _dist/zod/_index.js | 2 +- _dist/zod/_statblock.js | 2 +- _dist/zod/bundles/byDatatype.d.ts | 8594 +++++++++++++---------------- _dist/zod/bundles/byDatatype.js | 5 +- _dist/zod/bundles/bySource.d.ts | 8388 +++++++++++++++------------- _dist/zod/bundles/bySource.js | 7 +- zod/_data.ts | 2 +- zod/_index.ts | 2 +- zod/_statblock.ts | 2 +- zod/bundles/bySource.ts | 4 +- 11 files changed, 8256 insertions(+), 8754 deletions(-) diff --git a/_dist/zod/_data.js b/_dist/zod/_data.js index 6c7346c..fda3190 100644 --- a/_dist/zod/_data.js +++ b/_dist/zod/_data.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 14:24:29 GMT import { z } from "zod"; import { license } from "./license.js"; import { source } from "./source.js"; diff --git a/_dist/zod/_index.js b/_dist/zod/_index.js index c8939e2..9a3a38e 100644 --- a/_dist/zod/_index.js +++ b/_dist/zod/_index.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 14:24:30 GMT // . export { content } from "./content.js"; export { license } from "./license.js"; diff --git a/_dist/zod/_statblock.js b/_dist/zod/_statblock.js index f0f78c5..1fa6d2d 100644 --- a/_dist/zod/_statblock.js +++ b/_dist/zod/_statblock.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 14:24:29 GMT import { z } from "zod"; import { background } from "./content/background.js"; import { condition } from "./content/condition.js"; diff --git a/_dist/zod/bundles/byDatatype.d.ts b/_dist/zod/bundles/byDatatype.d.ts index 907b3aa..ab40861 100644 --- a/_dist/zod/bundles/byDatatype.d.ts +++ b/_dist/zod/bundles/byDatatype.d.ts @@ -1,493 +1,660 @@ import { z } from "zod"; -export declare const byDatatype: z.ZodEffects; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; +export declare const byDatatype: z.ZodEffects, z.ZodEnum<["license", "source", "sourceGroup"]>]>, z.ZodArray; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; +}, "strict", z.ZodTypeAny, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; +}, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; +}>, z.ZodObject<{ + type: z.ZodLiteral<"source">; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodObject<{ + released: z.ZodString; + version: z.ZodOptional; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + }, "strict", z.ZodTypeAny, { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }, { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }>; + tags: z.ZodOptional>; + "Blog post": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - short: string; - full: string; + Comic?: true | undefined; + "Blog post"?: true | undefined; }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>>; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }>; - tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>>; - misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - }>>; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>>; + misc: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - }>, "many">; - license: z.ZodOptional; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }>, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }, { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; +}, { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; +}>, z.ZodObject<{ + type: z.ZodLiteral<"sourceGroup">; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - short: string; - full: string; + Adventure?: true | undefined; + Ongoing?: true | undefined; }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; }, { - entries: (string | { - type: string; - })[]; + Adventure?: true | undefined; + Ongoing?: true | undefined; }>; }, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - title: { - short: string; - full: string; - }; - ID: string; }, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - title: { - short: string; - full: string; + }>, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - ID: string; - }>, "many">>; - sourceGroup: z.ZodOptional; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>>; +}, "strict", z.ZodTypeAny, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; +}, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - short: string; - full: string; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - short: string; - full: string; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - data: z.ZodOptional, { - publisher: string; - }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + property: string; + name?: string | undefined; }>; - }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: string; + target: { + property: string; + name?: string | undefined; }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: string; + target: { + property: string; + name?: string | undefined; }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: string; + target: { + property: string; + name?: string | undefined; }; - }>>; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; }; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; }; - } | undefined; - }>, "many">>; - background: z.ZodOptional; - page: z.ZodOptional; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"background">; + data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + abilities: Partial>; + count: number; }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; sourceID: z.ZodEffects; @@ -499,601 +666,33 @@ export declare const byDatatype: z.ZodEffects; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + }[], { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; - data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; - tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; - }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; - }, { - count: number; - skills: Partial>; - }>>; - gainedFeats: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }>>; - gainedSpells: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }>>; - misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - }>>; + }[]>; + count: z.ZodNumber; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; - }, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + }[]; + count: number; + }, { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; - }>, "many">>; - condition: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; sourceID: z.ZodEffects; @@ -1105,4125 +704,3536 @@ export declare const byDatatype: z.ZodEffects; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; }>>; - type: z.ZodLiteral<"condition">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; } | undefined; }, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; } | undefined; - }>, "many">>; - divineIntercession: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }, { + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional]>, "many">>; - "Major Curse": z.ZodOptional]>, "many">>; - }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>; - }, "strict", z.ZodTypeAny, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; } | undefined; - }, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; +}, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; } | undefined; - }>, "many">>; - domain: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; + modifications: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + property: z.ZodString; + name: z.ZodOptional; }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + property: string; + name?: string | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + target: { + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }>; - }, "strict", z.ZodTypeAny, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - source: { - ID: string; - page?: number | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"condition">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + }, "strict", z.ZodTypeAny, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; +}, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; }, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - source: { - ID: string; - page?: number | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects]>, "many">>; + "Minor Boon": z.ZodOptional]>, "many">>; + "Moderate Boon": z.ZodOptional]>, "many">>; + "Major Boon": z.ZodOptional]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; + }, "strict", z.ZodTypeAny, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>; +}, "strict", z.ZodTypeAny, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }>, "many">>; - event: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; + modifications: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + property: z.ZodString; + name: z.ZodOptional; }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + property: string; + name?: string | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"event">; - data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }>, "many">>; - familiarAbility: z.ZodOptional; - page: z.ZodOptional; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"domain">; + data: z.ZodObject<{ + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - ID: string; - page?: number | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>>; - type: z.ZodLiteral<"familiarAbility">; - data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; - entries: z.ZodArray]>, "many">; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }>; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; }, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }>; +}, "strict", z.ZodTypeAny, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - source: { - ID: string; - page?: number | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; - }>, "many">>; - relicGift: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }>; - reference: z.ZodOptional; + modifications: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + property: z.ZodString; + name: z.ZodOptional; }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + property: string; + name?: string | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"relicGift">; - data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }>; - tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - }>>; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - source: { - ID: string; - page?: number | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"event">; + data: z.ZodObject<{ + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; +}, "strict", z.ZodTypeAny, { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}, { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - } | undefined; - }>, "many">>; - skill: z.ZodOptional; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }, { - primary: string; - aliases?: string[] | undefined; + name: string; + sourceID: string; specifier?: string | undefined; }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; + modifications: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + property: z.ZodString; + name: z.ZodOptional; }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + property: string; + name?: string | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - entries: (string | { - type: string; - })[]; - }>; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"familiarAbility">; + data: z.ZodObject<{ + abilityType: z.ZodEnum<["Familiar", "Master"]>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }>; + tags: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }>, "many">>; -}, "strip", z.ZodTypeAny, { - source: { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }[]; - license?: { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }[] | undefined; - sourceGroup?: { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; + }>, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }[] | undefined; - background?: { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }[] | undefined; - condition?: { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +}, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; - }[] | undefined; - divineIntercession?: { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - domain?: { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - event?: { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - familiarAbility?: { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - relicGift?: { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - skill?: { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; + data: z.ZodObject<{ + tier: z.ZodString; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }, { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }>; + tags: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - }[] | undefined; -}, { - source: { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; + }, { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - }[]; - license?: { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }[] | undefined; - sourceGroup?: { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; + }>, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; + }, { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - }[] | undefined; - background?: { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - condition?: { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +}, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - }[] | undefined; - divineIntercession?: { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +}>, z.ZodObject<{ + source: z.ZodObject<{ + ID: z.ZodEffects; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - domain?: { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - event?: { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - familiarAbility?: { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - relicGift?: { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - skill?: { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; +}, "strict", z.ZodTypeAny, { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; -}>, { + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}, { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; source: { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; - }[]; - license?: { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }[] | undefined; - sourceGroup?: { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; - }[] | undefined; - background?: { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +}>]>, "many">>, Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; - }[] | undefined; - condition?: { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; +} | { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; +} | { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; +} | { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + trainedSkills?: { + count: number; + skills: Partial>; } | undefined; - }[] | undefined; - divineIntercession?: { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + }[]; + count: number; } | undefined; - }[] | undefined; - domain?: { - type: "domain"; - data: { - domainSpell: { + gainedSpells?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; +} | { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - event?: { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; +} | { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - familiarAbility?: { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; } | undefined; - }[] | undefined; - relicGift?: { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - skill?: { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; -}, { + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; source: { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; - }[]; - license?: { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; ID: string; - }[] | undefined; - sourceGroup?: { - type: "sourceGroup"; - title: { - short: string; - full: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }[] | undefined; - background?: { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +} | { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; - }[] | undefined; - condition?: { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +} | { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +})[]>>, Partial>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; - }[] | undefined; - divineIntercession?: { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; +} | { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; +} | { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; +} | { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; } | undefined; - }[] | undefined; - domain?: { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { name: string; sourceID: string; specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; +} | { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; +} | { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - event?: { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - source: { - ID: string; - page?: number | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; - familiarAbility?: { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +} | { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; - }[] | undefined; - relicGift?: { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +} | { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - }[] | undefined; - skill?: { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; + } | undefined; +} | { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; + modifications?: { + type: string; target: { - name: string; - sourceID: string; - specifier?: string | undefined; + property: string; + name?: string | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }[] | undefined; -}>; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; +})[]>>>; diff --git a/_dist/zod/bundles/byDatatype.js b/_dist/zod/bundles/byDatatype.js index ca76067..ac390dd 100644 --- a/_dist/zod/bundles/byDatatype.js +++ b/_dist/zod/bundles/byDatatype.js @@ -1,7 +1,8 @@ import { z } from "zod"; -import { schemaIndex } from "../_data.js"; +import { datatype } from "../indexes/datatypes.js"; +import { data } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; export const byDatatype = z - .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) + .record(datatype, z.array(data)) .describe("A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.") .refine(...nonEmpty); diff --git a/_dist/zod/bundles/bySource.d.ts b/_dist/zod/bundles/bySource.d.ts index d6ff2a9..1c8b4ea 100644 --- a/_dist/zod/bundles/bySource.d.ts +++ b/_dist/zod/bundles/bySource.d.ts @@ -1,5 +1,5 @@ import { z } from "zod"; -export declare const bySource: z.ZodEffects; ID: z.ZodEffects; @@ -311,754 +311,183 @@ export declare const bySource: z.ZodEffects, "many">; -}, "strip", z.ZodTypeAny, { - source: { - type: "source"; + license: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + }, "strict", z.ZodTypeAny, { + type: "license"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; }; title: { short: string; full: string; }; ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; - }[]; -}, { - source: { - type: "source"; + }, { + type: "license"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; }; title: { short: string; full: string; }; ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; - }[]; -}>, z.ZodRecord, z.ZodEnum<["license", "sourceGroup"]>]>, z.ZodArray; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}>, z.ZodObject<{ - type: z.ZodLiteral<"source">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }>; - tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; + }>, "many">>; + sourceGroup: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; + short: string; + full: string; }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; + short: string; + full: string; + }>; + data: z.ZodOptional, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + publisher: string; }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + publisher: string; }>>; - misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>; }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; }>>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; -}, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; } | undefined; - } | undefined; -}>, z.ZodObject<{ - type: z.ZodLiteral<"sourceGroup">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodOptional, { - publisher: string; - }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; + }>, "many">>; + background: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + ID: string; + page?: number | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + ID: string; + page?: number | undefined; }>; - }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>>; -}, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; - data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; - tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; - }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; - }, { - count: number; - skills: Partial>; - }>>; - gainedFeats: z.ZodOptional; sourceID: z.ZodEffects; @@ -1070,2647 +499,3780 @@ export declare const bySource: z.ZodEffects; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - gainedSpells: z.ZodOptional; - sourceID: z.ZodEffects; + type: z.ZodLiteral<"background">; + data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }>>; - misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; }>>; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - gainedFeats?: { - options: { + }>, "many">>; + condition: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"condition">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + }, "strict", z.ZodTypeAny, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - } | undefined; -}, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }, { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + }>, "many">>; + divineIntercession: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects]>, "many">>; + "Minor Boon": z.ZodOptional]>, "many">>; + "Moderate Boon": z.ZodOptional]>, "many">>; + "Major Boon": z.ZodOptional]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; + }, "strict", z.ZodTypeAny, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }>, { - type: string; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>; + }, "strict", z.ZodTypeAny, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + domain: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"domain">; + data: z.ZodObject<{ + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }>; + }, "strict", z.ZodTypeAny, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }, { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + event: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"event">; + data: z.ZodObject<{ + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"condition">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + familiarAbility: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"familiarAbility">; + data: z.ZodObject<{ + abilityType: z.ZodEnum<["Familiar", "Master"]>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }, { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }>; + tags: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }>>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + relicGift: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; }, { - type: string; - }>]>, "many">>; - "Major Curse": z.ZodOptional; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; }, { - type: string; - }>]>, "many">>; - }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }; - modifications?: { - type: string; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; + data: z.ZodObject<{ + tier: z.ZodString; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + tags: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + skill: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }>; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>>; + entries: (string | { + type: string; + })[]; + }>; }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + }, { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }; + }>, "many">>; +}, "strip", z.ZodTypeAny, { source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { ID: string; - page?: number | undefined; - }, { + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"event">; - data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"familiarAbility">; - data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }>; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { + }[] | undefined; +}, { + source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"relicGift">; - data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }>; - tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - } | undefined; - }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>]>, "many">>>, { + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>, { source: { type: "source"; data: { @@ -3756,472 +4318,438 @@ export declare const bySource: z.ZodEffects | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -} | { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -} | { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - gainedFeats?: { - options: { + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }; + advancedDomainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>, { + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}, { source: { type: "source"; data: { @@ -4267,469 +4795,435 @@ export declare const bySource: z.ZodEffects | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - gainedSpells?: { - options: { + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>>; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>; diff --git a/_dist/zod/bundles/bySource.js b/_dist/zod/bundles/bySource.js index 46cd956..154c376 100644 --- a/_dist/zod/bundles/bySource.js +++ b/_dist/zod/bundles/bySource.js @@ -1,10 +1,7 @@ import { z } from "zod"; -import { datatypeSansSource } from "../indexes/datatypes.js"; -import { data } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; -import { source } from "../source.js"; +import { schemaIndex } from "../_data.js"; export const bySource = z - .object({ source: z.array(source) }) - .and(z.record(datatypeSansSource, z.array(data).min(1))) + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe("A bundle of all content in a given source. Keys map from a datatype to an array of objects of that datatype. The `source` key is required.") .refine(...nonEmpty); diff --git a/zod/_data.ts b/zod/_data.ts index 6dc408f..78d1a00 100644 --- a/zod/_data.ts +++ b/zod/_data.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 14:24:29 GMT import { z } from "zod"; diff --git a/zod/_index.ts b/zod/_index.ts index d72f34e..049e6ce 100644 --- a/zod/_index.ts +++ b/zod/_index.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 14:24:30 GMT // . export { content } from "./content.js"; diff --git a/zod/_statblock.ts b/zod/_statblock.ts index 4ffd206..a2a4050 100644 --- a/zod/_statblock.ts +++ b/zod/_statblock.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 14:24:29 GMT import { z } from "zod"; diff --git a/zod/bundles/bySource.ts b/zod/bundles/bySource.ts index 86a071a..1bbc99e 100644 --- a/zod/bundles/bySource.ts +++ b/zod/bundles/bySource.ts @@ -1,10 +1,10 @@ import { z } from "zod"; import { nonEmpty } from "../utils/nonEmpty.js"; -import { schemaIndex } from '../_data.js'; +import { schemaIndex } from "../_data.js"; export const bySource = z -.object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe( "A bundle of all content in a given source. Keys map from a datatype to an array of objects of that datatype. The `source` key is required.", )