Evgeny Poberezkin
da4277b01e
Merge branch 'master' into 5.0.0
2017-02-28 19:59:51 +00:00
Evgeny Poberezkin
64aa3f3909
docs: type definition for schemaId option
2017-02-27 20:00:33 +00:00
Donald Pipowitch
6cc12130da
Update ajv.d.ts
2017-02-21 14:55:57 +01:00
Evgeny Poberezkin
8bb3b52f55
feat: serialize option, closes #385 , closes #341
2017-01-21 20:28:50 +00:00
Evgeny Poberezkin
f89a04de4c
docs: fixed custom keyword definition typing
2017-01-20 23:39:27 +00:00
Evgeny Poberezkin
a06327eab4
Merge branch 'master' into 5.0.0
2017-01-20 23:30:54 +00:00
Evgeny Poberezkin
7148ae3607
docs: update typings for "modifying" and "valid" custom keywords, #392 , #393
2017-01-20 23:25:45 +00:00
Evgeny Poberezkin
fc1c46cbfa
feat: option processCode replaced option beautify, closes #382
2016-12-26 16:57:06 +00:00
Evgeny Poberezkin
6036f3ff07
feat: update type definitions
...
allow boolean schemas
async validation promise resolves with data
properties of custom keyword definition ($data and metaSchema)
custom keyword schema can be any value
keyword schema in error object can be any value
optional propertyName property of error object for all keywords (added when validating schema in propertyNames)
propertyNames keyword error params
2016-12-25 21:39:36 +00:00
Evgeny Poberezkin
416f294350
Merge branch 'master' into 5.0.0
2016-12-23 19:47:01 +00:00
Evgeny Poberezkin
8a470f32df
docs: getKeyword, removeKeywords methods
2016-12-11 12:38:13 +00:00
Evgeny Poberezkin
547b44013d
Merge branch 'domoritz-patch-1' into 5.0.0
2016-11-30 21:03:25 +00:00
Evgeny Poberezkin
445acb5afd
style: single quotes
2016-11-30 20:25:39 +00:00
Dominik Moritz
14cd94d3cf
Update types for options from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/types-2.0/ajv/index.d.ts
2016-11-29 19:53:52 -08:00
Evgeny Poberezkin
98e0922ae7
Merge branch 'master' into 5.0.0
2016-11-08 17:37:08 +00:00
Evgeny Poberezkin
69f1e639d7
docs: compileAsync meta-schema support, closes #334
2016-11-08 17:32:22 +00:00
Evgeny Poberezkin
81c2069354
fix: type definition for option unknownFormats
2016-10-20 00:29:10 +01:00
Evgeny Poberezkin
3fab5c7019
fix: type definition change for compileAsync, closes #249
2016-10-19 09:52:58 +01:00
Darcy Parker
fd07efc4cf
Add missing rootData parameter from ValidateFunction typescript interface ( #301 )
...
* Add missing rootData property from ValidateFunction typescript interface
* Made change @epoberezkin requested
2016-09-19 12:49:37 +01:00
Dalci de Jesus Bagolin
2fc93a8acd
[typescript] Allow use 'new' operator
2016-08-04 22:41:17 -04:00
will Farrell
9e18e68ce7
Add in ability to coerce to an array
2016-07-22 18:07:10 -06:00
Dan Casey
3de58ec4cd
Add `schema` to interface returned by `getSchema`
2016-06-26 16:00:23 -04:00
Matt Broadstone
84ef7ab728
feat(own-properties): support optionally checking own properties
...
Traditionally ajv validates additionalProperties by checking all
enumerable properties of an object. This patch allows the user to
specify that they only want own properties of an object to be
considered in this validation
2016-05-26 17:50:52 -04:00
Holger Jeromin
c28a2f8f5d
Removed internal Parameters and added .errors
2016-05-13 00:54:18 +02:00
Holger Jeromin
1726e98878
copy jsdoc comment to typescript definition file
2016-05-10 11:25:18 +02:00
Blake Embrey
67f224630a
TypeScript: Fix implicit any, fix `Promise` usage
2016-04-21 17:38:06 -07:00
Evgeny Poberezkin
a954845be2
use typescript ES2015 for Promise support
2016-04-20 21:01:22 +01:00
Evgeny Poberezkin
f7bfc49a55
fix and add tests for typescript type definitions
2016-04-20 20:55:43 +01:00
Evgeny Poberezkin
18ca34253f
TypeScript type definitions
2016-04-18 22:11:26 +01:00
Evgeny Poberezkin
76bdf0796e
TypeScript: Promise return value for validation functions
2016-04-17 20:10:12 +01:00
Evgeny Poberezkin
e1f30a201b
TypeScript format and keyword definition
2016-04-17 20:07:00 +01:00
Evgeny Poberezkin
6a2c8633cb
correct TypeScript definitions
2016-04-17 19:37:40 +01:00
Blake Embrey
83427b8712
Support initial TypeScript definition
2016-04-15 12:20:35 -07:00