-
-
Notifications
You must be signed in to change notification settings - Fork 160
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 #756 from samchon/features/message
Enhanced `typia.protobuf.message<T>()` function.
- Loading branch information
Showing
314 changed files
with
26,850 additions
and
2,110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assert } from "../../internal/_test_assert"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_assert_ObjectJsonTag = _test_assert<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)((input) => typia.assert<ObjectJsonTag>(input)); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assert } from "../../internal/_test_assert"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_assert_TagDefault = _test_assert<TagDefault>(TagDefault)( | ||
(input) => typia.assert<TagDefault>(input), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/assertEquals/test_assertEquals_ObjectJsonTag.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_assertEquals } from "../../internal/_test_assertEquals"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_assertEquals_ObjectJsonTag = | ||
_test_assertEquals<ObjectJsonTag>(ObjectJsonTag)((input) => | ||
typia.assertEquals<ObjectJsonTag>(input), | ||
); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assertEquals } from "../../internal/_test_assertEquals"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_assertEquals_TagDefault = _test_assertEquals<TagDefault>( | ||
TagDefault, | ||
)((input) => typia.assertEquals<TagDefault>(input)); |
7 changes: 7 additions & 0 deletions
7
test/features/createAssert/test_createAssert_ObjectJsonTag.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assert } from "../../internal/_test_assert"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_assert_ObjectJsonTag = _test_assert<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)(typia.createAssert<ObjectJsonTag>()); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assert } from "../../internal/_test_assert"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_assert_TagDefault = _test_assert<TagDefault>(TagDefault)( | ||
typia.createAssert<TagDefault>(), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/createAssertEquals/test_createAssertEquals_ObjectJsonTag.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_assertEquals } from "../../internal/_test_assertEquals"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_assertEquals_ObjectJsonTag = | ||
_test_assertEquals<ObjectJsonTag>(ObjectJsonTag)( | ||
typia.createAssertEquals<ObjectJsonTag>(), | ||
); |
7 changes: 7 additions & 0 deletions
7
test/features/createAssertEquals/test_createAssertEquals_TagDefault.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_assertEquals } from "../../internal/_test_assertEquals"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_assertEquals_TagDefault = _test_assertEquals<TagDefault>( | ||
TagDefault, | ||
)(typia.createAssertEquals<TagDefault>()); |
7 changes: 7 additions & 0 deletions
7
test/features/createEquals/test_createEquals_ObjectJsonTag.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_equals } from "../../internal/_test_equals"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_equals_ObjectJsonTag = _test_equals<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)(typia.createEquals<ObjectJsonTag>()); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_equals } from "../../internal/_test_equals"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_equals_TagDefault = _test_equals<TagDefault>(TagDefault)( | ||
typia.createEquals<TagDefault>(), | ||
); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_is } from "../../internal/_test_is"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_is_ObjectJsonTag = _test_is<ObjectJsonTag>(ObjectJsonTag)( | ||
typia.createIs<ObjectJsonTag>(), | ||
); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_is } from "../../internal/_test_is"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_is_TagDefault = _test_is<TagDefault>(TagDefault)( | ||
typia.createIs<TagDefault>(), | ||
); |
10 changes: 10 additions & 0 deletions
10
test/features/createRandom/test_createRandom_ObjectJsonTag.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 @@ | ||
import typia from "../../../src"; | ||
import { _test_random } from "../../internal/_test_random"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_random_ObjectJsonTag = _test_random<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)({ | ||
random: typia.createRandom<ObjectJsonTag>(), | ||
assert: typia.createAssert<ObjectJsonTag>(), | ||
}); |
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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_random } from "../../internal/_test_random"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_random_TagDefault = _test_random<TagDefault>(TagDefault)({ | ||
random: typia.createRandom<TagDefault>(), | ||
assert: typia.createAssert<TagDefault>(), | ||
}); |
7 changes: 7 additions & 0 deletions
7
test/features/createValidate/test_createValidate_ObjectJsonTag.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_validate } from "../../internal/_test_validate"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_validate_ObjectJsonTag = _test_validate<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)(typia.createValidate<ObjectJsonTag>()); |
7 changes: 7 additions & 0 deletions
7
test/features/createValidate/test_createValidate_TagDefault.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_validate } from "../../internal/_test_validate"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_validate_TagDefault = _test_validate<TagDefault>(TagDefault)( | ||
typia.createValidate<TagDefault>(), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/createValidateEquals/test_createValidateEquals_ObjectJsonTag.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_validateEquals } from "../../internal/_test_validateEquals"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_validateEquals_ObjectJsonTag = | ||
_test_validateEquals<ObjectJsonTag>(ObjectJsonTag)( | ||
typia.createValidateEquals<ObjectJsonTag>(), | ||
); |
7 changes: 7 additions & 0 deletions
7
test/features/createValidateEquals/test_createValidateEquals_TagDefault.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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_validateEquals } from "../../internal/_test_validateEquals"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_validateEquals_TagDefault = _test_validateEquals<TagDefault>( | ||
TagDefault, | ||
)(typia.createValidateEquals<TagDefault>()); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_equals } from "../../internal/_test_equals"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_equals_ObjectJsonTag = _test_equals<ObjectJsonTag>( | ||
ObjectJsonTag, | ||
)((input) => typia.equals<ObjectJsonTag>(input)); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_equals } from "../../internal/_test_equals"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_equals_TagDefault = _test_equals<TagDefault>(TagDefault)( | ||
(input) => typia.equals<TagDefault>(input), | ||
); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_is } from "../../internal/_test_is"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_is_ObjectJsonTag = _test_is<ObjectJsonTag>(ObjectJsonTag)( | ||
(input) => typia.is<ObjectJsonTag>(input), | ||
); |
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,7 @@ | ||
import typia from "../../../src"; | ||
import { _test_is } from "../../internal/_test_is"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_is_TagDefault = _test_is<TagDefault>(TagDefault)((input) => | ||
typia.is<TagDefault>(input), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/json.assertParse/test_json_assertParse_ObjectJsonTag.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_json_assertParse } from "../../internal/_test_json_assertParse"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_json_assertParse_ObjectJsonTag = | ||
_test_json_assertParse<ObjectJsonTag>(ObjectJsonTag)((input) => | ||
typia.json.assertParse<ObjectJsonTag>(input), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/json.assertParse/test_json_assertParse_TagDefault.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_json_assertParse } from "../../internal/_test_json_assertParse"; | ||
import { TagDefault } from "../../structures/TagDefault"; | ||
|
||
export const test_json_assertParse_TagDefault = | ||
_test_json_assertParse<TagDefault>(TagDefault)((input) => | ||
typia.json.assertParse<TagDefault>(input), | ||
); |
8 changes: 8 additions & 0 deletions
8
test/features/json.assertStringify/test_json_assertStringify_ObjectJsonTag.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,8 @@ | ||
import typia from "../../../src"; | ||
import { _test_json_assertStringify } from "../../internal/_test_json_assertStringify"; | ||
import { ObjectJsonTag } from "../../structures/ObjectJsonTag"; | ||
|
||
export const test_json_assertStringify_ObjectJsonTag = | ||
_test_json_assertStringify<ObjectJsonTag>(ObjectJsonTag)((input) => | ||
typia.json.assertStringify<ObjectJsonTag>(input), | ||
); |
Oops, something went wrong.