diff options
author | Cashew <52880648+Scrub1492@users.noreply.github.com> | 2024-01-20 10:43:27 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 03:43:27 +0000 |
commit | 0011afe435f565dc5669f030da64e2c6e10ce05e (patch) | |
tree | b7cc9598d6a958cbfdd15fff32294ab85dda550e /types/dev | |
parent | be267e1994f8fda2ef68562c5c3a5edc9442a8a8 (diff) |
improve dictionary validation (#520)
* improve dictionary validation
* fix
* improve performance
* add undefined check
* rename types
* rename types
* rename
Diffstat (limited to 'types/dev')
-rw-r--r-- | types/dev/dictionary-validate.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/types/dev/dictionary-validate.d.ts b/types/dev/dictionary-validate.d.ts index d3f8a8be..02d01b78 100644 --- a/types/dev/dictionary-validate.d.ts +++ b/types/dev/dictionary-validate.d.ts @@ -29,3 +29,8 @@ export type Schemas = { termBankV3: Schema; termMetaBankV3: Schema; }; + +/** + * An array of tuples of a regular expression for file types inside a dictionary and its corresponding schema. + */ +export type SchemasDetails = [fileNameFormat: RegExp, schema: unknown][]; |