Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 行
521 B
TypeScript
10 行
521 B
TypeScript
import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
|
|
import { Code } from "../../compile/codegen";
|
|
export type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, {
|
|
type: T;
|
|
nullable: boolean;
|
|
}, S>;
|
|
export declare function typeError(t: string): KeywordErrorDefinition;
|
|
export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string;
|
|
export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
|