@hyperframes/studio-server 0.8.77 → 0.8.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,6 +47,8 @@ interface ProjectHistoryOptions {
|
|
|
47
47
|
onError?: (error: unknown) => void;
|
|
48
48
|
/** How long an open waits for another process to close the same history (default 5 s). */
|
|
49
49
|
ownerWaitMs?: number;
|
|
50
|
+
/** A CLI turn's window from an earlier open: writes since, within its idle limit, become the entry with its id. */
|
|
51
|
+
closedWindow?: ClosedWindow;
|
|
50
52
|
}
|
|
51
53
|
interface ClaimOptions {
|
|
52
54
|
coalesceKey?: string;
|
|
@@ -57,6 +59,15 @@ interface ClaimOptions {
|
|
|
57
59
|
interface Writing {
|
|
58
60
|
writeToken?: string;
|
|
59
61
|
}
|
|
62
|
+
interface ClosedWindow {
|
|
63
|
+
id: string;
|
|
64
|
+
who: HistoryWho;
|
|
65
|
+
label: string;
|
|
66
|
+
startedAt: number;
|
|
67
|
+
lastWriteAt: number;
|
|
68
|
+
idleMs: number;
|
|
69
|
+
}
|
|
70
|
+
declare const MAX_WINDOW_IDLE_MS: number;
|
|
60
71
|
interface HistoryListItem extends HistoryEntry {
|
|
61
72
|
pinned: boolean;
|
|
62
73
|
undone: boolean;
|
|
@@ -73,6 +84,7 @@ type HistoryResult = {
|
|
|
73
84
|
};
|
|
74
85
|
interface HistoryWindow {
|
|
75
86
|
readonly id: string;
|
|
87
|
+
readonly startedAt: number;
|
|
76
88
|
/** Records everything written since the window opened as one entry (null when nothing changed); after the window
|
|
77
89
|
* ended by itself or by flush, returns the entry it became. */
|
|
78
90
|
close(): Promise<HistoryEntry | null>;
|
|
@@ -409,4 +421,4 @@ declare function injectMediaCodecMapIntoHtml(html: string, projectDir: string, h
|
|
|
409
421
|
*/
|
|
410
422
|
declare function injectMediaCodecMap(html: string, adapter: PreviewApiAdapter, projectDir: string, compSrcPath: string, probeCache: MediaCodecProbeCache): Promise<string>;
|
|
411
423
|
|
|
412
|
-
export { DEFAULT_HISTORY_ROOT as D, type HistoryEntry as H, type LintResult as L, type MediaProcessingJobState as M, type PreviewDocumentStore as P, type RenderJobState as R, type StudioApiAdapter as S, START as a, type HistoryFileChange as b, type HistoryListItem as c, type HistoryResult as d, type HistoryWho as e, type HistoryWindow as f,
|
|
424
|
+
export { type ClosedWindow as C, DEFAULT_HISTORY_ROOT as D, type HistoryEntry as H, type LintResult as L, type MediaProcessingJobState as M, type PreviewDocumentStore as P, type RenderJobState as R, type StudioApiAdapter as S, START as a, type HistoryFileChange as b, type HistoryListItem as c, type HistoryResult as d, type HistoryWho as e, type HistoryWindow as f, MAX_WINDOW_IDLE_MS as g, type PreviewApiAdapter as h, type ProjectHistory as i, type ProjectHistoryOptions as j, type ResolvedProject as k, type StudioSelectionResponse as l, type StudioSelectionSnapshot as m, type StudioSelectionTextField as n, openProjectHistory as o, injectMediaCodecMap as p, injectMediaCodecMapIntoHtml as q, isAutoProxyEnabled as r, proxyEtagSalt as s, resolvePreviewMediaCodecProbeCache as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.78",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"linkedom": "^0.18.12",
|
|
65
65
|
"postcss": "^8.5.8",
|
|
66
66
|
"postcss-selector-parser": "^7.1.2",
|
|
67
|
-
"@hyperframes/core": "0.8.
|
|
68
|
-
"@hyperframes/parsers": "0.8.
|
|
67
|
+
"@hyperframes/core": "0.8.78",
|
|
68
|
+
"@hyperframes/parsers": "0.8.78"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/node": "^25.0.10",
|