typia 9.0.0-dev.20250405 → 9.0.0-dev.20250405-3

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.
@@ -11,7 +11,10 @@ export type Type<Value extends "int32" | "uint32" | "int64" | "uint64" | "float"
11
11
  bigint: `BigInt(0) <= $input`;
12
12
  } : Value extends "float" ? `$importInternal("isTypeFloat")($input)` : `true`;
13
13
  exclusive: true;
14
- schema: {
14
+ schema: Value extends "uint32" | "uint64" ? {
15
+ type: "integer";
16
+ minimum: 0;
17
+ } : {
15
18
  type: Value extends "int32" | "uint32" | "int64" | "uint64" ? "integer" : "number";
16
19
  };
17
20
  }>;
@@ -11,7 +11,10 @@ export type Type<Value extends "int32" | "uint32" | "int64" | "uint64" | "float"
11
11
  bigint: `BigInt(0) <= $input`;
12
12
  } : Value extends "float" ? `$importInternal("isTypeFloat")($input)` : `true`;
13
13
  exclusive: true;
14
- schema: {
14
+ schema: Value extends "uint32" | "uint64" ? {
15
+ type: "integer";
16
+ minimum: 0;
17
+ } : {
15
18
  type: Value extends "int32" | "uint32" | "int64" | "uint64" ? "integer" : "number";
16
19
  };
17
20
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typia",
3
- "version": "9.0.0-dev.20250405",
3
+ "version": "9.0.0-dev.20250405-3",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "homepage": "https://typia.io",
42
42
  "dependencies": {
43
- "@samchon/openapi": "^4.0.0-dev.20250405-2",
43
+ "@samchon/openapi": "^4.0.0-dev.20250405-4",
44
44
  "commander": "^10.0.0",
45
45
  "comment-json": "^4.2.3",
46
46
  "inquirer": "^8.2.5",
package/src/tags/Type.ts CHANGED
@@ -24,9 +24,14 @@ export type Type<
24
24
  ? `$importInternal("isTypeFloat")($input)`
25
25
  : `true`;
26
26
  exclusive: true;
27
- schema: {
28
- type: Value extends "int32" | "uint32" | "int64" | "uint64"
29
- ? "integer"
30
- : "number";
31
- };
27
+ schema: Value extends "uint32" | "uint64"
28
+ ? {
29
+ type: "integer";
30
+ minimum: 0;
31
+ }
32
+ : {
33
+ type: Value extends "int32" | "uint32" | "int64" | "uint64"
34
+ ? "integer"
35
+ : "number";
36
+ };
32
37
  }>;