@autobe/compiler 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/prisma/AutoBePrismaCompiler.js +2 -2
- package/lib/prisma/AutoBePrismaCompiler.js.map +1 -1
- package/lib/raw/AutoBeCompilerTestTemplate.js +1 -1
- package/lib/raw/nestjs.json +14 -15
- package/lib/raw/test.json +9 -10
- package/lib/utils/FilePrinter.js +9 -1
- package/lib/utils/FilePrinter.js.map +1 -1
- package/package.json +8 -8
- package/src/prisma/AutoBePrismaCompiler.ts +1 -1
- package/src/raw/AutoBeCompilerTestTemplate.ts +1 -1
- package/src/raw/nestjs.json +14 -15
- package/src/raw/test.json +9 -10
- package/src/utils/FilePrinter.ts +12 -1
- package/lib/prisma/writePrismaApplication.d.ts +0 -5
- package/lib/prisma/writePrismaApplication.js +0 -341
- package/lib/prisma/writePrismaApplication.js.map +0 -1
- package/src/prisma/writePrismaApplication.ts +0 -438
package/src/raw/nestjs.json
CHANGED
|
@@ -11602,7 +11602,7 @@
|
|
|
11602
11602
|
"node_modules/@nestia/benchmark/lib/internal/DynamicBenchmarkReporter.d.ts": "import { DynamicBenchmarker } from \"../DynamicBenchmarker\";\nexport declare namespace DynamicBenchmarkReporter {\n const markdown: (report: DynamicBenchmarker.IReport) => string;\n}\n",
|
|
11603
11603
|
"node_modules/@nestia/benchmark/lib/internal/IBenchmarkMaster.d.ts": "export interface IBenchmarkMaster {\n filter: (name: string) => boolean;\n progress: (current: number) => void;\n}\n",
|
|
11604
11604
|
"node_modules/@nestia/benchmark/lib/internal/IBenchmarkServant.d.ts": "import { IBenchmarkEvent } from \"../IBenchmarkEvent\";\nexport interface IBenchmarkServant {\n execute(props: {\n count: number;\n simultaneous: number;\n }): Promise<IBenchmarkEvent[]>;\n}\n",
|
|
11605
|
-
"node_modules/@nestia/benchmark/package.json": "{\n \"name\": \"@nestia/benchmark\",\n \"version\": \"9.0.
|
|
11605
|
+
"node_modules/@nestia/benchmark/package.json": "{\n \"name\": \"@nestia/benchmark\",\n \"version\": \"9.0.1\",\n \"description\": \"NestJS Performance Benchmark Program\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"scripts\": {\n \"build\": \"npm run build:main && npm run build:test\",\n \"build:main\": \"rimraf lib && tsc\",\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\n \"dev\": \"npm run build:test -- --watch\",\n \"prepare\": \"ts-patch install\",\n \"test\": \"node bin/test\"\n },\n \"keywords\": [\n \"e2e\",\n \"nestia\",\n \"nestjs\",\n \"Performance\",\n \"benchmark\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"dependencies\": {\n \"@nestia/fetcher\": \"^9.0.1\",\n \"tgrid\": \"^1.1.0\",\n \"tstl\": \"^3.0.0\"\n },\n \"devDependencies\": {\n \"@nestia/core\": \"^9.0.1\",\n \"@nestia/e2e\": \"^9.0.1\",\n \"@nestia/sdk\": \"^9.0.1\",\n \"@nestjs/common\": \"^11.0.13\",\n \"@nestjs/core\": \"^11.0.13\",\n \"@nestjs/platform-express\": \"^11.0.13\",\n \"@types/uuid\": \"^10.0.0\",\n \"nestia\": \"workspace:^\",\n \"ts-node\": \"^10.9.2\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript\": \"~5.9.3\",\n \"typescript-transform-paths\": \"^3.4.7\",\n \"typia\": \"^10.0.0\",\n \"uuid\": \"^10.0.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11606
11606
|
"node_modules/@nestia/core/lib/adaptors/WebSocketAdaptor.d.ts": "import { INestApplication } from \"@nestjs/common\";\nexport declare class WebSocketAdaptor {\n static upgrade(app: INestApplication): Promise<WebSocketAdaptor>;\n readonly close: () => Promise<void>;\n private constructor();\n private readonly handleUpgrade;\n private readonly http;\n private readonly operators;\n private readonly ws;\n}\n",
|
|
11607
11607
|
"node_modules/@nestia/core/lib/decorators/DynamicModule.d.ts": "import { ModuleMetadata } from \"@nestjs/common/interfaces\";\n/**\n * Dynamic module.\n *\n * `DynamicModule` is a namespace wrapping a convenient function, which can load\n * controller classes dynamically just by specifying their directory path.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace DynamicModule {\n /**\n * Mount dynamic module.\n *\n * Constructs a module instance with directory path of controller classes.\n *\n * Every controller classes in the target directory would be dynamically\n * mounted.\n *\n * @param path Path of controllers\n * @param metadata Additional metadata except controllers\n * @returns Module instance\n */\n function mount(path: string | string[] | {\n include: string[];\n exclude?: string[];\n }, metadata?: Omit<ModuleMetadata, \"controllers\">, isTsNode?: boolean): Promise<{\n new (): {};\n }>;\n}\n",
|
|
11608
11608
|
"node_modules/@nestia/core/lib/decorators/EncryptedBody.d.ts": "import { IRequestBodyValidator } from \"../options/IRequestBodyValidator\";\n/**\n * Encrypted body decorator.\n *\n * `EncryptedBody` is a decorator function getting `application/json` typed data\n * from request body which has been encrypted by AES-128/256 algorithm. Also,\n * `EncryptedBody` validates the request body data type through\n * [typia](https://github.com/samchon/typia) ad the validation speed is maximum\n * 15,000x times faster than `class-validator`.\n *\n * For reference, when the request body data is not following the promised type\n * `T`, `BadRequestException` error (status code: 400) would be thrown. Also,\n * `EncryptedRoute` decrypts request body using those options.\n *\n * - AES-128/256\n * - CBC mode\n * - PKCS #5 Padding\n * - Base64 Encoding\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Parameter decorator\n */\nexport declare function EncryptedBody<T>(validator?: IRequestBodyValidator<T>): ParameterDecorator;\n",
|
|
@@ -11702,7 +11702,7 @@
|
|
|
11702
11702
|
"node_modules/minimatch/dist/esm/index.d.ts": "import { AST } from './ast.js';\ntype Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';\nexport interface MinimatchOptions {\n nobrace?: boolean;\n nocomment?: boolean;\n nonegate?: boolean;\n debug?: boolean;\n noglobstar?: boolean;\n noext?: boolean;\n nonull?: boolean;\n windowsPathsNoEscape?: boolean;\n allowWindowsEscape?: boolean;\n partial?: boolean;\n dot?: boolean;\n nocase?: boolean;\n nocaseMagicOnly?: boolean;\n magicalBraces?: boolean;\n matchBase?: boolean;\n flipNegate?: boolean;\n preserveMultipleSlashes?: boolean;\n optimizationLevel?: number;\n platform?: Platform;\n windowsNoMagicRoot?: boolean;\n}\nexport declare const minimatch: {\n (p: string, pattern: string, options?: MinimatchOptions): boolean;\n sep: Sep;\n GLOBSTAR: typeof GLOBSTAR;\n filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;\n defaults: (def: MinimatchOptions) => typeof minimatch;\n braceExpand: (pattern: string, options?: MinimatchOptions) => string[];\n makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;\n match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];\n AST: typeof AST;\n Minimatch: typeof Minimatch;\n escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, \"windowsPathsNoEscape\">) => string;\n unescape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, \"windowsPathsNoEscape\">) => string;\n};\ntype Sep = '\\\\' | '/';\nexport declare const sep: Sep;\nexport declare const GLOBSTAR: unique symbol;\nexport declare const filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;\nexport declare const defaults: (def: MinimatchOptions) => typeof minimatch;\nexport declare const braceExpand: (pattern: string, options?: MinimatchOptions) => string[];\nexport declare const makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;\nexport declare const match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];\nexport type MMRegExp = RegExp & {\n _src?: string;\n _glob?: string;\n};\nexport type ParseReturnFiltered = string | MMRegExp | typeof GLOBSTAR;\nexport type ParseReturn = ParseReturnFiltered | false;\nexport declare class Minimatch {\n options: MinimatchOptions;\n set: ParseReturnFiltered[][];\n pattern: string;\n windowsPathsNoEscape: boolean;\n nonegate: boolean;\n negate: boolean;\n comment: boolean;\n empty: boolean;\n preserveMultipleSlashes: boolean;\n partial: boolean;\n globSet: string[];\n globParts: string[][];\n nocase: boolean;\n isWindows: boolean;\n platform: Platform;\n windowsNoMagicRoot: boolean;\n regexp: false | null | MMRegExp;\n constructor(pattern: string, options?: MinimatchOptions);\n hasMagic(): boolean;\n debug(..._: any[]): void;\n make(): void;\n preprocess(globParts: string[][]): string[][];\n adjascentGlobstarOptimize(globParts: string[][]): string[][];\n levelOneOptimize(globParts: string[][]): string[][];\n levelTwoFileOptimize(parts: string | string[]): string[];\n firstPhasePreProcess(globParts: string[][]): string[][];\n secondPhasePreProcess(globParts: string[][]): string[][];\n partsMatch(a: string[], b: string[], emptyGSMatch?: boolean): false | string[];\n parseNegate(): void;\n matchOne(file: string[], pattern: ParseReturn[], partial?: boolean): boolean;\n braceExpand(): string[];\n parse(pattern: string): ParseReturn;\n makeRe(): false | MMRegExp;\n slashSplit(p: string): string[];\n match(f: string, partial?: boolean): boolean;\n static defaults(def: MinimatchOptions): typeof Minimatch;\n}\nexport { AST } from './ast.js';\nexport { escape } from './escape.js';\nexport { unescape } from './unescape.js';\n//# sourceMappingURL=index.d.ts.map",
|
|
11703
11703
|
"node_modules/minimatch/dist/esm/unescape.d.ts": "import { MinimatchOptions } from './index.js';\n/**\n * Un-escape a string that has been escaped with {@link escape}.\n *\n * If the {@link windowsPathsNoEscape} option is used, then square-brace\n * escapes are removed, but not backslash escapes. For example, it will turn\n * the string `'[*]'` into `*`, but it will not turn `'\\\\*'` into `'*'`,\n * becuase `\\` is a path separator in `windowsPathsNoEscape` mode.\n *\n * When `windowsPathsNoEscape` is not set, then both brace escapes and\n * backslash escapes are removed.\n *\n * Slashes (and backslashes in `windowsPathsNoEscape` mode) cannot be escaped\n * or unescaped.\n */\nexport declare const unescape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, \"windowsPathsNoEscape\">) => string;\n//# sourceMappingURL=unescape.d.ts.map",
|
|
11704
11704
|
"node_modules/minimatch/package.json": "{\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)\",\n \"name\": \"minimatch\",\n \"description\": \"a glob matcher in javascript\",\n \"version\": \"3.1.2\",\n \"publishConfig\": {\n \"tag\": \"v3-legacy\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/isaacs/minimatch.git\"\n },\n \"main\": \"minimatch.js\",\n \"scripts\": {\n \"test\": \"tap\",\n \"preversion\": \"npm test\",\n \"postversion\": \"npm publish\",\n \"postpublish\": \"git push origin --all; git push origin --tags\"\n },\n \"engines\": {\n \"node\": \"*\"\n },\n \"dependencies\": {\n \"brace-expansion\": \"^1.1.7\"\n },\n \"devDependencies\": {\n \"tap\": \"^15.1.6\"\n },\n \"license\": \"ISC\",\n \"files\": [\n \"minimatch.js\"\n ]\n}\n",
|
|
11705
|
-
"node_modules/@nestia/core/package.json": "{\n \"name\": \"@nestia/core\",\n \"version\": \"9.0.
|
|
11705
|
+
"node_modules/@nestia/core/package.json": "{\n \"name\": \"@nestia/core\",\n \"version\": \"9.0.1\",\n \"description\": \"Super-fast validation decorators of NestJS\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"tsp\": {\n \"tscOptions\": {\n \"parseAllJsDoc\": true\n }\n },\n \"scripts\": {\n \"build\": \"rimraf lib && tsc\",\n \"dev\": \"tsc -p tsconfig.test.json --watch\",\n \"eslint\": \"eslint ./**/*.ts\",\n \"eslint:fix\": \"eslint ./**/*.ts --fix\",\n \"prepare\": \"ts-patch install && typia patch\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"nestjs\",\n \"nestia\",\n \"typia\",\n \"validator\",\n \"decorator\",\n \"class-validator\",\n \"class-transformer\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"dependencies\": {\n \"@nestia/fetcher\": \"^9.0.1\",\n \"@nestjs/common\": \">=7.0.1\",\n \"@nestjs/core\": \">=7.0.1\",\n \"@samchon/openapi\": \"^5.0.0\",\n \"detect-ts-node\": \"^1.0.5\",\n \"get-function-location\": \"^2.0.0\",\n \"glob\": \"^11.0.3\",\n \"path-parser\": \"^6.1.0\",\n \"raw-body\": \"^2.0.0\",\n \"reflect-metadata\": \">=0.1.12\",\n \"rxjs\": \">=6.0.3\",\n \"tgrid\": \"^1.1.0\",\n \"typia\": \"^10.0.0\",\n \"ws\": \"^7.5.3\"\n },\n \"peerDependencies\": {\n \"@nestia/fetcher\": \">=9.0.1\",\n \"@nestjs/common\": \">=7.0.1\",\n \"@nestjs/core\": \">=7.0.1\",\n \"reflect-metadata\": \">=0.1.12\",\n \"rxjs\": \">=6.0.3\",\n \"typia\": \"^10.0.0\"\n },\n \"devDependencies\": {\n \"@nestjs/common\": \"^11.0.13\",\n \"@nestjs/core\": \"^11.0.13\",\n \"@types/express\": \"^4.17.15\",\n \"@types/inquirer\": \"^9.0.3\",\n \"@types/multer\": \"^1.4.12\",\n \"@types/ts-expose-internals\": \"npm:ts-expose-internals@5.4.5\",\n \"@types/ws\": \"^8.5.10\",\n \"@typescript-eslint/eslint-plugin\": \"^5.46.1\",\n \"@typescript-eslint/parser\": \"^5.46.1\",\n \"commander\": \"^10.0.0\",\n \"comment-json\": \"^4.2.3\",\n \"eslint-plugin-deprecation\": \"^1.4.1\",\n \"fastify\": \"^4.28.1\",\n \"git-last-commit\": \"^1.0.1\",\n \"inquirer\": \"^8.2.5\",\n \"rimraf\": \"^6.0.1\",\n \"ts-node\": \"^10.9.1\",\n \"ts-patch\": \"^3.3.0\",\n \"tstl\": \"^3.0.0\",\n \"typescript\": \"~5.9.3\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
11706
11706
|
"node_modules/@nestia/core/src/typings/get-function-location.d.ts": "declare module \"get-function-location\" {\n export default function (func: any): Promise<{\n source: string;\n line: number;\n column: number;\n }>;\n}\n",
|
|
11707
11707
|
"node_modules/@nestia/core/node_modules/glob/dist/commonjs/glob.d.ts": "import { Minimatch } from 'minimatch';\nimport { Minipass } from 'minipass';\nimport { FSOption, Path, PathScurry } from 'path-scurry';\nimport { IgnoreLike } from './ignore.js';\nimport { Pattern } from './pattern.js';\nexport type MatchSet = Minimatch['set'];\nexport type GlobParts = Exclude<Minimatch['globParts'], undefined>;\n/**\n * A `GlobOptions` object may be provided to any of the exported methods, and\n * must be provided to the `Glob` constructor.\n *\n * All options are optional, boolean, and false by default, unless otherwise\n * noted.\n *\n * All resolved options are added to the Glob object as properties.\n *\n * If you are running many `glob` operations, you can pass a Glob object as the\n * `options` argument to a subsequent operation to share the previously loaded\n * cache.\n */\nexport interface GlobOptions {\n /**\n * Set to `true` to always receive absolute paths for\n * matched files. Set to `false` to always return relative paths.\n *\n * When this option is not set, absolute paths are returned for patterns\n * that are absolute, and otherwise paths are returned that are relative\n * to the `cwd` setting.\n *\n * This does _not_ make an extra system call to get\n * the realpath, it only does string path resolution.\n *\n * Conflicts with {@link withFileTypes}\n */\n absolute?: boolean;\n /**\n * Set to false to enable {@link windowsPathsNoEscape}\n *\n * @deprecated\n */\n allowWindowsEscape?: boolean;\n /**\n * The current working directory in which to search. Defaults to\n * `process.cwd()`.\n *\n * May be eiher a string path or a `file://` URL object or string.\n */\n cwd?: string | URL;\n /**\n * Include `.dot` files in normal matches and `globstar`\n * matches. Note that an explicit dot in a portion of the pattern\n * will always match dot files.\n */\n dot?: boolean;\n /**\n * Prepend all relative path strings with `./` (or `.\\` on Windows).\n *\n * Without this option, returned relative paths are \"bare\", so instead of\n * returning `'./foo/bar'`, they are returned as `'foo/bar'`.\n *\n * Relative patterns starting with `'../'` are not prepended with `./`, even\n * if this option is set.\n */\n dotRelative?: boolean;\n /**\n * Follow symlinked directories when expanding `**`\n * patterns. This can result in a lot of duplicate references in\n * the presence of cyclic links, and make performance quite bad.\n *\n * By default, a `**` in a pattern will follow 1 symbolic link if\n * it is not the first item in the pattern, or none if it is the\n * first item in the pattern, following the same behavior as Bash.\n */\n follow?: boolean;\n /**\n * string or string[], or an object with `ignored` and `childrenIgnored`\n * methods.\n *\n * If a string or string[] is provided, then this is treated as a glob\n * pattern or array of glob patterns to exclude from matches. To ignore all\n * children within a directory, as well as the entry itself, append `'/**'`\n * to the ignore pattern.\n *\n * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of\n * any other settings.\n *\n * If an object is provided that has `ignored(path)` and/or\n * `childrenIgnored(path)` methods, then these methods will be called to\n * determine whether any Path is a match or if its children should be\n * traversed, respectively.\n */\n ignore?: string | string[] | IgnoreLike;\n /**\n * Treat brace expansion like `{a,b}` as a \"magic\" pattern. Has no\n * effect if {@link nobrace} is set.\n *\n * Only has effect on the {@link hasMagic} function.\n */\n magicalBraces?: boolean;\n /**\n * Add a `/` character to directory matches. Note that this requires\n * additional stat calls in some cases.\n */\n mark?: boolean;\n /**\n * Perform a basename-only match if the pattern does not contain any slash\n * characters. That is, `*.js` would be treated as equivalent to\n * `**\\/*.js`, matching all js files in all directories.\n */\n matchBase?: boolean;\n /**\n * Limit the directory traversal to a given depth below the cwd.\n * Note that this does NOT prevent traversal to sibling folders,\n * root patterns, and so on. It only limits the maximum folder depth\n * that the walk will descend, relative to the cwd.\n */\n maxDepth?: number;\n /**\n * Do not expand `{a,b}` and `{1..3}` brace sets.\n */\n nobrace?: boolean;\n /**\n * Perform a case-insensitive match. This defaults to `true` on macOS and\n * Windows systems, and `false` on all others.\n *\n * **Note** `nocase` should only be explicitly set when it is\n * known that the filesystem's case sensitivity differs from the\n * platform default. If set `true` on case-sensitive file\n * systems, or `false` on case-insensitive file systems, then the\n * walk may return more or less results than expected.\n */\n nocase?: boolean;\n /**\n * Do not match directories, only files. (Note: to match\n * _only_ directories, put a `/` at the end of the pattern.)\n */\n nodir?: boolean;\n /**\n * Do not match \"extglob\" patterns such as `+(a|b)`.\n */\n noext?: boolean;\n /**\n * Do not match `**` against multiple filenames. (Ie, treat it as a normal\n * `*` instead.)\n *\n * Conflicts with {@link matchBase}\n */\n noglobstar?: boolean;\n /**\n * Defaults to value of `process.platform` if available, or `'linux'` if\n * not. Setting `platform:'win32'` on non-Windows systems may cause strange\n * behavior.\n */\n platform?: NodeJS.Platform;\n /**\n * Set to true to call `fs.realpath` on all of the\n * results. In the case of an entry that cannot be resolved, the\n * entry is omitted. This incurs a slight performance penalty, of\n * course, because of the added system calls.\n */\n realpath?: boolean;\n /**\n *\n * A string path resolved against the `cwd` option, which\n * is used as the starting point for absolute patterns that start\n * with `/`, (but not drive letters or UNC paths on Windows).\n *\n * Note that this _doesn't_ necessarily limit the walk to the\n * `root` directory, and doesn't affect the cwd starting point for\n * non-absolute patterns. A pattern containing `..` will still be\n * able to traverse out of the root directory, if it is not an\n * actual root directory on the filesystem, and any non-absolute\n * patterns will be matched in the `cwd`. For example, the\n * pattern `/../*` with `{root:'/some/path'}` will return all\n * files in `/some`, not all files in `/some/path`. The pattern\n * `*` with `{root:'/some/path'}` will return all the entries in\n * the cwd, not the entries in `/some/path`.\n *\n * To start absolute and non-absolute patterns in the same\n * path, you can use `{root:''}`. However, be aware that on\n * Windows systems, a pattern like `x:/*` or `//host/share/*` will\n * _always_ start in the `x:/` or `//host/share` directory,\n * regardless of the `root` setting.\n */\n root?: string;\n /**\n * A [PathScurry](http://npm.im/path-scurry) object used\n * to traverse the file system. If the `nocase` option is set\n * explicitly, then any provided `scurry` object must match this\n * setting.\n */\n scurry?: PathScurry;\n /**\n * Call `lstat()` on all entries, whether required or not to determine\n * if it's a valid match. When used with {@link withFileTypes}, this means\n * that matches will include data such as modified time, permissions, and\n * so on. Note that this will incur a performance cost due to the added\n * system calls.\n */\n stat?: boolean;\n /**\n * An AbortSignal which will cancel the Glob walk when\n * triggered.\n */\n signal?: AbortSignal;\n /**\n * Use `\\\\` as a path separator _only_, and\n * _never_ as an escape character. If set, all `\\\\` characters are\n * replaced with `/` in the pattern.\n *\n * Note that this makes it **impossible** to match against paths\n * containing literal glob pattern characters, but allows matching\n * with patterns constructed using `path.join()` and\n * `path.resolve()` on Windows platforms, mimicking the (buggy!)\n * behavior of Glob v7 and before on Windows. Please use with\n * caution, and be mindful of [the caveat below about Windows\n * paths](#windows). (For legacy reasons, this is also set if\n * `allowWindowsEscape` is set to the exact value `false`.)\n */\n windowsPathsNoEscape?: boolean;\n /**\n * Return [PathScurry](http://npm.im/path-scurry)\n * `Path` objects instead of strings. These are similar to a\n * NodeJS `Dirent` object, but with additional methods and\n * properties.\n *\n * Conflicts with {@link absolute}\n */\n withFileTypes?: boolean;\n /**\n * An fs implementation to override some or all of the defaults. See\n * http://npm.im/path-scurry for details about what can be overridden.\n */\n fs?: FSOption;\n /**\n * Just passed along to Minimatch. Note that this makes all pattern\n * matching operations slower and *extremely* noisy.\n */\n debug?: boolean;\n /**\n * Return `/` delimited paths, even on Windows.\n *\n * On posix systems, this has no effect. But, on Windows, it means that\n * paths will be `/` delimited, and absolute paths will be their full\n * resolved UNC forms, eg instead of `'C:\\\\foo\\\\bar'`, it would return\n * `'//?/C:/foo/bar'`\n */\n posix?: boolean;\n /**\n * Do not match any children of any matches. For example, the pattern\n * `**\\/foo` would match `a/foo`, but not `a/foo/b/foo` in this mode.\n *\n * This is especially useful for cases like \"find all `node_modules`\n * folders, but not the ones in `node_modules`\".\n *\n * In order to support this, the `Ignore` implementation must support an\n * `add(pattern: string)` method. If using the default `Ignore` class, then\n * this is fine, but if this is set to `false`, and a custom `Ignore` is\n * provided that does not have an `add()` method, then it will throw an\n * error.\n *\n * **Caveat** It *only* ignores matches that would be a descendant of a\n * previous match, and only if that descendant is matched *after* the\n * ancestor is encountered. Since the file system walk happens in\n * indeterminate order, it's possible that a match will already be added\n * before its ancestor, if multiple or braced patterns are used.\n *\n * For example:\n *\n * ```ts\n * const results = await glob([\n * // likely to match first, since it's just a stat\n * 'a/b/c/d/e/f',\n *\n * // this pattern is more complicated! It must to various readdir()\n * // calls and test the results against a regular expression, and that\n * // is certainly going to take a little bit longer.\n * //\n * // So, later on, it encounters a match at 'a/b/c/d/e', but it's too\n * // late to ignore a/b/c/d/e/f, because it's already been emitted.\n * 'a/[bdf]/?/[a-z]/*',\n * ], { includeChildMatches: false })\n * ```\n *\n * It's best to only set this to `false` if you can be reasonably sure that\n * no components of the pattern will potentially match one another's file\n * system descendants, or if the occasional included child entry will not\n * cause problems.\n *\n * @default true\n */\n includeChildMatches?: boolean;\n}\nexport type GlobOptionsWithFileTypesTrue = GlobOptions & {\n withFileTypes: true;\n absolute?: undefined;\n mark?: undefined;\n posix?: undefined;\n};\nexport type GlobOptionsWithFileTypesFalse = GlobOptions & {\n withFileTypes?: false;\n};\nexport type GlobOptionsWithFileTypesUnset = GlobOptions & {\n withFileTypes?: undefined;\n};\nexport type Result<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? Path : Opts extends GlobOptionsWithFileTypesFalse ? string : Opts extends GlobOptionsWithFileTypesUnset ? string : string | Path;\nexport type Results<Opts> = Result<Opts>[];\nexport type FileTypes<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? true : Opts extends GlobOptionsWithFileTypesFalse ? false : Opts extends GlobOptionsWithFileTypesUnset ? false : boolean;\n/**\n * An object that can perform glob pattern traversals.\n */\nexport declare class Glob<Opts extends GlobOptions> implements GlobOptions {\n absolute?: boolean;\n cwd: string;\n root?: string;\n dot: boolean;\n dotRelative: boolean;\n follow: boolean;\n ignore?: string | string[] | IgnoreLike;\n magicalBraces: boolean;\n mark?: boolean;\n matchBase: boolean;\n maxDepth: number;\n nobrace: boolean;\n nocase: boolean;\n nodir: boolean;\n noext: boolean;\n noglobstar: boolean;\n pattern: string[];\n platform: NodeJS.Platform;\n realpath: boolean;\n scurry: PathScurry;\n stat: boolean;\n signal?: AbortSignal;\n windowsPathsNoEscape: boolean;\n withFileTypes: FileTypes<Opts>;\n includeChildMatches: boolean;\n /**\n * The options provided to the constructor.\n */\n opts: Opts;\n /**\n * An array of parsed immutable {@link Pattern} objects.\n */\n patterns: Pattern[];\n /**\n * All options are stored as properties on the `Glob` object.\n *\n * See {@link GlobOptions} for full options descriptions.\n *\n * Note that a previous `Glob` object can be passed as the\n * `GlobOptions` to another `Glob` instantiation to re-use settings\n * and caches with a new pattern.\n *\n * Traversal functions can be called multiple times to run the walk\n * again.\n */\n constructor(pattern: string | string[], opts: Opts);\n /**\n * Returns a Promise that resolves to the results array.\n */\n walk(): Promise<Results<Opts>>;\n /**\n * synchronous {@link Glob.walk}\n */\n walkSync(): Results<Opts>;\n /**\n * Stream results asynchronously.\n */\n stream(): Minipass<Result<Opts>, Result<Opts>>;\n /**\n * Stream results synchronously.\n */\n streamSync(): Minipass<Result<Opts>, Result<Opts>>;\n /**\n * Default sync iteration function. Returns a Generator that\n * iterates over the results.\n */\n iterateSync(): Generator<Result<Opts>, void, void>;\n [Symbol.iterator](): Generator<Result<Opts>, void, void>;\n /**\n * Default async iteration function. Returns an AsyncGenerator that\n * iterates over the results.\n */\n iterate(): AsyncGenerator<Result<Opts>, void, void>;\n [Symbol.asyncIterator](): AsyncGenerator<Result<Opts>, void, void>;\n}\n//# sourceMappingURL=glob.d.ts.map",
|
|
11708
11708
|
"node_modules/@nestia/core/node_modules/glob/dist/commonjs/has-magic.d.ts": "import { GlobOptions } from './glob.js';\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport declare const hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean;\n//# sourceMappingURL=has-magic.d.ts.map",
|
|
@@ -11741,7 +11741,7 @@
|
|
|
11741
11741
|
"node_modules/@nestia/e2e/lib/index.d.ts": "import * as e2e from \"./module\";\nexport default e2e;\nexport * from \"./module\";\n",
|
|
11742
11742
|
"node_modules/@nestia/e2e/lib/internal/json_equal_to.d.ts": "export declare const json_equal_to: (exception: (key: string) => boolean) => <T>(x: T) => (y: T | null | undefined) => string[];\n",
|
|
11743
11743
|
"node_modules/@nestia/e2e/lib/module.d.ts": "export * from \"./ArrayUtil\";\nexport * from \"./MapUtil\";\nexport * from \"./RandomGenerator\";\nexport * from \"./DynamicExecutor\";\nexport * from \"./GaffComparator\";\nexport * from \"./TestValidator\";\n",
|
|
11744
|
-
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"9.0.
|
|
11744
|
+
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"9.0.1\",\n \"description\": \"E2E test utilify functions\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"scripts\": {\n \"build\": \"npm run build:main && npm run build:test\",\n \"build:main\": \"rimraf lib && tsc\",\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\n \"dev\": \"npm run build:test -- --watch\",\n \"eslint\": \"eslint src && eslint test\",\n \"prepare\": \"ts-patch install && typia patch\",\n \"test\": \"node bin/test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"e2e\",\n \"nestia\",\n \"nestjs\",\n \"test\",\n \"tdd\",\n \"utility\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"devDependencies\": {\n \"@trivago/prettier-plugin-sort-imports\": \"^4.0.0\",\n \"@types/node\": \"^18.11.18\",\n \"@typescript-eslint/eslint-plugin\": \"^5.57.0\",\n \"@typescript-eslint/parser\": \"^5.57.0\",\n \"rimraf\": \"^6.0.1\",\n \"ts-node\": \"^10.9.1\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript\": \"~5.9.3\",\n \"typescript-transform-paths\": \"^3.4.7\",\n \"typia\": \"^10.0.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11745
11745
|
"node_modules/@nestia/editor/lib/NestiaEditorApplication.d.ts": "export declare function NestiaEditorApplication(): import(\"react/jsx-runtime\").JSX.Element;\n",
|
|
11746
11746
|
"node_modules/@nestia/editor/lib/NestiaEditorIframe.d.ts": "import { OpenApiV3, OpenApiV3_1, SwaggerV2 } from \"@samchon/openapi\";\nexport declare function NestiaEditorIframe(props: NestiaEditorIframe.IProps): import(\"react/jsx-runtime\").JSX.Element;\nexport declare namespace NestiaEditorIframe {\n interface IProps {\n swagger: string | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument;\n package?: string;\n keyword?: boolean;\n simulate?: boolean;\n e2e?: boolean;\n }\n}\n",
|
|
11747
11747
|
"node_modules/@nestia/editor/lib/NestiaEditorModule.d.ts": "import type { OpenApiV3, OpenApiV3_1, SwaggerV2 } from \"@samchon/openapi\";\nexport declare namespace NestiaEditorModule {\n const setup: (props: {\n path: string;\n application: INestApplication;\n swagger: string | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument;\n package?: string;\n simulate?: boolean;\n e2e?: boolean;\n }) => Promise<void>;\n}\ninterface INestApplication {\n use(...args: any[]): this;\n getUrl(): Promise<string>;\n getHttpAdapter(): INestHttpAdaptor;\n setGlobalPrefix(prefix: string, options?: any): this;\n}\ninterface INestHttpAdaptor {\n getType(): string;\n close(): any;\n init?(): Promise<void>;\n get: Function;\n post: Function;\n put: Function;\n patch: Function;\n delete: Function;\n head: Function;\n all: Function;\n}\nexport {};\n",
|
|
@@ -11750,7 +11750,7 @@
|
|
|
11750
11750
|
"node_modules/@nestia/editor/lib/internal/NestiaEditorComposer.d.ts": "import { OpenApiV3, OpenApiV3_1, SwaggerV2 } from \"@samchon/openapi\";\nimport { IValidation } from \"typia\";\nexport declare namespace NestiaEditorComposer {\n interface IProps {\n document: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument;\n e2e: boolean;\n keyword: boolean;\n simulate: boolean;\n package?: string;\n }\n interface IOutput {\n files: Record<string, string>;\n openFile: string;\n startScript: string[];\n }\n const nest: (props: IProps) => Promise<IValidation<IOutput>>;\n const sdk: (props: IProps) => Promise<IValidation<IOutput>>;\n}\n",
|
|
11751
11751
|
"node_modules/@nestia/editor/lib/internal/NestiaEditorFileUploader.d.ts": "import { OpenApiV3, OpenApiV3_1, SwaggerV2 } from \"@samchon/openapi\";\nexport declare function NestiaEditorFileUploader(props: NestiaEditorFileUploader.IProps): import(\"react/jsx-runtime\").JSX.Element;\nexport declare namespace NestiaEditorFileUploader {\n interface IProps {\n onChange: (swagger: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | null, error: string | null) => void;\n }\n}\n",
|
|
11752
11752
|
"node_modules/@nestia/editor/lib/main.d.ts": "export {};\n",
|
|
11753
|
-
"node_modules/@nestia/editor/package.json": "{\n \"name\": \"@nestia/editor\",\n \"version\": \"9.0.
|
|
11753
|
+
"node_modules/@nestia/editor/package.json": "{\n \"name\": \"@nestia/editor\",\n \"version\": \"9.0.1\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"typings\": \"lib/index.d.ts\",\n \"description\": \"Swagger-UI + Cloud TypeScript Editor\",\n \"scripts\": {\n \"build\": \"npm run build:static && npm run build:lib\",\n \"build:static\": \"rimraf dist && tsc -b && vite build\",\n \"build:lib\": \"rimraf lib && tsc --project tsconfig.lib.json && rollup -c\",\n \"dev\": \"vite\",\n \"lint\": \"eslint .\",\n \"preview\": \"vite preview\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"openapi\",\n \"swagger\",\n \"generator\",\n \"cloud\",\n \"typescript\",\n \"editor\",\n \"sdk\",\n \"nestjs\",\n \"nestia\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"dependencies\": {\n \"@mui/material\": \"^5.15.6\",\n \"@nestia/migrate\": \"^9.0.1\",\n \"@samchon/openapi\": \"^5.0.0\",\n \"@stackblitz/sdk\": \"^1.11.0\",\n \"@trivago/prettier-plugin-sort-imports\": \"^5.2.2\",\n \"js-yaml\": \"^4.1.0\",\n \"prettier\": \"3.3.3\",\n \"prettier-plugin-jsdoc\": \"^1.3.2\",\n \"react-mui-fileuploader\": \"^0.5.2\",\n \"typia\": \"^10.0.0\"\n },\n \"devDependencies\": {\n \"@eslint/js\": \"^9.13.0\",\n \"@nestjs/common\": \"^11.0.13\",\n \"@nestjs/core\": \"^11.0.13\",\n \"@nestjs/platform-express\": \"^11.0.13\",\n \"@nestjs/platform-fastify\": \"^11.0.13\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^12.1.1\",\n \"@types/js-yaml\": \"^4.0.9\",\n \"@types/node\": \"^22.8.6\",\n \"@types/react\": \"^18.3.11\",\n \"@types/react-dom\": \"^18.3.1\",\n \"@vitejs/plugin-react\": \"^4.3.3\",\n \"eslint\": \"^9.13.0\",\n \"eslint-plugin-react-hooks\": \"^5.0.0\",\n \"eslint-plugin-react-refresh\": \"^0.4.13\",\n \"globals\": \"^15.11.0\",\n \"react\": \"^18.3.1\",\n \"react-dom\": \"^18.3.1\",\n \"rollup\": \"^4.24.2\",\n \"ts-node\": \"^10.9.2\",\n \"typescript\": \"~5.9.3\",\n \"typescript-eslint\": \"^8.10.0\",\n \"vite\": \"^5.4.9\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"dist\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
11754
11754
|
"node_modules/@nestia/editor/src/vite-env.d.ts": "/// <reference types=\"vite/client\" />\n",
|
|
11755
11755
|
"node_modules/@nestia/fetcher/lib/AesPkcs5.d.ts": "/**\n * Utility class for the AES-128/256 encryption.\n *\n * - AES-128/256\n * - CBC mode\n * - PKCS#5 Padding\n * - Base64 Encoding\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace AesPkcs5 {\n /**\n * Encrypt data\n *\n * @param data Target data\n * @param key Key value of the encryption.\n * @param iv Initializer Vector for the encryption\n * @returns Encrypted data\n */\n function encrypt(data: string, key: string, iv: string): string;\n /**\n * Decrypt data.\n *\n * @param data Target data\n * @param key Key value of the decryption.\n * @param iv Initializer Vector for the decryption\n * @returns Decrypted data.\n */\n function decrypt(data: string, key: string, iv: string): string;\n}\n",
|
|
11756
11756
|
"node_modules/@nestia/fetcher/lib/EncryptedFetcher.d.ts": "import { IConnection } from \"./IConnection\";\nimport { IFetchRoute } from \"./IFetchRoute\";\nimport { IPropagation } from \"./IPropagation\";\n/**\n * Utility class for `fetch` functions used in `@nestia/sdk` with encryption.\n *\n * `EncryptedFetcher` is a utility class designed for SDK functions generated by\n * [`@nestia/sdk`](https://nestia.io/docs/sdk/sdk), interacting with the remote\n * HTTP API encrypted by AES-PKCS algorithm. In other words, this is a\n * collection of dedicated `fetch()` functions for `@nestia/sdk` with\n * encryption.\n *\n * For reference, `EncryptedFetcher` class being used only when target\n * controller method is encrypting body data by `@EncryptedRoute` or\n * `@EncryptedBody` decorators. If those decorators are not used,\n * {@link PlainFetcher} class would be used instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace EncryptedFetcher {\n /**\n * Fetch function only for `HEAD` method.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Nothing because of `HEAD` method\n */\n function fetch(connection: IConnection, route: IFetchRoute<\"HEAD\">): Promise<void>;\n /**\n * Fetch function only for `GET` method.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Response body data from the remote API\n */\n function fetch<Output>(connection: IConnection, route: IFetchRoute<\"GET\">): Promise<Output>;\n /**\n * Fetch function for the `POST`, `PUT`, `PATCH` and `DELETE` methods.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Response body data from the remote API\n */\n function fetch<Input, Output>(connection: IConnection, route: IFetchRoute<\"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\">, input?: Input, stringify?: (input: Input) => string): Promise<Output>;\n function propagate<Output extends IPropagation<any, any>>(connection: IConnection, route: IFetchRoute<\"GET\" | \"HEAD\">): Promise<Output>;\n function propagate<Input, Output extends IPropagation<any, any>>(connection: IConnection, route: IFetchRoute<\"DELETE\" | \"GET\" | \"HEAD\" | \"PATCH\" | \"POST\" | \"PUT\">, input?: Input, stringify?: (input: Input) => string): Promise<Output>;\n}\n",
|
|
@@ -11766,7 +11766,7 @@
|
|
|
11766
11766
|
"node_modules/@nestia/fetcher/lib/PlainFetcher.d.ts": "import { IConnection } from \"./IConnection\";\nimport { IFetchRoute } from \"./IFetchRoute\";\nimport { IPropagation } from \"./IPropagation\";\n/**\n * Utility class for `fetch` functions used in `@nestia/sdk`.\n *\n * `PlainFetcher` is a utility class designed for SDK functions generated by\n * [`@nestia/sdk`](https://nestia.io/docs/sdk/sdk), interacting with the remote\n * HTTP sever API. In other words, this is a collection of dedicated `fetch()`\n * functions for `@nestia/sdk`.\n *\n * For reference, `PlainFetcher` class does not encrypt or decrypt the body data\n * at all. It just delivers plain data without any post processing. If you've\n * defined a controller method through `@EncryptedRoute` or `@EncryptedBody`\n * decorator, then {@liink EncryptedFetcher} class would be used instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace PlainFetcher {\n /**\n * Fetch function only for `HEAD` method.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Nothing because of `HEAD` method\n */\n function fetch(connection: IConnection, route: IFetchRoute<\"HEAD\">): Promise<void>;\n /**\n * Fetch function only for `GET` method.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Response body data from the remote API\n */\n function fetch<Output>(connection: IConnection, route: IFetchRoute<\"GET\">): Promise<Output>;\n /**\n * Fetch function for the `POST`, `PUT`, `PATCH` and `DELETE` methods.\n *\n * @param connection Connection information for the remote HTTP server\n * @param route Route information about the target API\n * @returns Response body data from the remote API\n */\n function fetch<Input, Output>(connection: IConnection, route: IFetchRoute<\"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\">, input?: Input, stringify?: (input: Input) => string): Promise<Output>;\n function propagate<Output extends IPropagation<any, any>>(connection: IConnection, route: IFetchRoute<\"GET\" | \"HEAD\">): Promise<Output>;\n function propagate<Input, Output extends IPropagation<any, any>>(connection: IConnection, route: IFetchRoute<\"DELETE\" | \"GET\" | \"HEAD\" | \"PATCH\" | \"POST\" | \"PUT\">, input?: Input, stringify?: (input: Input) => string): Promise<Output>;\n}\n",
|
|
11767
11767
|
"node_modules/@nestia/fetcher/lib/index.d.ts": "export * from \"./FormDataInput\";\nexport * from \"./HttpError\";\nexport * from \"./IConnection\";\nexport * from \"./IEncryptionPassword\";\nexport * from \"./IFetchEvent\";\nexport * from \"./IFetchRoute\";\nexport * from \"./IPropagation\";\n",
|
|
11768
11768
|
"node_modules/@nestia/fetcher/lib/internal/FetcherBase.d.ts": "export {};\n",
|
|
11769
|
-
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"9.0.
|
|
11769
|
+
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"9.0.1\",\n \"description\": \"Fetcher library of Nestia SDK\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"scripts\": {\n \"build\": \"rimraf lib && tsc\",\n \"dev\": \"tsc -p tsconfig.test.json --watch\",\n \"eslint\": \"eslint src\",\n \"eslint:fix\": \"eslint src --fix\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"nestia\",\n \"fetcher\",\n \"sdk\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"dependencies\": {\n \"@samchon/openapi\": \"^5.0.0\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^18.11.14\",\n \"@typescript-eslint/eslint-plugin\": \"^5.46.1\",\n \"@typescript-eslint/parser\": \"^5.46.1\",\n \"rimraf\": \"^6.0.1\",\n \"typescript\": \"~5.9.3\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
11770
11770
|
"node_modules/@nestia/migrate/lib/NestiaMigrateApplication.d.ts": "import { IHttpMigrateApplication, OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from \"@samchon/openapi\";\nimport { IValidation } from \"typia\";\nimport { INestiaMigrateConfig } from \"./structures/INestiaMigrateConfig\";\nimport { INestiaMigrateContext } from \"./structures/INestiaMigrateContext\";\nimport { INestiaMigrateFile } from \"./structures/INestiaMigrateFile\";\nexport declare class NestiaMigrateApplication {\n readonly document: OpenApi.IDocument;\n private readonly data_;\n constructor(document: OpenApi.IDocument);\n static assert(document: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument): NestiaMigrateApplication;\n static validate(document: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument): IValidation<NestiaMigrateApplication>;\n getData(): IHttpMigrateApplication;\n /** @deprecated */\n getErrors(): IHttpMigrateApplication.IError[];\n nest(config: INestiaMigrateConfig): Record<string, string>;\n sdk(config: INestiaMigrateConfig): Record<string, string>;\n}\nexport declare namespace MigrateApplication {\n interface IOutput {\n context: INestiaMigrateContext;\n files: INestiaMigrateFile[];\n errors: IHttpMigrateApplication.IError[];\n }\n}\n",
|
|
11771
11771
|
"node_modules/@nestia/migrate/lib/analyzers/NestiaMigrateControllerAnalyzer.d.ts": "import { IHttpMigrateRoute } from \"@samchon/openapi\";\nimport { INestiaMigrateController } from \"../structures/INestiaMigrateController\";\nexport declare namespace NestiaMigrateControllerAnalyzer {\n const analyze: (routes: IHttpMigrateRoute[]) => INestiaMigrateController[];\n}\n",
|
|
11772
11772
|
"node_modules/@nestia/migrate/lib/archivers/NestiaMigrateFileArchiver.d.ts": "export declare namespace NestiaMigrateFileArchiver {\n const archive: (props: {\n mkdir: (path: string) => Promise<void>;\n writeFile: (path: string, content: string) => Promise<void>;\n root: string;\n files: Record<string, string>;\n }) => Promise<void>;\n}\n",
|
|
@@ -11806,7 +11806,7 @@
|
|
|
11806
11806
|
"node_modules/@nestia/migrate/lib/utils/StringUtil.d.ts": "export declare namespace StringUtil {\n const capitalize: (str: string) => string;\n const splitWithNormalization: (path: string) => string[];\n const escapeDuplicate: (keep: string[]) => (change: string) => string;\n const escapeNonVariable: (str: string) => string;\n}\n",
|
|
11807
11807
|
"node_modules/@nestia/migrate/lib/utils/openapi-down-convert/RefVisitor.d.ts": "/**\n * Recursively walk a JSON object and invoke a callback function on each `{\n * \"$ref\" : \"path\" }` object found\n */\n/**\n * Represents a JSON Reference object, such as `{\"$ref\":\n * \"#/components/schemas/problemResponse\" }`\n */\nexport interface RefObject {\n $ref: string;\n}\n/** JsonNode represents a node within the OpenAPI object */\nexport type JsonNode = object | [] | string | boolean | null | number;\n/** A JSON Schema object in an API def */\nexport type SchemaObject = object;\n/** Function signature for the visitRefObjects callback */\nexport type RefVisitor = (node: RefObject) => JsonNode;\n/** Function signature for the visitSchemaObjects callback */\nexport type SchemaVisitor = (node: SchemaObject) => SchemaObject;\n/** /** Function signature for the walkObject callback */\nexport type ObjectVisitor = (node: object) => JsonNode;\n/** Test if a JSON node is a `{ $ref: \"uri\" }` object */\nexport declare function isRef(node: any): boolean;\n/**\n * Walk a JSON object and apply `schemaCallback` when a JSON schema is found.\n * JSON Schema objects are items in components/schemas or in an item named\n * `schema`\n *\n * @param node A node in the OpenAPI document\n * @param schemaCallback The function to call on JSON schema objects\n * @returns The modified (annotated) node\n */\nexport declare function visitSchemaObjects(node: any, schemaCallback: SchemaVisitor): any;\n/**\n * Walk a JSON object and apply `refCallback` when a JSON `{$ref: url }` is\n * found\n *\n * @param node A node in the OpenAPI document\n * @param refCallback The function to call on JSON `$ref` objects\n * @returns The modified (annotated) node\n */\nexport declare function visitRefObjects(node: any, refCallback: RefVisitor): any;\n/**\n * Walk a JSON object or array and apply objectCallback when a JSON object is\n * found\n *\n * @param node A node in the OpenAPI document\n * @param objectCallback The function to call on JSON objects\n * @param nav Tracks where we are in the original document\n * @returns The modified (annotated) node\n */\nexport declare function walkObject(node: object, objectCallback: ObjectVisitor): JsonNode;\n",
|
|
11808
11808
|
"node_modules/@nestia/migrate/lib/utils/openapi-down-convert/converter.d.ts": "/** Options for the converter instantiation */\nexport interface ConverterOptions {\n /** If `true`, log conversion transformations to stderr */\n verbose?: boolean;\n /**\n * If `true`, remove `id` values in schema examples, to bypass [Spectral issue\n * 2081](https://github.com/stoplightio/spectral/issues/2081)\n */\n deleteExampleWithId?: boolean;\n /** If `true`, replace a `$ref` object that has siblings into an `allOf` */\n allOfTransform?: boolean;\n /** The authorizationUrl for openIdConnect -> oauth2 transformation */\n authorizationUrl?: string;\n /** The tokenUrl for openIdConnect -> oauth2 transformation */\n tokenUrl?: string;\n /**\n * Name of YAML/JSON file with scope descriptions. This is a simple map in the\n * format `{ scope1: \"description of scope1\", ... }`\n */\n scopeDescriptionFile?: string;\n /**\n * Earlier versions of the tool converted $comment to x-comment in JSON\n * Schemas. The tool now deletes $comment values by default. Use this option\n * to preserve the conversion and not delete comments.\n */\n convertSchemaComments?: boolean;\n}\nexport declare class Converter {\n private openapi30;\n private verbose;\n private deleteExampleWithId;\n private allOfTransform;\n private authorizationUrl;\n /** The tokenUrl for openIdConnect -> oauth2 transformation */\n private tokenUrl;\n private scopeDescriptions;\n private convertSchemaComments;\n private returnCode;\n /**\n * Construct a new Converter\n *\n * @throws Error if the scopeDescriptionFile (if specified) cannot be read or\n * parsed as YAML/JSON\n */\n constructor(openapiDocument: object, options?: ConverterOptions);\n /**\n * Load the scopes.yaml file and save in this.scopeDescriptions\n *\n * @throws Error if the file cannot be read or parsed as YAML/JSON\n */\n private loadScopeDescriptions;\n /**\n * Log a message to console.warn stream if verbose is true\n *\n * @param message Parameters for console.warn\n */\n private log;\n /**\n * Log a message to console.warn stream. Prefix the message string with\n * `Warning: ` if it does not already have that text.\n *\n * @param message Parameters for console.warn\n */\n private warn;\n /**\n * Log an error message to `console.error` stream. Prefix the message string\n * with `Error: ` if it does not already start with `'Error'`. Increments the\n * `returnCode`, causing the CLI to throw an Error when done.\n *\n * @param message Parameters for `console.error`\n */\n private error;\n /**\n * Convert the OpenAPI document to 3.0\n *\n * @returns The converted document. The input is not modified.\n */\n convert(): object;\n /**\n * OpenAPI 3.1 uses JSON Schema 2020-12 which allows schema `examples`;\n * OpenAPI 3.0 uses JSON Scheme Draft 7 which only allows `example`. Replace\n * all `examples` with `example`, using `examples[0]`\n */\n convertJsonSchemaExamples(): void;\n private walkNestedSchemaObjects;\n /**\n * OpenAPI 3.1 uses JSON Schema 2020-12 which allows `const` OpenAPI 3.0 uses\n * JSON Scheme Draft 7 which only allows `enum`. Replace all `const: value`\n * with `enum: [ value ]`\n */\n convertConstToEnum(): void;\n /**\n * Convert 2-element type arrays containing 'null' to string type and\n * `nullable: true`\n */\n convertNullableTypeArray(): void;\n removeWebhooksObject(): void;\n removeUnsupportedSchemaKeywords(): void;\n renameSchema$comment(): void;\n private deleteSchema$comment;\n /**\n * Convert\n *\n * contentMediaType: \"application/octet-stream\";\n *\n * To\n *\n * format: binary;\n *\n * In `type: string` schemas. Warn if schema has a `format` already and it is\n * not `binary`.\n */\n convertJsonSchemaContentMediaType(): void;\n /**\n * Convert\n *\n * contentEncoding: base64;\n *\n * To\n *\n * format: byte;\n *\n * In `type: string` schemas. It is an error if the schema has a `format`\n * already and it is not `byte`.\n */\n convertJsonSchemaContentEncoding(): void;\n private json;\n /**\n * OpenAPI 3.1 defines a new `openIdConnect` security scheme. Down-convert the\n * scheme to `oauth2` / authorization code flow. Collect all the scopes used\n * in any security requirements within operations and add them to the scheme.\n * Also define the URLs to the `authorizationUrl` and `tokenUrl` of `oauth2`.\n */\n convertSecuritySchemes(): void;\n /**\n * Find remaining OpenAPI 3.0 [Reference\n * Objects](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#referenceObject)\n * and down convert them to [JSON\n * Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03)\n * objects with _only_ a `$ref` property.\n */\n simplifyNonSchemaRef(): void;\n removeLicenseIdentifier(): void;\n convertSchemaRef(): void;\n static deepClone(obj: object): object;\n}\n",
|
|
11809
|
-
"node_modules/@nestia/migrate/package.json": "{\n \"name\": \"@nestia/migrate\",\n \"version\": \"9.0.
|
|
11809
|
+
"node_modules/@nestia/migrate/package.json": "{\n \"name\": \"@nestia/migrate\",\n \"version\": \"9.0.1\",\n \"description\": \"Migration program from swagger to NestJS\",\n \"typings\": \"lib/index.d.ts\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"bin\": {\n \"@nestia/migrate\": \"lib/executable/migrate.js\"\n },\n \"scripts\": {\n \"build\": \"rimraf lib && tsc && rollup -c\",\n \"bundle\": \"node src/executable/bundle.js\",\n \"dev\": \"rimraf lib && tsc --watch\",\n \"package:next\": \"npm publish --access public --tag next\",\n \"prepare\": \"ts-patch install && typia patch && npm run bundle\",\n \"test\": \"node lib/test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"migration\",\n \"swagger\",\n \"openapi generator\",\n \"NestJS\",\n \"nestia\",\n \"SDK\",\n \"RPC\",\n \"Mockup Simulator\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"devDependencies\": {\n \"@nestia/benchmark\": \"^9.0.1\",\n \"@nestia/core\": \"^9.0.1\",\n \"@nestia/e2e\": \"^9.0.1\",\n \"@nestia/fetcher\": \"^9.0.1\",\n \"@nestia/sdk\": \"^9.0.1\",\n \"@nestjs/common\": \"^11.0.13\",\n \"@nestjs/core\": \"^11.0.13\",\n \"@nestjs/platform-express\": \"^11.0.13\",\n \"@nestjs/platform-fastify\": \"^11.0.13\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^12.1.1\",\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\n \"@types/cli-progress\": \"^3.11.5\",\n \"@types/express\": \"^4.17.21\",\n \"@types/inquirer\": \"^9.0.7\",\n \"@types/multer\": \"^1.4.12\",\n \"@types/node\": \"^20.3.3\",\n \"@types/swagger-ui-express\": \"^4.1.6\",\n \"chalk\": \"4.1.2\",\n \"cli-progress\": \"^3.12.0\",\n \"dotenv\": \"^16.3.1\",\n \"dotenv-expand\": \"^10.0.0\",\n \"express\": \"^4.19.2\",\n \"multer\": \"^2.0.2\",\n \"rimraf\": \"^6.0.1\",\n \"rollup\": \"^4.24.3\",\n \"serialize-error\": \"^4.1.0\",\n \"source-map-support\": \"^0.5.21\",\n \"swagger-ui-express\": \"^5.0.0\",\n \"tgrid\": \"^1.1.0\",\n \"ts-node\": \"^10.9.1\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript-transform-paths\": \"^3.5.2\"\n },\n \"dependencies\": {\n \"@samchon/openapi\": \"^5.0.0\",\n \"commander\": \"10.0.0\",\n \"inquirer\": \"8.2.5\",\n \"prettier\": \"^3.3.3\",\n \"prettier-plugin-jsdoc\": \"^1.3.2\",\n \"tstl\": \"^3.0.0\",\n \"typescript\": \"~5.9.3\",\n \"typia\": \"^10.0.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"!lib/test\",\n \"!src/test\",\n \"package.json\",\n \"README.md\",\n \"LICENSE\"\n ]\n}",
|
|
11810
11810
|
"node_modules/@nestia/sdk/lib/INestiaConfig.d.ts": "import type { INestApplication } from \"@nestjs/common\";\nimport type { OpenApi } from \"@samchon/openapi\";\n/**\n * Definition for the `nestia.config.ts` file.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport interface INestiaConfig {\n /**\n * Accessor of controller classes.\n *\n * You can specify target controller classes within two ways.\n *\n * - Asynchronous function returning `INestApplication` instance\n * - Specify the path or directory of controller class files\n */\n input: (() => Promise<INestApplication>) | INestiaConfig.IInput | string[] | string;\n /**\n * Building `swagger.json` is also possible.\n *\n * If not specified, you can't build the `swagger.json`.\n */\n swagger?: INestiaConfig.ISwaggerConfig;\n /**\n * Response directory that SDK would be placed in.\n *\n * If not configured, you can't build the SDK library.\n */\n output?: string;\n /**\n * Target directory that SDK distribution files would be placed in.\n *\n * If you configure this property and runs `npx nestia sdk` command,\n * distribution environments for the SDK library would be generated.\n *\n * After the SDK library generation, move to the `distribute` directory, and\n * runs `npm publish` command, then you can share SDK library with other\n * client (frontend) developers.\n *\n * Recommend to use `\"packages/api\"` value.\n */\n distribute?: string;\n /** @default false */\n keyword?: boolean;\n /**\n * Allow simulation mode.\n *\n * If you configure this property to be `true`, the SDK library would be\n * contain simulation mode. In the simulation mode, the SDK library would not\n * communicate with the real backend server, but just returns random mock-up\n * data with requestion data validation.\n *\n * For reference, random mock-up data would be generated by\n * `typia.random<T>()` function.\n *\n * @default false\n */\n simulate?: boolean;\n /**\n * Target directory that e2e test functions would be placed in.\n *\n * If you configure this property and runs `npx nestia e2e` command,\n * `@nestia/sdk` will analyze your NestJS backend server code, and generates\n * e2e test functions for every API endpoints.\n *\n * If not configured, you can't run `npx nestia e2e` command.\n */\n e2e?: string;\n /**\n * Whether to use propagation mode or not.\n *\n * If being configured, interaction functions of the SDK library would perform\n * the propagation mode. The propagation mode means that never throwing\n * exception even when status code is not 200 (or 201), but just returning the\n * {@link IPropagation} typed instance, which can specify its body type through\n * discriminated union determined by status code.\n *\n * @default false\n */\n propagate?: boolean;\n /**\n * Whether to clone DTO structures or not.\n *\n * If being configured, all of DTOs used in the backend server would be cloned\n * into the `structures` directory, and the SDK library would be refer to the\n * cloned DTOs instead of the original.\n *\n * @default false\n */\n clone?: boolean;\n /**\n * Whether to wrap DTO by primitive type.\n *\n * If you don't configure this property as `false`, all of DTOs in the SDK\n * library would be automatically wrapped by {@link Primitive} type.\n *\n * For refenrece, if a DTO type be capsuled by the {@link Primitive} type, all\n * of methods in the DTO type would be automatically erased. Also, if the DTO\n * has a `toJSON()` method, the DTO type would be automatically converted to\n * return type of the `toJSON()` method.\n *\n * @default true\n */\n primitive?: boolean;\n /**\n * Whether to assert parameter types or not.\n *\n * If you configure this property to be `true`, all of the function parameters\n * of SDK library would be checked through [`typia.assert<T>()`\n * function](https://typia.io/docs/validators/assert/).\n *\n * This option would make your SDK library compilation time a little bit\n * slower, but would enahcne the type safety even in the runtime level.\n *\n * @default false\n */\n assert?: boolean;\n /**\n * Whether to optimize JSON string conversion 10x faster or not.\n *\n * If you configure this property to be `true`, the SDK library would utilize\n * the [`typia.assertStringify<T>()\n * function`](https://github.com/samchon/typia#enhanced-json) to boost up JSON\n * serialization speed and ensure type safety.\n *\n * This option would make your SDK library compilation time a little bit\n * slower, but would enhance JSON serialization speed 10x faster. Also, it can\n * ensure type safety even in the runtime level.\n *\n * @default false\n */\n json?: boolean;\n}\nexport declare namespace INestiaConfig {\n /**\n * List of files or directories to include or exclude to specifying the NestJS\n * controllers.\n */\n interface IInput {\n /** List of files or directories containing the NestJS controller classes. */\n include: string[];\n /** List of files or directories to be excluded. */\n exclude?: string[];\n }\n /** Building `swagger.json` is also possible. */\n interface ISwaggerConfig {\n /**\n * Response path of the `swagger.json`.\n *\n * If you've configured only directory, the file name would be the\n * `swagger.json`. Otherwise you've configured the full path with file name\n * and extension, the `swagger.json` file would be renamed to it.\n */\n output: string;\n /**\n * OpenAPI version.\n *\n * If you configure this property to be `2.0` or `3.0`, the newly generated\n * `swagger.json` file would follow the specified OpenAPI version. The newly\n * generated `swagger.json` file would be downgraded from the OpenAPI v3.1\n * specification by {@link OpenApi.downgrade} method.\n *\n * @default 3.1\n */\n openapi?: \"2.0\" | \"3.0\" | \"3.1\";\n /**\n * Whether to beautify JSON content or not.\n *\n * If you configure this property to be `true`, the `swagger.json` file\n * would be beautified with indentation (2 spaces) and line breaks. If you\n * configure numeric value instead, the indentation would be specified by\n * the number.\n *\n * @default false\n */\n beautify?: boolean | number;\n /**\n * Whether to include additional information or not.\n *\n * If configured to be `true`, those properties would be added into each API\n * endpoinnt.\n *\n * - `x-nestia-method`\n * - `x-nestia-namespace` ` `x-nestia-jsDocTags`\n *\n * @default false\n */\n additional?: boolean;\n /**\n * API information.\n *\n * If omitted, `package.json` content would be used instead.\n */\n info?: Partial<OpenApi.IDocument.IInfo>;\n /** List of server addresses. */\n servers?: OpenApi.IServer[];\n /**\n * Security schemes.\n *\n * When generating `swagger.json` file through `nestia`, if your controllers\n * or theirs methods have a security key which is not enrolled in here\n * property, it would be an error.\n */\n security?: Record<string, OpenApi.ISecurityScheme>;\n /**\n * List of tag names with description.\n *\n * It is possible to omit this property or skip some tag name even if the\n * tag name is used in the API routes. In that case, the tag name would be\n * used without description.\n *\n * Of course, if you've written a comment like `@tag {name} {description}`,\n * you can entirely replace this property specification.\n */\n tags?: OpenApi.IDocument.ITag[];\n /**\n * Decompose query DTO.\n *\n * If you configure this property to be `true`, the query DTO would be\n * decomposed into individual query parameters per each property. Otherwise\n * you set it to be `false`, the query DTO would be one object type which\n * contains all of query parameters.\n *\n * @default true\n */\n decompose?: boolean;\n /**\n * Operation ID generator.\n *\n * @param props Properties of the API endpoint.\n * @returns Operation ID.\n */\n operationId?(props: {\n class: string;\n function: string;\n method: \"HEAD\" | \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n path: string;\n }): string;\n }\n}\n",
|
|
11811
11811
|
"node_modules/@nestia/sdk/lib/NestiaSdkApplication.d.ts": "import { INestiaConfig } from \"./INestiaConfig\";\nexport declare class NestiaSdkApplication {\n private readonly config;\n constructor(config: INestiaConfig);\n all(): Promise<void>;\n e2e(): Promise<void>;\n sdk(): Promise<void>;\n swagger(): Promise<void>;\n private generate;\n}\n",
|
|
11812
11812
|
"node_modules/@nestia/sdk/lib/NestiaSwaggerComposer.d.ts": "import { INestApplication } from \"@nestjs/common\";\nimport { OpenApi, OpenApiV3, SwaggerV2 } from \"@samchon/openapi\";\nimport { INestiaConfig } from \"./INestiaConfig\";\nexport declare namespace NestiaSwaggerComposer {\n const document: (app: INestApplication, config: Omit<INestiaConfig.ISwaggerConfig, \"output\">) => Promise<OpenApi.IDocument | OpenApiV3.IDocument | SwaggerV2.IDocument>;\n}\n",
|
|
@@ -11905,7 +11905,7 @@
|
|
|
11905
11905
|
"node_modules/@nestia/sdk/lib/validators/HttpQueryValidator.d.ts": "import { MetadataFactory } from \"typia/lib/factories/MetadataFactory\";\nimport { Metadata } from \"typia/lib/schemas/metadata/Metadata\";\nexport declare namespace HttpQueryValidator {\n const validate: (meta: Metadata, explore: MetadataFactory.IExplore) => string[];\n}\n",
|
|
11906
11906
|
"node_modules/path-to-regexp/dist/index.d.ts": "/**\n * Encode a string into another string.\n */\nexport type Encode = (value: string) => string;\n/**\n * Decode a string into another string.\n */\nexport type Decode = (value: string) => string;\nexport interface ParseOptions {\n /**\n * A function for encoding input strings.\n */\n encodePath?: Encode;\n}\nexport interface PathToRegexpOptions {\n /**\n * Matches the path completely without trailing characters. (default: `true`)\n */\n end?: boolean;\n /**\n * Allows optional trailing delimiter to match. (default: `true`)\n */\n trailing?: boolean;\n /**\n * Match will be case sensitive. (default: `false`)\n */\n sensitive?: boolean;\n /**\n * The default delimiter for segments. (default: `'/'`)\n */\n delimiter?: string;\n}\nexport interface MatchOptions extends PathToRegexpOptions {\n /**\n * Function for decoding strings for params, or `false` to disable entirely. (default: `decodeURIComponent`)\n */\n decode?: Decode | false;\n}\nexport interface CompileOptions {\n /**\n * Function for encoding input strings for output into the path, or `false` to disable entirely. (default: `encodeURIComponent`)\n */\n encode?: Encode | false;\n /**\n * The default delimiter for segments. (default: `'/'`)\n */\n delimiter?: string;\n}\n/**\n * Plain text.\n */\nexport interface Text {\n type: \"text\";\n value: string;\n}\n/**\n * A parameter designed to match arbitrary text within a segment.\n */\nexport interface Parameter {\n type: \"param\";\n name: string;\n}\n/**\n * A wildcard parameter designed to match multiple segments.\n */\nexport interface Wildcard {\n type: \"wildcard\";\n name: string;\n}\n/**\n * A set of possible tokens to expand when matching.\n */\nexport interface Group {\n type: \"group\";\n tokens: Token[];\n}\n/**\n * A token that corresponds with a regexp capture.\n */\nexport type Key = Parameter | Wildcard;\n/**\n * A sequence of `path-to-regexp` keys that match capturing groups.\n */\nexport type Keys = Array<Key>;\n/**\n * A sequence of path match characters.\n */\nexport type Token = Text | Parameter | Wildcard | Group;\n/**\n * Tokenized path instance.\n */\nexport declare class TokenData {\n readonly tokens: Token[];\n constructor(tokens: Token[]);\n}\n/**\n * Parse a string for the raw tokens.\n */\nexport declare function parse(str: string, options?: ParseOptions): TokenData;\n/**\n * Compile a string to a template function for the path.\n */\nexport declare function compile<P extends ParamData = ParamData>(path: Path, options?: CompileOptions & ParseOptions): (data?: P) => string;\nexport type ParamData = Partial<Record<string, string | string[]>>;\nexport type PathFunction<P extends ParamData> = (data?: P) => string;\n/**\n * A match result contains data about the path match.\n */\nexport interface MatchResult<P extends ParamData> {\n path: string;\n params: P;\n}\n/**\n * A match is either `false` (no match) or a match result.\n */\nexport type Match<P extends ParamData> = false | MatchResult<P>;\n/**\n * The match function takes a string and returns whether it matched the path.\n */\nexport type MatchFunction<P extends ParamData> = (path: string) => Match<P>;\n/**\n * Supported path types.\n */\nexport type Path = string | TokenData;\n/**\n * Transform a path into a match function.\n */\nexport declare function match<P extends ParamData>(path: Path | Path[], options?: MatchOptions & ParseOptions): MatchFunction<P>;\nexport declare function pathToRegexp(path: Path | Path[], options?: PathToRegexpOptions & ParseOptions): {\n regexp: RegExp;\n keys: Keys;\n};\n/**\n * Stringify token data into a path string.\n */\nexport declare function stringify(data: TokenData): string;\n",
|
|
11907
11907
|
"node_modules/path-to-regexp/package.json": "{\n \"name\": \"path-to-regexp\",\n \"version\": \"8.2.0\",\n \"description\": \"Express style path to RegExp utility\",\n \"keywords\": [\n \"express\",\n \"regexp\",\n \"route\",\n \"routing\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/pillarjs/path-to-regexp.git\"\n },\n \"license\": \"MIT\",\n \"exports\": \"./dist/index.js\",\n \"main\": \"dist/index.js\",\n \"typings\": \"dist/index.d.ts\",\n \"files\": [\n \"dist/\"\n ],\n \"scripts\": {\n \"bench\": \"vitest bench\",\n \"build\": \"ts-scripts build\",\n \"format\": \"ts-scripts format\",\n \"lint\": \"ts-scripts lint\",\n \"prepare\": \"ts-scripts install && npm run build\",\n \"size\": \"size-limit\",\n \"specs\": \"ts-scripts specs\",\n \"test\": \"ts-scripts test && npm run size\"\n },\n \"devDependencies\": {\n \"@borderless/ts-scripts\": \"^0.15.0\",\n \"@size-limit/preset-small-lib\": \"^11.1.2\",\n \"@types/node\": \"^22.7.2\",\n \"@types/semver\": \"^7.3.1\",\n \"@vitest/coverage-v8\": \"^2.1.1\",\n \"recheck\": \"^4.4.5\",\n \"size-limit\": \"^11.1.2\",\n \"typescript\": \"^5.5.3\"\n },\n \"engines\": {\n \"node\": \">=16\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"size-limit\": [\n {\n \"path\": \"dist/index.js\",\n \"limit\": \"2.2 kB\"\n }\n ],\n \"ts-scripts\": {\n \"dist\": [\n \"dist\"\n ],\n \"project\": [\n \"tsconfig.build.json\"\n ]\n }\n}\n",
|
|
11908
|
-
"node_modules/@nestia/sdk/package.json": "{\n \"name\": \"@nestia/sdk\",\n \"version\": \"9.0.
|
|
11908
|
+
"node_modules/@nestia/sdk/package.json": "{\n \"name\": \"@nestia/sdk\",\n \"version\": \"9.0.1\",\n \"description\": \"Nestia SDK and Swagger generator\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"bin\": {\n \"@nestia/sdk\": \"lib/executable/sdk.js\"\n },\n \"scripts\": {\n \"build\": \"rimraf lib && tsc\",\n \"dev\": \"tsc -p tsconfig.test.json --watch\",\n \"eslint\": \"eslint ./**/*.ts\",\n \"prepare\": \"ts-patch install && typia patch\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"keywords\": [\n \"nestia\",\n \"sdk\",\n \"swagger\",\n \"generator\",\n \"nestjs\",\n \"typia\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"dependencies\": {\n \"@nestia/core\": \"^9.0.1\",\n \"@nestia/fetcher\": \"^9.0.1\",\n \"@samchon/openapi\": \"^5.0.0\",\n \"cli\": \"^1.0.1\",\n \"get-function-location\": \"^2.0.0\",\n \"glob\": \"^11.0.3\",\n \"path-to-regexp\": \"^6.2.1\",\n \"prettier\": \"^3.2.5\",\n \"ts-node\": \">=10.6.0\",\n \"tsconfck\": \"^2.1.2\",\n \"tsconfig-paths\": \"^4.1.1\",\n \"tstl\": \"^3.0.0\",\n \"typia\": \"^10.0.0\"\n },\n \"peerDependencies\": {\n \"@nestia/core\": \">=9.0.1\"\n },\n \"devDependencies\": {\n \"@nestjs/common\": \"^11.0.13\",\n \"@nestjs/core\": \"^11.0.13\",\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\n \"@types/cli\": \"^0.11.21\",\n \"@types/express\": \"^4.17.15\",\n \"@types/node\": \"^18.11.15\",\n \"@types/ts-expose-internals\": \"npm:ts-expose-internals@5.4.5\",\n \"@typescript-eslint/eslint-plugin\": \"^5.46.1\",\n \"@typescript-eslint/parser\": \"^5.46.1\",\n \"eslint\": \"^8.29.0\",\n \"eslint-plugin-deprecation\": \"^1.4.1\",\n \"rimraf\": \"^6.0.1\",\n \"tgrid\": \"^1.1.0\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript\": \"~5.9.3\",\n \"typescript-transform-paths\": \"^3.4.4\"\n },\n \"files\": [\n \"assets\",\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11909
11909
|
"node_modules/@nestia/sdk/src/typings/get-function-location.d.ts": "declare module \"get-function-location\" {\n export default function (func: any): Promise<{\n source: string;\n line: number;\n column: number;\n }>;\n}\n",
|
|
11910
11910
|
"node_modules/@nestia/sdk/node_modules/glob/dist/commonjs/glob.d.ts": "import { Minimatch } from 'minimatch';\nimport { Minipass } from 'minipass';\nimport { FSOption, Path, PathScurry } from 'path-scurry';\nimport { IgnoreLike } from './ignore.js';\nimport { Pattern } from './pattern.js';\nexport type MatchSet = Minimatch['set'];\nexport type GlobParts = Exclude<Minimatch['globParts'], undefined>;\n/**\n * A `GlobOptions` object may be provided to any of the exported methods, and\n * must be provided to the `Glob` constructor.\n *\n * All options are optional, boolean, and false by default, unless otherwise\n * noted.\n *\n * All resolved options are added to the Glob object as properties.\n *\n * If you are running many `glob` operations, you can pass a Glob object as the\n * `options` argument to a subsequent operation to share the previously loaded\n * cache.\n */\nexport interface GlobOptions {\n /**\n * Set to `true` to always receive absolute paths for\n * matched files. Set to `false` to always return relative paths.\n *\n * When this option is not set, absolute paths are returned for patterns\n * that are absolute, and otherwise paths are returned that are relative\n * to the `cwd` setting.\n *\n * This does _not_ make an extra system call to get\n * the realpath, it only does string path resolution.\n *\n * Conflicts with {@link withFileTypes}\n */\n absolute?: boolean;\n /**\n * Set to false to enable {@link windowsPathsNoEscape}\n *\n * @deprecated\n */\n allowWindowsEscape?: boolean;\n /**\n * The current working directory in which to search. Defaults to\n * `process.cwd()`.\n *\n * May be eiher a string path or a `file://` URL object or string.\n */\n cwd?: string | URL;\n /**\n * Include `.dot` files in normal matches and `globstar`\n * matches. Note that an explicit dot in a portion of the pattern\n * will always match dot files.\n */\n dot?: boolean;\n /**\n * Prepend all relative path strings with `./` (or `.\\` on Windows).\n *\n * Without this option, returned relative paths are \"bare\", so instead of\n * returning `'./foo/bar'`, they are returned as `'foo/bar'`.\n *\n * Relative patterns starting with `'../'` are not prepended with `./`, even\n * if this option is set.\n */\n dotRelative?: boolean;\n /**\n * Follow symlinked directories when expanding `**`\n * patterns. This can result in a lot of duplicate references in\n * the presence of cyclic links, and make performance quite bad.\n *\n * By default, a `**` in a pattern will follow 1 symbolic link if\n * it is not the first item in the pattern, or none if it is the\n * first item in the pattern, following the same behavior as Bash.\n */\n follow?: boolean;\n /**\n * string or string[], or an object with `ignored` and `childrenIgnored`\n * methods.\n *\n * If a string or string[] is provided, then this is treated as a glob\n * pattern or array of glob patterns to exclude from matches. To ignore all\n * children within a directory, as well as the entry itself, append `'/**'`\n * to the ignore pattern.\n *\n * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of\n * any other settings.\n *\n * If an object is provided that has `ignored(path)` and/or\n * `childrenIgnored(path)` methods, then these methods will be called to\n * determine whether any Path is a match or if its children should be\n * traversed, respectively.\n */\n ignore?: string | string[] | IgnoreLike;\n /**\n * Treat brace expansion like `{a,b}` as a \"magic\" pattern. Has no\n * effect if {@link nobrace} is set.\n *\n * Only has effect on the {@link hasMagic} function.\n */\n magicalBraces?: boolean;\n /**\n * Add a `/` character to directory matches. Note that this requires\n * additional stat calls in some cases.\n */\n mark?: boolean;\n /**\n * Perform a basename-only match if the pattern does not contain any slash\n * characters. That is, `*.js` would be treated as equivalent to\n * `**\\/*.js`, matching all js files in all directories.\n */\n matchBase?: boolean;\n /**\n * Limit the directory traversal to a given depth below the cwd.\n * Note that this does NOT prevent traversal to sibling folders,\n * root patterns, and so on. It only limits the maximum folder depth\n * that the walk will descend, relative to the cwd.\n */\n maxDepth?: number;\n /**\n * Do not expand `{a,b}` and `{1..3}` brace sets.\n */\n nobrace?: boolean;\n /**\n * Perform a case-insensitive match. This defaults to `true` on macOS and\n * Windows systems, and `false` on all others.\n *\n * **Note** `nocase` should only be explicitly set when it is\n * known that the filesystem's case sensitivity differs from the\n * platform default. If set `true` on case-sensitive file\n * systems, or `false` on case-insensitive file systems, then the\n * walk may return more or less results than expected.\n */\n nocase?: boolean;\n /**\n * Do not match directories, only files. (Note: to match\n * _only_ directories, put a `/` at the end of the pattern.)\n */\n nodir?: boolean;\n /**\n * Do not match \"extglob\" patterns such as `+(a|b)`.\n */\n noext?: boolean;\n /**\n * Do not match `**` against multiple filenames. (Ie, treat it as a normal\n * `*` instead.)\n *\n * Conflicts with {@link matchBase}\n */\n noglobstar?: boolean;\n /**\n * Defaults to value of `process.platform` if available, or `'linux'` if\n * not. Setting `platform:'win32'` on non-Windows systems may cause strange\n * behavior.\n */\n platform?: NodeJS.Platform;\n /**\n * Set to true to call `fs.realpath` on all of the\n * results. In the case of an entry that cannot be resolved, the\n * entry is omitted. This incurs a slight performance penalty, of\n * course, because of the added system calls.\n */\n realpath?: boolean;\n /**\n *\n * A string path resolved against the `cwd` option, which\n * is used as the starting point for absolute patterns that start\n * with `/`, (but not drive letters or UNC paths on Windows).\n *\n * Note that this _doesn't_ necessarily limit the walk to the\n * `root` directory, and doesn't affect the cwd starting point for\n * non-absolute patterns. A pattern containing `..` will still be\n * able to traverse out of the root directory, if it is not an\n * actual root directory on the filesystem, and any non-absolute\n * patterns will be matched in the `cwd`. For example, the\n * pattern `/../*` with `{root:'/some/path'}` will return all\n * files in `/some`, not all files in `/some/path`. The pattern\n * `*` with `{root:'/some/path'}` will return all the entries in\n * the cwd, not the entries in `/some/path`.\n *\n * To start absolute and non-absolute patterns in the same\n * path, you can use `{root:''}`. However, be aware that on\n * Windows systems, a pattern like `x:/*` or `//host/share/*` will\n * _always_ start in the `x:/` or `//host/share` directory,\n * regardless of the `root` setting.\n */\n root?: string;\n /**\n * A [PathScurry](http://npm.im/path-scurry) object used\n * to traverse the file system. If the `nocase` option is set\n * explicitly, then any provided `scurry` object must match this\n * setting.\n */\n scurry?: PathScurry;\n /**\n * Call `lstat()` on all entries, whether required or not to determine\n * if it's a valid match. When used with {@link withFileTypes}, this means\n * that matches will include data such as modified time, permissions, and\n * so on. Note that this will incur a performance cost due to the added\n * system calls.\n */\n stat?: boolean;\n /**\n * An AbortSignal which will cancel the Glob walk when\n * triggered.\n */\n signal?: AbortSignal;\n /**\n * Use `\\\\` as a path separator _only_, and\n * _never_ as an escape character. If set, all `\\\\` characters are\n * replaced with `/` in the pattern.\n *\n * Note that this makes it **impossible** to match against paths\n * containing literal glob pattern characters, but allows matching\n * with patterns constructed using `path.join()` and\n * `path.resolve()` on Windows platforms, mimicking the (buggy!)\n * behavior of Glob v7 and before on Windows. Please use with\n * caution, and be mindful of [the caveat below about Windows\n * paths](#windows). (For legacy reasons, this is also set if\n * `allowWindowsEscape` is set to the exact value `false`.)\n */\n windowsPathsNoEscape?: boolean;\n /**\n * Return [PathScurry](http://npm.im/path-scurry)\n * `Path` objects instead of strings. These are similar to a\n * NodeJS `Dirent` object, but with additional methods and\n * properties.\n *\n * Conflicts with {@link absolute}\n */\n withFileTypes?: boolean;\n /**\n * An fs implementation to override some or all of the defaults. See\n * http://npm.im/path-scurry for details about what can be overridden.\n */\n fs?: FSOption;\n /**\n * Just passed along to Minimatch. Note that this makes all pattern\n * matching operations slower and *extremely* noisy.\n */\n debug?: boolean;\n /**\n * Return `/` delimited paths, even on Windows.\n *\n * On posix systems, this has no effect. But, on Windows, it means that\n * paths will be `/` delimited, and absolute paths will be their full\n * resolved UNC forms, eg instead of `'C:\\\\foo\\\\bar'`, it would return\n * `'//?/C:/foo/bar'`\n */\n posix?: boolean;\n /**\n * Do not match any children of any matches. For example, the pattern\n * `**\\/foo` would match `a/foo`, but not `a/foo/b/foo` in this mode.\n *\n * This is especially useful for cases like \"find all `node_modules`\n * folders, but not the ones in `node_modules`\".\n *\n * In order to support this, the `Ignore` implementation must support an\n * `add(pattern: string)` method. If using the default `Ignore` class, then\n * this is fine, but if this is set to `false`, and a custom `Ignore` is\n * provided that does not have an `add()` method, then it will throw an\n * error.\n *\n * **Caveat** It *only* ignores matches that would be a descendant of a\n * previous match, and only if that descendant is matched *after* the\n * ancestor is encountered. Since the file system walk happens in\n * indeterminate order, it's possible that a match will already be added\n * before its ancestor, if multiple or braced patterns are used.\n *\n * For example:\n *\n * ```ts\n * const results = await glob([\n * // likely to match first, since it's just a stat\n * 'a/b/c/d/e/f',\n *\n * // this pattern is more complicated! It must to various readdir()\n * // calls and test the results against a regular expression, and that\n * // is certainly going to take a little bit longer.\n * //\n * // So, later on, it encounters a match at 'a/b/c/d/e', but it's too\n * // late to ignore a/b/c/d/e/f, because it's already been emitted.\n * 'a/[bdf]/?/[a-z]/*',\n * ], { includeChildMatches: false })\n * ```\n *\n * It's best to only set this to `false` if you can be reasonably sure that\n * no components of the pattern will potentially match one another's file\n * system descendants, or if the occasional included child entry will not\n * cause problems.\n *\n * @default true\n */\n includeChildMatches?: boolean;\n}\nexport type GlobOptionsWithFileTypesTrue = GlobOptions & {\n withFileTypes: true;\n absolute?: undefined;\n mark?: undefined;\n posix?: undefined;\n};\nexport type GlobOptionsWithFileTypesFalse = GlobOptions & {\n withFileTypes?: false;\n};\nexport type GlobOptionsWithFileTypesUnset = GlobOptions & {\n withFileTypes?: undefined;\n};\nexport type Result<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? Path : Opts extends GlobOptionsWithFileTypesFalse ? string : Opts extends GlobOptionsWithFileTypesUnset ? string : string | Path;\nexport type Results<Opts> = Result<Opts>[];\nexport type FileTypes<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? true : Opts extends GlobOptionsWithFileTypesFalse ? false : Opts extends GlobOptionsWithFileTypesUnset ? false : boolean;\n/**\n * An object that can perform glob pattern traversals.\n */\nexport declare class Glob<Opts extends GlobOptions> implements GlobOptions {\n absolute?: boolean;\n cwd: string;\n root?: string;\n dot: boolean;\n dotRelative: boolean;\n follow: boolean;\n ignore?: string | string[] | IgnoreLike;\n magicalBraces: boolean;\n mark?: boolean;\n matchBase: boolean;\n maxDepth: number;\n nobrace: boolean;\n nocase: boolean;\n nodir: boolean;\n noext: boolean;\n noglobstar: boolean;\n pattern: string[];\n platform: NodeJS.Platform;\n realpath: boolean;\n scurry: PathScurry;\n stat: boolean;\n signal?: AbortSignal;\n windowsPathsNoEscape: boolean;\n withFileTypes: FileTypes<Opts>;\n includeChildMatches: boolean;\n /**\n * The options provided to the constructor.\n */\n opts: Opts;\n /**\n * An array of parsed immutable {@link Pattern} objects.\n */\n patterns: Pattern[];\n /**\n * All options are stored as properties on the `Glob` object.\n *\n * See {@link GlobOptions} for full options descriptions.\n *\n * Note that a previous `Glob` object can be passed as the\n * `GlobOptions` to another `Glob` instantiation to re-use settings\n * and caches with a new pattern.\n *\n * Traversal functions can be called multiple times to run the walk\n * again.\n */\n constructor(pattern: string | string[], opts: Opts);\n /**\n * Returns a Promise that resolves to the results array.\n */\n walk(): Promise<Results<Opts>>;\n /**\n * synchronous {@link Glob.walk}\n */\n walkSync(): Results<Opts>;\n /**\n * Stream results asynchronously.\n */\n stream(): Minipass<Result<Opts>, Result<Opts>>;\n /**\n * Stream results synchronously.\n */\n streamSync(): Minipass<Result<Opts>, Result<Opts>>;\n /**\n * Default sync iteration function. Returns a Generator that\n * iterates over the results.\n */\n iterateSync(): Generator<Result<Opts>, void, void>;\n [Symbol.iterator](): Generator<Result<Opts>, void, void>;\n /**\n * Default async iteration function. Returns an AsyncGenerator that\n * iterates over the results.\n */\n iterate(): AsyncGenerator<Result<Opts>, void, void>;\n [Symbol.asyncIterator](): AsyncGenerator<Result<Opts>, void, void>;\n}\n//# sourceMappingURL=glob.d.ts.map",
|
|
11911
11911
|
"node_modules/@nestia/sdk/node_modules/glob/dist/commonjs/has-magic.d.ts": "import { GlobOptions } from './glob.js';\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport declare const hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean;\n//# sourceMappingURL=has-magic.d.ts.map",
|
|
@@ -12680,7 +12680,7 @@
|
|
|
12680
12680
|
"node_modules/@samchon/openapi/lib/utils/internal/OpenApiStringValidator.d.ts": "import { OpenApi } from \"../../OpenApi\";\nimport { IOpenApiValidatorContext } from \"./IOpenApiValidatorContext\";\nexport declare namespace OpenApiStringValidator {\n const validate: (ctx: IOpenApiValidatorContext<OpenApi.IJsonSchema.IString>) => boolean;\n}\n",
|
|
12681
12681
|
"node_modules/@samchon/openapi/lib/utils/internal/OpenApiTupleValidator.d.ts": "import { OpenApi } from \"../../OpenApi\";\nimport { IOpenApiValidatorContext } from \"./IOpenApiValidatorContext\";\nexport declare namespace OpenApiTupleValidator {\n const validate: (ctx: IOpenApiValidatorContext<OpenApi.IJsonSchema.ITuple>) => boolean;\n}\n",
|
|
12682
12682
|
"node_modules/@samchon/openapi/lib/utils/internal/OpenApiTypeCheckerBase.d.ts": "export {};\n",
|
|
12683
|
-
"node_modules/@samchon/openapi/package.json": "{\n \"name\": \"@samchon/openapi\",\n \"version\": \"5.0.
|
|
12683
|
+
"node_modules/@samchon/openapi/package.json": "{\n \"name\": \"@samchon/openapi\",\n \"version\": \"5.0.1\",\n \"description\": \"OpenAPI definitions and converters for 'typia' and 'nestia'.\",\n \"main\": \"./lib/index.js\",\n \"module\": \"./lib/index.mjs\",\n \"typings\": \"./lib/index.d.ts\",\n \"scripts\": {\n \"prepare\": \"ts-patch install\",\n \"build\": \"rimraf lib && tsc && rollup -c && ts-node build/post.ts\",\n \"dev\": \"rimraf lib && tsc --watch\",\n \"typedoc\": \"typedoc --plugin typedoc-github-theme --theme typedoc-github-theme\"\n },\n \"keywords\": [\n \"swagger\",\n \"openapi\",\n \"openapi-generator\",\n \"openapi-validator\",\n \"converter\",\n \"migrate\",\n \"typia\",\n \"nestia\",\n \"llm\",\n \"llm-function-calling\",\n \"structured-output\",\n \"openai\",\n \"chatgpt\",\n \"claude\",\n \"gemini\",\n \"llama\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/openapi\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/openapi/issues\"\n },\n \"homepage\": \"https://samchon.github.io/openapi/api\",\n \"devDependencies\": {\n \"@modelcontextprotocol/sdk\": \"^1.11.4\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^12.1.2\",\n \"@trivago/prettier-plugin-sort-imports\": \"^5.2.2\",\n \"@types/node\": \"^20.12.7\",\n \"gh-pages\": \"^6.3.0\",\n \"prettier\": \"^3.5.3\",\n \"prettier-plugin-jsdoc\": \"^1.3.2\",\n \"rimraf\": \"^5.0.5\",\n \"rollup\": \"^4.18.1\",\n \"rollup-plugin-auto-external\": \"^2.0.0\",\n \"tinyglobby\": \"^0.2.10\",\n \"ts-node\": \"^10.9.2\",\n \"ts-patch\": \"^3.3.0\",\n \"typedoc\": \"^0.27.6\",\n \"typedoc-github-theme\": \"^0.2.1\",\n \"typescript\": \"~5.8.3\"\n },\n \"sideEffects\": false,\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\"\n ],\n \"packageManager\": \"pnpm@10.5.2\",\n \"pnpm\": {\n \"executionEnv\": {\n \"nodeVersion\": \"22.14.0\"\n },\n \"onlyBuiltDependencies\": [\n \"@nestjs/core\"\n ]\n }\n}\n",
|
|
12684
12684
|
"node_modules/@scarf/scarf/package.json": "{\n \"name\": \"@scarf/scarf\",\n \"version\": \"1.4.0\",\n \"description\": \"Scarf is like Google Analytics for your npm packages. Gain insights into how your packages are installed and used, and by which companies.\",\n \"main\": \"report.js\",\n \"homepage\": \"https://github.com/scarf-sh/scarf-js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/scarf-sh/scarf-js.git\"\n },\n \"files\": [\n \"report.js\"\n ],\n \"scripts\": {\n \"postinstall\": \"node ./report.js\",\n \"test\": \"jest --verbose\"\n },\n \"author\": \"Scarf Systems\",\n \"license\": \"Apache-2.0\",\n \"devDependencies\": {\n \"jest\": \"^25.3.0\",\n \"minimist\": \"^1.2.2\",\n \"standard\": \"^14.3.1\"\n },\n \"standard\": {\n \"globals\": [\n \"expect\",\n \"test\",\n \"jest\",\n \"beforeAll\",\n \"afterAll\",\n \"fail\",\n \"describe\"\n ]\n }\n}\n",
|
|
12685
12685
|
"node_modules/@stackblitz/sdk/package.json": "{\n \"name\": \"@stackblitz/sdk\",\n \"version\": \"1.11.0\",\n \"description\": \"SDK for generating and embedding StackBlitz projects.\",\n \"license\": \"MIT\",\n \"author\": \"Eric Simons\",\n \"homepage\": \"https://github.com/stackblitz/sdk\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/stackblitz/sdk.git\"\n },\n \"main\": \"./bundles/sdk.js\",\n \"module\": \"./bundles/sdk.m.js\",\n \"unpkg\": \"./bundles/sdk.umd.js\",\n \"jsdelivr\": \"./bundles/sdk.umd.js\",\n \"types\": \"./types/index.d.ts\",\n \"files\": [\n \"bundles\",\n \"types\",\n \"CHANGELOG.md\",\n \"LICENSE.md\",\n \"README.md\"\n ],\n \"scripts\": {\n \"build\": \"npm run build:clean && npm run build:types && npm run build:lib\",\n \"build:clean\": \"rimraf bundles temp types\",\n \"build:lib\": \"vite build --mode lib\",\n \"build:types\": \"tsc -p tsconfig.lib.json\",\n \"format\": \"prettier --write 'src/**/*.ts' 'test/**/*.ts' vite.*.ts\",\n \"prepack\": \"npm run test:unit && npm run build\",\n \"start\": \"vite dev --mode dev --open /examples/\",\n \"start:e2e\": \"vite dev --mode e2e\",\n \"test\": \"vitest run --mode test --coverage\",\n \"test:unit\": \"vitest run --mode test\",\n \"test:e2e\": \"npx playwright test\",\n \"test:format\": \"npx prettier --check .\"\n },\n \"devDependencies\": {\n \"@playwright/test\": \"^1.32.2\",\n \"@rollup/plugin-replace\": \"^5.0.2\",\n \"@types/body-parser\": \"^1.19.2\",\n \"@types/lodash\": \"^4.14.192\",\n \"@vitest/coverage-c8\": \"^0.29.8\",\n \"@vitest/ui\": \"^0.29.8\",\n \"body-parser\": \"^1.20.2\",\n \"happy-dom\": \"^9.1.0\",\n \"lodash\": \"^4.17.21\",\n \"prettier\": \"^2.8.7\",\n \"rimraf\": \"^4.4.1\",\n \"typescript\": \"~4.4.4\",\n \"vite\": \"^4.2.1\",\n \"vite-tsconfig-paths\": \"^4.0.8\",\n \"vitest\": \"^0.29.8\"\n }\n}\n",
|
|
12686
12686
|
"node_modules/@stackblitz/sdk/types/connection.d.ts": "import { VM } from './vm';\nexport declare class Connection {\n element: HTMLIFrameElement;\n id: string;\n pending: Promise<VM>;\n vm?: VM;\n constructor(element: HTMLIFrameElement);\n}\nexport declare const getConnection: (identifier: string | HTMLIFrameElement) => Connection | null;\n",
|
|
@@ -14952,10 +14952,10 @@
|
|
|
14952
14952
|
"node_modules/typia/lib/internal/_validateReport.d.ts": "import { IValidation } from \"../IValidation\";\nexport declare const _validateReport: (array: IValidation.IError[]) => (exceptable: boolean, error: IValidation.IError) => false;\n",
|
|
14953
14953
|
"node_modules/typia/lib/internal/private/__notationCapitalize.d.ts": "export declare const __notationCapitalize: (str: string) => string;\n",
|
|
14954
14954
|
"node_modules/typia/lib/internal/private/__notationUnsnake.d.ts": "export declare const __notationUnsnake: (props: {\n plain: (str: string) => string;\n snake: (str: string, index: number) => string;\n}) => (str: string) => string;\n",
|
|
14955
|
-
"node_modules/typia/lib/json.d.ts": "import { IJsonSchemaCollection } from \"./schemas/json/IJsonSchemaCollection\";\nimport { IJsonSchemaUnit } from \"./schemas/json/IJsonSchemaUnit\";\nimport { IValidation } from \"./IValidation\";\nimport { Primitive } from \"./Primitive\";\nimport { TypeGuardError } from \"./TypeGuardError\";\n/**\n * > You must configure the generic argument `Types`.\n *\n * JSON Schemas Generator.\n *\n * Creates a JSON schema list which contains both main JSON schemas and\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaCollection.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema collection\n */\nexport declare function schemas(): never;\n/**\n * JSON Schemas Generator.\n *\n * Creates a JSON schema list which contains both main JSON schemas and\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaCollection.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema collection\n */\nexport declare function schemas<Types extends unknown[], Version extends \"3.0\" | \"3.1\" = \"3.1\">(): IJsonSchemaCollection<Version, Types>;\n/**\n * > You must configure the generic argument `Type`.\n *\n * JSON schema generator.\n *\n * Creates a JSON schema unit which contains a main JSON schema and its\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaUnit.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and key\n * different of `\"3.0\"` and `\"3.1\"` is whether supporting the tuple type or\n * not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Target type\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema unit\n */\nexport declare function schema(): never;\n/**\n * JSON schema generator.\n *\n * Creates a JSON schema unit which contains a main JSON schema and its\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaUnit.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and key\n * different of `\"3.0\"` and `\"3.1\"` is whether supporting the tuple type or\n * not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Target type\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema unit\n */\nexport declare function schema<Type extends unknown, Version extends \"3.0\" | \"3.1\" = \"3.1\">(): IJsonSchemaUnit<Version, Type>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with type assertion.\n *\n * `typia.json.assertParse()` is a combination function of `JSON.parse()` and\n * {@link assert}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with type assertion.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it throws {@link TypeGuardError} or custom error generated by\n * _errorFactory_. Otherwise, if there's no problem with the parsed value, the\n * parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parsed value\n */\nexport declare function assertParse(input: string, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Safe `JSON.parse()` function with type assertion.\n *\n * `typia.json.assertParse()` is a combination function of `JSON.parse()` and\n * {@link assert}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with type assertion.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it throws {@link TypeGuardError} or custom error generated by\n * _errorFactory_. Otherwise, there's no problem on the parsed value, the parsed\n * value would be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parsed value\n */\nexport declare function assertParse<T>(input: string, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Primitive<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with type checking.\n *\n * `typia.json.isParse()` is a combination function of `JSON.parse()` and\n * {@link is}. Therefore, it converts a JSON (JavaScript Object Notation) string\n * to a `T` typed instance with type checking.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns `null` value. Otherwise, there's no problem on the parsed\n * value, the parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Parsed value when exact type, otherwise `null`\n */\nexport declare function isParse(input: string): never;\n/**\n * Safe `JSON.parse()` function with type checking.\n *\n * `typia.json.isParse()` is a combination function of `JSON.parse()` and\n * {@link is}. Therefore, it converts a JSON (JavaScript Object Notation) string\n * to a `T` typed instance with type checking.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns `null` value. Otherwise, there's no problem on the parsed\n * value, the parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Parsed value when exact type, otherwise `null`\n */\nexport declare function isParse<T>(input: string): Primitive<T> | null;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with detailed type validation.\n *\n * `typia.json.validateParse()` is a combination function of `JSON.parse()` and\n * {@link validate}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with detailed type validation.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns {@link IValidation.IFailure} value with detailed error\n * reasons. Otherwise, there's no problem on the parsed value, the parsed value\n * will be stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Validation result with JSON parsed value\n */\nexport declare function validateParse(input: string): never;\n/**\n * Safe `JSON.parse()` function with detailed type validation.\n *\n * `typia.json.validateParse()` is a combination function of `JSON.parse()` and\n * {@link validate}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with detailed type validation.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns {@link IValidation.IFailure} value with detailed error\n * reasons. Otherwise, there's no problem on the parsed value, the parsed value\n * will be stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Validation result with JSON parsed value\n */\nexport declare function validateParse<T>(input: string): IValidation<Primitive<T>>;\n/**\n * 8x faster `JSON.stringify()` function.\n *\n * Converts an input value to a JSON (JavaScript Object Notation) string, about\n * 8x faster than the native `JSON.stringify()` function. The 5x faster\n * principle is because it writes an optimized JSON conversion plan, only for\n * the type `T`.\n *\n * For reference, this `typia.json.stringify()` does not validate the input\n * value type. It just believes that the input value is following the type `T`.\n * Therefore, if you can't ensure the input value type, it will be better to\n * call one of below functions instead.\n *\n * - {@link assertStringify}\n * - {@link isStringify}\n * - {@link validateStringify}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be converted\n * @returns JSON string value\n */\nexport declare function stringify<T>(input: T): string;\n/**\n * 5x faster `JSON.stringify()` function with type assertion.\n *\n * `typia.json.assertStringify()` is a combination function of {@link assert} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * returned.\n *\n * For reference, with type assertion, it is even 5x times faster than the\n * native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted and converted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns JSON string value\n */\nexport declare function assertStringify<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): string;\n/**\n * 5x faster `JSON.stringify()` function with type assertion.\n *\n * `typia.json.assertStringify()` is a combination function of {@link assert} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * returned.\n *\n * For reference, with type assertion, it is even 5x times faster than the\n * native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted and converted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns JSON string value\n */\nexport declare function assertStringify<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): unknown;\n/**\n * 7x faster `JSON.stringify()` function with type checking.\n *\n * `typia.json.stringify()` is a combination function of {@link is} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value. Otherwise, there's no problem on the `input` value,\n * JSON string will be returned.\n *\n * For reference, with type checking, it is even 7x times faster than the native\n * `JSON.stringify()` function. So, just enjoy the safe and fast JSON conversion\n * with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns JSON string value when exact type, otherwise null\n */\nexport declare function isStringify<T>(input: T): string | null;\n/**\n * 7x faster `JSON.stringify()` function with type checking.\n *\n * `typia.json.isStringify()` is a combination function of {@link is} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value. Otherwise, there's no problem on the `input` value,\n * JSON string will be returned.\n *\n * For reference, with type checking, it is even 7x times faster than the native\n * `JSON.stringify()` function. So, just enjoy the safe and fast JSON conversion\n * with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns JSON string value when exact type, otherwise null\n */\nexport declare function isStringify<T>(input: unknown): string | null;\n/**\n * 5x faster `JSON.stringify()` function with detailed type validation.\n *\n * `typia.json.validateStringify()` is a combination function of {@link validate}\n * and {@link stringify}. Therefore, it converts an input value to JSON\n * (JavaScript Object Notation) string, with detailed type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * For reference, with detailed type validation, it is even 5x times faster than\n * the native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns Validation result with JSON string value\n */\nexport declare function validateStringify<T>(input: T): IValidation<string>;\n/**\n * 5x faster `JSON.stringify()` function with detailed type validation.\n *\n * `typia.json.validateStringify()` is a combination function of {@link validate}\n * and {@link stringify}. Therefore, it converts an input value to JSON\n * (JavaScript Object Notation) string, with detailed type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * For reference, with detailed type validation, it is even 5x times faster than\n * the native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns Validation result with JSON string value\n */\nexport declare function validateStringify<T>(input: unknown): IValidation<string>;\n/**\n * Creates a reusable {@link isParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsParse(): never;\n/**\n * Creates a reusable {@link isParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @returns A reusable `isParse` function\n */\nexport declare function createIsParse<T>(): (input: string) => Primitive<T> | null;\n/**\n * Creates a reusable {@link assertParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertParse(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertParse` function\n */\nexport declare function createAssertParse<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: string) => Primitive<T>;\n/**\n * Creates a reusable {@link validateParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateParse(): never;\n/**\n * Creates a reusable {@link validateParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @returns A reusable `validateParse` function\n */\nexport declare function createValidateParse<T>(): (input: string) => IValidation<Primitive<T>>;\n/**\n * Creates a reusable {@link stringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createStringify(): never;\n/**\n * Creates a reusable {@link stringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `stringify` function\n */\nexport declare function createStringify<T>(): (input: T) => string;\n/**\n * Creates a reusable {@link assertStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertStringify(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertStringify` function\n */\nexport declare function createAssertStringify<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => string;\n/**\n * Creates a reusable {@link isStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsStringify(): never;\n/**\n * Creates a reusable {@link isStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isStringify` function\n */\nexport declare function createIsStringify<T>(): (input: unknown) => string | null;\n/**\n * Creates a reusable {@link validateStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateStringify(): never;\n/**\n * Creates a reusable {@link validateStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateStringify` function\n */\nexport declare function createValidateStringify<T>(): (input: unknown) => IValidation<string>;\n",
|
|
14955
|
+
"node_modules/typia/lib/json.d.ts": "import { IJsonSchemaApplication } from \"./schemas/json/IJsonSchemaApplication\";\nimport { IJsonSchemaCollection } from \"./schemas/json/IJsonSchemaCollection\";\nimport { IJsonSchemaUnit } from \"./schemas/json/IJsonSchemaUnit\";\nimport { IValidation } from \"./IValidation\";\nimport { Primitive } from \"./Primitive\";\nimport { TypeGuardError } from \"./TypeGuardError\";\n/**\n * > You must configure the generic argument `Type`.\n *\n * JSON schema generator.\n *\n * Creates a JSON schema unit which contains a main JSON schema and its\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaUnit.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and key\n * different of `\"3.0\"` and `\"3.1\"` is whether supporting the tuple type or\n * not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Target type\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema unit\n */\nexport declare function schema(): never;\n/**\n * JSON schema generator.\n *\n * Creates a JSON schema unit which contains a main JSON schema and its\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaUnit.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and key\n * different of `\"3.0\"` and `\"3.1\"` is whether supporting the tuple type or\n * not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Target type\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema unit\n */\nexport declare function schema<Type extends unknown, Version extends \"3.0\" | \"3.1\" = \"3.1\">(): IJsonSchemaUnit<Version, Type>;\n/**\n * > You must configure the generic argument `Types`.\n *\n * JSON Schemas Generator.\n *\n * Creates a JSON schema list which contains both main JSON schemas and\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaCollection.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema collection\n */\nexport declare function schemas(): never;\n/**\n * JSON Schemas Generator.\n *\n * Creates a JSON schema list which contains both main JSON schemas and\n * components. Note that, all of the named types are stored in the\n * {@link IJsonSchemaCollection.components} property for the `$ref` referencing.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON schema collection\n */\nexport declare function schemas<Types extends unknown[], Version extends \"3.0\" | \"3.1\" = \"3.1\">(): IJsonSchemaCollection<Version, Types>;\n/**\n * > You must configure the generic argument `Class`.\n *\n * TypeScript class to JSON function schema application.\n *\n * Creates a JSON function schema application from a TypeScript class or\n * interface type containing the target functions. This is an intermediate-level\n * function designed for professional developers who want to build custom LLM\n * function calling schemas or need to transform class methods into structured\n * JSON schema representations.\n *\n * Unlike {@link schema} which creates a schema for a single type, this function\n * analyzes an entire class/interface and generates JSON schemas for all its\n * methods, their parameters, and return types. The returned\n * {@link IJsonSchemaApplication} contains:\n *\n * - {@link IJsonSchemaApplication.functions}: Array of function metadata with\n * parameter and return type schemas\n * - {@link IJsonSchemaApplication.components}: Shared schema components for `$ref`\n * referencing\n *\n * This function serves as the underlying implementation for\n * {@link llm.application}, and can be used when you need to:\n *\n * - Create your own custom LLM function calling schema format\n * - Transform class methods into structured JSON schema format\n * - Build API documentation or code generation tools\n * - Develop alternative LLM integrations beyond the built-in providers\n *\n * For direct LLM function calling implementations, consider using\n * {@link llm.application} instead, which provides provider-specific schemas for\n * ChatGPT, Claude, Gemini, and other LLM providers.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type containing the functions\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON function schema application\n */\nexport declare function application(): never;\n/**\n * TypeScript class to JSON function schema application.\n *\n * Creates a JSON function schema application from a TypeScript class or\n * interface type containing the target functions. This is an intermediate-level\n * function designed for professional developers who want to build custom LLM\n * function calling schemas or need to transform class methods into structured\n * JSON schema representations.\n *\n * Unlike {@link schema} which creates a schema for a single type, this function\n * analyzes an entire class/interface and generates JSON schemas for all its\n * methods, their parameters, and return types. The returned\n * {@link IJsonSchemaApplication} contains:\n *\n * - {@link IJsonSchemaApplication.functions}: Array of function metadata with\n * parameter and return type schemas\n * - {@link IJsonSchemaApplication.components}: Shared schema components for `$ref`\n * referencing\n *\n * This function serves as the underlying implementation for\n * {@link llm.application}, and can be used when you need to:\n *\n * - Create your own custom LLM function calling schema format\n * - Transform class methods into structured JSON schema format\n * - Build API documentation or code generation tools\n * - Develop alternative LLM integrations beyond the built-in providers\n *\n * For direct LLM function calling implementations, consider using\n * {@link llm.application} instead, which provides provider-specific schemas for\n * ChatGPT, Claude, Gemini, and other LLM providers.\n *\n * Also, you can specify the OpenAPI version by configuring the second generic\n * argument `Version`. For reference, the default version is `\"3.1\"`, and the\n * key difference between `\"3.0\"` and `\"3.1\"` is whether supporting the tuple\n * type or not.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type containing the functions\n * @template Version Version of OpenAPI specification. Default is 3.1\n * @returns JSON function schema application\n */\nexport declare function application<Class extends object, Version extends \"3.0\" | \"3.1\" = \"3.1\">(): IJsonSchemaApplication<Version, Class>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with type assertion.\n *\n * `typia.json.assertParse()` is a combination function of `JSON.parse()` and\n * {@link assert}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with type assertion.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it throws {@link TypeGuardError} or custom error generated by\n * _errorFactory_. Otherwise, if there's no problem with the parsed value, the\n * parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parsed value\n */\nexport declare function assertParse(input: string, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Safe `JSON.parse()` function with type assertion.\n *\n * `typia.json.assertParse()` is a combination function of `JSON.parse()` and\n * {@link assert}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with type assertion.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it throws {@link TypeGuardError} or custom error generated by\n * _errorFactory_. Otherwise, there's no problem on the parsed value, the parsed\n * value would be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parsed value\n */\nexport declare function assertParse<T>(input: string, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Primitive<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with type checking.\n *\n * `typia.json.isParse()` is a combination function of `JSON.parse()` and\n * {@link is}. Therefore, it converts a JSON (JavaScript Object Notation) string\n * to a `T` typed instance with type checking.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns `null` value. Otherwise, there's no problem on the parsed\n * value, the parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Parsed value when exact type, otherwise `null`\n */\nexport declare function isParse(input: string): never;\n/**\n * Safe `JSON.parse()` function with type checking.\n *\n * `typia.json.isParse()` is a combination function of `JSON.parse()` and\n * {@link is}. Therefore, it converts a JSON (JavaScript Object Notation) string\n * to a `T` typed instance with type checking.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns `null` value. Otherwise, there's no problem on the parsed\n * value, the parsed value will be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Parsed value when exact type, otherwise `null`\n */\nexport declare function isParse<T>(input: string): Primitive<T> | null;\n/**\n * > You must configure the generic argument `T`.\n *\n * Safe `JSON.parse()` function with detailed type validation.\n *\n * `typia.json.validateParse()` is a combination function of `JSON.parse()` and\n * {@link validate}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with detailed type validation.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns {@link IValidation.IFailure} value with detailed error\n * reasons. Otherwise, there's no problem on the parsed value, the parsed value\n * will be stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Validation result with JSON parsed value\n */\nexport declare function validateParse(input: string): never;\n/**\n * Safe `JSON.parse()` function with detailed type validation.\n *\n * `typia.json.validateParse()` is a combination function of `JSON.parse()` and\n * {@link validate}. Therefore, it converts a JSON (JavaScript Object Notation)\n * string to a `T` typed instance with detailed type validation.\n *\n * In such reason, when parsed JSON string value is not matched with the type\n * `T`, it returns {@link IValidation.IFailure} value with detailed error\n * reasons. Otherwise, there's no problem on the parsed value, the parsed value\n * will be stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param input JSON string\n * @returns Validation result with JSON parsed value\n */\nexport declare function validateParse<T>(input: string): IValidation<Primitive<T>>;\n/**\n * 8x faster `JSON.stringify()` function.\n *\n * Converts an input value to a JSON (JavaScript Object Notation) string, about\n * 8x faster than the native `JSON.stringify()` function. The 5x faster\n * principle is because it writes an optimized JSON conversion plan, only for\n * the type `T`.\n *\n * For reference, this `typia.json.stringify()` does not validate the input\n * value type. It just believes that the input value is following the type `T`.\n * Therefore, if you can't ensure the input value type, it will be better to\n * call one of below functions instead.\n *\n * - {@link assertStringify}\n * - {@link isStringify}\n * - {@link validateStringify}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be converted\n * @returns JSON string value\n */\nexport declare function stringify<T>(input: T): string;\n/**\n * 5x faster `JSON.stringify()` function with type assertion.\n *\n * `typia.json.assertStringify()` is a combination function of {@link assert} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * returned.\n *\n * For reference, with type assertion, it is even 5x times faster than the\n * native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted and converted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns JSON string value\n */\nexport declare function assertStringify<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): string;\n/**\n * 5x faster `JSON.stringify()` function with type assertion.\n *\n * `typia.json.assertStringify()` is a combination function of {@link assert} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * returned.\n *\n * For reference, with type assertion, it is even 5x times faster than the\n * native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted and converted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns JSON string value\n */\nexport declare function assertStringify<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): unknown;\n/**\n * 7x faster `JSON.stringify()` function with type checking.\n *\n * `typia.json.stringify()` is a combination function of {@link is} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value. Otherwise, there's no problem on the `input` value,\n * JSON string will be returned.\n *\n * For reference, with type checking, it is even 7x times faster than the native\n * `JSON.stringify()` function. So, just enjoy the safe and fast JSON conversion\n * with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns JSON string value when exact type, otherwise null\n */\nexport declare function isStringify<T>(input: T): string | null;\n/**\n * 7x faster `JSON.stringify()` function with type checking.\n *\n * `typia.json.isStringify()` is a combination function of {@link is} and\n * {@link stringify}. Therefore, it converts an input value to JSON (JavaScript\n * Object Notation) string, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value. Otherwise, there's no problem on the `input` value,\n * JSON string will be returned.\n *\n * For reference, with type checking, it is even 7x times faster than the native\n * `JSON.stringify()` function. So, just enjoy the safe and fast JSON conversion\n * with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns JSON string value when exact type, otherwise null\n */\nexport declare function isStringify<T>(input: unknown): string | null;\n/**\n * 5x faster `JSON.stringify()` function with detailed type validation.\n *\n * `typia.json.validateStringify()` is a combination function of {@link validate}\n * and {@link stringify}. Therefore, it converts an input value to JSON\n * (JavaScript Object Notation) string, with detailed type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * For reference, with detailed type validation, it is even 5x times faster than\n * the native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns Validation result with JSON string value\n */\nexport declare function validateStringify<T>(input: T): IValidation<string>;\n/**\n * 5x faster `JSON.stringify()` function with detailed type validation.\n *\n * `typia.json.validateStringify()` is a combination function of {@link validate}\n * and {@link stringify}. Therefore, it converts an input value to JSON\n * (JavaScript Object Notation) string, with detailed type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, JSON string will be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * For reference, with detailed type validation, it is even 5x times faster than\n * the native `JSON.stringify()` function. So, just enjoy the safe and fast JSON\n * conversion with confidence.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be checked and converted\n * @returns Validation result with JSON string value\n */\nexport declare function validateStringify<T>(input: unknown): IValidation<string>;\n/**\n * Creates a reusable {@link isParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsParse(): never;\n/**\n * Creates a reusable {@link isParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @returns A reusable `isParse` function\n */\nexport declare function createIsParse<T>(): (input: string) => Primitive<T> | null;\n/**\n * Creates a reusable {@link assertParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertParse(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertParse` function\n */\nexport declare function createAssertParse<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: string) => Primitive<T>;\n/**\n * Creates a reusable {@link validateParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateParse(): never;\n/**\n * Creates a reusable {@link validateParse} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of parsed value\n * @returns A reusable `validateParse` function\n */\nexport declare function createValidateParse<T>(): (input: string) => IValidation<Primitive<T>>;\n/**\n * Creates a reusable {@link stringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createStringify(): never;\n/**\n * Creates a reusable {@link stringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `stringify` function\n */\nexport declare function createStringify<T>(): (input: T) => string;\n/**\n * Creates a reusable {@link assertStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertStringify(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertStringify` function\n */\nexport declare function createAssertStringify<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => string;\n/**\n * Creates a reusable {@link isStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsStringify(): never;\n/**\n * Creates a reusable {@link isStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isStringify` function\n */\nexport declare function createIsStringify<T>(): (input: unknown) => string | null;\n/**\n * Creates a reusable {@link validateStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateStringify(): never;\n/**\n * Creates a reusable {@link validateStringify} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateStringify` function\n */\nexport declare function createValidateStringify<T>(): (input: unknown) => IValidation<string>;\n",
|
|
14956
14956
|
"node_modules/typia/lib/llm.d.ts": "import { ILlmApplication, ILlmController, ILlmSchema } from \"@samchon/openapi\";\n/**\n * > You must configure the generic argument `Class`.\n *\n * TypeScript functions to LLM function calling controller.\n *\n * Creates a controller of LLM (Large Language Model) function calling from a\n * TypeScript class or interface type containing the target functions to be\n * called by the LLM function calling feature. The returned controller contains\n * not only the {@link application} of\n * {@link ILlmFunction function calling schemas}, but also the\n * {@link ILlmController.execute executor} of the functions.\n *\n * If you put the returned {@link ILlmController} to the LLM provider like\n * [OpenAI (ChatGPT)](https://openai.com/), the LLM will automatically select\n * the proper function and fill its arguments from the conversation (maybe\n * chatting text) with user (human). And you can actually call the function by\n * using {@link ILlmController.execute} property. This is the concept of the LLM\n * function calling.\n *\n * Here is an example of using `typia.llm.controller()` function for AI agent\n * development of performing such AI function calling to mobile API classes\n * through this `typia` and external `@agentica` libraries.\n *\n * ```typescript\n * import { Agentica } from \"@agentica/core\";\n * import typia from \"typia\";\n *\n * const agentica = new Agentica({\n * model: \"chatgpt\",\n * vendor: {\n * api: new OpenAI({ apiKey: \"********\" }),\n * model: \"gpt-4o-mini\",\n * },\n * controllers: [\n * typia.llm.controller<ReactNativeFileSystem, \"chatgpt\">(\n * \"filesystem\",\n * new ReactNativeFileSystem(),\n * ),\n * typia.llm.controller<ReactNativeGallery, \"chatgpt\">(\n * \"gallery\",\n * new ReactNativeGallery(),\n * ),\n * ],\n * });\n * await agentica.conversate(\n * \"Organize photo collection and sort them into appropriate folders.\",\n * );\n * ```\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://samchon.github.io/openapi/api/types/IChatGptSchema-1.html)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type collecting the functions to\n * call\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @param name Identifier name of the controller\n * @param execute Executor instance\n * @param options Options for the LLM application construction\n * @returns Controller of LLM function calling\n * @reference https://wrtnlabs.io/agentica/docs/core/controller/typescript/\n */\nexport declare function controller(name: string, execute: object, options?: Partial<Pick<ILlmApplication.IOptions<any, any>, \"separate\" | \"validate\">>): never;\n/**\n * TypeScript functions to LLM function calling controller.\n *\n * Creates a controller of LLM (Large Language Model) function calling from a\n * TypeScript class or interface type containing the target functions to be\n * called by the LLM function calling feature. The returned controller contains\n * not only the {@link application} of\n * {@link ILlmFunction function calling schemas}, but also the\n * {@link ILlmController.execute executor} of the functions.\n *\n * If you put the returned {@link ILlmController} to the LLM provider like\n * [OpenAI (ChatGPT)](https://openai.com/), the LLM will automatically select\n * the proper function and fill its arguments from the conversation (maybe\n * chatting text) with user (human). And you can actually call the function by\n * using {@link ILlmController.execute} property. This is the concept of the LLM\n * function calling.\n *\n * Here is an example of using `typia.llm.controller()` function for AI agent\n * development of performing such AI function calling to mobile API classes\n * through this `typia` and external `@agentica` libraries.\n *\n * ```typescript\n * import { Agentica } from \"@agentica/core\";\n * import typia from \"typia\";\n *\n * const agentica = new Agentica({\n * model: \"chatgpt\",\n * vendor: {\n * api: new OpenAI({ apiKey: \"********\" }),\n * model: \"gpt-4o-mini\",\n * },\n * controllers: [\n * typia.llm.controller<ReactNativeFileSystem, \"chatgpt\">(\n * \"filesystem\",\n * new ReactNativeFileSystem(),\n * ),\n * typia.llm.controller<ReactNativeGallery, \"chatgpt\">(\n * \"gallery\",\n * new ReactNativeGallery(),\n * ),\n * ],\n * });\n * await agentica.conversate(\n * \"Organize photo collection and sort them into appropriate folders.\",\n * );\n * ```\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://samchon.github.io/openapi/api/types/IChatGptSchema-1.html)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type collecting the functions to\n * call\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @param name Identifier name of the controller\n * @param execute Executor instance\n * @param options Options for the LLM application construction\n * @returns Controller of LLM function calling\n * @reference https://wrtnlabs.io/agentica/docs/core/controller/typescript/\n */\nexport declare function controller<Class extends Record<string, any>, Model extends ILlmSchema.Model, Config extends Partial<ILlmSchema.ModelConfig[Model] & {\n /**\n * Whether to disallow superfluous properties or not.\n *\n * If configure as `true`, {@link validateEquals} function would be used\n * for validation feedback, which is more strict than {@link validate}\n * function.\n *\n * @default false\n */\n equals: boolean;\n}> = {}>(name: string, execute: Class, options?: Partial<Pick<ILlmApplication.IOptions<Model, Class>, \"separate\" | \"validate\">>): ILlmController<Model>;\n/**\n * > You must configure the generic argument `Class`.\n *\n * TypeScript functions to LLM function calling application.\n *\n * Creates an application of LLM (Large Language Model) function calling\n * application from a TypeScript class or interface type containing the target\n * functions to be called by the LLM function calling feature.\n *\n * If you put the returned {@link ILlmApplication.functions} objects to the LLM\n * provider like [OpenAI (ChatGPT)](https://openai.com/), the LLM will\n * automatically select the proper function and fill its arguments from the\n * conversation (maybe chatting text) with user (human). This is the concept of\n * the LLM function calling.\n *\n * By the way, there can be some parameters (or their nested properties) which\n * must be composed by human, not by LLM. File uploading feature or some\n * sensitive information like security keys (password) are the examples. In that\n * case, you can separate the function parameters to both LLM and human sides by\n * configuring the {@link ILlmApplication.IOptions.separate} property. The\n * separated parameters are assigned to the {@link ILlmFunction.separated}\n * property.\n *\n * For reference, the actual function call execution is not by LLM, but by you.\n * When the LLM selects the proper function and fills the arguments, you just\n * call the function with the LLM prepared arguments. And then informs the\n * return value to the LLM by system prompt. The LLM will continue the next\n * conversation based on the return value.\n *\n * Additionally, if you've configured {@link ILlmApplication.IOptions.separate},\n * so that the parameters are separated to human and LLM sides, you can merge\n * these human and LLM sides' parameters into one through\n * {@link HttpLlm.mergeParameters} before the actual LLM function call\n * execution.\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type collecting the functions to\n * call\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @param options Options for the LLM application construction\n * @returns Application of LLM function calling schemas\n * @reference https://platform.openai.com/docs/guides/function-calling\n */\nexport declare function application(options?: Partial<Pick<ILlmApplication.IOptions<any, any>, \"separate\" | \"validate\">>): never;\n/**\n * TypeScript functions to LLM function calling application.\n *\n * Creates an application of LLM (Large Language Model) function calling\n * application from a TypeScript class or interface type containing the target\n * functions to be called by the LLM function calling feature.\n *\n * If you put the returned {@link ILlmApplication.functions} objects to the LLM\n * provider like [OpenAI (ChatGPT)](https://openai.com/), the LLM will\n * automatically select the proper function and fill its arguments from the\n * conversation (maybe chatting text) with user (human). This is the concept of\n * the LLM function calling.\n *\n * By the way, there can be some parameters (or their nested properties) which\n * must be composed by human, not by LLM. File uploading feature or some\n * sensitive information like security keys (password) are the examples. In that\n * case, you can separate the function parameters to both LLM and human sides by\n * configuring the {@link ILlmApplication.IOptions.separate} property. The\n * separated parameters are assigned to the {@link ILlmFunction.separated}\n * property.\n *\n * For reference, the actual function call execution is not by LLM, but by you.\n * When the LLM selects the proper function and fills the arguments, you just\n * call the function with the LLM prepared arguments. And then informs the\n * return value to the LLM by system prompt. The LLM will continue the next\n * conversation based on the return value.\n *\n * Additionally, if you've configured {@link ILlmApplication.IOptions.separate},\n * so that the parameters are separated to human and LLM sides, you can merge\n * these human and LLM sides' parameters into one through\n * {@link HttpLlm.mergeParameters} before the actual LLM function call\n * execution.\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Class Target class or interface type collecting the functions to\n * call\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @param options Options for the LLM application construction\n * @returns Application of LLM function calling schemas\n * @reference https://platform.openai.com/docs/guides/function-calling\n */\nexport declare function application<Class extends Record<string, any>, Model extends ILlmSchema.Model, Config extends Partial<{\n /**\n * Whether to disallow superfluous properties or not.\n *\n * If configure as `true`, {@link validateEquals} function would be used\n * for validation feedback, which is more strict than {@link validate}\n * function.\n *\n * @default false\n */\n equals: boolean;\n} & ILlmSchema.ModelConfig[Model]> = {}>(options?: Partial<Pick<ILlmApplication.IOptions<Model, Class>, \"separate\" | \"validate\">>): ILlmApplication<Model, Class>;\n/**\n * > You must configure the generic argument `Parameters`.\n *\n * TypeScript parameters to LLM parameters schema.\n *\n * Creates an LLM (Large Language Model) parameters schema, a type metadata that\n * is used in the [LLM function\n * calling](https://platform.openai.com/docs/guides/function-calling) and [LLM\n * structured\n * outputs](https://platform.openai.com/docs/guides/structured-outputs), from a\n * TypeScript parameters type.\n *\n * For references, LLM identifies only keyworded arguments, not positional\n * arguments. Therefore, the TypeScript parameters type must be an object type,\n * and its properties must be static. If dynamic properties are, it will be\n * compilation error.\n *\n * Also, such parameters type can be utilized not only for the LLM function\n * calling, but also for the LLM structured outputs. The LLM structured outputs\n * is a feature that LLM (Large Language Model) can generate a structured\n * output, not only a plain text, by filling the parameters from the\n * conversation (maybe chatting text) with user (human).\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @template Parameters Target parameters type\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @returns LLM parameters schema\n * @reference https://platform.openai.com/docs/guides/function-calling\n * @reference https://platform.openai.com/docs/guides/structured-outputs\n */\nexport declare function parameters(): never;\n/**\n * TypeScript parameters to LLM parameters schema.\n *\n * Creates an LLM (Large Language Model) parameters schema, a type metadata that\n * is used in the [LLM function\n * calling](https://platform.openai.com/docs/guides/function-calling) and [LLM\n * structured\n * outputs](https://platform.openai.com/docs/guides/structured-outputs), from a\n * TypeScript parameters type.\n *\n * For references, LLM identifies only keyworded arguments, not positional\n * arguments. Therefore, the TypeScript parameters type must be an object type,\n * and its properties must be static. If dynamic properties are, it will be\n * compilation error.\n *\n * Also, such parameters type can be utilized not only for the LLM function\n * calling, but also for the LLM structured outputs. The LLM structured outputs\n * is a feature that LLM (Large Language Model) can generate a structured\n * output, not only a plain text, by filling the parameters from the\n * conversation (maybe chatting text) with user (human).\n *\n * Here is the list of available `Model` types with their corresponding LLM\n * schema. Reading the following list, and determine the `Model` type\n * considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * @template Parameters Target parameters type\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @returns LLM parameters schema\n * @reference https://platform.openai.com/docs/guides/function-calling\n * @reference https://platform.openai.com/docs/guides/structured-outputs\n */\nexport declare function parameters<Parameters extends Record<string, any>, Model extends ILlmSchema.Model, Config extends Partial<ILlmSchema.ModelConfig[Model]> = {}>(): ILlmSchema.ModelParameters[Model];\n/**\n * > You must configure the generic argument `T`.\n *\n * TypeScript type to LLM type schema.\n *\n * Creates an LLM (Large Language Model) type schema, a type metadata that is\n * used in the [LLM function calling](@reference\n * https://platform.openai.com/docs/guides/function-calling), from a TypeScript\n * type.\n *\n * The returned {@link ILlmSchema} type will be specified by the `Model`\n * argument, and here is the list of available `Model` types with their\n * corresponding LLM schema. Reading the following list, and determine the\n * `Model` type considering the characteristics of the target LLM provider.\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * If you actually want to perform the LLM function calling with TypeScript\n * functions, you can do it with the {@link application} function. Otherwise you\n * hope to perform the structured output, {@link parameters} function is better.\n * Let's enjoy the LLM function calling and structured output with the native\n * TypeScript functions and types.\n *\n * > **What LLM function calling is?\n *\n * > LLM (Large Language Model) selects property function and fill the arguments,\n * > but actual function call execution is not by LLM, but by you.\n *\n * > In nowadays, most LLM (Large Language Model) like OpenAI are supporting\n * > \"function calling\" feature. The \"function calling\" means that LLM\n * > automatically selects a proper function and compose parameter values from the\n * > user's chatting text.\n *\n * > When LLM selects the proper function and its arguments, you just call the\n * > function with the arguments. And then informs the return value to the LLM by\n * > system prompt, LLM will continue the next conversation based on the return\n * > value.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @returns LLM schema\n * @reference https://platform.openai.com/docs/guides/function-calling\n * @reference https://platform.openai.com/docs/guides/structured-outputs\n */\nexport declare function schema(): never;\n/**\n * TypeScript type to LLM type schema.\n *\n * Creates an LLM (Large Language Model) type schema, a type metadata that is\n * used in the [LLM function calling](@reference\n * https://platform.openai.com/docs/guides/function-calling), from a TypeScript\n * type.\n *\n * The returned {@link ILlmSchema} type will be specified by the `Model`\n * argument, and here is the list of available `Model` types with their\n * corresponding LLM schema:\n *\n * - LLM provider schemas\n *\n * - `chatgpt`:\n * [`IChatGptSchema`](https://github.com/samchon/openapi/blob/master/src/structures/IChatGptSchema.ts)\n * - `claude`:\n * [`IClaudeSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `deepseek`:\n * [`IDeepSeekSchema`](https://samchon.github.io/openapi/api/types/IClaudeSchema-1.html)\n * - `gemini`:\n * [`IGeminiSchema`](https://samchon.github.io/openapi/api/types/IGeminiSchema-1.html)\n * - `llama`:\n * [`ILlamaSchema`](https://samchon.github.io/openapi/api/types/ILlamaSchema-1.html)\n * - Middle layer schemas\n *\n * - `3.0`: [`ILlmSchemaV3`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3-1.html)\n * - `3.1`: [`ILlmSchemaV3_1`](https://samchon.github.io/openapi/api/types/ILlmSchemaV3_1-1.html)\n *\n * If you actually want to perform the LLM function calling with TypeScript\n * functions, you can do it with the {@link application} function. Otherwise you\n * hope to perform the structured output, {@link parameters} function is better.\n * Let's enjoy the LLM function calling and structured output with the native\n * TypeScript functions and types.\n *\n * > **What LLM function calling is?\n *\n * > LLM (Large Language Model) selects property function and fill the arguments,\n * > but actual function call execution is not by LLM, but by you.\n *\n * > In nowadays, most LLM (Large Language Model) like OpenAI are supporting\n * > \"function calling\" feature. The \"function calling\" means that LLM\n * > automatically selects a proper function and compose parameter values from the\n * > user's chatting text.\n *\n * > When LLM selects the proper function and its arguments, you just call the\n * > function with the arguments. And then informs the return value to the LLM by\n * > system prompt, LLM will continue the next conversation based on the return\n * > value.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @template Model LLM schema model\n * @template Config Configuration of LLM schema composition\n * @returns LLM schema\n * @reference https://platform.openai.com/docs/guides/function-calling\n * @reference https://platform.openai.com/docs/guides/structured-outputs\n */\nexport declare function schema<T, Model extends ILlmSchema.Model, Config extends Partial<ILlmSchema.ModelConfig[Model]> = {}>(...$defs: Extract<ILlmSchema.ModelSchema[Model], {\n $ref: string;\n}> extends never ? [] : [Record<string, ILlmSchema.ModelSchema[Model]>]): ILlmSchema.ModelSchema[Model];\n",
|
|
14957
14957
|
"node_modules/typia/lib/misc.d.ts": "import { Atomic } from \"./typings/Atomic\";\nimport { IValidation } from \"./IValidation\";\nimport { Resolved } from \"./Resolved\";\nimport { TypeGuardError } from \"./TypeGuardError\";\n/**\n * > You must configure the generic argument `T`.\n *\n * Union literal type to array.\n *\n * Converts a union literal type to an array of its members.\n *\n * ```typescript\n * literals<\"A\" | \"B\" | 1>; // [\"A\", \"B\", 1]\n * ```\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Union literal type\n * @returns Array of union literal type's members\n */\nexport declare function literals(): never;\n/**\n * Union literal type to array.\n *\n * Converts a union literal type to an array of its members.\n *\n * ```typescript\n * literals<\"A\" | \"B\" | 1>; // [\"A\", \"B\", 1]\n * ```\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Union literal type\n * @returns Array of union literal type's members\n */\nexport declare function literals<T extends Atomic.Type | null>(): T[];\n/**\n * Clone data.\n *\n * Clones an instance following type `T`. If the target _input_ value or its\n * member variable contains a class instance having methods, those methods would\n * not be cloned.\n *\n * For reference, this `typia.misc.clone()` function does not validate the input\n * value type. It just believes that the input value is following the type `T`.\n * Therefore, if you can't ensure the input value type, it would be better to\n * call {@link assertClone} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be cloned\n * @returns Cloned data\n */\nexport declare function clone<T>(input: T): Resolved<T>;\n/**\n * Clone data with type assertion.\n *\n * Clones an instance following type `T`, with type assertion. If the target\n * `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, cloned data would be\n * returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be cloned\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Cloned data\n */\nexport declare function assertClone<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Resolved<T>;\n/**\n * Clone data with type assertion.\n *\n * Clones an instance following type `T`, with type assertion. If the target\n * `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, cloned data would be\n * returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be cloned\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Cloned data\n */\nexport declare function assertClone<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Resolved<T>;\n/**\n * Clone data with type checking.\n *\n * Clones an instance following type `T`, with type checking. If the target\n * `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value instead. Otherwise, there's no problem on the `input`\n * value, cloned data would be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be cloned\n * @returns Cloned data when exact type, otherwise null\n */\nexport declare function isClone<T>(input: T): Resolved<T> | null;\n/**\n * Clone data with type checking.\n *\n * Clones an instance following type `T`, with type checking. If the target\n * `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `null` value instead. Otherwise, there's no problem on the `input`\n * value, cloned data would be returned.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be cloned\n * @returns Cloned data when exact type, otherwise null\n */\nexport declare function isClone<T>(input: unknown): Resolved<T> | null;\n/**\n * Clone data with detailed type validation.\n *\n * Clones an instance following type `T`, with detailed type validation. If the\n * target `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.Failure} value. Otherwise, there's no problem on\n * the `input` value, cloned data would be stored in `data` property of the\n * output {@link IValidation.Success} instance.\n *\n * @template T Type of the input value\n * @param input A value to be cloned\n * @returns Validation result with cloned value\n */\nexport declare function validateClone<T>(input: T): IValidation<Resolved<T>>;\n/**\n * Clone data with detailed type validation.\n *\n * Clones an instance following type `T`, with detailed type validation. If the\n * target `input` value or its member variable contains a class instance having\n * methods, those methods would not be cloned.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.Failure} value. Otherwise, there's no problem on\n * the `input` value, cloned data would be stored in `data` property of the\n * output {@link IValidation.Success} instance.\n *\n * @template T Type of the input value\n * @param input A value to be cloned\n * @returns Validation result with cloned value\n */\nexport declare function validateClone<T>(input: unknown): IValidation<Resolved<T>>;\n/**\n * Prune, erase superfluous properties.\n *\n * Remove all superfluous properties from the `input` object, even including\n * nested objects. Note that, as all superfluous properties would be deleted,\n * you never can read those superfluous properties after calling this `prune()`\n * function.\n *\n * For reference, this `typia.misc.prune()` function does not validate the input\n * value type. It just believes that the input value is following the type `T`.\n * Therefore, if you can't ensure the input value type, it would better to call\n * one of below functions instead.\n *\n * - {@link assertPrune}\n * - {@link isPrune}\n * - {@link validatePrune}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to prune\n */\nexport declare function prune<T extends object>(input: T): void;\n/**\n * Prune, erase superfluous properties, with type assertion.\n *\n * `typia.misc.assertPrune()` is a combination function of {@link assert} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, its all superfluous\n * properties would be removed, including nested objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to assert and prune\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n */\nexport declare function assertPrune<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Prune, erase superfluous properties, with type assertion.\n *\n * `typia.misc.assertPrune()` is a combination function of {@link assert} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type assertion.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * throws an {@link TypeGuardError} or custom error generated by _errorFactory_.\n * Otherwise, there's no problem on the `input` value, its all superfluous\n * properties would be removed, including nested objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to assert and prune\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n */\nexport declare function assertPrune<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Prune, erase superfluous properties, with type checking.\n *\n * `typia.misc.isPrune()` is a combination function of {@link is} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `false` value. Otherwise, there's no problem on the `input` value, it\n * returns `true` after removing all superfluous properties, including nested\n * objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to check and prune\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function isPrune<T>(input: T): input is T;\n/**\n * Prune, erase superfluous properties, with type checking.\n *\n * `typia.misc.isPrune()` is a combination function of {@link is} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type checking.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns `false` value. Otherwise, there's no problem on the `input` value, it\n * returns `true` after removing all superfluous properties, including nested\n * objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to check and prune\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function isPrune<T>(input: unknown): input is T;\n/**\n * Prune, erase superfluous properties, with type validation.\n *\n * `typia.misc.validatePrune()` is a combination function of {@link validate} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, it returns\n * {@link IValidation.ISuccess} value after removing all superfluous properties,\n * including nested objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to validate and prune\n * @returns Validation result\n */\nexport declare function validatePrune<T>(input: T): IValidation<T>;\n/**\n * Prune, erase superfluous properties, with type validation.\n *\n * `typia.misc.validatePrune()` is a combination function of {@link validate} and\n * {@link prune}. Therefore, it removes all superfluous properties from the\n * `input` object including nested objects, with type validation.\n *\n * In such reason, when `input` value is not matched with the type `T`, it\n * returns {@link IValidation.IFailure} value with detailed error reasons.\n * Otherwise, there's no problem on the `input` value, it returns\n * {@link IValidation.ISuccess} value after removing all superfluous properties,\n * including nested objects.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target instance to validate and prune\n * @returns Validation result\n */\nexport declare function validatePrune<T>(input: unknown): IValidation<T>;\n/**\n * Creates a reusable {@link clone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createClone(): never;\n/**\n * Creates a reusable {@link clone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `clone` function\n */\nexport declare function createClone<T>(): (input: T) => Resolved<T>;\n/**\n * Creates a reusable {@link assertClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertClone(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `clone` function\n */\nexport declare function createAssertClone<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => Resolved<T>;\n/**\n * Creates a reusable {@link isClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsClone(): never;\n/**\n * Creates a reusable {@link isClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `clone` function\n */\nexport declare function createIsClone<T>(): (input: unknown) => Resolved<T> | null;\n/**\n * Creates a reusable {@link validateClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateClone(): never;\n/**\n * Creates a reusable {@link validateClone} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `clone` function\n */\nexport declare function createValidateClone<T>(): (input: unknown) => IValidation<Resolved<T>>;\n/**\n * Creates a reusable {@link prune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createPrune(): never;\n/**\n * Creates a reusable {@link prune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `prune` function\n */\nexport declare function createPrune<T extends object>(): (input: T) => void;\n/**\n * Creates a reusable {@link assertPrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertPrune(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertPrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `isPrune` function\n */\nexport declare function createAssertPrune<T extends object>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: T) => T;\n/**\n * Creates a reusable {@link isPrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsPrune(): never;\n/**\n * Creates a reusable {@link isPrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isPrune` function\n */\nexport declare function createIsPrune<T extends object>(): (input: T) => input is T;\n/**\n * Creates a reusable {@link validatePrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidatePrune(): never;\n/**\n * Creates a reusable {@link validatePrune} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validatePrune` function\n */\nexport declare function createValidatePrune<T extends object>(): (input: T) => IValidation<T>;\n",
|
|
14958
|
-
"node_modules/typia/lib/module.d.ts": "import { StandardSchemaV1 } from \"@standard-schema/spec\";\nimport { AssertionGuard } from \"./AssertionGuard\";\nimport { IRandomGenerator } from \"./IRandomGenerator\";\nimport { IValidation } from \"./IValidation\";\nimport { Resolved } from \"./Resolved\";\nimport { TypeGuardError } from \"./TypeGuardError\";\nexport * as functional from \"./functional\";\nexport * as http from \"./http\";\nexport * as llm from \"./llm\";\nexport * as json from \"./json\";\nexport * as misc from \"./misc\";\nexport * as notations from \"./notations\";\nexport * as protobuf from \"./protobuf\";\nexport * as reflect from \"./reflect\";\nexport * as tags from \"./tags\";\nexport * from \"./schemas/metadata/IJsDocTagInfo\";\nexport * from \"./schemas/json/IJsonApplication\";\nexport * from \"./schemas/json/IJsonSchemaCollection\";\nexport * from \"./schemas/json/IJsonSchemaUnit\";\nexport * from \"./AssertionGuard\";\nexport * from \"./IRandomGenerator\";\nexport * from \"./IValidation\";\nexport * from \"./TypeGuardError\";\nexport * from \"./Primitive\";\nexport * from \"./Resolved\";\nexport * from \"./CamelCase\";\nexport * from \"./PascalCase\";\nexport * from \"./SnakeCase\";\nexport * from \"./IReadableURLSearchParams\";\n/**\n * Asserts a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, the input parameter will\n * be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to automatically cast the parametric value\n * to the type `T` when there is no problem (perform the assertion guard of\n * type).\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assert<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Asserts a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, the input parameter will\n * be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assert<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Assertion guard of a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, nothing will be returned,\n * but the input value will be automatically casted to the type `T`. This is the\n * concept of \"Assertion Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to return the parametric value when there is\n * no problem, you can use {@link assert} function instead.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertGuardEquals}\n * function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuard<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Assertion guard of a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, nothing will be returned,\n * but the input value will be automatically casted to the type `T`. This is the\n * concept of \"Assertion Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to return the parametric value when there is\n * no problem, you can use {@link assert} function instead.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertGuardEquals}\n * function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuard<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Tests a value type.\n *\n * Tests a parametric value type and returns whether it's following the type `T`\n * or not. If the parametric value is matched with the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T`, `false` value will be returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assert} function instead. Also, if you want to\n * know all the errors with detailed reasons, {@link validate} function will be\n * useful.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link equals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function is<T>(input: T): input is T;\n/**\n * Tests a value type.\n *\n * Tests a parametric value type and returns whether it's following the type `T`\n * or not. If the parametric value is matched with the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T`, `false` value will be returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assert} function instead. Also, if you want to\n * know all the errors with detailed reasons, {@link validate} function will be\n * useful.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link equals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function is<T>(input: unknown): input is T;\n/**\n * Validates a value type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T`. Of course, if the parametric value is following the type `T`, the\n * {@link IValidation.errors} array will be empty and {@link IValidation.success}\n * will have the `true` value.\n *\n * If what you want is not finding all the errors, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, if you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validate<T>(input: T): IValidation<T>;\n/**\n * Validates a value type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T`. Of course, if the parametric value is following the type `T`, the\n * {@link IValidation.errors} array will be empty and {@link IValidation.success}\n * will have the `true` value.\n *\n * If what you want is not finding all the errors, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, if you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validate<T>(input: unknown): IValidation<T>;\n/**\n * Asserts equality between a value and its type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n * Otherwise, the value is following the type `T` without any superfluous\n * property, just input parameter would be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assert} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Asserts equality between a value and its type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n * Otherwise, the value is following the type `T` without any superfluous\n * property, just input parameter would be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assert} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Assertion guard of a type with equality.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n *\n * Otherwise, the value is following the type `T` without any superfluous\n * property, nothing will be returned, but the input value would be\n * automatically casted to the type `T`. This is the concept of \"Assertion\n * Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go. Also, if you want to returns the\n * parametric value when no problem, you can use {@link assert} function\n * instead.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assertEquals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuardEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Assertion guard of a type with equality.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n *\n * Otherwise, the value is following the type `T` without any superfluous\n * property, nothing will be returned, but the input value would be\n * automatically casted to the type `T`. This is the concept of \"Assertion\n * Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go. Also, if you want to returns the\n * parametric value when no problem, you can use {@link assertEquals} function\n * instead.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assertGuard} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuardEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Tests equality between a value and its type.\n *\n * Tests a parametric value type and returns whether it's equivalent to the type\n * `T` or not. If the parametric value is matched with the type `T` and there's\n * not any superfluous property that is not listed on the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T` or some superfluous property exists, `false` value will be\n * returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assertEquals} function instead. Also, if you\n * want to know all the errors with detailed reasons, {@link validateEquals}\n * function will be useful.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link is} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is equivalent to the type `T` or not\n */\nexport declare function equals<T>(input: T): input is T;\n/**\n * Tests equality between a value and its type.\n *\n * Tests a parametric value type and returns whether it's equivalent to the type\n * `T` or not. If the parametric value is matched with the type `T` and there's\n * not any superfluous property that is not listed on the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T` or some superfluous property exists, `false` value will be\n * returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assertEquals} function instead. Also, if you\n * want to know all the errors with detailed reasons, {@link validateEquals}\n * function will be useful.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link is} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is equivalent to the type `T` or not\n */\nexport declare function equals<T>(input: unknown): input is T;\n/**\n * Validates equality between a value and its type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T` or some superfluous property that is not listed on the type `T` has\n * been found. Of course, if the parametric value is following the type `T` and\n * no superfluous property exists, the {@link IValidation.errors} array would be\n * empty and {@link IValidation.success} would have the `true` value.\n *\n * If what you want is not finding all the error, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validateEquals<T>(input: T): IValidation<T>;\n/**\n * Validates equality between a value and its type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T` or some superfluous property that is not listed on the type `T` has\n * been found. Of course, if the parametric value is following the type `T` and\n * no superfluous property exists, the {@link IValidation.errors} array would be\n * empty and {@link IValidation.success} would have the `true` value.\n *\n * If what you want is not finding all the error, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validateEquals<T>(input: unknown): IValidation<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Generate random data.\n *\n * Generates a random data following type the `T`.\n *\n * For reference, this `typia.random()` function generates only primitive type.\n * If there're some methods in the type `T` or its nested instances, those would\n * be ignored. Also, when the type `T` has a `toJSON()` method, its return type\n * will be generated instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of data to generate\n * @param generator Random data generator\n * @returns Randomly generated data\n */\nexport declare function random(generator?: Partial<IRandomGenerator>): never;\n/**\n * Generate random data.\n *\n * Generates a random data following type the `T`.\n *\n * For reference, this `typia.random()` function generates only primitive type.\n * If there're some methods in the type `T` or its nested instances, those would\n * be ignored. Also, when the type `T` has a `toJSON()` method, its return type\n * will be generated instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of data to generate\n * @param generator Random data generator\n * @returns Randomly generated data\n */\nexport declare function random<T>(generator?: Partial<IRandomGenerator>): Resolved<T>;\n/**\n * Creates a reusable {@link assert} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssert(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assert} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assert` function\n */\nexport declare function createAssert<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;\n/**\n * Creates a reusable {@link assertGuard} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuard<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertGuard(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertGuard} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuard<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n */\nexport declare function createAssertGuard<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;\n/**\n * Creates a reusable {@link is} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIs(): never;\n/**\n * Creates a reusable {@link is} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `is` function\n */\nexport declare function createIs<T>(): (input: unknown) => input is T;\n/**\n * Creates a reusable {@link validate} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidate(): never;\n/**\n * Creates a reusable {@link validate} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validate` function\n */\nexport declare function createValidate<T>(): ((input: unknown) => IValidation<T>) & StandardSchemaV1<unknown, T>;\n/**\n * Creates a reusable {@link assertEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertEquals` function\n */\nexport declare function createAssertEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;\n/**\n * Creates a reusable {@link assertGuardEquals} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuardEquals<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertGuardEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertGuardEquals} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuardEquals<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n */\nexport declare function createAssertGuardEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;\n/**\n * Creates a reusable {@link equals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createEquals(): never;\n/**\n * Creates a reusable {@link equals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `equals` function\n */\nexport declare function createEquals<T>(): (input: unknown) => input is T;\n/**\n * Creates a reusable {@link validateEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateEquals(): never;\n/**\n * Creates a reusable {@link validateEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateEquals` function\n */\nexport declare function createValidateEquals<T>(): ((input: unknown) => IValidation<T>) & StandardSchemaV1<unknown, T>;\n/**\n * Creates a reusable {@link random} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param generator Random data generator\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createRandom(generator?: Partial<IRandomGenerator>): never;\n/**\n * Creates a reusable {@link random} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param generator Random data generator\n * @returns A reusable `random` function\n */\nexport declare function createRandom<T>(generator?: Partial<IRandomGenerator>): () => Resolved<T>;\n",
|
|
14958
|
+
"node_modules/typia/lib/module.d.ts": "import { StandardSchemaV1 } from \"@standard-schema/spec\";\nimport { AssertionGuard } from \"./AssertionGuard\";\nimport { IRandomGenerator } from \"./IRandomGenerator\";\nimport { IValidation } from \"./IValidation\";\nimport { Resolved } from \"./Resolved\";\nimport { TypeGuardError } from \"./TypeGuardError\";\nexport * as functional from \"./functional\";\nexport * as http from \"./http\";\nexport * as llm from \"./llm\";\nexport * as json from \"./json\";\nexport * as misc from \"./misc\";\nexport * as notations from \"./notations\";\nexport * as protobuf from \"./protobuf\";\nexport * as reflect from \"./reflect\";\nexport * as tags from \"./tags\";\nexport * from \"./schemas/metadata/IJsDocTagInfo\";\nexport * from \"./schemas/json/IJsonSchemaApplication\";\nexport * from \"./schemas/json/IJsonSchemaCollection\";\nexport * from \"./schemas/json/IJsonSchemaUnit\";\nexport * from \"./AssertionGuard\";\nexport * from \"./IRandomGenerator\";\nexport * from \"./IValidation\";\nexport * from \"./TypeGuardError\";\nexport * from \"./Primitive\";\nexport * from \"./Resolved\";\nexport * from \"./CamelCase\";\nexport * from \"./PascalCase\";\nexport * from \"./SnakeCase\";\nexport * from \"./IReadableURLSearchParams\";\n/**\n * Asserts a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, the input parameter will\n * be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to automatically cast the parametric value\n * to the type `T` when there is no problem (perform the assertion guard of\n * type).\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assert<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Asserts a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, the input parameter will\n * be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assert<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Assertion guard of a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, nothing will be returned,\n * but the input value will be automatically casted to the type `T`. This is the\n * concept of \"Assertion Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to return the parametric value when there is\n * no problem, you can use {@link assert} function instead.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertGuardEquals}\n * function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuard<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Assertion guard of a value type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with a\n * detailed reason, if the parametric value is not following the type `T`.\n * Otherwise, if the value is following the type `T`, nothing will be returned,\n * but the input value will be automatically casted to the type `T`. This is the\n * concept of \"Assertion Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link is} function\n * instead. Otherwise, if you want to know all the errors, {@link validate} is\n * the way to go. Also, if you want to return the parametric value when there is\n * no problem, you can use {@link assert} function instead.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link assertGuardEquals}\n * function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuard<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Tests a value type.\n *\n * Tests a parametric value type and returns whether it's following the type `T`\n * or not. If the parametric value is matched with the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T`, `false` value will be returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assert} function instead. Also, if you want to\n * know all the errors with detailed reasons, {@link validate} function will be\n * useful.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link equals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function is<T>(input: T): input is T;\n/**\n * Tests a value type.\n *\n * Tests a parametric value type and returns whether it's following the type `T`\n * or not. If the parametric value is matched with the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T`, `false` value will be returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assert} function instead. Also, if you want to\n * know all the errors with detailed reasons, {@link validate} function will be\n * useful.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link equals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is following the type `T` or not\n */\nexport declare function is<T>(input: unknown): input is T;\n/**\n * Validates a value type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T`. Of course, if the parametric value is following the type `T`, the\n * {@link IValidation.errors} array will be empty and {@link IValidation.success}\n * will have the `true` value.\n *\n * If what you want is not finding all the errors, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, if you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validate<T>(input: T): IValidation<T>;\n/**\n * Validates a value type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T`. Of course, if the parametric value is following the type `T`, the\n * {@link IValidation.errors} array will be empty and {@link IValidation.success}\n * will have the `true` value.\n *\n * If what you want is not finding all the errors, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, if you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validate<T>(input: unknown): IValidation<T>;\n/**\n * Asserts equality between a value and its type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n * Otherwise, the value is following the type `T` without any superfluous\n * property, just input parameter would be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assert} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Asserts equality between a value and its type.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n * Otherwise, the value is following the type `T` without any superfluous\n * property, just input parameter would be returned.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assert} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;\n/**\n * Assertion guard of a type with equality.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n *\n * Otherwise, the value is following the type `T` without any superfluous\n * property, nothing will be returned, but the input value would be\n * automatically casted to the type `T`. This is the concept of \"Assertion\n * Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go. Also, if you want to returns the\n * parametric value when no problem, you can use {@link assert} function\n * instead.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assertEquals} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuardEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Assertion guard of a type with equality.\n *\n * Asserts a parametric value type and throws a {@link TypeGuardError} with\n * detailed reason, if the parametric value is not following the type `T` or\n * some superfluous property that is not listed on the type `T` has been found.\n *\n * Otherwise, the value is following the type `T` without any superfluous\n * property, nothing will be returned, but the input value would be\n * automatically casted to the type `T`. This is the concept of \"Assertion\n * Guard\" of a value type.\n *\n * If what you want is not asserting but just knowing whether the parametric\n * value is following the type `T` or not, you can choose the {@link equals}\n * function instead. Otherwise, if you want to know all the errors,\n * {@link validateEquals} is the way to go. Also, if you want to returns the\n * parametric value when no problem, you can use {@link assertEquals} function\n * instead.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link assertGuard} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be asserted\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Parametric input value casted as `T`\n * @throws A {@link TypeGuardError} instance with a detailed reason\n */\nexport declare function assertGuardEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;\n/**\n * Tests equality between a value and its type.\n *\n * Tests a parametric value type and returns whether it's equivalent to the type\n * `T` or not. If the parametric value is matched with the type `T` and there's\n * not any superfluous property that is not listed on the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T` or some superfluous property exists, `false` value will be\n * returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assertEquals} function instead. Also, if you\n * want to know all the errors with detailed reasons, {@link validateEquals}\n * function will be useful.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link is} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is equivalent to the type `T` or not\n */\nexport declare function equals<T>(input: T): input is T;\n/**\n * Tests equality between a value and its type.\n *\n * Tests a parametric value type and returns whether it's equivalent to the type\n * `T` or not. If the parametric value is matched with the type `T` and there's\n * not any superfluous property that is not listed on the type `T`, `true` value\n * will be returned. Otherwise, if the parametric value is not following the\n * type `T` or some superfluous property exists, `false` value will be\n * returned.\n *\n * If what you want is not just knowing whether the parametric value is\n * following the type `T` or not, but throwing an exception with a detailed\n * reason, you can choose {@link assertEquals} function instead. Also, if you\n * want to know all the errors with detailed reasons, {@link validateEquals}\n * function will be useful.\n *\n * On the other hand, if you want to allow superfluous property that is not\n * enrolled to the type `T`, you can use {@link is} function instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input A value to be tested\n * @returns Whether the parametric value is equivalent to the type `T` or not\n */\nexport declare function equals<T>(input: unknown): input is T;\n/**\n * Validates equality between a value and its type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T` or some superfluous property that is not listed on the type `T` has\n * been found. Of course, if the parametric value is following the type `T` and\n * no superfluous property exists, the {@link IValidation.errors} array would be\n * empty and {@link IValidation.success} would have the `true` value.\n *\n * If what you want is not finding all the error, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validateEquals<T>(input: T): IValidation<T>;\n/**\n * Validates equality between a value and its type.\n *\n * Validates a parametric value type and archives all the type errors into an\n * {@link IValidation.errors} array, if the parametric value is not following the\n * type `T` or some superfluous property that is not listed on the type `T` has\n * been found. Of course, if the parametric value is following the type `T` and\n * no superfluous property exists, the {@link IValidation.errors} array would be\n * empty and {@link IValidation.success} would have the `true` value.\n *\n * If what you want is not finding all the error, but asserting the parametric\n * value type with exception throwing, you can choose {@link assert} function\n * instead. Otherwise, you just want to know whether the parametric value is\n * matched with the type `T`, {@link is} function is the way to go.\n *\n * On the other hand, if you don't want to allow any superfluous property that\n * is not enrolled to the type `T`, you can use {@link validateEquals} function\n * instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Type Of the input value\n * @param input A value to be validated\n * @returns Validation result\n */\nexport declare function validateEquals<T>(input: unknown): IValidation<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Generate random data.\n *\n * Generates a random data following type the `T`.\n *\n * For reference, this `typia.random()` function generates only primitive type.\n * If there're some methods in the type `T` or its nested instances, those would\n * be ignored. Also, when the type `T` has a `toJSON()` method, its return type\n * will be generated instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of data to generate\n * @param generator Random data generator\n * @returns Randomly generated data\n */\nexport declare function random(generator?: Partial<IRandomGenerator>): never;\n/**\n * Generate random data.\n *\n * Generates a random data following type the `T`.\n *\n * For reference, this `typia.random()` function generates only primitive type.\n * If there're some methods in the type `T` or its nested instances, those would\n * be ignored. Also, when the type `T` has a `toJSON()` method, its return type\n * will be generated instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of data to generate\n * @param generator Random data generator\n * @returns Randomly generated data\n */\nexport declare function random<T>(generator?: Partial<IRandomGenerator>): Resolved<T>;\n/**\n * Creates a reusable {@link assert} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssert(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assert} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assert` function\n */\nexport declare function createAssert<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;\n/**\n * Creates a reusable {@link assertGuard} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuard<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertGuard(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertGuard} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuard<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n */\nexport declare function createAssertGuard<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;\n/**\n * Creates a reusable {@link is} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIs(): never;\n/**\n * Creates a reusable {@link is} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `is` function\n */\nexport declare function createIs<T>(): (input: unknown) => input is T;\n/**\n * Creates a reusable {@link validate} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidate(): never;\n/**\n * Creates a reusable {@link validate} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validate` function\n */\nexport declare function createValidate<T>(): ((input: unknown) => IValidation<T>) & StandardSchemaV1<unknown, T>;\n/**\n * Creates a reusable {@link assertEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertEquals` function\n */\nexport declare function createAssertEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;\n/**\n * Creates a reusable {@link assertGuardEquals} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuardEquals<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertGuardEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertGuardEquals} function.\n *\n * Note that, you've to declare the variable type of the factory function caller\n * like below. If you don't declare the variable type, compilation error be\n * thrown. This is the special rule of the TypeScript compiler.\n *\n * ```typescript\n * // MUST DECLARE THE VARIABLE TYPE\n * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();\n *\n * // IF NOT, COMPILATION ERROR BE OCCURRED\n * const func = typia.createAssertGuardEquals<number>();\n * ```\n *\n * > _Assertions require every name in the call target to be declared with an_\n * > _explicit type annotation._\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n */\nexport declare function createAssertGuardEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;\n/**\n * Creates a reusable {@link equals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createEquals(): never;\n/**\n * Creates a reusable {@link equals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `equals` function\n */\nexport declare function createEquals<T>(): (input: unknown) => input is T;\n/**\n * Creates a reusable {@link validateEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateEquals(): never;\n/**\n * Creates a reusable {@link validateEquals} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateEquals` function\n */\nexport declare function createValidateEquals<T>(): ((input: unknown) => IValidation<T>) & StandardSchemaV1<unknown, T>;\n/**\n * Creates a reusable {@link random} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param generator Random data generator\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createRandom(generator?: Partial<IRandomGenerator>): never;\n/**\n * Creates a reusable {@link random} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param generator Random data generator\n * @returns A reusable `random` function\n */\nexport declare function createRandom<T>(generator?: Partial<IRandomGenerator>): () => Resolved<T>;\n",
|
|
14959
14959
|
"node_modules/typia/lib/notations.d.ts": "import { CamelCase } from \"./CamelCase\";\nimport { IValidation } from \"./IValidation\";\nimport { PascalCase } from \"./PascalCase\";\nimport { SnakeCase } from \"./SnakeCase\";\nimport { TypeGuardError } from \"./TypeGuardError\";\n/**\n * Convert to camel case.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention.\n *\n * For reference, this `typia.notations.camel()` function does not validate the\n * input value type. It just believes that the input value is following the type\n * `T`. Therefore, if you can't ensure the input value type, it would be better\n * to call one of them below:\n *\n * - {@link assertCamel}\n * - {@link isCamel}\n * - {@link validateCamel}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Camel case object\n */\nexport declare function camel<T>(input: T): CamelCase<T>;\n/**\n * Converts to camel case with type assertion.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Camel case object\n */\nexport declare function assertCamel<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): CamelCase<T>;\n/**\n * Converts to camel case with type assertion.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Camel case object\n */\nexport declare function assertCamel<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): CamelCase<T>;\n/**\n * Converts to camel case with type checking.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Camel case object when exact type, otherwise null\n */\nexport declare function isCamel<T>(input: T): CamelCase<T> | null;\n/**\n * Converts to camel case with type checking.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Camel case object when exact type, otherwise null\n */\nexport declare function isCamel<T>(input: unknown): CamelCase<T> | null;\n/**\n * Converts to camel case with type validation.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, camel cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with camel case object\n */\nexport declare function validateCamel<T>(input: T): IValidation<CamelCase<T>>;\n/**\n * Converts to camel case with type validation.\n *\n * Convert every property names of nested objects to follow the camel case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, camel cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with camel case object\n */\nexport declare function validateCamel<T>(input: unknown): IValidation<CamelCase<T>>;\n/**\n * Convert to pascal case.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention.\n *\n * For reference, this `typia.notations.pascal()` function does not validate the\n * input value type. It just believes that the input value is following the type\n * `T`. Therefore, if you can't ensure the input value type, it would be better\n * to call one of them below:\n *\n * - {@link assertPascal}\n * - {@link isPascal}\n * - {@link validatePascal}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Pascal case object\n */\nexport declare function pascal<T>(input: T): PascalCase<T>;\n/**\n * Converts to pascal case with type assertion.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Pascal case object\n */\nexport declare function assertPascal<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): PascalCase<T>;\n/**\n * Converts to pascal case with type assertion.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Pascal case object\n */\nexport declare function assertPascal<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): PascalCase<T>;\n/**\n * Converts to pascal case with type checking.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Pascal case object when exact type, otherwise null\n */\nexport declare function isPascal<T>(input: T): PascalCase<T> | null;\n/**\n * Converts to pascal case with type checking.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Pascal case object when exact type, otherwise null\n */\nexport declare function isPascal<T>(input: unknown): PascalCase<T> | null;\n/**\n * Converts to pascal case with type validation.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, pascal cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with pascal case object\n */\nexport declare function validatePascal<T>(input: T): IValidation<PascalCase<T>>;\n/**\n * Converts to pascal case with type validation.\n *\n * Convert every property names of nested objects to follow the pascal case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, pascal cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with pascal case object\n */\nexport declare function validatePascal<T>(input: unknown): IValidation<PascalCase<T>>;\n/**\n * Convert to snake case.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention.\n *\n * For reference, this `typia.notations.snake()` function does not validate the\n * input value type. It just believes that the input value is following the type\n * `T`. Therefore, if you can't ensure the input value type, it would be better\n * to call one of them below:\n *\n * - {@link assertSnake}\n * - {@link isSnake}\n * - {@link validateSnake}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Snake case object\n */\nexport declare function snake<T>(input: T): SnakeCase<T>;\n/**\n * Converts to snake case with type assertion.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Snake case object\n */\nexport declare function assertSnake<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): SnakeCase<T>;\n/**\n * Converts to snake case with type assertion.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it throws\n * {@link TypeGuardError}.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Snake case object\n */\nexport declare function assertSnake<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): SnakeCase<T>;\n/**\n * Converts to snake case with type checking.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Snake case object when exact type, otherwise null\n */\nexport declare function isSnake<T>(input: T): SnakeCase<T> | null;\n/**\n * Converts to snake case with type checking.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it returns\n * `null` value instead.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Snake case object when exact type, otherwise null\n */\nexport declare function isSnake<T>(input: unknown): SnakeCase<T> | null;\n/**\n * Converts to snake case with type validation.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, snake cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with snake case object\n */\nexport declare function validateSnake<T>(input: T): IValidation<SnakeCase<T>>;\n/**\n * Converts to snake case with type validation.\n *\n * Convert every property names of nested objects to follow the snake case\n * convention. If the input value does not follow the type `T`, it returns\n * {@link IValidation.Failure} object. Otherwise, there's no problem on the input\n * value, snake cased converted data would be stored in the `data` property of\n * the output {@link IValidation.Success} object.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param input Target object\n * @returns Validation result with snake case object\n */\nexport declare function validateSnake<T>(input: unknown): IValidation<SnakeCase<T>>;\n/**\n * Creates a reusable {@link camel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createCamel(): never;\n/**\n * Creates a reusable {@link camel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `camel` function\n */\nexport declare function createCamel<T>(): (input: T) => CamelCase<T>;\n/**\n * Creates a reusable {@link assertCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertCamel(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertCamel` function\n */\nexport declare function createAssertCamel<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: T) => CamelCase<T>;\n/**\n * Creates a reusable {@link isCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsCamel(): never;\n/**\n * Creates a reusable {@link isCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isCamel` function\n */\nexport declare function createIsCamel<T>(): (input: T) => CamelCase<T> | null;\n/**\n * Creates a reusable {@link validateCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateCamel(): never;\n/**\n * Creates a reusable {@link validateCamel} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateCamel` function\n */\nexport declare function createValidateCamel<T>(): (input: T) => IValidation<CamelCase<T>>;\n/**\n * Creates a reusable {@link pascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createPascal(): never;\n/**\n * Creates a reusable {@link pascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `pascal` function\n */\nexport declare function createPascal<T>(): (input: T) => PascalCase<T>;\n/**\n * Creates a reusable {@link assertPascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertPascal(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertPascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertPascal` function\n */\nexport declare function createAssertPascal<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: T) => PascalCase<T>;\n/**\n * Creates a reusable {@link isPascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsPascal(): never;\n/**\n * Creates a reusable {@link isPascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isPascal` function\n */\nexport declare function createIsPascal<T>(): (input: T) => PascalCase<T> | null;\n/**\n * Creates a reusable {@link validatePascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidatePascal(): never;\n/**\n * Creates a reusable {@link validatePascal} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validatePascal` function\n */\nexport declare function createValidatePascal<T>(): (input: T) => IValidation<PascalCase<T>>;\n/**\n * Creates a reusable {@link snake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createSnake(): never;\n/**\n * Creates a reusable {@link snake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `snake` function\n */\nexport declare function createSnake<T>(): (input: T) => SnakeCase<T>;\n/**\n * Creates a reusable {@link assertSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertSnake(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertSnake` function\n */\nexport declare function createAssertSnake<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: T) => SnakeCase<T>;\n/**\n * Creates a reusable {@link isSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsSnake(): never;\n/**\n * Creates a reusable {@link isSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `isSnake` function\n */\nexport declare function createIsSnake<T>(): (input: T) => SnakeCase<T> | null;\n/**\n * Creates a reusable {@link validateSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until be configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateSnake(): never;\n/**\n * Creates a reusable {@link validateSnake} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the input value\n * @returns A reusable `validateSnake` function\n */\nexport declare function createValidateSnake<T>(): (input: T) => IValidation<SnakeCase<T>>;\n",
|
|
14960
14960
|
"node_modules/typia/lib/programmers/AssertProgrammer.d.ts": "import ts from \"typescript\";\nimport { IProgrammerProps } from \"../transformers/IProgrammerProps\";\nimport { ITypiaContext } from \"../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"./FeatureProgrammer\";\nimport { FunctionProgrammer } from \"./helpers/FunctionProgrammer\";\nexport declare namespace AssertProgrammer {\n interface IConfig {\n equals: boolean;\n guard: boolean;\n }\n interface IProps extends IProgrammerProps {\n config: IConfig;\n }\n const decompose: (props: {\n config: IConfig;\n context: ITypiaContext;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n init?: ts.Expression | undefined;\n }) => FeatureProgrammer.IDecomposed;\n const write: (props: IProps) => ts.CallExpression;\n namespace Guardian {\n const identifier: () => ts.Identifier;\n const parameter: (props: {\n context: ITypiaContext;\n init: ts.Expression | undefined;\n }) => ts.ParameterDeclaration;\n const type: (context: ITypiaContext) => ts.FunctionTypeNode;\n }\n}\n",
|
|
14961
14961
|
"node_modules/typia/lib/programmers/CheckerProgrammer.d.ts": "import ts from \"typescript\";\nimport { MetadataCollection } from \"../factories/MetadataCollection\";\nimport { Metadata } from \"../schemas/metadata/Metadata\";\nimport { MetadataObjectType } from \"../schemas/metadata/MetadataObjectType\";\nimport { ITypiaContext } from \"../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"./FeatureProgrammer\";\nimport { FunctionProgrammer } from \"./helpers/FunctionProgrammer\";\nimport { ICheckEntry } from \"./helpers/ICheckEntry\";\nimport { IExpressionEntry } from \"./helpers/IExpressionEntry\";\nexport declare namespace CheckerProgrammer {\n interface IConfig {\n prefix: string;\n path: boolean;\n trace: boolean;\n equals: boolean;\n numeric: boolean;\n addition?: () => ts.Statement[];\n decoder?: (props: {\n metadata: Metadata;\n input: ts.Expression;\n explore: IExplore;\n }) => ts.Expression;\n combiner: IConfig.Combiner;\n atomist: (props: {\n entry: ICheckEntry;\n input: ts.Expression;\n explore: IExplore;\n }) => ts.Expression;\n joiner: IConfig.IJoiner;\n success: ts.Expression;\n }\n namespace IConfig {\n interface Combiner {\n (props: {\n explore: IExplore;\n logic: \"and\" | \"or\";\n input: ts.Expression;\n binaries: IBinary[];\n expected: string;\n }): ts.Expression;\n }\n interface IJoiner {\n object(props: {\n input: ts.Expression;\n entries: IExpressionEntry<ts.Expression>[];\n }): ts.Expression;\n array(props: {\n input: ts.Expression;\n arrow: ts.ArrowFunction;\n }): ts.Expression;\n tuple?: undefined | ((exprs: ts.Expression[]) => ts.Expression);\n failure(props: {\n input: ts.Expression;\n expected: string;\n explore?: undefined | FeatureProgrammer.IExplore;\n }): ts.Expression;\n is?(expression: ts.Expression): ts.Expression;\n required?(exp: ts.Expression): ts.Expression;\n full?: undefined | ((props: {\n condition: ts.Expression;\n input: ts.Expression;\n expected: string;\n explore: IExplore;\n }) => ts.Expression);\n }\n }\n type IExplore = FeatureProgrammer.IExplore;\n interface IBinary {\n expression: ts.Expression;\n combined: boolean;\n }\n const compose: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n }) => FeatureProgrammer.IComposed;\n const write: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n type: ts.Type;\n name?: string;\n }) => ts.ArrowFunction;\n const write_object_functions: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n collection: MetadataCollection;\n }) => ts.VariableStatement[];\n const write_union_functions: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n collection: MetadataCollection;\n }) => ts.VariableStatement[];\n const write_array_functions: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n collection: MetadataCollection;\n }) => ts.VariableStatement[];\n const write_tuple_functions: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n collection: MetadataCollection;\n }) => ts.VariableStatement[];\n const decode: (props: {\n context: ITypiaContext;\n config: IConfig;\n functor: FunctionProgrammer;\n input: ts.Expression;\n metadata: Metadata;\n explore: IExplore;\n }) => ts.Expression;\n const decode_object: (props: {\n config: IConfig;\n functor: FunctionProgrammer;\n object: MetadataObjectType;\n input: ts.Expression;\n explore: IExplore;\n }) => ts.CallExpression;\n}\n",
|
|
@@ -15043,7 +15043,7 @@
|
|
|
15043
15043
|
"node_modules/typia/lib/programmers/internal/stringify_regular_properties.d.ts": "export {};\n",
|
|
15044
15044
|
"node_modules/typia/lib/programmers/internal/template_to_pattern.d.ts": "export {};\n",
|
|
15045
15045
|
"node_modules/typia/lib/programmers/internal/wrap_metadata_rest_tuple.d.ts": "export {};\n",
|
|
15046
|
-
"node_modules/typia/lib/programmers/json/JsonApplicationProgrammer.d.ts": "import { MetadataFactory } from \"../../factories/MetadataFactory\";\nimport {
|
|
15046
|
+
"node_modules/typia/lib/programmers/json/JsonApplicationProgrammer.d.ts": "import { MetadataFactory } from \"../../factories/MetadataFactory\";\nimport { IJsonSchemaApplication } from \"../../schemas/json/IJsonSchemaApplication\";\nimport { IJsDocTagInfo } from \"../../schemas/metadata/IJsDocTagInfo\";\nimport { Metadata } from \"../../schemas/metadata/Metadata\";\nimport { MetadataProperty } from \"../../schemas/metadata/MetadataProperty\";\nexport declare namespace JsonApplicationProgrammer {\n const validate: (metadata: Metadata, explore: MetadataFactory.IExplore) => string[];\n const write: <Version extends \"3.0\" | \"3.1\">(props: {\n version: Version;\n metadata: Metadata;\n filter?: (prop: MetadataProperty) => boolean;\n }) => IJsonSchemaApplication<Version>;\n const writeDescription: <Kind extends \"summary\" | \"title\">(props: {\n description: string | null;\n jsDocTags: IJsDocTagInfo[];\n kind: Kind;\n }) => Kind extends \"summary\" ? {\n summary?: string;\n description?: string;\n } : {\n title?: string;\n description?: string;\n };\n}\n",
|
|
15047
15047
|
"node_modules/typia/lib/programmers/json/JsonAssertParseProgrammer.d.ts": "import ts from \"typescript\";\nimport { IProgrammerProps } from \"../../transformers/IProgrammerProps\";\nimport { ITypiaContext } from \"../../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"../FeatureProgrammer\";\nimport { FunctionProgrammer } from \"../helpers/FunctionProgrammer\";\nexport declare namespace JsonAssertParseProgrammer {\n const decompose: (props: {\n context: ITypiaContext;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n init: ts.Expression | undefined;\n }) => FeatureProgrammer.IDecomposed;\n const write: (props: IProgrammerProps) => ts.CallExpression;\n}\n",
|
|
15048
15048
|
"node_modules/typia/lib/programmers/json/JsonAssertStringifyProgrammer.d.ts": "import ts from \"typescript\";\nimport { IProgrammerProps } from \"../../transformers/IProgrammerProps\";\nimport { ITypiaContext } from \"../../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"../FeatureProgrammer\";\nimport { FunctionProgrammer } from \"../helpers/FunctionProgrammer\";\nexport declare namespace JsonAssertStringifyProgrammer {\n const decompose: (props: {\n context: ITypiaContext;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n init: ts.Expression | undefined;\n }) => FeatureProgrammer.IDecomposed;\n const write: (props: IProgrammerProps) => ts.CallExpression;\n}\n",
|
|
15049
15049
|
"node_modules/typia/lib/programmers/json/JsonIsParseProgrammer.d.ts": "import ts from \"typescript\";\nimport { IProgrammerProps } from \"../../transformers/IProgrammerProps\";\nimport { ITypiaContext } from \"../../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"../FeatureProgrammer\";\nimport { FunctionProgrammer } from \"../helpers/FunctionProgrammer\";\nexport declare namespace JsonIsParseProgrammer {\n const decompose: (props: {\n context: ITypiaContext;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n }) => FeatureProgrammer.IDecomposed;\n const write: (props: IProgrammerProps) => ts.CallExpression;\n}\n",
|
|
@@ -15081,10 +15081,9 @@
|
|
|
15081
15081
|
"node_modules/typia/lib/programmers/protobuf/ProtobufValidateEncodeProgrammer.d.ts": "import ts from \"typescript\";\nimport { IProgrammerProps } from \"../../transformers/IProgrammerProps\";\nimport { ITypiaContext } from \"../../transformers/ITypiaContext\";\nimport { FeatureProgrammer } from \"../FeatureProgrammer\";\nimport { FunctionProgrammer } from \"../helpers/FunctionProgrammer\";\nexport declare namespace ProtobufValidateEncodeProgrammer {\n const decompose: (props: {\n context: ITypiaContext;\n modulo: ts.LeftHandSideExpression;\n functor: FunctionProgrammer;\n type: ts.Type;\n name: string | undefined;\n }) => FeatureProgrammer.IDecomposed;\n const write: (props: IProgrammerProps) => ts.CallExpression;\n}\n",
|
|
15082
15082
|
"node_modules/typia/lib/protobuf.d.ts": "import { IValidation } from \"./IValidation\";\nimport { Resolved } from \"./Resolved\";\nimport { TypeGuardError } from \"./TypeGuardError\";\n/**\n * > You must configure the generic argument `T`.\n *\n * Protocol Buffer Message Schema.\n *\n * Creates a Protocol Buffer Message Schema from a TypeScript type. The message\n * schema would be returned as a string value, and it can be used to share with\n * other developers/languages/frameworks.\n *\n * For reference, Protocol Buffer has lots of restrictions, so that expression\n * power of Protocol Buffer is not enough strong to fully meet the TypeScript\n * type specs. In such reason, if you put a TypeScript type that is not\n * compatible with Protocol Buffer, this function would throw compilation\n * errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns Protocol Buffer Message Schema.\n */\nexport declare function message(): never;\n/**\n * Protocol Buffer Message Schema.\n *\n * Creates a Protocol Buffer Message Schema from a TypeScript type. The message\n * schema would be returned as a string value, and it can be used to share with\n * other developers/languages/frameworks.\n *\n * For reference, Protocol Buffer has lots of restrictions, so that expression\n * power of Protocol Buffer is not enough strong to fully meet the TypeScript\n * type specs. In such reason, if you put a TypeScript type that is not\n * compatible with Protocol Buffer, this function would throw compilation\n * errors.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns Protocol Buffer Message Schema.\n */\nexport declare function message<T>(): string;\n/**\n * > You must configure the generic argument `T`.\n *\n * Protocol Buffer Decoder.\n *\n * `typia.protobuf.decode()` is a function decoding a binary data of Protocol\n * Buffer format to a TypeScript instance.\n *\n * For reference, as Protocol Buffer handles binary data directly, there's no\n * way when `input` binary data was not encoded from the `T` typed value. In\n * that case, unexpected behavior or internal error would be occurred.\n * Therefore, I recommend you to encode binary data of Protocol Buffer from type\n * safe encode functions like below. Use {@link encode} function only when you\n * can ensure it.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * Also, `typia` is providing type safe decoders like {@link assertDecode}, but\n * it is just for additional type validation like `number & Minimum<7>` or\n * `string & Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Thus, I repeat that, you've to\n * ensure the type safety when using decoder functions.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function decode(input: Uint8Array): never;\n/**\n * Protocol Buffer Decoder.\n *\n * `typia.protobuf.decode()` is a function decoding a binary data of Protocol\n * Buffer format to a TypeScript instance.\n *\n * For reference, as Protocol Buffer handles binary data directly, there's no\n * way when `input` binary data was not encoded from the `T` typed value. In\n * that case, unexpected behavior or internal error would be occurred.\n * Therefore, I recommend you to encode binary data of Protocol Buffer from type\n * safe encode functions like below. Use {@link encode} function only when you\n * can ensure it.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * Also, `typia` is providing type safe decoders like {@link assertDecode}, but\n * it is just for additional type validation like `number & Minimum<7>` or\n * `string & Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Thus, I repeat that, you've to\n * ensure the type safety when using decoder functions.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function decode<T>(input: Uint8Array): Resolved<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Protocol Buffer Decoder wity type assertion, but not safe.\n *\n * `typia.protobuf.assertDecode()` is a combination function of {@link decode}\n * and {@link assert} function. Therefore, it decodes a binary data of Protocol\n * Buffer to a TypeScript instance, and performs type assertion process. If\n * decoded value is following the type `T`, it returns the decoded value.\n * Otherwise, it throws {@link TypeGuardError} instead.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type assertion like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.assertDecode<T>()` function, you have to ensure the type\n * safety by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Decoded value\n */\nexport declare function assertDecode(input: Uint8Array, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Protocol Buffer Decoder wity type assertion, but not safe.\n *\n * `typia.protobuf.assertDecode()` is a combination function of {@link decode}\n * and {@link assert} function. Therefore, it decodes a binary data of Protocol\n * Buffer to a TypeScript instance, and performs type assertion process. If\n * decoded value is following the type `T`, it returns the decoded value.\n * Otherwise, it throws {@link TypeGuardError} instead.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type assertion like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.assertDecode<T>()` function, you have to ensure the type\n * safety by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Decoded value\n */\nexport declare function assertDecode<T>(input: Uint8Array, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Resolved<T>;\n/**\n * > You must configure the generic argument `T`.\n *\n * Protocol Buffer Decoder wity type checking, but not safe.\n *\n * `typia.protobuf.isDecode()` is a combination function of {@link decode} and\n * {@link is} function. Therefore, it decodes a binary data of Protocol Buffer to\n * a TypeScript instance, and performs type checking process. If decoded value\n * is following the type `T`, it returns the decoded value. Otherwise, it\n * returns `null` value instead.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type checking like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.isDecode<T>()` function, you have to ensure the type safety\n * by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function isDecode(input: Uint8Array): never;\n/**\n * Protocol Buffer Decoder wity type checking, but not safe.\n *\n * `typia.protobuf.isDecode()` is a combination function of {@link decode} and\n * {@link is} function. Therefore, it decodes a binary data of Protocol Buffer to\n * a TypeScript instance, and performs type checking process. If decoded value\n * is following the type `T`, it returns the decoded value. Otherwise, it\n * returns `null` value instead.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type checking like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.isDecode<T>()` function, you have to ensure the type safety\n * by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function isDecode<T>(input: Uint8Array): Resolved<T> | null;\n/**\n * > You must configure the generic argument `T`.\n *\n * Protocol Buffer Decoder wity type validation, but not safe.\n *\n * `typia.protobuf.validateDecode()` is a combination function of {@link decode}\n * and {@link validate} function. Therefore, it decodes a binary data of Protocol\n * Buffer to a TypeScript instance, and performs type validation process. If\n * decoded value is following the type `T`, it returns the decoded value with\n * {@link IValidation.ISuccess} typed instance. Otherwise, it returns\n * {@link IValidation.IFailure} value instead with detailed error reasons.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type validation like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.validateDecode<T>()` function, you have to ensure the type\n * safety by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function validateDecode(input: Uint8Array): never;\n/**\n * Protocol Buffer Decoder wity type validation, but not safe.\n *\n * `typia.protobuf.validateDecode()` is a combination function of {@link decode}\n * and {@link validate} function. Therefore, it decodes a binary data of Protocol\n * Buffer to a TypeScript instance, and performs type validation process. If\n * decoded value is following the type `T`, it returns the decoded value with\n * {@link IValidation.ISuccess} typed instance. Otherwise, it returns\n * {@link IValidation.IFailure} value instead with detailed error reasons.\n *\n * However, note that, this validation is not always safe. It just performs\n * additional type validation like `number & Minimum<7>` or `string &\n * Format<\"uuid\">` cases, that are represented by [custom\n * tags](https://typia.io/docs/validators/tags). Therefore, when using\n * `typia.protobuf.validateDecode<T>()` function, you have to ensure the type\n * safety by yourself.\n *\n * In such type safety reason, I recommend you to use type safe encode\n * functions.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Expected type of decoded value\n * @param input Protobuf Buffer binary data\n * @returns Decoded value\n */\nexport declare function validateDecode<T>(input: Uint8Array): IValidation<Resolved<T>>;\n/**\n * Protocol Buffer Encoder.\n *\n * Converts an input value to a binary data of Protocol Buffer format.\n *\n * For reference, this `typia.protobuf.encode()` does not validate the `input`\n * value. It just believes that the `input` value is valid and converts it to a\n * binary data directly. Therefore, if you can't ensure the `input` value type,\n * it would better to call one of below functions instead.\n *\n * - {@link assertEncode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @returns Encoded binary data\n */\nexport declare function encode<T>(input: T): Uint8Array;\n/**\n * Protocol Buffer Encoder with type assertion.\n *\n * `typia.protobuf.assertEncode()` is a combination function of {@link assert}\n * and {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type assertion. If `input` value is not valid, it throws\n * {@link TypeGuardError}. Otherwise, there's no problem on the `input` value,\n * Protocol Buffer binary data would be returned.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Encoded binary data\n */\nexport declare function assertEncode<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Uint8Array;\n/**\n * Protocol Buffer Encoder with type assertion.\n *\n * `typia.protobuf.assertEncode()` is a combination function of {@link assert}\n * and {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type assertion. If `input` value is not valid, it throws\n * {@link TypeGuardError}. Otherwise, there's no problem on the `input` value,\n * Protocol Buffer binary data would be returned.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link isEncode}\n * - {@link validateEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Encoded binary data\n */\nexport declare function assertEncode<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): Uint8Array;\n/**\n * Protocol Buffer Encoder with type checking.\n *\n * `typia.protobuf.isEncode()` is a combination function of {@link is} and\n * {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type checking. If `input` value is not valid, it returns `null` value.\n * Otherwise, there's no problem on the `input` value, Protocol Buffer binary\n * data would be returned.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link assertEncode}\n * - {@link validateEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @returns Encoded binary data\n */\nexport declare function isEncode<T>(input: T): Uint8Array | null;\n/**\n * Protocol Buffer Encoder with type checking.\n *\n * `typia.protobuf.isEncode()` is a combination function of {@link is} and\n * {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type checking. If `input` value is not valid, it returns `null` value.\n * Otherwise, there's no problem on the `input` value, Protocol Buffer binary\n * data would be returned.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link assertEncode}\n * - {@link validateEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @returns Encoded binary data\n */\nexport declare function isEncode<T>(input: unknown): Uint8Array | null;\n/**\n * Protocol Buffer Encoder with type validation.\n *\n * `typia.protobuf.validateEncode()` is a combination function of\n * {@link validation} and {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type validation. If `input` value is not valid, it returns\n * {@link IValidation.IFailure} value with detailed error reasons. Otherwise,\n * there's no problem on the `input` value, Protocol Buffer binary data would be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link assertEncode}\n * - {@link isEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @returns Encoded binary data\n */\nexport declare function validateEncode<T>(input: T): IValidation<Uint8Array>;\n/**\n * Protocol Buffer Encoder with type validation.\n *\n * `typia.protobuf.validateEncode()` is a combination function of\n * {@link validation} and {@link encode}.\n *\n * Therefore, it converts an `input` value to a binary data of Protocol Buffer,\n * with type validation. If `input` value is not valid, it returns\n * {@link IValidation.IFailure} value with detailed error reasons. Otherwise,\n * there's no problem on the `input` value, Protocol Buffer binary data would be\n * stored in `data` property of the output {@link IValidation.ISuccess}\n * instance.\n *\n * If you can trust `input` value, or want to perform other type of validation,\n * use below functions instead.\n *\n * - {@link encode}\n * - {@link assertEncode}\n * - {@link isEncode}\n *\n * By the way, you know what? Expression power of Protocol Buffer is not enough\n * strong to fully meet the TypeScript type specs. In such reason, if you put a\n * TypeScript type that is not compatible with Protocol Buffer, this function\n * would throw compilation errors.\n *\n * - [Restrictions of Protocol\n * Buffer](https://typia.io/docs/protobuf/message/#restrictions)\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Type of the value input\n * @param input A value to encode\n * @returns Encoded binary data\n */\nexport declare function validateEncode<T>(input: unknown): IValidation<Uint8Array>;\n/**\n * Creates a reusable {@link decode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createDecode(): never;\n/**\n * Creates a reusable {@link decode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `decode` function\n */\nexport declare function createDecode<T>(): (input: Uint8Array) => Resolved<T>;\n/**\n * Creates a reusable {@link isDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsDecode(): never;\n/**\n * Creates a reusable {@link isDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `isDecode` function\n */\nexport declare function createIsDecode<T>(): (input: Uint8Array) => Resolved<T> | null;\n/**\n * Creates a reusable {@link assertDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertDecode(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertDecode` function\n */\nexport declare function createAssertDecode<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: Uint8Array) => Resolved<T>;\n/**\n * Creates a reusable {@link validateDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateDecode(): never;\n/**\n * Creates a reusable {@link validateDecode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `validateDecode` function\n */\nexport declare function createValidateDecode<T>(): (input: Uint8Array) => IValidation<Resolved<T>>;\n/**\n * Creates a reusable {@link encode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createEncode(): never;\n/**\n * Creates a reusable {@link encode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `encode` function\n */\nexport declare function createEncode<T>(): (input: T) => Uint8Array;\n/**\n * Creates a reusable {@link isEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createIsEncode(): never;\n/**\n * Creates a reusable {@link isEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `isEncode` function\n */\nexport declare function createIsEncode<T>(): (input: T) => Uint8Array | null;\n/**\n * Creates a reusable {@link assertEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createAssertEncode(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;\n/**\n * Creates a reusable {@link assertEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @param errorFactory Custom error factory. Default is `TypeGuardError`\n * @returns A reusable `assertEncode` function\n */\nexport declare function createAssertEncode<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: T) => Uint8Array;\n/**\n * Creates a reusable {@link validateEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @returns Nothing until you configure the generic argument `T`\n * @throws Compile error\n * @danger You must configure the generic argument `T`\n */\nexport declare function createValidateEncode(): never;\n/**\n * Creates a reusable {@link validateEncode} function.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template T Target type\n * @returns A reusable `validateEncode` function\n */\nexport declare function createValidateEncode<T>(): (input: T) => IValidation<Uint8Array>;\n",
|
|
15083
15083
|
"node_modules/typia/lib/reflect.d.ts": "import { IMetadataApplication } from \"./schemas/metadata/IMetadataApplication\";\n/**\n * > You must configure the generic argument `Types`.\n *\n * Metadata Application.\n *\n * Creates a Metadata application which contains the metadata and components.\n *\n * Note that, all of the collection types like Array, Tuple and Objects are\n * stored in the {@link IMetadataApplication.components} property. Also, alias\n * types are stored in the {@link IMetadataApplication.aliases} property, too.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @returns Metadata application\n */\nexport declare function metadata(): never;\n/**\n * Metadata Application.\n *\n * Creates a Metadata application which contains the metadata and components.\n *\n * Note that, all of the collection types like Array, Tuple and Objects are\n * stored in the {@link IMetadataApplication.components} property. Also, alias\n * types are stored in the {@link IMetadataApplication.aliases} property, too.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @template Types Tuple of target types\n * @returns Metadata application\n */\nexport declare function metadata<Types extends unknown[]>(): IMetadataApplication;\nexport declare function name<T, Regular extends boolean = false>(): string;\nexport declare function name(): never;\n",
|
|
15084
|
-
"node_modules/typia/lib/schemas/json/
|
|
15084
|
+
"node_modules/typia/lib/schemas/json/IJsonSchemaApplication.d.ts": "import { OpenApi, OpenApiV3 } from \"@samchon/openapi\";\nexport interface IJsonSchemaApplication<Version extends \"3.0\" | \"3.1\" = \"3.1\", App extends any = object> {\n version: Version;\n components: IJsonSchemaApplication.IComponents<IJsonSchemaApplication.Schema<Version>>;\n functions: IJsonSchemaApplication.IFunction<IJsonSchemaApplication.Schema<Version>>[];\n __application?: App | undefined;\n}\nexport declare namespace IJsonSchemaApplication {\n type Schema<Version extends \"3.0\" | \"3.1\"> = Version extends \"3.1\" ? OpenApi.IJsonSchema : OpenApiV3.IJsonSchema;\n interface IComponents<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n schemas?: Record<string, Schema>;\n }\n interface IFunction<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n async: boolean;\n name: string;\n parameters: IParameter<Schema>[];\n output: IOutput<Schema> | undefined;\n summary?: string | undefined;\n description?: string | undefined;\n deprecated?: boolean;\n tags?: string[];\n }\n interface IParameter<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n name: string;\n required: boolean;\n schema: Schema;\n title?: string | undefined;\n description?: string | undefined;\n }\n interface IOutput<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n schema: Schema;\n required: boolean;\n description?: string | undefined;\n }\n}\n",
|
|
15085
15085
|
"node_modules/typia/lib/schemas/json/IJsonSchemaCollection.d.ts": "import type { OpenApi, OpenApiV3 } from \"@samchon/openapi\";\n/**\n * Collection of JSON schemas with OpenAPI specification support.\n *\n * `IJsonSchemaCollection` represents a comprehensive collection of JSON schemas\n * that can be generated from TypeScript types using the `typia.json.schemas()`\n * function. This interface supports both OpenAPI v3.0 and v3.1 specifications,\n * with the ability to automatically generate appropriate schema definitions\n * based on the specified version.\n *\n * The collection includes:\n *\n * - Generated JSON schemas array containing schema definitions for the specified\n * types\n * - Reusable components that can be referenced across different schemas\n * - Version-specific formatting that adheres to either OpenAPI v3.0 or v3.1\n * standards\n *\n * Key differences between versions:\n *\n * - OpenAPI v3.0: Uses {@link OpenApiV3.IJsonSchema} format with limited tuple\n * support\n * - OpenAPI v3.1: Uses {@link OpenApi.IJsonSchema} format with full JSON Schema\n * Draft 2020-12 compatibility\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @example\n * ```typescript\n * // Generate schemas for OpenAPI v3.1 (default)\n * const schemas = typia.json.schemas<[User, Product]>();\n * // Type: IJsonSchemaCollection<\"3.1\", [User, Product]>\n *\n * // Generate schemas for OpenAPI v3.0 (Swagger compatibility)\n * const swaggerSchemas = typia.json.schemas<[User, Product], \"3.0\">();\n * // Type: IJsonSchemaCollection<\"3.0\", [User, Product]>\n * ```;\n *\n * @template Version The OpenAPI specification version to target (\"3.0\" or\n * \"3.1\"). Defaults to \"3.1\" for enhanced JSON Schema compatibility.\n * @template Types Array of original TypeScript types that were analyzed to\n * generate the JSON schemas. This provides type safety and traceability back\n * to the source TypeScript definitions.\n */\nexport type IJsonSchemaCollection<Version extends \"3.0\" | \"3.1\" = \"3.1\", Types = unknown[]> = Version extends \"3.0\" ? IJsonSchemaCollection.IV3_0<Types> : IJsonSchemaCollection.IV3_1<Types>;\nexport declare namespace IJsonSchemaCollection {\n /**\n * JSON Schema collection formatted for OpenAPI v3.0 specification.\n *\n * This interface represents a collection of JSON schemas that comply with\n * OpenAPI v3.0 standards, which are compatible with Swagger tools and legacy\n * OpenAPI implementations. OpenAPI v3.0 has some limitations compared to\n * v3.1, particularly around tuple types and pattern properties.\n *\n * Key characteristics of v3.0:\n *\n * - Cannot express tuple types natively (falls back to array representations)\n * - Cannot express pattern properties in object schemas\n * - Uses nullable property instead of union with null type\n * - Limited JSON Schema Draft compatibility (based on Draft 4)\n *\n * @template Types Array of original TypeScript types used to generate the\n * schemas. This provides compile-time type information about what types\n * were analyzed during schema generation.\n */\n interface IV3_0<Types = unknown[]> {\n /**\n * OpenAPI specification version identifier.\n *\n * Always set to \"3.0\" to indicate this collection uses OpenAPI v3.0 schema\n * format and constraints.\n */\n version: \"3.0\";\n /**\n * Array of generated JSON schemas.\n *\n * Contains the actual JSON schema definitions generated from the input\n * TypeScript types. Each schema in this array corresponds to one of the\n * types specified in the `Types` template parameter. The schemas follow\n * OpenAPI v3.0 format and may contain references to components defined in\n * the {@link components} property.\n *\n * Schema references typically use the format: `{ \"$ref\":\n * \"#/components/schemas/TypeName\" }`\n */\n schemas: OpenApiV3.IJsonSchema[];\n /**\n * Reusable schema components for OpenAPI v3.0.\n *\n * Contains reusable schema definitions, security schemes, and other\n * components that can be referenced from the main schemas. This follows the\n * OpenAPI v3.0 components structure and enables schema reuse and\n * modularity.\n *\n * Components include:\n *\n * - Schemas: Named type definitions that can be referenced via $ref\n * - SecuritySchemes: Authentication and authorization schemes\n * - Parameters: Reusable parameter definitions\n * - RequestBodies: Reusable request body definitions\n * - Responses: Reusable response definitions\n * - Headers: Reusable header definitions\n * - Examples: Reusable example definitions\n */\n components: OpenApiV3.IComponents;\n /**\n * Type metadata for compile-time type tracking.\n *\n * This optional property stores the original TypeScript types that were\n * used to generate the JSON schemas. It's primarily used for type safety\n * and doesn't affect runtime behavior. The property is marked as optional\n * and undefined to prevent it from appearing in serialized JSON output.\n *\n * This enables:\n *\n * - Compile-time type checking against the original types\n * - IDE intellisense and autocompletion\n * - Type-safe schema validation and usage\n */\n __types?: Types | undefined;\n }\n /**\n * JSON Schema collection formatted for OpenAPI v3.1 specification.\n *\n * This interface represents a collection of JSON schemas that comply with\n * OpenAPI v3.1 standards, which provide enhanced JSON Schema compatibility\n * and support for modern JSON Schema features. OpenAPI v3.1 is based on JSON\n * Schema Draft 2020-12 and offers significant improvements over v3.0.\n *\n * Key advantages of v3.1:\n *\n * - Full tuple type support with prefixItems\n * - Pattern properties support for dynamic object keys\n * - Proper null type handling via union types\n * - Enhanced JSON Schema Draft 2020-12 compatibility\n * - Better const, enum, and validation support\n *\n * @template Types Array of original TypeScript types used to generate the\n * schemas. This provides compile-time type information about what types\n * were analyzed during schema generation.\n */\n interface IV3_1<Types = unknown[]> {\n /**\n * OpenAPI specification version identifier.\n *\n * Always set to \"3.1\" to indicate this collection uses OpenAPI v3.1 schema\n * format with enhanced JSON Schema compatibility.\n */\n version: \"3.1\";\n /**\n * Reusable schema components for OpenAPI v3.1.\n *\n * Contains reusable schema definitions and other components following the\n * OpenAPI v3.1 specification. This structure is similar to v3.0 but\n * supports enhanced JSON Schema features and improved type definitions.\n *\n * Components include:\n *\n * - Schemas: Named type definitions with enhanced JSON Schema support\n * - SecuritySchemes: Authentication and authorization schemes\n *\n * The emended OpenAPI v3.1 format used here removes ambiguous expressions\n * and standardizes certain patterns for better tooling compatibility.\n */\n components: OpenApi.IComponents;\n /**\n * Array of generated JSON schemas with v3.1 enhancements.\n *\n * Contains JSON schema definitions that take advantage of OpenAPI v3.1's\n * enhanced capabilities. These schemas can express more complex TypeScript\n * types accurately, including:\n *\n * - Tuple types using prefixItems\n * - Union types with proper null handling\n * - Complex nested object structures\n * - Pattern-based property definitions\n *\n * Each schema corresponds to one of the input TypeScript types and may\n * reference components defined in the {@link components} property.\n */\n schemas: OpenApi.IJsonSchema[];\n /**\n * Type metadata for compile-time type tracking.\n *\n * This optional property stores the original TypeScript types that were\n * used to generate the JSON schemas. It provides compile-time type safety\n * and enables better development experience without affecting runtime\n * behavior.\n *\n * Benefits include:\n *\n * - Strong typing connection to original TypeScript definitions\n * - Enhanced IDE support and autocompletion\n * - Compile-time validation of schema usage\n * - Type-safe integration with validation libraries\n */\n __types?: Types | undefined;\n }\n}\n",
|
|
15086
15086
|
"node_modules/typia/lib/schemas/json/IJsonSchemaUnit.d.ts": "import { OpenApi, OpenApiV3 } from \"@samchon/openapi\";\n/**\n * Single unit of JSON schema representation.\n *\n * `IJsonSchemaUnit` represents a self-contained JSON schema unit that\n * encapsulates a single schema definition along with its associated reusable\n * components. This is typically used when generating a JSON schema for a single\n * TypeScript type, as opposed to a collection of multiple types.\n *\n * Unlike {@link IJsonSchemaCollection} which handles multiple schemas,\n * `IJsonSchemaUnit` focuses on representing a single schema with its\n * dependencies. This makes it ideal for scenarios where you need to work with\n * individual type definitions or when integrating with systems that expect\n * single schema documents.\n *\n * The unit contains:\n *\n * - A single JSON schema definition for the specified TypeScript type\n * - All necessary reusable components that the schema may reference\n * - Version-specific formatting for either OpenAPI v3.0 or v3.1 compatibility\n * - Optional type metadata for compile-time type safety\n *\n * Key differences from collection:\n *\n * - Contains only one schema instead of an array of schemas\n * - More lightweight for single-type use cases\n * - Simpler structure for direct schema consumption\n * - Still maintains full component reference support\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @example\n * ```typescript\n * interface User {\n * id: string;\n * name: string;\n * email?: string;\n * }\n *\n * // Generate a single schema unit for OpenAPI v3.1 (default)\n * const userSchema = typia.json.schema<User>();\n * // Type: IJsonSchemaUnit<\"3.1\", User>\n *\n * // Generate a single schema unit for OpenAPI v3.0 (Swagger compatibility)\n * const swaggerUserSchema = typia.json.schema<User, \"3.0\">();\n * // Type: IJsonSchemaUnit<\"3.0\", User>\n * ```;\n *\n * @template Version The OpenAPI specification version to target (\"3.0\" or\n * \"3.1\"). Defaults to \"3.1\" for enhanced JSON Schema Draft 2020-12\n * compatibility. This determines the schema format, validation capabilities,\n * and available features like tuple support and null type handling.\n * @template Type The original TypeScript type that was analyzed to generate\n * this JSON schema unit. This provides compile-time type safety and enables\n * IDEs to provide better intellisense and validation.\n * @see {@link IJsonSchemaCollection} For handling multiple schemas at once\n */\nexport type IJsonSchemaUnit<Version extends \"3.0\" | \"3.1\" = \"3.1\", Type = unknown> = Version extends \"3.0\" ? IJsonSchemaUnit.IV3_0<Type> : IJsonSchemaUnit.IV3_1<Type>;\nexport declare namespace IJsonSchemaUnit {\n /**\n * JSON Schema unit formatted for OpenAPI v3.0 specification.\n *\n * This interface represents a single JSON schema unit that complies with\n * OpenAPI v3.0 standards. It contains one schema definition along with any\n * reusable components that the schema references, formatted according to\n * OpenAPI v3.0 constraints and limitations.\n *\n * OpenAPI v3.0 characteristics affecting this unit:\n *\n * - Schema follows OpenAPI v3.0 JSON Schema subset\n * - Limited support for advanced JSON Schema features\n * - Uses nullable property for optional null values\n * - Cannot natively express tuple types or pattern properties\n * - Based on JSON Schema Draft 4 with OpenAPI-specific extensions\n *\n * Use cases for v3.0:\n *\n * - Integration with legacy Swagger tooling\n * - Compatibility with older OpenAPI implementations\n * - Systems that specifically require OpenAPI v3.0 format\n * - Code generation tools that expect v3.0 schemas\n *\n * @template Type The original TypeScript type represented by this schema\n * unit. Provides compile-time type information and enables type-safe\n * operations on the schema.\n */\n interface IV3_0<Type> {\n /**\n * OpenAPI specification version identifier.\n *\n * Always set to \"3.0\" to indicate this schema unit uses OpenAPI v3.0 format\n * and adheres to its specific constraints and limitations.\n */\n version: \"3.0\";\n /**\n * The primary JSON schema definition.\n *\n * Contains the main JSON schema that represents the TypeScript type\n * specified in the `Type` template parameter. This schema follows OpenAPI\n * v3.0 format and may contain references to reusable components defined in\n * the {@link components} property.\n *\n * The schema structure includes:\n *\n * - Type definitions following OpenAPI v3.0 constraints\n * - Property definitions with v3.0-compatible validation rules\n * - References to shared components using $ref syntax\n * - Nullable properties for optional fields that can be null\n *\n * Example schema reference: `{ \"$ref\": \"#/components/schemas/NestedType\" }`\n */\n schema: OpenApiV3.IJsonSchema;\n /**\n * Reusable schema components for OpenAPI v3.0.\n *\n * Contains all reusable schema definitions and components that may be\n * referenced by the main schema. This enables schema modularity and\n * prevents duplication when the same types are used in multiple places\n * within the schema definition.\n *\n * Component categories include:\n *\n * - Schemas: Named type definitions for complex objects, arrays, and unions\n * - SecuritySchemes: Authentication and authorization definitions\n * - Parameters: Reusable parameter specifications\n * - RequestBodies: Reusable request body definitions\n * - Responses: Reusable response specifications\n * - Headers: Reusable header definitions\n * - Examples: Reusable example values\n *\n * All components follow OpenAPI v3.0 format restrictions and capabilities.\n */\n components: OpenApiV3.IComponents;\n /**\n * Type metadata for compile-time type safety.\n *\n * This optional property maintains a reference to the original TypeScript\n * type that was used to generate this schema unit. It provides compile-time\n * type information without affecting the runtime JSON representation.\n *\n * Benefits of type metadata:\n *\n * - Enables type-safe schema validation and usage\n * - Provides IDE intellisense and autocompletion\n * - Allows compile-time checking of schema operations\n * - Maintains traceability to original TypeScript definitions\n *\n * The property is intentionally marked as optional and undefined to ensure\n * it doesn't appear in serialized JSON output while preserving type\n * information at compile time.\n */\n __type?: Type | undefined;\n }\n /**\n * JSON Schema unit formatted for OpenAPI v3.1 specification.\n *\n * This interface represents a single JSON schema unit that takes advantage of\n * OpenAPI v3.1's enhanced capabilities and improved JSON Schema\n * compatibility. It provides a more feature-rich and accurate representation\n * of TypeScript types compared to the v3.0 format.\n *\n * OpenAPI v3.1 advantages for this unit:\n *\n * - Full JSON Schema Draft 2020-12 compatibility\n * - Native tuple type support using prefixItems\n * - Proper null type handling via union types\n * - Pattern properties for dynamic object keys\n * - Enhanced const, enum, and validation capabilities\n * - Better support for complex nested structures\n *\n * Use cases for v3.1:\n *\n * - Modern OpenAPI implementations and tooling\n * - Systems requiring accurate TypeScript type representation\n * - Applications needing advanced JSON Schema features\n * - New projects without legacy compatibility requirements\n *\n * @template Type The original TypeScript type represented by this schema\n * unit. Enables compile-time type safety and provides enhanced development\n * experience with better IDE support.\n */\n interface IV3_1<Type> {\n /**\n * OpenAPI specification version identifier.\n *\n * Always set to \"3.1\" to indicate this schema unit uses OpenAPI v3.1 format\n * with enhanced JSON Schema compatibility and modern features.\n */\n version: \"3.1\";\n /**\n * The primary JSON schema definition with v3.1 enhancements.\n *\n * Contains the main JSON schema that accurately represents the TypeScript\n * type using OpenAPI v3.1's enhanced capabilities. This schema can express\n * complex TypeScript constructs that were not possible or accurate in\n * v3.0.\n *\n * Enhanced schema features include:\n *\n * - Tuple types using prefixItems for exact array structure\n * - Union types with proper null handling via oneOf\n * - Const values for literal types\n * - Pattern properties for Record<string, T> types\n * - Advanced validation constraints and metadata\n * - Recursive type definitions with proper $ref handling\n *\n * The schema follows the emended OpenAPI v3.1 format used by typia, which\n * removes ambiguous expressions while maintaining full compatibility.\n */\n schema: OpenApi.IJsonSchema;\n /**\n * Reusable schema components for OpenAPI v3.1.\n *\n * Contains reusable schema definitions and components that leverage OpenAPI\n * v3.1's enhanced capabilities. These components provide better type\n * representation and more accurate schema definitions compared to v3.0.\n *\n * Enhanced component features:\n *\n * - Schemas: More accurate type definitions with v3.1 JSON Schema features\n * - SecuritySchemes: Enhanced authentication scheme definitions\n * - Better support for complex nested references\n * - Improved handling of recursive and circular type dependencies\n *\n * The components structure follows the emended OpenAPI v3.1 specification\n * that simplifies certain patterns while maintaining full expressiveness.\n */\n components: OpenApi.IComponents;\n /**\n * Type metadata for enhanced compile-time type safety.\n *\n * This optional property preserves the original TypeScript type information\n * for compile-time type checking and enhanced development experience. It\n * enables type-safe operations and better IDE support without affecting the\n * runtime JSON schema representation.\n *\n * Enhanced type safety features:\n *\n * - Strong typing connection to original TypeScript definitions\n * - Better IDE intellisense and error detection\n * - Compile-time validation of schema usage patterns\n * - Type-safe integration with validation and serialization libraries\n * - Enhanced debugging and development experience\n *\n * The property remains optional and undefined to maintain clean JSON\n * serialization while preserving valuable compile-time information.\n */\n __type?: Type | undefined;\n }\n}\n",
|
|
15087
|
-
"node_modules/typia/lib/schemas/json/__IJsonApplication.d.ts": "import { OpenApi, OpenApiV3 } from \"@samchon/openapi\";\nexport interface __IJsonApplication<Version extends \"3.0\" | \"3.1\" = \"3.1\", App extends any = object> {\n version: Version;\n components: __IJsonApplication.IComponents<__IJsonApplication.Schema<Version>>;\n functions: __IJsonApplication.IFunction<__IJsonApplication.Schema<Version>>[];\n __application?: App | undefined;\n}\nexport declare namespace __IJsonApplication {\n type Schema<Version extends \"3.0\" | \"3.1\"> = Version extends \"3.1\" ? OpenApi.IJsonSchema : OpenApiV3.IJsonSchema;\n interface IComponents<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n schemas?: Record<string, Schema>;\n }\n interface IFunction<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n async: boolean;\n name: string;\n parameters: IParameter<Schema>[];\n output: IOutput<Schema> | undefined;\n summary?: string | undefined;\n description?: string | undefined;\n deprecated?: boolean;\n tags?: string[];\n }\n interface IParameter<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n name: string;\n required: boolean;\n schema: Schema;\n title?: string | undefined;\n description?: string | undefined;\n }\n interface IOutput<Schema extends OpenApi.IJsonSchema | OpenApiV3.IJsonSchema = OpenApi.IJsonSchema> {\n schema: Schema;\n required: boolean;\n description?: string | undefined;\n }\n}\n",
|
|
15088
15087
|
"node_modules/typia/lib/schemas/metadata/IJsDocTagInfo.d.ts": "export interface IJsDocTagInfo {\n name: string;\n text?: IJsDocTagInfo.IText[];\n}\nexport declare namespace IJsDocTagInfo {\n interface IText {\n text: string;\n kind: string;\n }\n}\n",
|
|
15089
15088
|
"node_modules/typia/lib/schemas/metadata/IMetadata.d.ts": "import { IMetadataAlias } from \"./IMetadataAlias\";\nimport { IMetadataArray } from \"./IMetadataArray\";\nimport { IMetadataAtomic } from \"./IMetadataAtomic\";\nimport { IMetadataConstant } from \"./IMetadataConstant\";\nimport { IMetadataEscaped } from \"./IMetadataEscaped\";\nimport { IMetadataFunction } from \"./IMetadataFunction\";\nimport { IMetadataMap } from \"./IMetadataMap\";\nimport { IMetadataNative } from \"./IMetadataNative\";\nimport { IMetadataObject } from \"./IMetadataObject\";\nimport { IMetadataSet } from \"./IMetadataSet\";\nimport { IMetadataTemplate } from \"./IMetadataTemplate\";\nimport { IMetadataTuple } from \"./IMetadataTuple\";\nexport interface IMetadata {\n any: boolean;\n required: boolean;\n optional: boolean;\n nullable: boolean;\n functions: IMetadataFunction[];\n atomics: IMetadataAtomic[];\n constants: IMetadataConstant[];\n templates: IMetadataTemplate[];\n escaped: IMetadataEscaped | null;\n rest: IMetadata | null;\n arrays: IMetadataArray[];\n tuples: IMetadataTuple[];\n objects: IMetadataObject[];\n aliases: IMetadataAlias[];\n natives: IMetadataNative[];\n sets: IMetadataSet[];\n maps: IMetadataMap[];\n}\n",
|
|
15090
15089
|
"node_modules/typia/lib/schemas/metadata/IMetadataAlias.d.ts": "import { IMetadataTypeTag } from \"./IMetadataTypeTag\";\nexport interface IMetadataAlias {\n name: string;\n tags: IMetadataTypeTag[][];\n}\n",
|
|
@@ -15204,7 +15203,7 @@
|
|
|
15204
15203
|
"node_modules/typia/lib/transformers/features/http/HttpValidateFormDataTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace HttpValidateFormDataTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").CallExpression;\n}\n",
|
|
15205
15204
|
"node_modules/typia/lib/transformers/features/http/HttpValidateHeadersTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace HttpValidateHeadersTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").CallExpression;\n}\n",
|
|
15206
15205
|
"node_modules/typia/lib/transformers/features/http/HttpValidateQueryTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace HttpValidateQueryTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").CallExpression;\n}\n",
|
|
15207
|
-
"node_modules/typia/lib/transformers/features/json/JsonApplicationTransformer.d.ts": "",
|
|
15206
|
+
"node_modules/typia/lib/transformers/features/json/JsonApplicationTransformer.d.ts": "import ts from \"typescript\";\nimport { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace JsonApplicationTransformer {\n const transform: (props: ITransformProps) => ts.Expression;\n}\n",
|
|
15208
15207
|
"node_modules/typia/lib/transformers/features/json/JsonAssertParseTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace JsonAssertParseTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").CallExpression;\n}\n",
|
|
15209
15208
|
"node_modules/typia/lib/transformers/features/json/JsonAssertStringifyTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace JsonAssertStringifyTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").CallExpression;\n}\n",
|
|
15210
15209
|
"node_modules/typia/lib/transformers/features/json/JsonCreateAssertParseTransformer.d.ts": "import { ITransformProps } from \"../../ITransformProps\";\nexport declare namespace JsonCreateAssertParseTransformer {\n const transform: (props: ITransformProps) => import(\"typescript\").Expression | import(\"typescript\").ArrowFunction;\n}\n",
|
|
@@ -15290,7 +15289,7 @@
|
|
|
15290
15289
|
"node_modules/typia/lib/utils/ProtobufNameEncoder.d.ts": "export declare namespace ProtobufNameEncoder {\n const encode: (str: string) => string;\n const decode: (str: string) => string;\n}\n",
|
|
15291
15290
|
"node_modules/typia/lib/utils/Singleton.d.ts": "export declare class Singleton<T, Args extends any[] = []> {\n private readonly closure_;\n private value_;\n constructor(closure: (...args: Args) => T);\n get(...args: Args): T;\n}\n",
|
|
15292
15291
|
"node_modules/typia/lib/utils/StringUtil.d.ts": "export declare namespace StringUtil {\n const capitalize: (str: string) => string;\n const escapeDuplicate: (props: {\n keep: string[];\n input: string;\n escape?: (str: string) => string;\n }) => string;\n}\n",
|
|
15293
|
-
"node_modules/typia/package.json": "{\n \"name\": \"typia\",\n \"version\": \"10.0.
|
|
15292
|
+
"node_modules/typia/package.json": "{\n \"name\": \"typia\",\n \"version\": \"10.0.2\",\n \"description\": \"Superfast runtime validators with only one line\",\n \"main\": \"lib/index.js\",\n \"typings\": \"lib/index.d.ts\",\n \"module\": \"lib/index.mjs\",\n \"bin\": {\n \"typia\": \"./lib/executable/typia.js\"\n },\n \"tsp\": {\n \"tscOptions\": {\n \"parseAllJsDoc\": true\n }\n },\n \"scripts\": {\n \"test\": \"ts-node deploy --tag test\",\n \"test:template\": \"npm run --tag test --template\",\n \"-------------------------------------------------\": \"\",\n \"build\": \"rimraf lib && tsc && rollup -c\",\n \"dev\": \"rimraf lib && tsc --watch\",\n \"dev:errors\": \"tsc --project tsconfig.errors.json --watch\",\n \"eslint\": \"eslint\",\n \"eslint:fix\": \"eslint --fix\",\n \"prettier\": \"prettier src --check\",\n \"prettier:fix\": \"prettier src --write\",\n \"------------------------------------------------\": \"\",\n \"package:latest\": \"ts-node deploy --tag latest\",\n \"package:next\": \"ts-node deploy --tag next\",\n \"package:patch\": \"ts-node deploy --tag patch\",\n \"package:tgz\": \"ts-node deploy/tgz.ts\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/typia\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/typia/issues\"\n },\n \"homepage\": \"https://typia.io\",\n \"dependencies\": {\n \"@samchon/openapi\": \"^5.0.1\",\n \"@standard-schema/spec\": \"^1.0.0\",\n \"commander\": \"^10.0.0\",\n \"comment-json\": \"^4.2.3\",\n \"inquirer\": \"^8.2.5\",\n \"package-manager-detector\": \"^0.2.0\",\n \"randexp\": \"^0.5.3\"\n },\n \"peerDependencies\": {\n \"typescript\": \">=4.8.0 <5.10.0\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-commonjs\": \"^26.0.1\",\n \"@rollup/plugin-node-resolve\": \"^15.2.3\",\n \"@rollup/plugin-typescript\": \"^11.1.6\",\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\n \"@types/inquirer\": \"^8.2.5\",\n \"@types/node\": \"^18.15.12\",\n \"@types/ts-expose-internals\": \"npm:ts-expose-internals@5.6.3\",\n \"@typescript-eslint/eslint-plugin\": \"^8.1.0\",\n \"@typescript-eslint/parser\": \"^8.1.0\",\n \"chalk\": \"^4.0.0\",\n \"eslint-plugin-deprecation\": \"^3.0.0\",\n \"prettier\": \"^3.2.5\",\n \"prettier-plugin-jsdoc\": \"^1.3.3\",\n \"rimraf\": \"^5.0.5\",\n \"rollup\": \"^4.18.0\",\n \"rollup-plugin-auto-external\": \"^2.0.0\",\n \"rollup-plugin-node-externals\": \"^8.0.0\",\n \"suppress-warnings\": \"^1.0.2\",\n \"tinyglobby\": \"^0.2.12\",\n \"ts-node\": \"^10.9.2\",\n \"typescript\": \"~5.9.3\"\n },\n \"sideEffects\": false,\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"package.json\",\n \"lib\",\n \"src\"\n ],\n \"keywords\": [\n \"fast\",\n \"json\",\n \"stringify\",\n \"typescript\",\n \"transform\",\n \"ajv\",\n \"io-ts\",\n \"zod\",\n \"schema\",\n \"json-schema\",\n \"generator\",\n \"assert\",\n \"clone\",\n \"is\",\n \"validate\",\n \"equal\",\n \"runtime\",\n \"type\",\n \"typebox\",\n \"checker\",\n \"validator\",\n \"safe\",\n \"parse\",\n \"prune\",\n \"random\",\n \"protobuf\",\n \"llm\",\n \"llm-function-calling\",\n \"structured-output\",\n \"openai\",\n \"chatgpt\",\n \"claude\",\n \"gemini\",\n \"llama\"\n ]\n}",
|
|
15294
15293
|
"node_modules/uid/index.d.ts": "/**\n * Produce a UID of desired length.\n * @NOTE Relies on a hexadecimal alphabet (A-E, 0-9).\n * @param {number} [length] Defaults to `11`\n */\nexport function uid(length?: number): string;\n",
|
|
15295
15294
|
"node_modules/uid/package.json": "{\n \"name\": \"uid\",\n \"version\": \"2.0.2\",\n \"repository\": \"lukeed/uid\",\n \"description\": \"A tiny (130B to 205B) and fast utility to randomize unique IDs of fixed length\",\n \"unpkg\": \"dist/index.min.js\",\n \"module\": \"dist/index.mjs\",\n \"main\": \"dist/index.js\",\n \"types\": \"index.d.ts\",\n \"license\": \"MIT\",\n \"author\": {\n \"name\": \"Luke Edwards\",\n \"email\": \"luke.edwards05@gmail.com\",\n \"url\": \"https://lukeed.com\"\n },\n \"engines\": {\n \"node\": \">=8\"\n },\n \"scripts\": {\n \"build\": \"bundt\",\n \"test\": \"uvu -r esm test -i collisions\"\n },\n \"exports\": {\n \".\": {\n \"types\": \"./index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n },\n \"./single\": {\n \"types\": \"./single/index.d.ts\",\n \"import\": \"./single/index.mjs\",\n \"require\": \"./single/index.js\"\n },\n \"./secure\": {\n \"types\": \"./secure/index.d.ts\",\n \"import\": \"./secure/index.mjs\",\n \"require\": \"./secure/index.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"*.d.ts\",\n \"single\",\n \"secure\",\n \"dist\"\n ],\n \"keywords\": [\n \"id\",\n \"uid\",\n \"uuid\",\n \"random\",\n \"generate\",\n \"secure\",\n \"crypto\",\n \"foid\"\n ],\n \"modes\": {\n \"secure\": \"src/secure.js\",\n \"default\": \"src/index.js\",\n \"single\": \"src/single.js\"\n },\n \"dependencies\": {\n \"@lukeed/csprng\": \"^1.0.0\"\n },\n \"devDependencies\": {\n \"bundt\": \"1.1.1\",\n \"esm\": \"3.2.25\",\n \"uvu\": \"0.3.4\"\n }\n}\n",
|
|
15296
15295
|
"node_modules/uid/secure/index.d.ts": "/**\n * Produce a cryptographically secure (CSPRNG) UID of desired length using the current environment's `crypto` module.\n * @NOTE Relies on a hexadecimal alphabet (A-E, 0-9).\n * @param {number} [length] Defaults to `11`\n */\nexport function uid(length?: number): string;\n",
|