Adds campaign info to it's details page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user