UNPKG
@dpkit/table
Version:
latest (2.0.0)
2.0.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.17.2
0.17.1
0.17.0
0.16.3
0.16.2
0.16.1
0.16.0
0.15.0
0.14.2
0.14.1
0.14.0
0.13.1
0.13.0
0.12.21
0.12.20
0.12.19
0.12.18
0.12.17
0.12.16
0.12.14
0.12.13
0.12.11
0.12.10
0.12.9
0.12.8
0.12.7
0.12.6
0.11.1
0.11.0
0.10.1
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
Data Package implementation in TypeScript.
github.com/datisthq/dpkit
datisthq/dpkit
@dpkit/table
/
build
/
row
/
validate.d.ts
9 lines
(8 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
Schema
}
from
"@dpkit/core"
;
import
type
{
TableError
}
from
"../error/Table.ts"
;
import
type
{
Table
}
from
"../table/Table.ts"
;
export
declare
function
validateRows
(
schema
:
Schema
,
errorTable
:
Table
): {
valid
:
boolean
;
errors
:
TableError
[];
errorTable
:
Table
; };