Skip to content

Commit 9d31a50

Browse files
committed
Enable parent snapshots
1 parent 580948f commit 9d31a50

4 files changed

Lines changed: 17 additions & 13 deletions

File tree

.storybook/public/mockServiceWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* - Please do NOT modify this file.
88
*/
99

10-
const PACKAGE_VERSION = '2.12.9'
10+
const PACKAGE_VERSION = '2.12.10'
1111
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
1212
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
1313
const activeClientIds = new Set()

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"@types/ua-parser-js": "0.7.39",
9494
"@vitest/eslint-plugin": "1.6.7",
9595
"audit-ci": "7.1.0",
96-
"chromatic": "15.0.0",
96+
"chromatic": "15.1.0",
9797
"cross-env": "10.1.0",
9898
"eslint": "9.39.2",
9999
"eslint-import-resolver-typescript": "4.4.4",
@@ -108,7 +108,7 @@
108108
"eslint-plugin-simple-import-sort": "12.1.1",
109109
"globals": "17.3.0",
110110
"jsdom": "28.0.0",
111-
"msw": "2.12.9",
111+
"msw": "2.12.10",
112112
"msw-storybook-addon": "2.0.6",
113113
"prettier": "3.8.1",
114114
"prettier-plugin-curly": "0.4.1",

src/types/Videomail.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { RecordingStats } from "./RecordingStats";
77
import VideoFormat from "./VideoFormat";
88

99
// Remember, only primitive types are supported.
10-
// LevelDB can't store for example Sets or Maps
10+
// LevelDB can't store for example Sets or Maps.
1111
export interface Videomail {
1212
// First, typical email typings
1313
subject?: string;
@@ -33,7 +33,6 @@ export interface Videomail {
3333
format?: VideoFormat;
3434
height?: number | undefined;
3535
key: string;
36-
parentKey?: string;
3736
mp4?: string;
3837
vtt?: string;
3938
captions?: string | undefined;
@@ -42,6 +41,10 @@ export interface Videomail {
4241
recordingStats?: RecordingStats | undefined;
4342
recordLocation?: string | undefined;
4443

44+
parentKey?: string;
45+
// Never stored, for snapshots only when a parent key exists
46+
parentSnapshots?: Videomail[];
47+
4548
replyAllUrl?: string;
4649
replyUrl: string;
4750
sending: boolean;
@@ -55,6 +58,7 @@ export interface Videomail {
5558
whitelistKey: string;
5659

5760
// Never stored, for snapshots only and retrieved via whitelist key
61+
// Consider removing once all has been migrated to the new whitelist system.
5862
siteName?: string | undefined;
5963

6064
url: string;

0 commit comments

Comments
 (0)