mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
fix(studio): recovery drafts are kept by each project's own server, never the browser (#7904)
* fix(studio): recovery drafts are kept by each project's own server, never the browser * fix(studio): a restored draft stays offered when Studio settles which composition is open * fix(studio): a draft read never waits on a pipe or loads an oversized record * test(studio): the draft read's child fixture is an entry point, and its note sits in the test * chore(studio-server): size budget covers the recovery-draft route * chore(cli): unpacked size budget covers the recovery-draft route
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"@hyperframes/cli": {
|
||||
"packed": 8577627,
|
||||
"unpacked": 25159107
|
||||
"unpacked": 25500000
|
||||
},
|
||||
"@hyperframes/core": {
|
||||
"packed": 1800000,
|
||||
@@ -56,7 +56,7 @@
|
||||
"unpacked": 26703858
|
||||
},
|
||||
"@hyperframes/studio-server": {
|
||||
"packed": 173500,
|
||||
"unpacked": 676000
|
||||
"packed": 178000,
|
||||
"unpacked": 690000
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ const GET_RESPONSES = new Map([
|
||||
[`${PROJECT_PATH}/renders`, json({ renders: [] })],
|
||||
[`${PROJECT_PATH}/lint`, json({ findings: [] })],
|
||||
[`${PROJECT_PATH}/selection`, json({ selection: null, updatedAt: null })],
|
||||
[`${PROJECT_PATH}/recovery-drafts/index.html`, json({ draft: null })],
|
||||
[`${PROJECT_PATH}/history`, json({ entries: [], back: null, forward: null })],
|
||||
["/api/registry/blocks", json([])],
|
||||
["/api/fonts", json({ fonts: [] })],
|
||||
|
||||
Reference in New Issue
Block a user