Skip to content

Commit 50c3b49

Browse files
committed
Release 0.13.13
1 parent 91b71b7 commit 50c3b49

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pave",
33
"type": "module",
4-
"version": "0.13.12",
4+
"version": "0.13.13",
55
"author": "Casey Foster <c@sey.me>",
66
"license": "MIT",
77
"repository": {

src/validate-query.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const skipInput = {};
1010

1111
/**
1212
* @param {{
13-
* context: any;
14-
* path: string[];
13+
* context?: any;
14+
* path?: string[];
1515
* query: Query;
1616
* schema: Schema;
1717
* type: Type;

src/validate-value.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ const { isArray } = Array;
88

99
/**
1010
* @param {{
11-
* context: any;
11+
* context?: any;
1212
* object?: any;
1313
* path: string[];
14-
* query: Query;
14+
* query?: Query;
1515
* schema: Schema;
1616
* type: Type;
17-
* value: any;
17+
* value?: any;
1818
* }} options
1919
*/
2020
export const validateValue = ({

types/validate-query.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export function validateQuery({ context, path, query, schema, type }: {
2-
context: any;
3-
path: string[];
2+
context?: any;
3+
path?: string[];
44
query: Query;
55
schema: Schema;
66
type: Type;

types/validate-value.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export function validateValue({ context, object, path, query, schema, type, value }: {
2-
context: any;
2+
context?: any;
33
object?: any;
44
path: string[];
5-
query: Query;
5+
query?: Query;
66
schema: Schema;
77
type: Type;
8-
value: any;
8+
value?: any;
99
}): any;
1010
import type { Query } from '#src/index.js';
1111
import type { Schema } from '#src/index.js';

0 commit comments

Comments
 (0)