aboutsummaryrefslogtreecommitdiff
path: root/src/uuid.ts
diff options
context:
space:
mode:
authorTom Harley2018-03-03 00:28:52 +0000
committerTom Harley2018-03-03 00:28:52 +0000
commit113b5dcbb948f96416f0b76ed8a8debff704c575 (patch)
treed920f1e9c73e703505128a0c2e3099bb94c81033 /src/uuid.ts
parentPlug in authentication support - WIP (diff)
parentAdd miniature response-wrapper middleware (diff)
downloadmedicine-113b5dcbb948f96416f0b76ed8a8debff704c575.tar.gz
medicine-113b5dcbb948f96416f0b76ed8a8debff704c575.zip

Merge branch ‘trh/gets’ into trh/payload-checker

Diffstat (limited to 'src/uuid.ts')
-rw-r--r--src/uuid.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uuid.ts b/src/uuid.ts
new file mode 100644
index 0000000..983a92d
--- /dev/null
+++ b/src/uuid.ts
@@ -0,0 +1,7 @@
+import { v4 } from 'uuid';
+
+export const uuid: {
+ generate: () => string;
+} = {
+ generate: v4
+};