From a4ebba93c5aede1b2c70f2f8007a571842600754 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Fri, 27 Mar 2020 18:53:49 -0400 Subject: [PATCH] EncSpontPayment --- services/gunDB/contact-api/schema-types.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 services/gunDB/contact-api/schema-types.ts diff --git a/services/gunDB/contact-api/schema-types.ts b/services/gunDB/contact-api/schema-types.ts new file mode 100644 index 00000000..2d96ab21 --- /dev/null +++ b/services/gunDB/contact-api/schema-types.ts @@ -0,0 +1,15 @@ +/** + * @format + * Contains types that are used throughout the application. Written in + * typescript for easier implementation. + * + * Nominal types are archieved through the enum method as outlined here: + * https://basarat.gitbook.io/typescript/main-1/nominaltyping + */ +enum _EncSpontPayment { + _ = '' +} +/** + * Spontaneous payment as found inside a chat message body. + */ +export type EncSpontPayment = _EncSpontPayment & string