-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
34 lines (32 loc) · 973 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* @template T
* @typedef {import("./base-types.js").t<T>} t
*/
/**
* @typedef {import("./base-types.js").AnyTypeOrShape} AnyTypeOrShape
*/
/**
* @template T
* @template {keyof T} U
* @typedef {import("./base-types.js").markOptional<T,U>} markOptional
*/
// Ensure typedefs are loaded when importing xcraft-core-stones
// @ts-ignore
require('xcraft-core-stones/typedefs.js');
module.exports = {
...require('./base-types.js'),
...require('./types.js'),
...require('./extra-types/date-time.js'),
...require('./extra-types/date.js'),
...require('./extra-types/pattern.js'),
...require('./extra-types/percentage.js'),
...require('./extra-types/time.js'),
...require('./extra-types/year-month.js'),
...require('./check.js'),
checkType: require('./check-type.js'),
...require('./filter-optional.js'),
...require('./get-type-instance.js'),
parse: require('./parse.js'),
...require('./sculpt.js'),
validate: require('./validate.js'),
};