aboutsummaryrefslogtreecommitdiff
path: root/src/matcher/options.ts
diff options
context:
space:
mode:
authorTom Harley2018-04-21 03:06:02 +0100
committerTom Harley2018-04-21 03:06:02 +0100
commit09155e88a34c211dd9429a70fde432c062af77e0 (patch)
treefc64decd667384a07082d8ced77c6e83e7943af5 /src/matcher/options.ts
parentInclude authoris/zation headers in CORS (diff)
downloadmedicine-09155e88a34c211dd9429a70fde432c062af77e0.tar.gz
medicine-09155e88a34c211dd9429a70fde432c062af77e0.zip

Fix many small file-handling problems

Diffstat (limited to 'src/matcher/options.ts')
-rw-r--r--src/matcher/options.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/matcher/options.ts b/src/matcher/options.ts
index 62e4985..0bad627 100644
--- a/src/matcher/options.ts
+++ b/src/matcher/options.ts
@@ -89,6 +89,12 @@ export const array = (template: TemplateValue, values?: Value[]) => {
};
// tslint:disable-next-line:typedef
+export const metadata = exact({
+ version: types.integer,
+ namespaces: {}
+});
+
+// tslint:disable-next-line:typedef
const options = {
match,
exact,