-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #653 from samchon/features/json
Ban `Map` types in JSON related functions.
- Loading branch information
Showing
44 changed files
with
214 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
test/features/body-error-bigint/src/controllers/BodyController.ts
This file was deleted.
Oops, something went wrong.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
test/features/body-error-json/src/api/structures/IBbsArticle.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export namespace IBbsArticle { | ||
export interface IUpdate { | ||
sequence: bigint; | ||
keywords: Set<string>; | ||
dictionary: Map<string, string>; | ||
images: Uint8Array[]; | ||
buffer: ArrayBuffer; | ||
weak: WeakMap<object, string>; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
test/features/body-error-json/src/controllers/BodyController.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import core from "@nestia/core"; | ||
import { Controller } from "@nestjs/common"; | ||
import { tags } from "typia"; | ||
|
||
import { IBbsArticle } from "../api/structures/IBbsArticle"; | ||
|
||
@Controller("bbs/articles") | ||
export class BbsArticlesController { | ||
@core.TypedRoute.Post(":id") | ||
public update( | ||
@core.TypedParam("id") id: string & tags.Format<"uuid">, | ||
@core.TypedBody() input: IBbsArticle.IUpdate, | ||
): void { | ||
id; | ||
input; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...c/api/structures/PartialPickIOriginaldemailcreated_atoriginal_optionalundefinable_attr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...c/api/structures/PartialPickIOriginalemailcreated_atoriginal_optionalundefinable_attrb.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...e-and-propagate/src/api/structures/PartialPickIUsernameemailnullable_attroptional_attr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
test/features/clone-and-propagate/src/api/structures/RecordstringArraystring.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type RecordstringArraystring = { | ||
[key: string]: Array<string>; | ||
} |
3 changes: 3 additions & 0 deletions
3
test/features/clone-and-propagate/src/api/structures/RecordstringIJsonSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import type { IJsonSchema } from "./IJsonSchema"; | ||
|
||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type RecordstringIJsonSchema = { | ||
[key: string]: IJsonSchema; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
test/features/clone-and-propagate/src/api/structures/RecordstringISwaggerRoute.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import type { ISwaggerRoute } from "./ISwaggerRoute"; | ||
|
||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type RecordstringISwaggerRoute = { | ||
[key: string]: ISwaggerRoute; | ||
} |
3 changes: 3 additions & 0 deletions
3
test/features/clone-and-propagate/src/api/structures/RecordstringISwaggerSecurityScheme.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import type { ISwaggerSecurityScheme } from "./ISwaggerSecurityScheme"; | ||
|
||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type RecordstringISwaggerSecurityScheme = { | ||
[key: string]: ISwaggerSecurityScheme; | ||
} |
3 changes: 3 additions & 0 deletions
3
.../features/clone-and-propagate/src/api/structures/RecordstringRecordstringISwaggerRoute.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import type { RecordstringISwaggerRoute } from "./RecordstringISwaggerRoute"; | ||
|
||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type RecordstringRecordstringISwaggerRoute = { | ||
[key: string]: RecordstringISwaggerRoute; | ||
} |
3 changes: 3 additions & 0 deletions
3
test/features/clone-and-propagate/src/api/structures/Recordstringstring.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/** | ||
* Construct a type with a set of properties K of type T | ||
*/ | ||
export type Recordstringstring = { | ||
[key: string]: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.