Variable scriptLanguageSpecSchemaConst
scriptLanguageSpecSchema: ZodObject<
{
builtins: ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>;
keywords: ZodArray<ZodString, "many">;
languageId: ZodString;
namespaces: ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>;
operators: ZodArray<ZodString, "many">;
reservedNames: ZodOptional<ZodArray<ZodString, "many">>;
snippets: ZodOptional<
ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>,
>;
specialIdentifiers: ZodOptional<
ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>,
>;
typeDefinitions: ZodOptional<
ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>,
>;
typeSystem: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
version: ZodNumber;
},
"strip",
ZodTypeAny,
{
builtins: Record<string, {} | null>[];
keywords: string[];
languageId: string;
namespaces: Record<string, {} | null>[];
operators: string[];
reservedNames?: string[];
snippets?: Record<string, {} | null>[];
specialIdentifiers?: Record<string, {} | null>[];
typeDefinitions?: Record<string, {} | null>[];
typeSystem?: Record<string, {} | null>;
version: number;
},
{
builtins: Record<string, {} | null>[];
keywords: string[];
languageId: string;
namespaces: Record<string, {} | null>[];
operators: string[];
reservedNames?: string[];
snippets?: Record<string, {} | null>[];
specialIdentifiers?: Record<string, {} | null>[];
typeDefinitions?: Record<string, {} | null>[];
typeSystem?: Record<string, {} | null>;
version: number;
},
> = ...
Runtime validator for ScriptLanguageSpec.