Files
NapCatQQ/.pnpm-store/v3/files/d3/2a187fdde074ed50be5a82f9d99948cf47e4bb212b5fb98f91b2f2b76b291bc13903e3febaf44f4159e01b378ebafd131126f168f71032a4284c2783d6adb3
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
1.1 KiB
Plaintext

import { TypeBoxError } from '../../type/error/index';
export declare class ValuePointerRootSetError extends TypeBoxError {
readonly value: unknown;
readonly path: string;
readonly update: unknown;
constructor(value: unknown, path: string, update: unknown);
}
export declare class ValuePointerRootDeleteError extends TypeBoxError {
readonly value: unknown;
readonly path: string;
constructor(value: unknown, path: string);
}
/** Formats the given pointer into navigable key components */
export declare function Format(pointer: string): IterableIterator<string>;
/** Sets the value at the given pointer. If the value at the pointer does not exist it is created */
export declare function Set(value: any, pointer: string, update: unknown): void;
/** Deletes a value at the given pointer */
export declare function Delete(value: any, pointer: string): void;
/** Returns true if a value exists at the given pointer */
export declare function Has(value: any, pointer: string): boolean;
/** Gets the value at the given pointer */
export declare function Get(value: any, pointer: string): any;