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>
25 行
648 B
TypeScript
25 行
648 B
TypeScript
//#region src/_format.d.ts
|
|
interface FormatOptions {
|
|
/**
|
|
* A String or Number object that's used to insert white space into the output JSON string for readability purposes.
|
|
*
|
|
* When provided, identation won't be auto detected anymore.
|
|
*/
|
|
indent?: string | number;
|
|
/**
|
|
* Set to `false` to skip indentation preservation.
|
|
*/
|
|
preserveIndentation?: boolean;
|
|
/**
|
|
* Set to `false` to skip whitespace preservation.
|
|
*/
|
|
preserveWhitespace?: boolean;
|
|
/**
|
|
* The number of characters to sample from the start of the text.
|
|
*
|
|
* Default: 1024
|
|
*/
|
|
sampleSize?: number;
|
|
}
|
|
//#endregion
|
|
export { FormatOptions as t }; |