Adds types for Session and Secret
This commit is contained in:
@@ -8,3 +8,14 @@ export type Document = {
|
|||||||
campaign: Campaign;
|
campaign: Campaign;
|
||||||
data: {};
|
data: {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type Session = Document & {
|
||||||
|
strongStart: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type ISO8601Date = string & { __type: "iso8601date" };
|
||||||
|
|
||||||
|
export type Secret = Document & {
|
||||||
|
text: string;
|
||||||
|
discoveredOn: ISO8601Date;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user