mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 21:17:30 +00:00
chore: update frontend build for v1.1.82 [skip ci]
This commit is contained in:
41
web/admin-spa/node_modules/confbox/dist/jsonc.d.ts
generated
vendored
41
web/admin-spa/node_modules/confbox/dist/jsonc.d.ts
generated
vendored
@@ -1,41 +0,0 @@
|
||||
import { F as FormatOptions } from './shared/confbox.9745c98f.js';
|
||||
|
||||
/**
|
||||
*
|
||||
* Converts a [JSONC](https://github.com/microsoft/node-jsonc-parser) string into an object.
|
||||
*
|
||||
* @NOTE On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.
|
||||
*
|
||||
* @NOTE Comments and trailing commas are not preserved after parsing.
|
||||
*
|
||||
* @template T The type of the return value.
|
||||
* @param text The string to parse as JSONC.
|
||||
* @param options Parsing options.
|
||||
* @returns The JavaScript value converted from the JSONC string.
|
||||
*/
|
||||
declare function parseJSONC<T = unknown>(text: string, options?: JSONCParseOptions): T;
|
||||
/**
|
||||
* Converts a JavaScript value to a [JSONC](https://github.com/microsoft/node-jsonc-parser) string.
|
||||
*
|
||||
* @NOTE Comments and trailing commas are not preserved in the output.
|
||||
*
|
||||
* @param value
|
||||
* @param options
|
||||
* @returns The JSON string converted from the JavaScript value.
|
||||
*/
|
||||
declare function stringifyJSONC(value: any, options?: JSONCStringifyOptions): string;
|
||||
interface JSONCParseOptions extends FormatOptions {
|
||||
disallowComments?: boolean;
|
||||
allowTrailingComma?: boolean;
|
||||
allowEmptyContent?: boolean;
|
||||
errors?: JSONCParseError[];
|
||||
}
|
||||
interface JSONCStringifyOptions extends FormatOptions {
|
||||
}
|
||||
interface JSONCParseError {
|
||||
error: number;
|
||||
offset: number;
|
||||
length: number;
|
||||
}
|
||||
|
||||
export { type JSONCParseError, type JSONCParseOptions, type JSONCStringifyOptions, parseJSONC, stringifyJSONC };
|
||||
Reference in New Issue
Block a user