From 03d0d7d1d24eb60ffdcf00d1f61124c317856917 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Wed, 28 May 2025 14:22:27 -0700 Subject: [PATCH] Adds types for Session and Secret --- src/lib/types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/types.ts b/src/lib/types.ts index 6a92e2b..b48d68a 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -8,3 +8,14 @@ export type Document = { campaign: Campaign; data: {}; }; + +export type Session = Document & { + strongStart: string; +}; + +export type ISO8601Date = string & { __type: "iso8601date" }; + +export type Secret = Document & { + text: string; + discoveredOn: ISO8601Date; +};