Adds campaign info to it's details page

This commit is contained in:
2025-05-28 14:55:12 -07:00
parent d3fd1992db
commit 06c45d8a7e
2 changed files with 40 additions and 9 deletions

View File

@@ -16,13 +16,25 @@ export type Document = {
data: {};
};
export type Session = Document & {
strongStart: string;
export type DocumentData<K extends string, V> = {
data: Record<K, V>;
};
export type Session = Document &
DocumentData<
"session",
{
strongStart: string;
}
>;
export type ISO8601Date = string & { __type: "iso8601date" };
export type Secret = Document & {
text: string;
discoveredOn: ISO8601Date;
};
export type Secret = Document &
DocumentData<
"secret",
{
text: string;
discoveredOn: ISO8601Date;
}
>;