@opencraw/studio 0.0.36 → 0.0.37
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +92 -6
- package/dist/src/index.d.ts +1 -1
- package/dist/src/studio-api/command.contract.d.ts +36 -0
- package/dist/src/studio-api/event.contract.d.ts +14 -0
- package/dist/src/studio-api/index.d.ts +4 -4
- package/dist/src/studio-api/studio-control-view.contract.d.ts +12 -0
- package/dist/src/studio-api/ui-request.contract.d.ts +6 -0
- package/dist/src/studio-server/ask-ui.handler.d.ts +23 -3
- package/dist/src/studio-server/workspace.store.d.ts +3 -1
- package/dist/studio-api/command.contract.d.ts +36 -0
- package/dist/studio-api/event.contract.d.ts +14 -0
- package/dist/studio-api/index.d.ts +4 -4
- package/dist/studio-api/studio-control-view.contract.d.ts +12 -0
- package/dist/studio-api/ui-request.contract.d.ts +6 -0
- package/dist/studio-server/ask-ui.handler.d.ts +23 -3
- package/dist/studio-server/workspace.store.d.ts +3 -1
- package/dist/ui/assets/{index-cNoQIuRS.js → index-B40d4kiB.js} +30 -30
- package/dist/ui/assets/{pdf-OWIvAVVv.js → pdf-DS2CRtYv.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import type { BrowserSessionConfig } from '@opencraw/core';
|
|
|
2
2
|
import type { RecorderSessionHandle } from '../flow-recording';
|
|
3
3
|
import type { SnapshotCache } from '../page-snapshot';
|
|
4
4
|
import type { LastRunCache, SampleRunHandle } from '../sample-run';
|
|
5
|
-
import type { StudioEvent } from '../studio-api';
|
|
5
|
+
import type { StudioEvent, UiOutcomeView } from '../studio-api';
|
|
6
6
|
import type { TrustedPlugins } from '../trusted-plugins';
|
|
7
7
|
import type { WsConnection } from './websocket.client';
|
|
8
8
|
/** The server's mutable state: the opened folder, the run in progress (if any), the recording in progress (if any, issue #95), the connected event sockets, the per-recipe snapshot cache `take-snapshot`/`verify-selector`/`infer-selector` share, each recipe's last finished sample run (`explain-why`, issue #92), the browser launch settings every web-mode command (`take-snapshot`, `verify-selector`, `run-sample`, `start-recording`) shares, and where the studio's own recorder profile lives. */
|
|
@@ -15,6 +15,8 @@ export interface StudioState {
|
|
|
15
15
|
/** A `start-recording` still opening its window: `stop-recording` and the server's own close wait for it, so a window is never left open behind them (issue #174). */
|
|
16
16
|
openingRecording?: Promise<unknown>;
|
|
17
17
|
sockets: Set<WsConnection>;
|
|
18
|
+
/** How the pages said a controller's requests went (`ui-report`), by request id; the oldest are dropped past a few dozen. */
|
|
19
|
+
uiOutcomes: Map<string, UiOutcomeView>;
|
|
18
20
|
snapshots: SnapshotCache;
|
|
19
21
|
lastRuns: LastRunCache;
|
|
20
22
|
/** Set once at server start (`StudioServerOptions.browser`); every web-mode command reads it from here rather than each accepting its own. */
|