diff --git a/_dist/zod/_data.js b/_dist/zod/_data.js index 42b5360..2fb44d6 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 08:14:09 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 08:27:53 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 c413d3b..55ac93e 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 08:14:10 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 08:27:54 GMT // . export { content } from "./content.js"; export { license } from "./license.js"; diff --git a/_dist/zod/_statblock.js b/_dist/zod/_statblock.js index ceda616..3a37190 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 08:14:09 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 08:27:53 GMT import { z } from "zod"; import { background } from "./content/background.js"; import { condition } from "./content/condition.js"; diff --git a/_dist/zod/bundles/bySource.d.ts b/_dist/zod/bundles/bySource.d.ts index cd51b99..150291b 100644 --- a/_dist/zod/bundles/bySource.d.ts +++ b/_dist/zod/bundles/bySource.d.ts @@ -1,12 +1,5179 @@ -import { z } from "zod"; +import { ZodArray, z } from "zod"; export declare const bySource: z.ZodEffects; + 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; + }>, "many"> | 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: 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<"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; + }> | 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">>, 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: 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; + }> | 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">>, 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: 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; + }> | 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">>, 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; + }> | 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">>, 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; + }> | 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">>, 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: 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; + }> | 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">>, 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: 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; + }> | 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">>, 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: ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: 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; + }> | 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">>, 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: 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; + }>, "many">>; }, "strip", z.ZodTypeAny, { - [x: string]: any; + [x: string]: { + 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: "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; + }; + 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: "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; + 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.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; + } | { + 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: "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: "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; + })[] | undefined; }, { - [x: string]: any; + [x: string]: { + 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: "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; + }; + 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; + } | { + 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; + 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; + } | { + 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; + } | { + 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; + } | { + 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; + } | { + 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; + } | { + 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; + })[] | undefined; }>, { - [x: string]: any; + [x: string]: { + 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: "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; + }; + 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: "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; + 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.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; + } | { + 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: "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: "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; + })[] | undefined; }, { - [x: string]: any; + [x: string]: { + 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: "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; + }; + 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; + } | { + 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; + 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; + } | { + 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; + } | { + 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; + } | { + 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; + } | { + 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; + } | { + 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; + })[] | undefined; }>; diff --git a/_dist/zod/bundles/bySource.js b/_dist/zod/bundles/bySource.js index 6b8da93..319c647 100644 --- a/_dist/zod/bundles/bySource.js +++ b/_dist/zod/bundles/bySource.js @@ -1,14 +1,15 @@ -import { z } from "zod"; +import { ZodArray, z } from "zod"; import { dataTypesArray } from "../indexes/datatypes.js"; import * as data from "../_index.js"; import { nonEmpty } from "../utils/nonEmpty.js"; import { source } from "../source.js"; -const bySourceObject = { source: z.array(source) }; -const dataTypesArrayOmitSource = dataTypesArray.filter((datatype) => datatype !== "source"); -dataTypesArrayOmitSource.forEach((datatype) => { - bySourceObject[datatype] = z.array(z.array(data[datatype]).min(1)).optional(); -}); +const bySourceObj = new Map(dataTypesArray.map((datatype) => { + return [ + datatype, + datatype === "source" ? z.array(data[datatype]).min(1) : z.array(data[datatype]).min(1).optional(), + ]; +})); export const bySource = z - .object(bySourceObject) + .object(Object.fromEntries(bySourceObj)) .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 be1c170..0ff85e1 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 08:14:09 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 08:27:53 GMT import { z } from "zod"; diff --git a/zod/_index.ts b/zod/_index.ts index 2af1c43..3072998 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 08:14:10 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 08:27:54 GMT // . export { content } from "./content.js"; diff --git a/zod/_statblock.ts b/zod/_statblock.ts index b72013e..f8a9ce8 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 08:14:09 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 08:27:53 GMT import { z } from "zod"; diff --git a/zod/bundles/bySource.ts b/zod/bundles/bySource.ts index 37ae42a..28e1ed1 100644 --- a/zod/bundles/bySource.ts +++ b/zod/bundles/bySource.ts @@ -5,13 +5,18 @@ import * as data from "../_index.js"; import { nonEmpty } from "../utils/nonEmpty.js"; import { source } from "../source.js"; -const bySourceObj = new Map(dataTypesArray.map((datatype) => { - return [datatype, datatype === "source" ? z.array(data[datatype]).min(1) : z.array(data[datatype]).min(1).optional()]; -})); +const bySourceObj = new Map( + dataTypesArray.map((datatype) => { + return [ + datatype, + datatype === "source" ? z.array(data[datatype]).min(1) : z.array(data[datatype]).min(1).optional(), + ]; + }), +); export const bySource = z .object(Object.fromEntries(bySourceObj)) .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); \ No newline at end of file + .refine(...nonEmpty);