-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 93251f84b998dff94a1cd494bd174ca1497d0286 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 16:53:01 2024 +0200 dist: update commit 871d707bae496b59ed412e8859cd299f2a881c1e Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 16:27:59 2024 +0200 refactor: remove Q commit 1d2c7725896c2cdd69e315aa28e315d478f9007a Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 16:03:18 2024 +0200 refactor: replace schema.__scope by SchemaNode.path commit d8bf0e97db9115f275f23d2cc6e8538d9bba3ad3 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 15:52:18 2024 +0200 update: ensure many validation methods pass through node commit 5a1741778faff3a98d93d3f255a99cc00508eab1 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 15:26:59 2024 +0200 change: stepFunctions to work on SchemaNode commit 13c2984576befd061bbf1691b566581a05c465c0 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 14:43:24 2024 +0200 change: resolveRef to work on SchemaNode commit 87710ac99792a77f7c80799dc6d342eef7e5abbf Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 13:08:48 2024 +0200 change: reduceSchema to use SchemaNode commit 7c7120bb2cb57f55d021f45cc7187301c79a55f8 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 12:45:54 2024 +0200 change: resolveDynamicSchema to use SchemaNode commit f943cd781db653ef0b003c8eac45c75c964162c8 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 12:34:06 2024 +0200 change: resolveDependencies to use SchemaNode commit 13c9876592176ee6897a44aeae52a9ce026031e9 Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 12:14:04 2024 +0200 change: resolveOneOf to use SchemaNode commit 5bf871dceaa7814040b87e6323872f9c11dfec4f Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 10:04:57 2024 +0200 change: resolvers to use SchemaNode commit 5dcd477c9cb63fba7ca6505ed22f23d86732533c Author: Sascha Goldhofer <[email protected]> Date: Thu Apr 11 09:33:14 2024 +0200 change: replace resolveSchema to use SchemaNode commit e3897c25ee73c78deca2421e49f6548cc99ed5a8 Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 23:34:30 2024 +0200 change: return type of getSchema to node commit 8196a1daf76f55af7b9d2fa60fc1eabdaa78a3e1 Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 22:18:13 2024 +0200 fix: broken omit in mergeSchema commit 48ced0da032c60cbe1ed702d8b463d699ef0132e Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 22:15:48 2024 +0200 fix: introduced boolean schema validation issue commit 60c36a4acf40e3f1ffc3c0ce19db41bf1cf7822d Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 16:10:50 2024 +0200 change: return type of step to SchemaNode commit e113b73ef1dafd7c6b826bb5d263aebe87f50b09 Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 15:39:30 2024 +0200 change: step to use SchemaNode commit 820d7a1a0aa42d485d4bf84f340c14d3dc8d574e Author: Sascha Goldhofer <[email protected]> Date: Wed Apr 10 13:38:31 2024 +0200 change: validator type to use SchemaNode
- Loading branch information
Showing
98 changed files
with
1,413 additions
and
1,362 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,8 +1,3 @@ | ||
import { JsonSchema } from "./types"; | ||
/** | ||
* merges to two json schema. In case of conflicts, will use overwrite first | ||
* schema or directly return first json schema. | ||
*/ | ||
export declare function _mergeSchema(a: JsonSchema, b: JsonSchema): JsonSchema; | ||
export declare function mergeSchema<T extends JsonSchema>(a: T, b: T): T; | ||
export declare function mergeSchema<T extends JsonSchema>(a: T, b: T, ...omit: string[]): T; | ||
export declare function mergeSchema2(a: unknown, b: unknown, property?: string): unknown; |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { JsonSchema } from "./types"; | ||
import { SchemaNode } from "./types"; | ||
/** | ||
* @todo update types | ||
* Note: JsonSchema my be false | ||
*/ | ||
export default function resolveRefMerge(schema: JsonSchema, rootSchema: JsonSchema): JsonSchema; | ||
export default function resolveRefMerge(node: SchemaNode): SchemaNode; |
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,2 +1,2 @@ | ||
import { JsonSchema } from "./types"; | ||
export default function resolveRef(schema: JsonSchema, rootSchema: JsonSchema): JsonSchema; | ||
import { SchemaNode } from "./types"; | ||
export default function resolveRef(node: SchemaNode): SchemaNode; |
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,4 @@ | ||
import { JsonSchema } from "../types"; | ||
export declare function shallowCloneSchemaNode(node: JsonSchema): { | ||
[x: string]: any; | ||
}; |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import { JsonError, JsonSchema } from "../types"; | ||
import { Draft } from "../draft"; | ||
declare const formatValidators: Record<string, (draft: Draft, schema: JsonSchema, value: unknown, pointer: string) => undefined | JsonError | JsonError[]>; | ||
import { JsonError, SchemaNode } from "../types"; | ||
declare const formatValidators: Record<string, (node: SchemaNode, value: unknown) => undefined | JsonError | JsonError[]>; | ||
export default formatValidators; |
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.