Skip to content

Commit 82b13d5

Browse files
committed
Add types for edit and repeat modes
1 parent 1e024f6 commit 82b13d5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/stories/static/json/desktopVideomail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const videomailDesktopExample: Videomail = {
5050
webm: "https://videos.pond5.com/brown-hamster-continuously-running-fast-footage-072830929_main_xxl.webm",
5151
poster: "https://s1.dmcdn.net/v/VwuuU1b-B8bKNOTFe/x1080",
5252
replyUrl: "/reply/test-example-mofo-485573266478",
53-
correctUrl: "https://videomail.io/correct/test-example-mofo-485573266478",
53+
editUrl: "https://videomail.io/correct/test-example-mofo-485573266478",
5454
dateCreatedServerPretty: "Nov 25, 2017, 1:42 PM",
5555
expiresAfter: 1734131452642,
5656
expiresAfterIso: "2024-12-13T23:10:52.642Z",

src/stories/static/json/mobileVideomail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Videomail } from "../../../types/Videomail";
44

55
const videomailMobileExample: Videomail = {
66
alias: "re-test-furz-3-dec-2025-06-17-pm-144110111540",
7-
correctUrl:
7+
editUrl:
88
"https://videomail.io/videomail/alias/re-test-furz-3-dec-2025-06-17-pm-144110111540/correct",
99
dateCreated: 1764739035953,
1010
dateCreatedServerPretty: "3 Dec 2025, 06:17 pm (NZDT)",

src/types/Videomail.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export interface Videomail {
2323
// Then Videomail specific stuff
2424

2525
connection?: Record<string, number | string>;
26-
correctUrl: string;
2726
dateCreated: number;
2827
dateCreatedServerPretty: string;
2928
dateUpdated?: number;
@@ -73,6 +72,9 @@ export interface Videomail {
7372
rejectedTo?: DeliveryRecord;
7473
rejectedCc?: DeliveryRecord;
7574
rejectedBcc?: DeliveryRecord;
75+
76+
editUrl?: string;
77+
repeatUrl?: string;
7678
}
7779

7880
export type PartialVideomail = PartialDeep<Videomail>;

0 commit comments

Comments
 (0)