summary refs log tree commit diff
path: root/api/patches
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--patches/ajv+8.6.2.patch (renamed from api/patches/ajv+8.6.2.patch)0
-rw-r--r--patches/typescript-json-schema+0.54.0.patch (renamed from api/patches/typescript-json-schema+0.50.1.patch)10
2 files changed, 5 insertions, 5 deletions
diff --git a/api/patches/ajv+8.6.2.patch b/patches/ajv+8.6.2.patch

index 3f54881b..3f54881b 100644 --- a/api/patches/ajv+8.6.2.patch +++ b/patches/ajv+8.6.2.patch
diff --git a/api/patches/typescript-json-schema+0.50.1.patch b/patches/typescript-json-schema+0.54.0.patch
index a0d479de..2a319ec4 100644 --- a/api/patches/typescript-json-schema+0.50.1.patch +++ b/patches/typescript-json-schema+0.54.0.patch
@@ -1,14 +1,14 @@ diff --git a/node_modules/typescript-json-schema/dist/typescript-json-schema.js b/node_modules/typescript-json-schema/dist/typescript-json-schema.js -index 47e1598..8397b9d 100644 +index 78f97ba..790c516 100644 --- a/node_modules/typescript-json-schema/dist/typescript-json-schema.js +++ b/node_modules/typescript-json-schema/dist/typescript-json-schema.js -@@ -432,6 +432,9 @@ var JsonSchemaGenerator = (function () { +@@ -453,6 +453,9 @@ var JsonSchemaGenerator = (function () { else if (flags & ts.TypeFlags.Boolean) { definition.type = "boolean"; } -+ else if (flags & ts.TypeFlags.BigInt) { -+ definition.type = "bigint"; -+ } ++ else if (flags & ts.TypeFlags.BigInt) { ++ definition.type = "bigint"; ++ } else if (flags & ts.TypeFlags.Null) { definition.type = "null"; }