@autobe/compiler 0.10.6 → 0.11.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/AutoBeCompiler.d.ts +4 -1
- package/lib/AutoBeCompiler.js +7 -4
- package/lib/AutoBeCompiler.js.map +1 -1
- package/lib/AutoBeTypeScriptCompiler.js +6 -1
- package/lib/AutoBeTypeScriptCompiler.js.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/{AutoBeInterfaceCompiler.d.ts → interface/AutoBeInterfaceCompiler.d.ts} +2 -1
- package/lib/{AutoBeInterfaceCompiler.js → interface/AutoBeInterfaceCompiler.js} +11 -6
- package/lib/interface/AutoBeInterfaceCompiler.js.map +1 -0
- package/lib/prisma/AutoBePrismaCompiler.d.ts +6 -0
- package/lib/{AutoBePrismaCompiler.js → prisma/AutoBePrismaCompiler.js} +2 -27
- package/lib/prisma/AutoBePrismaCompiler.js.map +1 -0
- package/lib/prisma/writePrismaApplication.js +7 -4
- package/lib/prisma/writePrismaApplication.js.map +1 -1
- package/lib/raw/AutoBeCompilerInterfaceTemplate.d.ts +1 -0
- package/lib/raw/AutoBeCompilerInterfaceTemplate.js +8 -0
- package/lib/raw/AutoBeCompilerInterfaceTemplate.js.map +1 -0
- package/lib/raw/AutoBeCompilerRealizeTemplate.d.ts +1 -0
- package/lib/raw/AutoBeCompilerRealizeTemplate.js +17 -0
- package/lib/raw/AutoBeCompilerRealizeTemplate.js.map +1 -0
- package/lib/raw/AutoBeCompilerTestTemplate.d.ts +1 -0
- package/lib/raw/AutoBeCompilerTestTemplate.js +12 -0
- package/lib/raw/AutoBeCompilerTestTemplate.js.map +1 -0
- package/lib/raw/nestjs.json +10 -8
- package/lib/raw/test.json +2 -2
- package/lib/realize/AutoBeRealizeCompiler.d.ts +7 -0
- package/lib/realize/AutoBeRealizeCompiler.js +31 -0
- package/lib/realize/AutoBeRealizeCompiler.js.map +1 -0
- package/lib/realize/testRealizeProject.d.ts +2 -0
- package/lib/realize/testRealizeProject.js +80 -0
- package/lib/realize/testRealizeProject.js.map +1 -0
- package/lib/{AutoBeTestCompiler.d.ts → test/AutoBeTestCompiler.d.ts} +1 -0
- package/lib/{AutoBeTestCompiler.js → test/AutoBeTestCompiler.js} +16 -4
- package/lib/test/AutoBeTestCompiler.js.map +1 -0
- package/lib/utils/ProcessUtil.d.ts +4 -0
- package/lib/utils/ProcessUtil.js +30 -0
- package/lib/utils/ProcessUtil.js.map +1 -0
- package/package.json +8 -6
- package/src/AutoBeCompiler.ts +12 -3
- package/src/AutoBeTypeScriptCompiler.ts +7 -2
- package/src/index.ts +3 -3
- package/src/{AutoBeInterfaceCompiler.ts → interface/AutoBeInterfaceCompiler.ts} +10 -8
- package/src/prisma/AutoBePrismaCompiler.ts +36 -0
- package/src/prisma/writePrismaApplication.ts +10 -6
- package/src/raw/AutoBeCompilerInterfaceTemplate.ts +4 -0
- package/src/raw/AutoBeCompilerRealizeTemplate.ts +13 -0
- package/src/raw/AutoBeCompilerTestTemplate.ts +8 -0
- package/src/raw/nestjs.json +10 -8
- package/src/raw/test.json +2 -2
- package/src/realize/AutoBeRealizeCompiler.ts +40 -0
- package/src/realize/testRealizeProject.ts +78 -0
- package/src/{AutoBeTestCompiler.ts → test/AutoBeTestCompiler.ts} +19 -5
- package/src/utils/ProcessUtil.ts +14 -0
- package/lib/AutoBeInterfaceCompiler.js.map +0 -1
- package/lib/AutoBePrismaCompiler.d.ts +0 -31
- package/lib/AutoBePrismaCompiler.js.map +0 -1
- package/lib/AutoBeTestCompiler.js.map +0 -1
- package/lib/raw/AutoBeCompilerTemplate.d.ts +0 -1
- package/lib/raw/AutoBeCompilerTemplate.js +0 -12
- package/lib/raw/AutoBeCompilerTemplate.js.map +0 -1
- package/src/AutoBePrismaCompiler.ts +0 -61
- package/src/raw/AutoBeCompilerTemplate.ts +0 -8
package/src/raw/nestjs.json
CHANGED
|
@@ -11561,7 +11561,7 @@
|
|
|
11561
11561
|
"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",
|
|
11562
11562
|
"node_modules/@nestia/benchmark/lib/internal/IBenchmarkMaster.d.ts": "export interface IBenchmarkMaster {\n filter: (name: string) => boolean;\n progress: (current: number) => void;\n}\n",
|
|
11563
11563
|
"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",
|
|
11564
|
-
"node_modules/@nestia/benchmark/package.json": "{\n \"name\": \"@nestia/benchmark\",\n \"version\": \"7.1.
|
|
11564
|
+
"node_modules/@nestia/benchmark/package.json": "{\n \"name\": \"@nestia/benchmark\",\n \"version\": \"7.1.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\": \"^7.1.1\",\n \"tgrid\": \"^1.1.0\",\n \"tstl\": \"^3.0.0\"\n },\n \"devDependencies\": {\n \"@nestia/core\": \"^7.1.1\",\n \"@nestia/e2e\": \"^7.1.1\",\n \"@nestia/sdk\": \"^7.1.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.8.3\",\n \"typescript-transform-paths\": \"^3.4.7\",\n \"typia\": \"^9.5.0\",\n \"uuid\": \"^10.0.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11565
11565
|
"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",
|
|
11566
11566
|
"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 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",
|
|
11567
11567
|
"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 from\n * 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\n * maximum 15,000x times faster than `class-validator`.\n *\n * For reference, when the request body data is not following the promised type `T`,\n * `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 * @return Parameter decorator\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare function EncryptedBody<T>(validator?: IRequestBodyValidator<T>): ParameterDecorator;\n",
|
|
@@ -11633,7 +11633,7 @@
|
|
|
11633
11633
|
"node_modules/@nestia/core/lib/utils/Singleton.d.ts": "export {};\n",
|
|
11634
11634
|
"node_modules/@nestia/core/lib/utils/SourceFinder.d.ts": "export declare namespace SourceFinder {\n const find: (props: IProps) => Promise<string[]>;\n}\ninterface IProps {\n exclude?: string[];\n include: string[];\n filter: (location: string) => boolean;\n}\nexport {};\n",
|
|
11635
11635
|
"node_modules/@nestia/core/lib/utils/VersioningStrategy.d.ts": "import { VERSION_NEUTRAL, VersionValue } from \"@nestjs/common/interfaces\";\nexport declare namespace VersioningStrategy {\n interface IConfig {\n prefix: string;\n defaultVersion?: VersionValue;\n }\n const cast: (value: VersionValue | undefined) => Array<string | typeof VERSION_NEUTRAL>;\n const merge: (config: IConfig | undefined) => (values: Array<string | typeof VERSION_NEUTRAL>) => string[];\n}\n",
|
|
11636
|
-
"node_modules/@nestia/core/package.json": "{\n \"name\": \"@nestia/core\",\n \"version\": \"7.1.
|
|
11636
|
+
"node_modules/@nestia/core/package.json": "{\n \"name\": \"@nestia/core\",\n \"version\": \"7.1.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\": \"^7.1.1\",\n \"@nestjs/common\": \">=7.0.1\",\n \"@nestjs/core\": \">=7.0.1\",\n \"@samchon/openapi\": \"^4.5.0\",\n \"detect-ts-node\": \"^1.0.5\",\n \"get-function-location\": \"^2.0.0\",\n \"glob\": \"^7.2.0\",\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\": \"^9.5.0\",\n \"ws\": \"^7.5.3\"\n },\n \"peerDependencies\": {\n \"@nestia/fetcher\": \">=7.1.1\",\n \"@nestjs/common\": \">=7.0.1\",\n \"@nestjs/core\": \">=7.0.1\",\n \"@samchon/openapi\": \">=4.5.0 <5.0.0\",\n \"reflect-metadata\": \">=0.1.12\",\n \"rxjs\": \">=6.0.3\",\n \"typia\": \">=9.5.0 <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/glob\": \"^7.2.0\",\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.8.3\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
11637
11637
|
"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",
|
|
11638
11638
|
"node_modules/@nestia/e2e/lib/ArrayUtil.d.ts": "/**\n * A namespace providing utility functions for array manipulation.\n *\n * This namespace contains utility functions for array operations including\n * asynchronous processing, filtering, mapping, and repetition tasks implemented\n * in functional programming style. All functions are implemented using currying\n * to enhance reusability and composability.\n *\n * @author Jeongho Nam - https://github.com/samchon\n * @example\n * ```typescript\n * // Asynchronous filtering example\n * const numbers = [1, 2, 3, 4, 5];\n * const evenNumbers = await ArrayUtil.asyncFilter(numbers)(\n * async (num) => num % 2 === 0\n * );\n * console.log(evenNumbers); // [2, 4]\n * ```;\n */\nexport declare namespace ArrayUtil {\n /**\n * Filters an array by applying an asynchronous predicate function to each\n * element.\n *\n * This function is implemented in curried form, first taking an array and\n * then a predicate function. Elements are processed sequentially, ensuring\n * order is maintained.\n *\n * @example\n * ```typescript\n * const users = [\n * { id: 1, name: 'Alice', active: true },\n * { id: 2, name: 'Bob', active: false },\n * { id: 3, name: 'Charlie', active: true }\n * ];\n *\n * const activeUsers = await ArrayUtil.asyncFilter(users)(\n * async (user) => {\n * // Async validation logic (e.g., API call)\n * await new Promise(resolve => setTimeout(resolve, 100));\n * return user.active;\n * }\n * );\n * console.log(activeUsers); // [{ id: 1, name: 'Alice', active: true }, { id: 3, name: 'Charlie', active: true }]\n * ```;\n *\n * @template Input - The type of elements in the input array\n * @param elements - The readonly array to filter\n * @returns A function that takes a predicate and returns a Promise resolving\n * to the filtered array\n */\n const asyncFilter: <Input>(elements: readonly Input[]) => (pred: (elem: Input, index: number, array: readonly Input[]) => Promise<boolean>) => Promise<Input[]>;\n /**\n * Executes an asynchronous function for each element in an array\n * sequentially.\n *\n * Unlike JavaScript's native forEach, this function processes asynchronous\n * functions sequentially and waits for all operations to complete. It\n * performs sequential processing rather than parallel processing, making it\n * suitable for operations where order matters.\n *\n * @example\n * ```typescript\n * const urls = ['url1', 'url2', 'url3'];\n *\n * await ArrayUtil.asyncForEach(urls)(async (url, index) => {\n * console.log(`Processing ${index}: ${url}`);\n * const data = await fetch(url);\n * await processData(data);\n * console.log(`Completed ${index}: ${url}`);\n * });\n * console.log('All URLs processed sequentially');\n * ```\n *\n * @template Input - The type of elements in the input array\n * @param elements - The readonly array to process\n * @returns A function that takes an async closure and returns a Promise<void>\n */\n const asyncForEach: <Input>(elements: readonly Input[]) => (closure: (elem: Input, index: number, array: readonly Input[]) => Promise<any>) => Promise<void>;\n /**\n * Transforms each element of an array using an asynchronous function to\n * create a new array.\n *\n * Similar to JavaScript's native map but processes asynchronous functions\n * sequentially. Each element's transformation is completed before proceeding\n * to the next element, ensuring order is maintained.\n *\n * @example\n * ```typescript\n * const userIds = [1, 2, 3, 4, 5];\n *\n * const userDetails = await ArrayUtil.asyncMap(userIds)(\n * async (id, index) => {\n * console.log(`Fetching user ${id} (${index + 1}/${userIds.length})`);\n * const response = await fetch(`/api/users/${id}`);\n * return await response.json();\n * }\n * );\n * console.log('All users fetched:', userDetails);\n * ```\n *\n * @template Input - The type of elements in the input array\n * @template Output - The type of elements in the output array\n * @param elements - The readonly array to transform\n * @returns A function that takes a transformation function and returns a\n * Promise resolving to the transformed array\n */\n const asyncMap: <Input>(elements: readonly Input[]) => <Output>(closure: (elem: Input, index: number, array: readonly Input[]) => Promise<Output>) => Promise<Output[]>;\n /**\n * Executes an asynchronous function a specified number of times sequentially.\n *\n * Executes the function with indices from 0 to count-1 incrementally. Each\n * execution is performed sequentially, and all results are collected into an\n * array.\n *\n * @example\n * ```typescript\n * // Generate random data 5 times\n * const randomData = await ArrayUtil.asyncRepeat(5)(async (index) => {\n * await new Promise(resolve => setTimeout(resolve, 100)); // Wait 0.1 seconds\n * return {\n * id: index,\n * value: Math.random(),\n * timestamp: new Date().toISOString()\n * };\n * });\n * console.log('Generated data:', randomData);\n * ```;\n *\n * @param count - The number of times to repeat (non-negative integer)\n * @returns A function that takes an async closure and returns a Promise\n * resolving to an array of results\n */\n const asyncRepeat: (count: number) => <T>(closure: (index: number) => Promise<T>) => Promise<T[]>;\n /**\n * Checks if at least one element in the array satisfies the given condition.\n *\n * Similar to JavaScript's native some() method but implemented in curried\n * form for better compatibility with functional programming style. Returns\n * true immediately when the first element satisfying the condition is found.\n *\n * @example\n * ```typescript\n * const numbers = [1, 3, 5, 7, 8, 9];\n * const products = [\n * { name: 'Apple', price: 100, inStock: true },\n * { name: 'Banana', price: 50, inStock: false },\n * { name: 'Orange', price: 80, inStock: true }\n * ];\n *\n * const hasEvenNumber = ArrayUtil.has(numbers)(num => num % 2 === 0);\n * console.log(hasEvenNumber); // true (8 exists)\n *\n * const hasExpensiveItem = ArrayUtil.has(products)(product => product.price > 90);\n * console.log(hasExpensiveItem); // true (Apple costs 100)\n *\n * const hasOutOfStock = ArrayUtil.has(products)(product => !product.inStock);\n * console.log(hasOutOfStock); // true (Banana is out of stock)\n * ```;\n *\n * @template T - The type of elements in the array\n * @param elements - The readonly array to check\n * @returns A function that takes a predicate and returns a boolean\n */\n const has: <T>(elements: readonly T[]) => (pred: (elem: T) => boolean) => boolean;\n /**\n * Executes a function a specified number of times and collects the results\n * into an array.\n *\n * A synchronous repetition function that executes the given function for each\n * index (from 0 to count-1) and collects the results into an array.\n *\n * @example\n * ```typescript\n * // Generate an array of squares from 1 to 5\n * const squares = ArrayUtil.repeat(5)(index => (index + 1) ** 2);\n * console.log(squares); // [1, 4, 9, 16, 25]\n *\n * // Generate an array of default user objects\n * const users = ArrayUtil.repeat(3)(index => ({\n * id: index + 1,\n * name: `User${index + 1}`,\n * email: `user${index + 1}@example.com`\n * }));\n * console.log(users);\n * // [\n * // { id: 1, name: 'User1', email: 'user1@example.com' },\n * // { id: 2, name: 'User2', email: 'user2@example.com' },\n * // { id: 3, name: 'User3', email: 'user3@example.com' }\n * // ]\n * ```\n *\n * @param count - The number of times to repeat (non-negative integer)\n * @returns A function that takes a closure and returns an array of results\n */\n const repeat: (count: number) => <T>(closure: (index: number) => T) => T[];\n /**\n * Generates all possible subsets of a given array.\n *\n * Implements the mathematical concept of power set, generating 2^n subsets\n * from an array of n elements. Uses depth-first search (DFS) algorithm to\n * calculate all possible combinations of including or excluding each\n * element.\n *\n * @example\n * ```typescript\n * const numbers = [1, 2, 3];\n * const allSubsets = ArrayUtil.subsets(numbers);\n * console.log(allSubsets);\n * // [\n * // [], // empty set\n * // [3], // {3}\n * // [2], // {2}\n * // [2, 3], // {2, 3}\n * // [1], // {1}\n * // [1, 3], // {1, 3}\n * // [1, 2], // {1, 2}\n * // [1, 2, 3] // {1, 2, 3}\n * // ]\n *\n * const colors = ['red', 'blue'];\n * const colorSubsets = ArrayUtil.subsets(colors);\n * console.log(colorSubsets);\n * // [\n * // [],\n * // ['blue'],\n * // ['red'],\n * // ['red', 'blue']\n * // ]\n *\n * // Warning: Result size grows exponentially with array size\n * // Example: 10 elements → 1,024 subsets, 20 elements → 1,048,576 subsets\n * ```;\n *\n * @template T - The type of elements in the array\n * @param array - The array to generate subsets from\n * @returns An array containing all possible subsets\n */\n const subsets: <T>(array: T[]) => T[][];\n}\n",
|
|
11639
11639
|
"node_modules/@nestia/e2e/lib/DynamicExecutor.d.ts": "/**\n * Dynamic Executor running prefixed functions.\n *\n * `DynamicExecutor` runs every (or some filtered) prefixed functions\n * in a specific directory.\n *\n * For reference, it's useful for test program development of a backend server.\n * Just write test functions under a directory, and just specify it.\n * Furthermore, if you compose e2e test programs to utilize the `@nestia/sdk`\n * generated API functions, you can take advantage of {@link DynamicBenchmarker}\n * at the same time.\n *\n * When you want to see some utilization cases, see the below example links.\n *\n * @example https://github.com/samchon/nestia-start/blob/master/test/index.ts\n * @example https://github.com/samchon/backend/blob/master/test/index.ts\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace DynamicExecutor {\n /**\n * Function type of a prefixed.\n *\n * @template Arguments Type of parameters\n * @template Ret Type of return value\n */\n interface Closure<Arguments extends any[], Ret = any> {\n (...args: Arguments): Promise<Ret>;\n }\n /**\n * Options for dynamic executor.\n */\n interface IProps<Parameters extends any[], Ret = any> {\n /**\n * Prefix of function name.\n *\n * Every prefixed function will be executed.\n *\n * In other words, if a function name doesn't start with the prefix, then it would never be executed.\n */\n prefix: string;\n /**\n * Location of the test functions.\n */\n location: string;\n /**\n * Get parameters of a function.\n *\n * @param name Function name\n * @returns Parameters\n */\n parameters: (name: string) => Parameters;\n /**\n * On complete function.\n *\n * Listener of completion of a test function.\n *\n * @param exec Execution result of a test function\n */\n onComplete?: (exec: IExecution) => void;\n /**\n * Filter function whether to run or not.\n *\n * @param name Function name\n * @returns Whether to run or not\n */\n filter?: (name: string) => boolean;\n /**\n * Wrapper of test function.\n *\n * If you specify this `wrapper` property, every dynamic functions\n * loaded and called by this `DynamicExecutor` would be wrapped by\n * the `wrapper` function.\n *\n * @param name Function name\n * @param closure Function to be executed\n * @param parameters Parameters, result of options.parameters function.\n * @returns Wrapper function\n */\n wrapper?: (name: string, closure: Closure<Parameters, Ret>, parameters: Parameters) => Promise<any>;\n /**\n * Number of simultaneous requests.\n *\n * The number of requests to be executed simultaneously.\n *\n * If you configure a value greater than one, the dynamic executor will\n * process the functions concurrently with the given capacity value.\n *\n * @default 1\n */\n simultaneous?: number;\n /**\n * Extension of dynamic functions.\n *\n * @default js\n */\n extension?: string;\n }\n /**\n * Report, result of dynamic execution.\n */\n interface IReport {\n /**\n * Location path of dynamic functions.\n */\n location: string;\n /**\n * Execution results of dynamic functions.\n */\n executions: IExecution[];\n /**\n * Total elapsed time.\n */\n time: number;\n }\n /**\n * Execution of a test function.\n */\n interface IExecution {\n /**\n * Name of function.\n */\n name: string;\n /**\n * Location path of the function.\n */\n location: string;\n /**\n * Returned value from the function.\n */\n value: unknown;\n /**\n * Error when occurred.\n */\n error: Error | null;\n /**\n * Elapsed time.\n */\n started_at: string;\n /**\n * Completion time.\n */\n completed_at: string;\n }\n /**\n * Prepare dynamic executor in strict mode.\n *\n * In strict mode, if any error occurs, the program will be terminated directly.\n * Otherwise, {@link validate} mode does not terminate when error occurs, but\n * just archive the error log.\n *\n * @param props Properties of dynamic execution\n * @returns Report of dynamic test functions execution\n */\n const assert: <Arguments extends any[]>(props: IProps<Arguments>) => Promise<IReport>;\n /**\n * Prepare dynamic executor in loose mode.\n *\n * In loose mode, the program would not be terminated even when error occurs.\n * Instead, the error would be archived and returns as a list. Otherwise,\n * {@link assert} mode terminates the program directly when error occurs.\n *\n * @param props Properties of dynamic executor\n * @returns Report of dynamic test functions execution\n */\n const validate: <Arguments extends any[]>(props: IProps<Arguments>) => Promise<IReport>;\n}\n",
|
|
@@ -11643,7 +11643,7 @@
|
|
|
11643
11643
|
"node_modules/@nestia/e2e/lib/index.d.ts": "import * as e2e from \"./module\";\nexport default e2e;\nexport * from \"./module\";\n",
|
|
11644
11644
|
"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",
|
|
11645
11645
|
"node_modules/@nestia/e2e/lib/module.d.ts": "export * from \"./ArrayUtil\";\nexport * from \"./DynamicExecutor\";\nexport * from \"./GaffComparator\";\nexport * from \"./RandomGenerator\";\nexport * from \"./TestValidator\";\n",
|
|
11646
|
-
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"7.1.
|
|
11646
|
+
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"7.1.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.8.3\",\n \"typescript-transform-paths\": \"^3.4.7\",\n \"typia\": \"^9.5.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11647
11647
|
"node_modules/@nestia/editor/lib/NestiaEditorApplication.d.ts": "export declare function NestiaEditorApplication(): import(\"react/jsx-runtime\").JSX.Element;\n",
|
|
11648
11648
|
"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",
|
|
11649
11649
|
"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",
|
|
@@ -11652,7 +11652,7 @@
|
|
|
11652
11652
|
"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",
|
|
11653
11653
|
"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",
|
|
11654
11654
|
"node_modules/@nestia/editor/lib/main.d.ts": "export {};\n",
|
|
11655
|
-
"node_modules/@nestia/editor/package.json": "{\n \"name\": \"@nestia/editor\",\n \"version\": \"7.1.
|
|
11655
|
+
"node_modules/@nestia/editor/package.json": "{\n \"name\": \"@nestia/editor\",\n \"version\": \"7.1.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\": \"^7.1.1\",\n \"@samchon/openapi\": \"^4.5.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\": \"^9.5.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.8.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}",
|
|
11656
11656
|
"node_modules/@nestia/editor/src/vite-env.d.ts": "/// <reference types=\"vite/client\" />\n",
|
|
11657
11657
|
"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",
|
|
11658
11658
|
"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 collection of\n * dedicated `fetch()` functions for `@nestia/sdk` with encryption.\n *\n * For reference, `EncryptedFetcher` class being used only when target controller\n * method is encrypting body data by `@EncryptedRoute` or `@EncryptedBody` decorators.\n * If those decorators are not used, {@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 * @return 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 * @return 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 * @return 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",
|
|
@@ -11668,7 +11668,7 @@
|
|
|
11668
11668
|
"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 * @return 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 * @return 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 * @return 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",
|
|
11669
11669
|
"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",
|
|
11670
11670
|
"node_modules/@nestia/fetcher/lib/internal/FetcherBase.d.ts": "export {};\n",
|
|
11671
|
-
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"7.1.
|
|
11671
|
+
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"7.1.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\": \"^4.5.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.8.3\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
11672
11672
|
"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 application_;\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 getErrors(): IHttpMigrateApplication.IError[];\n nest(config: INestiaMigrateConfig): Record<string, string>;\n sdk(config: INestiaMigrateConfig): Record<string, string>;\n private rename;\n}\nexport declare namespace MigrateApplication {\n interface IOutput {\n context: INestiaMigrateContext;\n files: INestiaMigrateFile[];\n errors: IHttpMigrateApplication.IError[];\n }\n}\n",
|
|
11673
11673
|
"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",
|
|
11674
11674
|
"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",
|
|
@@ -11681,7 +11681,7 @@
|
|
|
11681
11681
|
"node_modules/@nestia/migrate/lib/index.d.ts": "import * as migrate from \"./module\";\nexport default migrate;\nexport * from \"./module\";\n",
|
|
11682
11682
|
"node_modules/@nestia/migrate/lib/module.d.ts": "export * from \"./NestiaMigrateApplication\";\nexport * from \"./structures/INestiaMigrateContext\";\n",
|
|
11683
11683
|
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiFileProgrammer.d.ts": "import { IHttpMigrateRoute, OpenApi } from \"@samchon/openapi\";\nimport ts from \"typescript\";\nimport { INestiaMigrateConfig } from \"../structures/INestiaMigrateConfig\";\nexport declare namespace NestiaMigrateApiFileProgrammer {\n interface IProps {\n config: INestiaMigrateConfig;\n components: OpenApi.IComponents;\n namespace: string[];\n routes: IHttpMigrateRoute[];\n children: Set<string>;\n }\n const write: (props: IProps) => ts.Statement[];\n}\n",
|
|
11684
|
-
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiFunctionProgrammer.d.ts": "import { IHttpMigrateRoute, OpenApi } from \"@samchon/openapi\";\nimport ts from \"typescript\";\nimport { INestiaMigrateConfig } from \"../structures/INestiaMigrateConfig\";\nimport { NestiaMigrateImportProgrammer } from \"./NestiaMigrateImportProgrammer\";\nexport declare namespace NestiaMigrateApiFunctionProgrammer {\n interface IContext {\n config: INestiaMigrateConfig;\n components: OpenApi.IComponents;\n importer: NestiaMigrateImportProgrammer;\n route: IHttpMigrateRoute;\n }\n const write: (ctx: IContext) => ts.FunctionDeclaration;\n const writeParameterDeclarations: (ctx: IContext) => ts.ParameterDeclaration[];\n}\n",
|
|
11684
|
+
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiFunctionProgrammer.d.ts": "import { IHttpMigrateRoute, OpenApi } from \"@samchon/openapi\";\nimport ts from \"typescript\";\nimport { INestiaMigrateConfig } from \"../structures/INestiaMigrateConfig\";\nimport { NestiaMigrateImportProgrammer } from \"./NestiaMigrateImportProgrammer\";\nexport declare namespace NestiaMigrateApiFunctionProgrammer {\n interface IContext {\n config: INestiaMigrateConfig;\n components: OpenApi.IComponents;\n importer: NestiaMigrateImportProgrammer;\n route: IHttpMigrateRoute;\n }\n const write: (ctx: IContext) => ts.FunctionDeclaration;\n const writeParameterDeclarations: (ctx: IContext, connectionName?: string) => ts.ParameterDeclaration[];\n}\n",
|
|
11685
11685
|
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiNamespaceProgrammer.d.ts": "import { IHttpMigrateRoute, OpenApi } from \"@samchon/openapi\";\nimport ts from \"typescript\";\nimport { INestiaMigrateConfig } from \"../structures/INestiaMigrateConfig\";\nimport { NestiaMigrateImportProgrammer } from \"./NestiaMigrateImportProgrammer\";\nexport declare namespace NestiaMigrateApiNamespaceProgrammer {\n interface IContext {\n config: INestiaMigrateConfig;\n components: OpenApi.IComponents;\n importer: NestiaMigrateImportProgrammer;\n route: IHttpMigrateRoute;\n }\n const write: (ctx: IContext) => ts.ModuleDeclaration;\n const writePathCallExpression: (config: INestiaMigrateConfig, route: IHttpMigrateRoute) => ts.CallExpression;\n}\n",
|
|
11686
11686
|
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiProgrammer.d.ts": "import { INestiaMigrateContext } from \"../structures/INestiaMigrateContext\";\nexport declare namespace NestiaMigrateApiProgrammer {\n const write: (ctx: INestiaMigrateContext) => Record<string, string>;\n}\n",
|
|
11687
11687
|
"node_modules/@nestia/migrate/lib/programmers/NestiaMigrateApiSimulationProgrammer.d.ts": "import { IHttpMigrateRoute, OpenApi } from \"@samchon/openapi\";\nimport ts from \"typescript\";\nimport { INestiaMigrateConfig } from \"../structures/INestiaMigrateConfig\";\nimport { NestiaMigrateImportProgrammer } from \"./NestiaMigrateImportProgrammer\";\nexport declare namespace NestiaMigrateApiSimulationProgrammer {\n interface IContext {\n config: INestiaMigrateConfig;\n components: OpenApi.IComponents;\n importer: NestiaMigrateImportProgrammer;\n route: IHttpMigrateRoute;\n }\n const random: (ctx: IContext) => ts.VariableStatement;\n const simulate: (ctx: IContext) => ts.VariableStatement;\n}\n",
|
|
@@ -11709,7 +11709,7 @@
|
|
|
11709
11709
|
"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",
|
|
11710
11710
|
"node_modules/@nestia/migrate/lib/utils/openapi-down-convert/RefVisitor.d.ts": "/**\n * Recursively walk a JSON object and invoke a callback function\n * on each `{ \"$ref\" : \"path\" }` object found\n */\n/**\n * Represents a JSON Reference object, such as\n * `{\"$ref\": \"#/components/schemas/problemResponse\" }`\n */\nexport interface RefObject {\n $ref: string;\n}\n/**\n * JsonNode represents a node within the OpenAPI object\n */\nexport type JsonNode = object | [] | string | boolean | null | number;\n/** A JSON Schema object in an API def */\nexport type SchemaObject = object;\n/**\n * Function signature for the visitRefObjects callback\n */\nexport type RefVisitor = (node: RefObject) => JsonNode;\n/**\n * Function signature for the visitSchemaObjects callback\n */\nexport type SchemaVisitor = (node: SchemaObject) => SchemaObject;\n/**\n/**\n * Function signature for the walkObject callback\n */\nexport type ObjectVisitor = (node: object) => JsonNode;\n/**\n * Test if a JSON node is a `{ $ref: \"uri\" }` object\n */\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 `schema`\n * @param node a node in the OpenAPI document\n * @param schemaCallback the function to call on JSON schema objects\n * @return 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 found\n * @param node a node in the OpenAPI document\n * @param refCallback the function to call on JSON `$ref` objects\n * @return 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 found\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 * @return the modified (annotated) node\n */\nexport declare function walkObject(node: object, objectCallback: ObjectVisitor): JsonNode;\n",
|
|
11711
11711
|
"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 /** if `true`, remove `id` values in schema examples, to bypass\n * [Spectral issue 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 /**\n * The authorizationUrl for openIdConnect -> oauth2 transformation\n */\n authorizationUrl?: string;\n /** The tokenUrl for openIdConnect -> oauth2 transformation */\n tokenUrl?: string;\n /** Name of YAML/JSON file with scope descriptions.\n * This is a simple map in the format\n * `{ scope1: \"description of scope1\", ... }`\n */\n scopeDescriptionFile?: string;\n /** Earlier versions of the tool converted $comment to x-comment\n * in JSON Schemas. The tool now deletes $comment values by default.\n * Use this option to preserve the conversion and not delete\n * 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 * @throws Error if the scopeDescriptionFile (if specified) cannot be read or parsed as YAML/JSON\n */\n constructor(openapiDocument: object, options?: ConverterOptions);\n /** Load the scopes.yaml file and save in this.scopeDescriptions\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 * @param message parameters for console.warn\n */\n private log;\n /**\n * Log a message to console.warn stream. Prefix the message string with `Warning: `\n * if it does not already have that text.\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 with `Error: `\n * if it does not already start with `'Error'`. Increments the `returnCode`, causing\n * the CLI to throw an Error when done.\n * @param message parameters for `console.error`\n */\n private error;\n /**\n * Convert the OpenAPI document to 3.0\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`.\n * Replace 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`\n * OpenAPI 3.0 uses JSON Scheme Draft 7 which only allows `enum`.\n * Replace all `const: value` with `enum: [ value ]`\n */\n convertConstToEnum(): void;\n /**\n * Convert 2-element type arrays containing 'null' to\n * string type and `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.\n * Warn if schema has a `format` already and it is 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` already\n * and it is not `byte`.\n */\n convertJsonSchemaContentEncoding(): void;\n private json;\n /**\n * OpenAPI 3.1 defines a new `openIdConnect` security scheme.\n * Down-convert the scheme to `oauth2` / authorization code flow.\n * Collect all the scopes used in any security requirements within\n * operations and add them to the scheme. Also define the\n * URLs to the `authorizationUrl` and `tokenUrl` of `oauth2`.\n */\n convertSecuritySchemes(): void;\n /**\n * Find remaining OpenAPI 3.0 [Reference Objects](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#referenceObject)\n * and down convert them to [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03) objects\n * with _only_ a `$ref` property.\n */\n simplifyNonSchemaRef(): void;\n removeLicenseIdentifier(): void;\n convertSchemaRef(): void;\n static deepClone(obj: object): object;\n}\n",
|
|
11712
|
-
"node_modules/@nestia/migrate/package.json": "{\n \"name\": \"@nestia/migrate\",\n \"version\": \"7.1.
|
|
11712
|
+
"node_modules/@nestia/migrate/package.json": "{\n \"name\": \"@nestia/migrate\",\n \"version\": \"7.1.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\": \"^7.1.1\",\n \"@nestia/core\": \"^7.1.1\",\n \"@nestia/e2e\": \"^7.1.1\",\n \"@nestia/fetcher\": \"^7.1.1\",\n \"@nestia/sdk\": \"^7.1.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.1\",\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\": \"^4.5.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.8.3\",\n \"typia\": \"^9.5.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"!lib/test\",\n \"!src/test\",\n \"package.json\",\n \"README.md\",\n \"LICENSE\"\n ]\n}",
|
|
11713
11713
|
"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 /**\n * @default false\n */\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",
|
|
11714
11714
|
"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",
|
|
11715
11715
|
"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",
|
|
@@ -11807,7 +11807,7 @@
|
|
|
11807
11807
|
"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",
|
|
11808
11808
|
"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",
|
|
11809
11809
|
"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",
|
|
11810
|
-
"node_modules/@nestia/sdk/package.json": "{\n \"name\": \"@nestia/sdk\",\n \"version\": \"7.1.
|
|
11810
|
+
"node_modules/@nestia/sdk/package.json": "{\n \"name\": \"@nestia/sdk\",\n \"version\": \"7.1.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\": \"^7.1.1\",\n \"@nestia/fetcher\": \"^7.1.1\",\n \"@samchon/openapi\": \"^4.5.0\",\n \"cli\": \"^1.0.1\",\n \"get-function-location\": \"^2.0.0\",\n \"glob\": \"^7.2.0\",\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\": \"^9.5.0\"\n },\n \"peerDependencies\": {\n \"@nestia/core\": \">=7.1.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/glob\": \"^7.2.0\",\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.8.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}",
|
|
11811
11811
|
"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",
|
|
11812
11812
|
"node_modules/@nestia/sdk/node_modules/path-to-regexp/dist/index.d.ts": "export interface ParseOptions {\n /**\n * Set the default delimiter for repeat parameters. (default: `'/'`)\n */\n delimiter?: string;\n /**\n * List of characters to automatically consider prefixes when parsing.\n */\n prefixes?: string;\n}\n/**\n * Parse a string for the raw tokens.\n */\nexport declare function parse(str: string, options?: ParseOptions): Token[];\nexport interface TokensToFunctionOptions {\n /**\n * When `true` the regexp will be case sensitive. (default: `false`)\n */\n sensitive?: boolean;\n /**\n * Function for encoding input strings for output.\n */\n encode?: (value: string, token: Key) => string;\n /**\n * When `false` the function can produce an invalid (unmatched) path. (default: `true`)\n */\n validate?: boolean;\n}\n/**\n * Compile a string to a template function for the path.\n */\nexport declare function compile<P extends object = object>(str: string, options?: ParseOptions & TokensToFunctionOptions): PathFunction<P>;\nexport type PathFunction<P extends object = object> = (data?: P) => string;\n/**\n * Expose a method for transforming tokens into the path function.\n */\nexport declare function tokensToFunction<P extends object = object>(tokens: Token[], options?: TokensToFunctionOptions): PathFunction<P>;\nexport interface RegexpToFunctionOptions {\n /**\n * Function for decoding strings for params.\n */\n decode?: (value: string, token: Key) => string;\n}\n/**\n * A match result contains data about the path match.\n */\nexport interface MatchResult<P extends object = object> {\n path: string;\n index: number;\n params: P;\n}\n/**\n * A match is either `false` (no match) or a match result.\n */\nexport type Match<P extends object = object> = false | MatchResult<P>;\n/**\n * The match function takes a string and returns whether it matched the path.\n */\nexport type MatchFunction<P extends object = object> = (path: string) => Match<P>;\n/**\n * Create path match function from `path-to-regexp` spec.\n */\nexport declare function match<P extends object = object>(str: Path, options?: ParseOptions & TokensToRegexpOptions & RegexpToFunctionOptions): MatchFunction<P>;\n/**\n * Create a path match function from `path-to-regexp` output.\n */\nexport declare function regexpToFunction<P extends object = object>(re: RegExp, keys: Key[], options?: RegexpToFunctionOptions): MatchFunction<P>;\n/**\n * Metadata about a key.\n */\nexport interface Key {\n name: string | number;\n prefix: string;\n suffix: string;\n pattern: string;\n modifier: string;\n}\n/**\n * A token is a string (nothing special) or key metadata (capture group).\n */\nexport type Token = string | Key;\nexport interface TokensToRegexpOptions {\n /**\n * When `true` the regexp will be case sensitive. (default: `false`)\n */\n sensitive?: boolean;\n /**\n * When `true` the regexp won't allow an optional trailing delimiter to match. (default: `false`)\n */\n strict?: boolean;\n /**\n * When `true` the regexp will match to the end of the string. (default: `true`)\n */\n end?: boolean;\n /**\n * When `true` the regexp will match from the beginning of the string. (default: `true`)\n */\n start?: boolean;\n /**\n * Sets the final character for non-ending optimistic matches. (default: `/`)\n */\n delimiter?: string;\n /**\n * List of characters that can also be \"end\" characters.\n */\n endsWith?: string;\n /**\n * Encode path tokens for use in the `RegExp`.\n */\n encode?: (value: string) => string;\n}\n/**\n * Expose a function for taking tokens and returning a RegExp.\n */\nexport declare function tokensToRegexp(tokens: Token[], keys?: Key[], options?: TokensToRegexpOptions): RegExp;\n/**\n * Supported `path-to-regexp` input types.\n */\nexport type Path = string | RegExp | Array<string | RegExp>;\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n */\nexport declare function pathToRegexp(path: Path, keys?: Key[], options?: TokensToRegexpOptions & ParseOptions): RegExp;\n",
|
|
11813
11813
|
"node_modules/@nestia/sdk/node_modules/path-to-regexp/package.json": "{\n \"name\": \"path-to-regexp\",\n \"version\": \"6.3.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 \"sideEffects\": false,\n \"main\": \"dist/index.js\",\n \"module\": \"dist.es2015/index.js\",\n \"typings\": \"dist/index.d.ts\",\n \"files\": [\n \"dist.es2015/\",\n \"dist/\"\n ],\n \"scripts\": {\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\": \"^20.4.9\",\n \"@types/semver\": \"^7.3.1\",\n \"@vitest/coverage-v8\": \"^1.4.0\",\n \"recheck\": \"^4.4.5\",\n \"semver\": \"^7.3.5\",\n \"size-limit\": \"^11.1.2\",\n \"typescript\": \"^5.1.6\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"size-limit\": [\n {\n \"path\": \"dist.es2015/index.js\",\n \"limit\": \"2.1 kB\"\n }\n ],\n \"ts-scripts\": {\n \"dist\": [\n \"dist\",\n \"dist.es2015\"\n ],\n \"project\": [\n \"tsconfig.build.json\",\n \"tsconfig.es2015.json\"\n ]\n }\n}\n",
|
|
@@ -12576,6 +12576,8 @@
|
|
|
12576
12576
|
"node_modules/@tsconfig/node16/package.json": "{\n \"name\": \"@tsconfig/node16\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/tsconfig/bases.git\",\n \"directory\": \"bases\"\n },\n \"license\": \"MIT\",\n \"description\": \"A base TSConfig for working with Node 16.\",\n \"keywords\": [\n \"tsconfig\",\n \"node16\"\n ],\n \"version\": \"1.0.4\"\n}",
|
|
12577
12577
|
"node_modules/@types/body-parser/index.d.ts": "/// <reference types=\"node\" />\n\nimport { NextHandleFunction } from \"connect\";\nimport * as http from \"http\";\n\n// for docs go to https://github.com/expressjs/body-parser/tree/1.19.0#body-parser\n\ndeclare namespace bodyParser {\n interface BodyParser {\n /**\n * @deprecated use individual json/urlencoded middlewares\n */\n (options?: OptionsJson & OptionsText & OptionsUrlencoded): NextHandleFunction;\n /**\n * Returns middleware that only parses json and only looks at requests\n * where the Content-Type header matches the type option.\n */\n json(options?: OptionsJson): NextHandleFunction;\n /**\n * Returns middleware that parses all bodies as a Buffer and only looks at requests\n * where the Content-Type header matches the type option.\n */\n raw(options?: Options): NextHandleFunction;\n\n /**\n * Returns middleware that parses all bodies as a string and only looks at requests\n * where the Content-Type header matches the type option.\n */\n text(options?: OptionsText): NextHandleFunction;\n /**\n * Returns middleware that only parses urlencoded bodies and only looks at requests\n * where the Content-Type header matches the type option\n */\n urlencoded(options?: OptionsUrlencoded): NextHandleFunction;\n }\n\n interface Options {\n /** When set to true, then deflated (compressed) bodies will be inflated; when false, deflated bodies are rejected. Defaults to true. */\n inflate?: boolean | undefined;\n /**\n * Controls the maximum request body size. If this is a number,\n * then the value specifies the number of bytes; if it is a string,\n * the value is passed to the bytes library for parsing. Defaults to '100kb'.\n */\n limit?: number | string | undefined;\n /**\n * The type option is used to determine what media type the middleware will parse\n */\n type?: string | string[] | ((req: http.IncomingMessage) => any) | undefined;\n /**\n * The verify option, if supplied, is called as verify(req, res, buf, encoding),\n * where buf is a Buffer of the raw request body and encoding is the encoding of the request.\n */\n verify?(req: http.IncomingMessage, res: http.ServerResponse, buf: Buffer, encoding: string): void;\n }\n\n interface OptionsJson extends Options {\n /**\n * The reviver option is passed directly to JSON.parse as the second argument.\n */\n reviver?(key: string, value: any): any;\n /**\n * When set to `true`, will only accept arrays and objects;\n * when `false` will accept anything JSON.parse accepts. Defaults to `true`.\n */\n strict?: boolean | undefined;\n }\n\n interface OptionsText extends Options {\n /**\n * Specify the default character set for the text content if the charset\n * is not specified in the Content-Type header of the request.\n * Defaults to `utf-8`.\n */\n defaultCharset?: string | undefined;\n }\n\n interface OptionsUrlencoded extends Options {\n /**\n * The extended option allows to choose between parsing the URL-encoded data\n * with the querystring library (when `false`) or the qs library (when `true`).\n */\n extended?: boolean | undefined;\n /**\n * The parameterLimit option controls the maximum number of parameters\n * that are allowed in the URL-encoded data. If a request contains more parameters than this value,\n * a 413 will be returned to the client. Defaults to 1000.\n */\n parameterLimit?: number | undefined;\n }\n}\n\ndeclare const bodyParser: bodyParser.BodyParser;\n\nexport = bodyParser;\n",
|
|
12578
12578
|
"node_modules/@types/body-parser/package.json": "{\n \"name\": \"@types/body-parser\",\n \"version\": \"1.19.5\",\n \"description\": \"TypeScript definitions for body-parser\",\n \"homepage\": \"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser\",\n \"license\": \"MIT\",\n \"contributors\": [\n {\n \"name\": \"Santi Albo\",\n \"githubUsername\": \"santialbo\",\n \"url\": \"https://github.com/santialbo\"\n },\n {\n \"name\": \"Vilic Vane\",\n \"githubUsername\": \"vilic\",\n \"url\": \"https://github.com/vilic\"\n },\n {\n \"name\": \"Jonathan Häberle\",\n \"githubUsername\": \"dreampulse\",\n \"url\": \"https://github.com/dreampulse\"\n },\n {\n \"name\": \"Gevik Babakhani\",\n \"githubUsername\": \"blendsdk\",\n \"url\": \"https://github.com/blendsdk\"\n },\n {\n \"name\": \"Tomasz Łaziuk\",\n \"githubUsername\": \"tlaziuk\",\n \"url\": \"https://github.com/tlaziuk\"\n },\n {\n \"name\": \"Jason Walton\",\n \"githubUsername\": \"jwalton\",\n \"url\": \"https://github.com/jwalton\"\n },\n {\n \"name\": \"Piotr Błażejewicz\",\n \"githubUsername\": \"peterblazejewicz\",\n \"url\": \"https://github.com/peterblazejewicz\"\n }\n ],\n \"main\": \"\",\n \"types\": \"index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/DefinitelyTyped/DefinitelyTyped.git\",\n \"directory\": \"types/body-parser\"\n },\n \"scripts\": {},\n \"dependencies\": {\n \"@types/connect\": \"*\",\n \"@types/node\": \"*\"\n },\n \"typesPublisherContentHash\": \"7be737b78c8aabd5436be840558b283182b44c3cf9da24fb1f2ff8f414db5802\",\n \"typeScriptVersion\": \"4.5\"\n}",
|
|
12579
|
+
"node_modules/@types/cli-progress/index.d.ts": "/// <reference types=\"node\" />\n\nimport EventEmitter = require(\"events\");\n\nexport interface Params {\n progress: number;\n eta: number;\n startTime: number;\n stopTime: number | null;\n total: number;\n value: number;\n maxWidth: number;\n}\n\nexport interface Options {\n /**\n * Progress bar output format.\n * The progressbar can be customized by using the following build-in placeholders. They can be combined in any order.\n * {bar} - the progress bar, customizable by the options barsize, barCompleteString and barIncompleteString\n * {percentage} - the current progress in percent (0-100)\n * {total} - the end value\n * {value} - the current value set by last update() call\n * {eta} - expected time of accomplishment in seconds\n * {duration} - elapsed time in seconds\n * {eta_formatted} - expected time of accomplishment formatted into appropriate units\n * {duration_formatted} - elapsed time formatted into appropriate units\n *\n * Example:\n * progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}\n * is rendered as\n * progress [========================================] 100% | ETA: 0s | 200/200\n */\n format?: string | GenericFormatter | undefined;\n\n /** A custom bar formatter function which renders the bar-element (default: format-bar.js) */\n formatBar?: BarFormatter | undefined;\n\n /** A custom timer formatter function which renders the formatted time elements like eta_formatted and duration-formatted (default: format-time.js) */\n formatTime?: TimeFormatter | undefined;\n\n /** A custom value formatter function which renders all other values (default: format-value.js) */\n formatValue?: ValueFormatter | undefined;\n\n /** The maximum update rate (default: 10) */\n fps?: number | undefined;\n\n /** Output stream to use (default: process.stderr) */\n stream?: NodeJS.WritableStream | undefined;\n\n /** Automatically call stop() when the value reaches the total (default: false) */\n stopOnComplete?: boolean | undefined;\n\n /** Clear the progress bar on complete / stop() call (default: false) */\n clearOnComplete?: boolean | undefined;\n\n /** The length of the progress bar in chars (default: 40) */\n barsize?: number | undefined;\n\n /** Position of the progress bar - 'left' (default), 'right' or 'center */\n align?: \"left\" | \"right\" | \"center\" | undefined;\n\n /** Character to use as \"complete\" indicator in the bar (default: \"=\") */\n barCompleteString?: string | undefined;\n\n /** Character to use as \"incomplete\" indicator in the bar (default: \"-\") */\n barIncompleteString?: string | undefined;\n\n /** Character to use as \"complete\" indicator in the bar (default: \"=\") */\n barCompleteChar?: string | undefined;\n\n /** Character to use as \"incomplete\" indicator in the bar (default: \"-\") */\n barIncompleteChar?: string | undefined;\n\n /**\n * Hide the cursor during progress operation; restored on complete (default: false)\n * - pass `null` to keep terminal settings\n */\n hideCursor?: boolean | null | undefined;\n\n /** Glue sequence (control chars) between bar elements (default: '') */\n barGlue?: string | undefined;\n\n /** Number of updates with which to calculate the eta; higher numbers give a more stable eta (default: 10) */\n etaBuffer?: number | undefined;\n\n /**\n * Trigger an eta calculation update during asynchronous rendering trigger using the current value\n * - should only be used for long running processes in conjunction with lof `fps` values and large `etaBuffer`\n * @default false\n */\n etaAsynchronousUpdate?: boolean | undefined;\n\n /** Progress calculation relative to start value ? default start at 0 (default: false) */\n progressCalculationRelative?: boolean | undefined;\n\n /** Disable line wrapping (default: false) - pass null to keep terminal settings; pass true to trim the output to terminal width */\n linewrap?: boolean | null | undefined;\n\n /** Trigger redraw during update() in case threshold time x2 is exceeded (default: true) - limited to single bar usage */\n synchronousUpdate?: boolean | undefined;\n\n /** Enable scheduled output to notty streams - e.g. redirect to files (default: false) */\n noTTYOutput?: boolean | undefined;\n\n /** Set the output schedule/interval for notty output in ms (default: 2000ms) */\n notTTYSchedule?: number | undefined;\n\n /** Display progress bars with 'total' of zero(0) as empty, not full (default: false) */\n emptyOnZero?: boolean | undefined;\n\n /** Trigger redraw on every frame even if progress remains the same; can be useful if progress bar gets overwritten by other concurrent writes to the terminal (default: false) */\n forceRedraw?: boolean | undefined;\n\n /** Add padding chars to formatted time and percentage to force fixed width (default: false) */\n autopadding?: boolean | undefined;\n\n /** The character sequence used for autopadding (default: \" \") */\n autopaddingChar?: string | undefined;\n\n /** Stop bar on SIGINT/SIGTERM to restore cursor settings (default: true) */\n gracefulExit?: boolean | undefined;\n}\n\nexport interface Preset {\n barCompleteChar: string;\n barIncompleteChar: string;\n\n /**\n * Example: 'progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}'\n *\n * {bar} - the progress bar, customizable by the options barsize, barCompleteString and barIncompleteString\n *\n * {percentage} - the current progress in percent (0-100)\n *\n * {total} - the end value\n *\n * {value} - the current value set by last update() call\n *\n * {eta} - expected time of accomplishment in seconds (limited to 115days, otherwise INF is displayed)\n *\n * {duration} - elapsed time in seconds\n *\n * {eta_formatted} - expected time of accomplishment formatted into appropriate units\n *\n * {duration_formatted} - elapsed time formatted into appropriate units\n */\n format: string;\n}\n\nexport class GenericBar extends EventEmitter {\n /** Initialize a new Progress bar. An instance can be used multiple times! it's not required to re-create it! */\n constructor(opt: Options, preset?: Preset);\n\n /** Whether the progress bar is active */\n isActive: boolean;\n\n /** Internal render function */\n render(forceRendering?: boolean): void;\n\n /** Starts the progress bar and set the total and initial value */\n start(total: number, startValue: number, payload?: object): void;\n\n /** Stops the progress bar and go to next line */\n stop(): void;\n\n /** Sets the current progress value and optionally the payload with values of custom tokens as a second parameter */\n update(current: number, payload?: object): void;\n update(payload: object): void;\n\n /** Calculate the actual progress value */\n getProgress(): number;\n\n /** Increases the current progress value by a specified amount (default +1). Update payload optionally */\n increment(step?: number, payload?: object): void;\n increment(payload: object): void;\n\n /** Get the total (limit) value */\n getTotal(): number;\n\n /** Sets the total progress value while progressbar is active. Especially useful handling dynamic tasks. */\n setTotal(total: number): void;\n\n /** Force eta calculation update (long running processes) without altering the progress values. */\n updateETA(): void;\n}\n\nexport class SingleBar extends GenericBar {\n /** Initialize a new Progress bar. An instance can be used multiple times! it's not required to re-create it! */\n constructor(opt: Options, preset?: Preset);\n\n /** Internal render function */\n render(): void;\n\n /** Sets the current progress value and optionally the payload with values of custom tokens as a second parameter */\n update(current: number, payload?: object): void;\n update(payload: object): void;\n\n /** Starts the progress bar and set the total and initial value */\n start(total: number, startValue: number, payload?: object): void;\n\n /** Stops the progress bar and go to next line */\n stop(): void;\n}\n\nexport class MultiBar extends EventEmitter {\n constructor(opt: Options, preset?: Preset);\n\n /** Whether the progress bar is active */\n isActive: boolean;\n\n /** Add a new bar to the stack */\n create(total: number, startValue: number, payload?: any, barOptions?: Options): SingleBar;\n\n /** Remove a bar from the stack */\n remove(bar: SingleBar): boolean;\n\n /** Internal update routine */\n update(): void;\n\n stop(): void;\n\n /** Log output above the progress bars; string must end with newline character! */\n log(data: string): void;\n}\n\nexport const Presets: {\n /** Styles as of cli-progress v1.3.0 */\n legacy: Preset;\n\n /** Unicode Rectangles */\n rect: Preset;\n\n /** Unicode background shades are used for the bar */\n shades_classic: Preset;\n\n /** Unicode background shades with grey bar */\n shades_grey: Preset;\n};\n\nexport interface GenericFormatter {\n (options: Options, params: Params, payload: any): string;\n}\n\nexport interface TimeFormatter {\n (t: number, options: Options, roundToMultipleOf: number): string;\n}\n\nexport interface ValueFormatter {\n (v: number, options: Options, type: ValueType): string;\n}\n\nexport interface BarFormatter {\n (progress: number, options: Options): string;\n}\n\nexport type ValueType = \"percentage\" | \"total\" | \"value\" | \"eta\" | \"duration\";\n\ndeclare const defaultFormatter: GenericFormatter;\ndeclare const formatBar: BarFormatter;\ndeclare const formatValue: ValueFormatter;\ndeclare const formatTime: TimeFormatter;\n\nexport const Format: {\n Formatter: typeof defaultFormatter;\n BarFormat: typeof formatBar;\n ValueFormat: typeof formatValue;\n TimeFormat: typeof formatTime;\n};\n\nexport class Bar extends SingleBar {}\n\nexport {};\n",
|
|
12580
|
+
"node_modules/@types/cli-progress/package.json": "{\n \"name\": \"@types/cli-progress\",\n \"version\": \"3.11.6\",\n \"description\": \"TypeScript definitions for cli-progress\",\n \"homepage\": \"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cli-progress\",\n \"license\": \"MIT\",\n \"contributors\": [\n {\n \"name\": \" Mohamed Hegazy\",\n \"githubUsername\": \"mhegazy\",\n \"url\": \"https://github.com/mhegazy\"\n },\n {\n \"name\": \"Álvaro Martínez\",\n \"githubUsername\": \"alvaromartmart\",\n \"url\": \"https://github.com/alvaromartmart\"\n },\n {\n \"name\": \"Piotr Błażejewicz\",\n \"githubUsername\": \"peterblazejewicz\",\n \"url\": \"https://github.com/peterblazejewicz\"\n },\n {\n \"name\": \"Marko Schilde\",\n \"githubUsername\": \"mschilde\",\n \"url\": \"https://github.com/mschilde\"\n }\n ],\n \"main\": \"\",\n \"types\": \"index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/DefinitelyTyped/DefinitelyTyped.git\",\n \"directory\": \"types/cli-progress\"\n },\n \"scripts\": {},\n \"dependencies\": {\n \"@types/node\": \"*\"\n },\n \"typesPublisherContentHash\": \"9381114a56ad0797b10bcced637fd0b9673468cf18cbe4044c4ab3c824c7d1aa\",\n \"typeScriptVersion\": \"4.8\"\n}",
|
|
12579
12581
|
"node_modules/@types/connect/index.d.ts": "/// <reference types=\"node\" />\n\nimport * as http from \"http\";\n\n/**\n * Create a new connect server.\n */\ndeclare function createServer(): createServer.Server;\n\ndeclare namespace createServer {\n export type ServerHandle = HandleFunction | http.Server;\n\n export class IncomingMessage extends http.IncomingMessage {\n originalUrl?: http.IncomingMessage[\"url\"] | undefined;\n }\n\n type NextFunction = (err?: any) => void;\n\n export type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => void;\n export type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;\n export type ErrorHandleFunction = (\n err: any,\n req: IncomingMessage,\n res: http.ServerResponse,\n next: NextFunction,\n ) => void;\n export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;\n\n export interface ServerStackItem {\n route: string;\n handle: ServerHandle;\n }\n\n export interface Server extends NodeJS.EventEmitter {\n (req: http.IncomingMessage, res: http.ServerResponse, next?: Function): void;\n\n route: string;\n stack: ServerStackItem[];\n\n /**\n * Utilize the given middleware `handle` to the given `route`,\n * defaulting to _/_. This \"route\" is the mount-point for the\n * middleware, when given a value other than _/_ the middleware\n * is only effective when that segment is present in the request's\n * pathname.\n *\n * For example if we were to mount a function at _/admin_, it would\n * be invoked on _/admin_, and _/admin/settings_, however it would\n * not be invoked for _/_, or _/posts_.\n */\n use(fn: NextHandleFunction): Server;\n use(fn: HandleFunction): Server;\n use(route: string, fn: NextHandleFunction): Server;\n use(route: string, fn: HandleFunction): Server;\n\n /**\n * Handle server requests, punting them down\n * the middleware stack.\n */\n handle(req: http.IncomingMessage, res: http.ServerResponse, next: Function): void;\n\n /**\n * Listen for connections.\n *\n * This method takes the same arguments\n * as node's `http.Server#listen()`.\n *\n * HTTP and HTTPS:\n *\n * If you run your application both as HTTP\n * and HTTPS you may wrap them individually,\n * since your Connect \"server\" is really just\n * a JavaScript `Function`.\n *\n * var connect = require('connect')\n * , http = require('http')\n * , https = require('https');\n *\n * var app = connect();\n *\n * http.createServer(app).listen(80);\n * https.createServer(options, app).listen(443);\n */\n listen(port: number, hostname?: string, backlog?: number, callback?: Function): http.Server;\n listen(port: number, hostname?: string, callback?: Function): http.Server;\n listen(path: string, callback?: Function): http.Server;\n listen(handle: any, listeningListener?: Function): http.Server;\n }\n}\n\nexport = createServer;\n",
|
|
12580
12582
|
"node_modules/@types/connect/package.json": "{\n \"name\": \"@types/connect\",\n \"version\": \"3.4.38\",\n \"description\": \"TypeScript definitions for connect\",\n \"homepage\": \"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect\",\n \"license\": \"MIT\",\n \"contributors\": [\n {\n \"name\": \"Maxime LUCE\",\n \"githubUsername\": \"SomaticIT\",\n \"url\": \"https://github.com/SomaticIT\"\n },\n {\n \"name\": \"Evan Hahn\",\n \"githubUsername\": \"EvanHahn\",\n \"url\": \"https://github.com/EvanHahn\"\n }\n ],\n \"main\": \"\",\n \"types\": \"index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/DefinitelyTyped/DefinitelyTyped.git\",\n \"directory\": \"types/connect\"\n },\n \"scripts\": {},\n \"dependencies\": {\n \"@types/node\": \"*\"\n },\n \"typesPublisherContentHash\": \"8990242237504bdec53088b79e314b94bec69286df9de56db31f22de403b4092\",\n \"typeScriptVersion\": \"4.5\"\n}",
|
|
12581
12583
|
"node_modules/@types/debug/index.d.ts": "declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };\n\nexport = debug;\nexport as namespace debug;\n\ndeclare namespace debug {\n interface Debug {\n (namespace: string): Debugger;\n coerce: (val: any) => any;\n disable: () => string;\n enable: (namespaces: string) => void;\n enabled: (namespaces: string) => boolean;\n formatArgs: (this: Debugger, args: any[]) => void;\n log: (...args: any[]) => any;\n selectColor: (namespace: string) => string | number;\n humanize: typeof import(\"ms\");\n\n names: RegExp[];\n skips: RegExp[];\n\n formatters: Formatters;\n\n inspectOpts?: {\n hideDate?: boolean | number | null;\n colors?: boolean | number | null;\n depth?: boolean | number | null;\n showHidden?: boolean | number | null;\n };\n }\n\n type IDebug = Debug;\n\n interface Formatters {\n [formatter: string]: (v: any) => string;\n }\n\n type IDebugger = Debugger;\n\n interface Debugger {\n (formatter: any, ...args: any[]): void;\n\n color: string;\n diff: number;\n enabled: boolean;\n log: (...args: any[]) => any;\n namespace: string;\n destroy: () => boolean;\n extend: (namespace: string, delimiter?: string) => Debugger;\n }\n}\n",
|
package/src/raw/test.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"node_modules/@nestia/e2e/lib/index.d.ts": "import * as e2e from \"./module\";\nexport default e2e;\nexport * from \"./module\";\n",
|
|
8
8
|
"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",
|
|
9
9
|
"node_modules/@nestia/e2e/lib/module.d.ts": "export * from \"./ArrayUtil\";\nexport * from \"./DynamicExecutor\";\nexport * from \"./GaffComparator\";\nexport * from \"./RandomGenerator\";\nexport * from \"./TestValidator\";\n",
|
|
10
|
-
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"7.1.
|
|
10
|
+
"node_modules/@nestia/e2e/package.json": "{\n \"name\": \"@nestia/e2e\",\n \"version\": \"7.1.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.8.3\",\n \"typescript-transform-paths\": \"^3.4.7\",\n \"typia\": \"^9.5.0\"\n },\n \"files\": [\n \"lib\",\n \"src\",\n \"README.md\",\n \"LICENSE\",\n \"package.json\"\n ]\n}",
|
|
11
11
|
"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",
|
|
12
12
|
"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 collection of\n * dedicated `fetch()` functions for `@nestia/sdk` with encryption.\n *\n * For reference, `EncryptedFetcher` class being used only when target controller\n * method is encrypting body data by `@EncryptedRoute` or `@EncryptedBody` decorators.\n * If those decorators are not used, {@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 * @return 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 * @return 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 * @return 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",
|
|
13
13
|
"node_modules/@nestia/fetcher/lib/FormDataInput.d.ts": "/**\n * FormData input type.\n *\n * `FormDataInput<T>` is a type for the input of the `FormData` request, casting\n * `File` property value type as an union of `File` and {@link FormDataInput.IFileProps},\n * especially for the React Native environment.\n *\n * You know what? In the React Native environment, `File` class is not supported.\n * Therefore, when composing a `FormData` request, you have to put the URI address\n * of the local filesystem with file name and content type that is represented by the\n * {@link FormDataInput.IFileProps} type.\n *\n * This `FormDataInput<T>` type is designed for that purpose. If the property value\n * type is a `File` class, it converts it to an union type of `File` and\n * {@link FormDataInput.IFileProps} type. Also, if the property value type is an array\n * of `File` class, it converts it to an array of union type of `File` and\n * {@link FormDataInput.IFileProps} type too.\n *\n * Before | After\n * ----------|------------------------\n * `boolean` | `boolean`\n * `bigint` | `bigint`\n * `number` | `number`\n * `string` | `string`\n * `File` | `File \\| IFileProps`\n *\n * @template T Target object type.\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport type FormDataInput<T extends object> = T extends Array<any> ? never : T extends Function ? never : {\n [P in keyof T]: T[P] extends Array<infer U> ? FormDataInput.Value<U>[] : FormDataInput.Value<T[P]>;\n};\nexport declare namespace FormDataInput {\n /**\n * Value type of the `FormDataInput`.\n *\n * `Value<T>` is a type for the property value defined in the `FormDataInput`.\n *\n * If the original value type is a `File` class, `Value<T>` converts it to an union\n * type of `File` and {@link IFileProps} type which is a structured data for the\n * URI file location in the React Native environment.\n */\n type Value<T> = T extends File ? T | IFileProps : T;\n /**\n * Properties of a file.\n *\n * In the React Native, this `IFileProps` structured data can replace the `File`\n * class instance in the `FormData` request.\n *\n * Just put the {@link uri URI address} of the local file system with the file's\n * {@link name} and {@link type}. It would be casted to the `File` class instance\n * automatically in the `FormData` request.\n *\n * Note that, this `IFileProps` type works only in the React Native environment.\n * If you are developing a Web or NodeJS application, you have to utilize the\n * `File` class instance directly.\n */\n interface IFileProps {\n /**\n * URI address of the file.\n *\n * In the React Native, the URI address in the local file system can replace\n * the `File` class instance. If\n *\n * @format uri\n */\n uri: string;\n /**\n * Name of the file.\n */\n name: string;\n /**\n * Content type of the file.\n */\n type: string;\n }\n}\n",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"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 * @return 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 * @return 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 * @return 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",
|
|
23
23
|
"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",
|
|
24
24
|
"node_modules/@nestia/fetcher/lib/internal/FetcherBase.d.ts": "export {};\n",
|
|
25
|
-
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"7.1.
|
|
25
|
+
"node_modules/@nestia/fetcher/package.json": "{\n \"name\": \"@nestia/fetcher\",\n \"version\": \"7.1.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\": \"^4.5.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.8.3\"\n },\n \"files\": [\n \"README.md\",\n \"LICENSE\",\n \"package.json\",\n \"lib\",\n \"src\"\n ]\n}",
|
|
26
26
|
"node_modules/@samchon/openapi/lib/HttpLlm.d.ts": "import { OpenApi } from \"./OpenApi\";\nimport { OpenApiV3 } from \"./OpenApiV3\";\nimport { OpenApiV3_1 } from \"./OpenApiV3_1\";\nimport { SwaggerV2 } from \"./SwaggerV2\";\nimport { IHttpConnection } from \"./structures/IHttpConnection\";\nimport { IHttpLlmApplication } from \"./structures/IHttpLlmApplication\";\nimport { IHttpLlmFunction } from \"./structures/IHttpLlmFunction\";\nimport { IHttpResponse } from \"./structures/IHttpResponse\";\nimport { ILlmFunction } from \"./structures/ILlmFunction\";\nimport { ILlmSchema } from \"./structures/ILlmSchema\";\n/**\n * LLM function calling application composer from OpenAPI document.\n *\n * `HttpLlm` is a module for composing LLM (Large Language Model) function\n * calling application from the {@link OpenApi.IDocument OpenAPI document}, and\n * also for LLM function call execution and parameter merging.\n *\n * At first, you can construct the LLM function calling application by the\n * {@link HttpLlm.application HttpLlm.application()} function. And then the LLM\n * has selected a {@link IHttpLlmFunction function} to call and composes its\n * arguments, you can execute the function by\n * {@link HttpLlm.execute HttpLlm.execute()} or\n * {@link HttpLlm.propagate HttpLlm.propagate()}.\n *\n * By the way, if you have configured the\n * {@link IHttpLlmApplication.IOptions.separate} option to separate the\n * parameters into human and LLM sides, you can merge these human and LLM sides'\n * parameters into one through\n * {@link HttpLlm.mergeParameters HttpLlm.mergeParameters()} before the actual\n * LLM function call execution.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace HttpLlm {\n /**\n * Properties for the LLM function calling application composer.\n *\n * @template Model Target LLM model\n */\n interface IApplicationProps<Model extends ILlmSchema.Model> {\n /** Target LLM model. */\n model: Model;\n /** OpenAPI document to convert. */\n document: OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument;\n /** Options for the LLM function calling schema conversion. */\n options?: Partial<IHttpLlmApplication.IOptions<Model>>;\n }\n /**\n * Convert OpenAPI document to LLM function calling application.\n *\n * Converts {@link OpenApi.IDocument OpenAPI document} or\n * {@link IHttpMigrateApplication migrated application} to the\n * {@link IHttpLlmApplication LLM function calling application}. Every\n * {@link OpenApi.IOperation API operations} in the OpenAPI document are\n * converted to the {@link IHttpLlmFunction LLM function} type, and they would\n * be used for the LLM function calling.\n *\n * If you have configured the {@link IHttpLlmApplication.IOptions.separate}\n * option, every parameters in the {@link IHttpLlmFunction} would be separated\n * into both human and LLM sides. In that case, you can merge these human and\n * LLM sides' parameters into one through {@link HttpLlm.mergeParameters}\n * before the actual LLM function call execution.\n *\n * Additionally, if you have configured the\n * {@link IHttpLlmApplication.IOptions.keyword} as `true`, the number of\n * {@link IHttpLlmFunction.parameters} are always 1 and the first parameter\n * type is always {@link ILlmSchemaV3.IObject}. I recommend this option because\n * LLM can understand the keyword arguments more easily.\n *\n * @param props Properties for composition\n * @returns LLM function calling application\n */\n const application: <Model extends ILlmSchema.Model>(props: IApplicationProps<Model>) => IHttpLlmApplication<Model>;\n /** Properties for the LLM function call. */\n interface IFetchProps<Model extends ILlmSchema.Model> {\n /** Application of the LLM function calling. */\n application: IHttpLlmApplication<Model>;\n /** LLM function schema to call. */\n function: IHttpLlmFunction<ILlmSchema.Model>;\n /** Connection info to the HTTP server. */\n connection: IHttpConnection;\n /** Input arguments for the function call. */\n input: object;\n }\n /**\n * Execute the LLM function call.\n *\n * `HttmLlm.execute()` is a function executing the target\n * {@link OpenApi.IOperation API endpoint} with with the connection information\n * and arguments composed by Large Language Model like OpenAI (+human\n * sometimes).\n *\n * By the way, if you've configured the\n * {@link IHttpLlmApplication.IOptions.separate}, so that the parameters are\n * separated to human and LLM sides, you have to merge these humand and LLM\n * sides' parameters into one through {@link HttpLlm.mergeParameters}\n * function.\n *\n * About the {@link IHttpLlmApplication.IOptions.keyword} option, don't worry\n * anything. This `HttmLlm.execute()` function will automatically recognize\n * the keyword arguments and convert them to the proper sequence.\n *\n * For reference, if the target API endpoinnt responds none 200/201 status,\n * this would be considered as an error and the {@link HttpError} would be\n * thrown. Otherwise you don't want such rule, you can use the\n * {@link HttpLlm.propagate} function instead.\n *\n * @param props Properties for the LLM function call\n * @returns Return value (response body) from the API endpoint\n * @throws HttpError when the API endpoint responds none 200/201 status\n */\n const execute: <Model extends ILlmSchema.Model>(props: IFetchProps<Model>) => Promise<unknown>;\n /**\n * Propagate the LLM function call.\n *\n * `HttmLlm.propagate()` is a function propagating the target\n * {@link OpenApi.IOperation API endpoint} with with the connection information\n * and arguments composed by Large Language Model like OpenAI (+human\n * sometimes).\n *\n * By the way, if you've configured the\n * {@link IHttpLlmApplication.IOptions.separate}, so that the parameters are\n * separated to human and LLM sides, you have to merge these humand and LLM\n * sides' parameters into one through {@link HttpLlm.mergeParameters}\n * function.\n *\n * About the {@link IHttpLlmApplication.IOptions.keyword} option, don't worry\n * anything. This `HttmLlm.propagate()` function will automatically recognize\n * the keyword arguments and convert them to the proper sequence.\n *\n * For reference, the propagation means always returning the response from the\n * API endpoint, even if the status is not 200/201. This is useful when you\n * want to handle the response by yourself.\n *\n * @param props Properties for the LLM function call\n * @returns Response from the API endpoint\n * @throws Error only when the connection is failed\n */\n const propagate: <Model extends ILlmSchema.Model>(props: IFetchProps<Model>) => Promise<IHttpResponse>;\n /** Properties for the parameters' merging. */\n interface IMergeProps<Model extends ILlmSchema.Model> {\n /** Metadata of the target function. */\n function: ILlmFunction<Model>;\n /** Arguments composed by the LLM. */\n llm: object | null;\n /** Arguments composed by the human. */\n human: object | null;\n }\n /**\n * Merge the parameters.\n *\n * If you've configured the {@link IHttpLlmApplication.IOptions.separate}\n * option, so that the parameters are separated to human and LLM sides, you\n * can merge these humand and LLM sides' parameters into one through this\n * `HttpLlm.mergeParameters()` function before the actual LLM function call\n * wexecution.\n *\n * On contrary, if you've not configured the\n * {@link IHttpLlmApplication.IOptions.separate} option, this function would\n * throw an error.\n *\n * @param props Properties for the parameters' merging\n * @returns Merged parameter values\n */\n const mergeParameters: <Model extends ILlmSchema.Model>(props: IMergeProps<Model>) => object;\n /**\n * Merge two values.\n *\n * If both values are objects, then combines them in the properties level.\n *\n * Otherwise, returns the latter value if it's not null, otherwise the former\n * value.\n *\n * - `return (y ?? x)`\n *\n * @param x Value X to merge\n * @param y Value Y to merge\n * @returns Merged value\n */\n const mergeValue: (x: unknown, y: unknown) => unknown;\n}\n",
|
|
27
27
|
"node_modules/@samchon/openapi/lib/HttpMigration.d.ts": "import { OpenApi } from \"./OpenApi\";\nimport { OpenApiV3 } from \"./OpenApiV3\";\nimport { OpenApiV3_1 } from \"./OpenApiV3_1\";\nimport { SwaggerV2 } from \"./SwaggerV2\";\nimport { IHttpConnection } from \"./structures/IHttpConnection\";\nimport { IHttpMigrateApplication } from \"./structures/IHttpMigrateApplication\";\nimport { IHttpMigrateRoute } from \"./structures/IHttpMigrateRoute\";\nimport { IHttpResponse } from \"./structures/IHttpResponse\";\n/**\n * HTTP migration application composer from OpenAPI document.\n *\n * `HttpMigration` is a module for composing HTTP migration application from the\n * {@link OpenApi.IDocument OpenAPI document}. It is designed for helping the\n * OpenAPI generator libraries, which converts\n * {@link OpenApi.IOperation OpenAPI operations} to an RPC (Remote Procedure\n * Call) function.\n *\n * The key feature of the `HttpModule` is the {@link HttpMigration.application}\n * function. It converts the {@link OpenApi.IOperation OpenAPI operations} to the\n * {@link IHttpMigrateRoute HTTP migration route}, and it normalizes the OpenAPI\n * operations to the RPC function calling suitable route structure.\n *\n * The other functions, {@link HttpMigration.execute} and\n * {@link HttpMigration.propagate}, are for executing the HTTP request to the\n * HTTP server. The {@link HttpMigration.execute} function returns the response\n * body from the API endpoint when the status code is `200` or `201`. Otherwise,\n * it throws an {@link HttpError} when the status code is not `200` or `201`. The\n * {@link HttpMigration.propagate} function returns the response information from\n * the API endpoint, including the status code, headers, and response body.\n *\n * The {@link HttpLlm} module is a good example utilizing this `HttpMigration`\n * module for composing RPC function calling application. The {@link HttpLlm}\n * module composes LLM (Large Language Model) function calling application from\n * the OpenAPI document bypassing through the {@link IHttpLlmApplication} type.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace HttpMigration {\n /**\n * Convert HTTP migration application from OpenAPI document.\n *\n * `HttpMigration.application()` is a function converting the\n * {@link OpenApi.IDocument OpenAPI document} and its\n * {@link OpenApi.IOperation operations} to the\n * {@link IHttpMigrateApplication HTTP migration application}.\n *\n * The HTTP migration application is designed for helping the OpenAPI\n * generator libraries, which converts OpenAPI operations to an RPC (Remote\n * Procedure Call) function. To support the OpenAPI generator libraries,\n * {@link IHttpMigrateRoute} takes below normalization rules:\n *\n * - Path parameters are separated to atomic level.\n * - Query parameters are binded into one object.\n * - Header parameters are binded into one object.\n * - Allow only below HTTP methods\n *\n * - `head`\n * - `get`\n * - `post`\n * - `put`\n * - `patch`\n * - `delete`\n * - Allow only below content media types\n *\n * - `application/json`\n * - `application/x-www-form-urlencoded`\n * - `multipart/form-data`\n * - `text/plain`\n *\n * If there're some {@link OpenApi.IOperation API operations} which canont\n * adjust the above rules or there're some logically insensible, these\n * operation would be failed to migrate and registered into the\n * {@link IHttpMigrateApplication.errors}.\n *\n * @param document OpenAPI document to migrate.\n * @returns Migrated application.\n */\n const application: (document: OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument) => IHttpMigrateApplication;\n /** Properties for the request to the HTTP server. */\n interface IFetchProps {\n /** Connection info to the HTTP server. */\n connection: IHttpConnection;\n /** Route information for the migration. */\n route: IHttpMigrateRoute;\n /**\n * Path parameters.\n *\n * Path parameters with sequenced array or key-value paired object.\n */\n parameters: Array<string | number | boolean | bigint | null> | Record<string, string | number | boolean | bigint | null>;\n /** Query parameters as a key-value paired object. */\n query?: object | undefined;\n /** Request body data. */\n body?: object | undefined;\n }\n /**\n * Execute the HTTP request.\n *\n * `HttpMigration.execute()` is a function executing the HTTP request to the\n * HTTP server.\n *\n * It returns the response body from the API endpoint when the status code is\n * `200` or `201`. Otherwise, it throws an {@link HttpError} when the status\n * code is not `200` or `201`.\n *\n * If you want to get more information than the response body, or get the\n * detailed response information even when the status code is `200` or `201`,\n * use the {@link HttpMigration.propagate} function instead.\n *\n * @param props Properties for the request.\n * @returns Return value (response body) from the API endpoint.\n * @throws HttpError when the API endpoint responds none 200/201 status.\n */\n const execute: (props: IFetchProps) => Promise<unknown>;\n /**\n * Propagate the HTTP request.\n *\n * `HttpMigration.propagate()` is a function propagating the request to the\n * HTTP server.\n *\n * It returns the response information from the API endpoint, including the\n * status code, headers, and response body.\n *\n * Even if the status code is not `200` or `201`, this function would return\n * the response information. By the way, if the connection to the HTTP server\n * is failed, this function would throw an {@link Error}.\n *\n * @param props Properties for the request.\n * @returns Response from the API endpoint.\n * @throws Error when the connection is failed.\n */\n const propagate: (props: IFetchProps) => Promise<IHttpResponse>;\n}\n",
|
|
28
28
|
"node_modules/@samchon/openapi/lib/McpLlm.d.ts": "import { ILlmSchema } from \"./structures/ILlmSchema\";\nimport { IMcpLlmApplication } from \"./structures/IMcpLlmApplication\";\nimport { IMcpTool } from \"./structures/IMcpTool\";\n/**\n * Application of LLM function calling from MCP document.\n *\n * `McpLlm` is a module for composing LLM (Large Language Model) function\n * calling application from MCP (Model Context Protocol) document.\n *\n * The reasons why `@samchon/openapi` recommends to use the function calling\n * feature instead of directly using the\n * [`mcp_servers`](https://openai.github.io/openai-agents-python/mcp/#using-mcp-servers)\n * property of LLM API are:\n *\n * - Model Specification: {@link ILlmSchema}\n * - Validation Feedback: {@link IMcpLlmFunction.validate}\n * - Selector agent for reducing context: [Agentica > Orchestration\n * Strategy](https://wrtnlabs.io/agentica/docs/concepts/function-calling/#orchestration-strategy)\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace McpLlm {\n /**\n * Properties for the LLM function calling application composer.\n *\n * @template Model Target LLM model\n */\n interface IApplicationProps<Model extends ILlmSchema.Model> {\n /** Target LLM model. */\n model: Model;\n /**\n * List of tools.\n *\n * A list of tools defined in the MCP (Model Context Protocol) document.\n *\n * It would better to validate the tools by\n * [`typia.assert<T>()`](https://typia.io/docs/validate/assert) function for\n * the type safety.\n */\n tools: Array<IMcpTool>;\n /** Options for the LLM function calling schema conversion. */\n options?: Partial<IMcpLlmApplication.IOptions<Model>>;\n }\n /**\n * Convert MCP document to LLM function calling application.\n *\n * Converts MCP (Model Context Protocol) to LLM (Large Language Model)\n * function calling application.\n *\n * The reasons why `@samchon/openapi` recommends to use the function calling\n * feature instead of directly using the\n * [`mcp_servers`](https://openai.github.io/openai-agents-python/mcp/#using-mcp-servers)\n * property of LLM API are:\n *\n * - Model Specification: {@link ILlmSchema}\n * - Validation Feedback: {@link IMcpLlmFunction.validate}\n * - Selector agent for reducing context: [Agentica > Orchestration\n * Strategy](https://wrtnlabs.io/agentica/docs/concepts/function-calling/#orchestration-strategy)\n *\n * @param props Properties for composition\n * @returns LLM function calling application\n */\n const application: <Model extends ILlmSchema.Model>(props: IApplicationProps<Model>) => IMcpLlmApplication<Model>;\n}\n",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IAutoBeRealizeCompiler,
|
|
3
|
+
IAutoBeRealizeCompilerListener,
|
|
4
|
+
IAutoBeRealizeTestProps,
|
|
5
|
+
IAutoBeRealizeTestResult,
|
|
6
|
+
} from "@autobe/interface";
|
|
7
|
+
|
|
8
|
+
import { AutoBeCompilerInterfaceTemplate } from "../raw/AutoBeCompilerInterfaceTemplate";
|
|
9
|
+
import { AutoBeCompilerRealizeTemplate } from "../raw/AutoBeCompilerRealizeTemplate";
|
|
10
|
+
import { AutoBeCompilerTestTemplate } from "../raw/AutoBeCompilerTestTemplate";
|
|
11
|
+
import { testRealizeProject } from "./testRealizeProject";
|
|
12
|
+
|
|
13
|
+
export class AutoBeRealizeCompiler implements IAutoBeRealizeCompiler {
|
|
14
|
+
public constructor(
|
|
15
|
+
private readonly listener: IAutoBeRealizeCompilerListener,
|
|
16
|
+
) {}
|
|
17
|
+
|
|
18
|
+
public test(
|
|
19
|
+
props: IAutoBeRealizeTestProps,
|
|
20
|
+
): Promise<IAutoBeRealizeTestResult> {
|
|
21
|
+
return testRealizeProject(
|
|
22
|
+
{
|
|
23
|
+
...props,
|
|
24
|
+
files: {
|
|
25
|
+
...props.files,
|
|
26
|
+
...AutoBeCompilerRealizeTemplate,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
this.listener.test,
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public async getTemplate(): Promise<Record<string, string>> {
|
|
34
|
+
return {
|
|
35
|
+
...AutoBeCompilerInterfaceTemplate,
|
|
36
|
+
...AutoBeCompilerTestTemplate,
|
|
37
|
+
...AutoBeCompilerRealizeTemplate,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|