@recordreplay/protocol
Advanced tools
Comparing version 0.25.0 to 0.26.0
import { uploadedData, awaitingSourcemaps, sessionError, getDescriptionParameters, createSessionParameters, releaseSessionParameters, processRecordingParameters, addSourceMapParameters, addOriginalSourceParameters } from "../../protocol/Recording"; | ||
import { tokenParameters, existsParameters, createParameters } from "../../protocol/Resource"; | ||
import { setAccessTokenParameters } from "../../protocol/Authentication"; | ||
import { missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, newMetric, experimentalEvent, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getEndpointParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, newMetric, experimentalEvent, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, getEndpointParameters, getPointNearTimeParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { paintPoints, playbackVideoFragment, findPaintsParameters, getPlaybackVideoParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics"; | ||
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, getSourceContentsParameters, getSourceMapParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger"; | ||
import { newMessage, findMessagesParameters } from "../../protocol/Console"; | ||
import { newMessage, findMessagesParameters, findMessagesInRangeParameters } from "../../protocol/Console"; | ||
import { evaluateInFrameParameters, evaluateInGlobalParameters, getObjectPropertyParameters, callFunctionParameters, callObjectPropertyParameters, getObjectPreviewParameters, getScopeParameters, getTopFrameParameters, getAllFramesParameters, getFrameArgumentsParameters, getFrameStepsParameters, getExceptionValueParameters } from "../../protocol/Pause"; | ||
@@ -171,9 +171,2 @@ import { getDocumentParameters, getParentNodesParameters, querySelectorParameters, getEventListenersParameters, getBoxModelParameters, getBoundingClientRectParameters, getAllBoundingClientRectsParameters, performSearchParameters, repaintGraphicsParameters } from "../../protocol/DOM"; | ||
* see <code>ProcessingLevel</code> for details. | ||
* | ||
* For the <code>executionIndexed</code> level of processing, note that indexing | ||
* information will not be available for unloaded parts of the recording | ||
* (see <code>Session.listenForLoadChanges</code>) even after processing | ||
* completes. If processing completes and a <code>Session.loadRegion</code> | ||
* command is sent, this command can be sent again to wait until indexing of | ||
* the newly loaded region completes. | ||
*/ | ||
@@ -200,6 +193,11 @@ ensureProcessed: (parameters: ensureProcessedParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").ensureProcessedResult>; | ||
* is fully processed. Before returning, <code>annotations</code> events will | ||
* be periodically emitted, which describe all annotations in the recording. | ||
* be periodically emitted, which describe all annotations in the recording, | ||
* or all annotations of the provided kind. | ||
*/ | ||
findAnnotations: (parameters: findAnnotationsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").findAnnotationsResult>; | ||
/** | ||
* Get the different kinds of annotations in the recording. | ||
*/ | ||
getAnnotationKinds: (parameters: getAnnotationKindsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").getAnnotationKindsResult>; | ||
/** | ||
* Get the last execution point in the recording. | ||
@@ -209,2 +207,6 @@ */ | ||
/** | ||
* Get a point near a given time in the recording. | ||
*/ | ||
getPointNearTime: (parameters: getPointNearTimeParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").getPointNearTimeResult>; | ||
/** | ||
* Create a pause describing the state at an execution point. | ||
@@ -224,4 +226,4 @@ */ | ||
* Pauses cannot be created or used in unloaded parts of the recording, | ||
* and information from the <code>executionIndexed</code> processing Level | ||
* will not be available. | ||
* and execution information for analyses and other commands like | ||
* <code>Debugger.getHitCounts</code> will not be available. | ||
*/ | ||
@@ -231,6 +233,17 @@ listenForLoadChanges: (parameters: listenForLoadChangesParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").listenForLoadChangesResult>; | ||
* Request that an unloaded part of the recording start loading. | ||
* | ||
* After this command returns, any future commands that are sent will use the | ||
* new loading set of regions, and might need to wait until they finish loading | ||
* before they return. | ||
* | ||
* Commands which are sent before this returns or which were still in progress | ||
* when this was sent may use either the earlier loaded regions, the newly | ||
* loaded regions, or some combination of the two. | ||
*/ | ||
loadRegion: (parameters: loadRegionParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").loadRegionResult>; | ||
/** | ||
* Request that part of the recording be unloaded. | ||
* Request that part of the recording be unloaded. As for <code>Session.loadRegion</code>, | ||
* the newly loaded regions will take effect after the command returns, and commands | ||
* which are sent before this returns or are in progress when it is sent may or may | ||
* not use the newly loaded regions. | ||
*/ | ||
@@ -323,2 +336,3 @@ unloadRegion: (parameters: unloadRegionParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").unloadRegionResult>; | ||
* Get a HitCount object for each of the given locations in the given sourceId. | ||
* Counts will only be computed for regions in the recording which are loaded. | ||
*/ | ||
@@ -400,2 +414,7 @@ getHitCounts: (parameters: getHitCountsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Debugger").getHitCountsResult>; | ||
findMessages: (parameters: findMessagesParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Console").findMessagesResult>; | ||
/** | ||
* Find all messages in one area of a recording. Useful if finding all messages in | ||
* the recording overflowed. | ||
*/ | ||
findMessagesInRange: (parameters: findMessagesInRangeParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Console").findMessagesInRangeResult>; | ||
}; | ||
@@ -595,3 +614,4 @@ /** | ||
* emitted. Results will not be gathered in parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -610,3 +630,4 @@ runAnalysis: (parameters: runAnalysisParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Analysis").runAnalysisResult>; | ||
* Points will not be emitted for parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -613,0 +634,0 @@ findAnalysisPoints: (parameters: findAnalysisPointsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Analysis").findAnalysisPointsResult>; |
@@ -204,9 +204,2 @@ "use strict"; | ||
* see <code>ProcessingLevel</code> for details. | ||
* | ||
* For the <code>executionIndexed</code> level of processing, note that indexing | ||
* information will not be available for unloaded parts of the recording | ||
* (see <code>Session.listenForLoadChanges</code>) even after processing | ||
* completes. If processing completes and a <code>Session.loadRegion</code> | ||
* command is sent, this command can be sent again to wait until indexing of | ||
* the newly loaded region completes. | ||
*/ | ||
@@ -241,3 +234,4 @@ ensureProcessed: function (parameters, sessionId, pauseId) { | ||
* is fully processed. Before returning, <code>annotations</code> events will | ||
* be periodically emitted, which describe all annotations in the recording. | ||
* be periodically emitted, which describe all annotations in the recording, | ||
* or all annotations of the provided kind. | ||
*/ | ||
@@ -248,2 +242,8 @@ findAnnotations: function (parameters, sessionId, pauseId) { | ||
/** | ||
* Get the different kinds of annotations in the recording. | ||
*/ | ||
getAnnotationKinds: function (parameters, sessionId, pauseId) { | ||
return _this.genericClient.sendCommand("Session.getAnnotationKinds", parameters, sessionId, pauseId); | ||
}, | ||
/** | ||
* Get the last execution point in the recording. | ||
@@ -255,2 +255,8 @@ */ | ||
/** | ||
* Get a point near a given time in the recording. | ||
*/ | ||
getPointNearTime: function (parameters, sessionId, pauseId) { | ||
return _this.genericClient.sendCommand("Session.getPointNearTime", parameters, sessionId, pauseId); | ||
}, | ||
/** | ||
* Create a pause describing the state at an execution point. | ||
@@ -274,4 +280,4 @@ */ | ||
* Pauses cannot be created or used in unloaded parts of the recording, | ||
* and information from the <code>executionIndexed</code> processing Level | ||
* will not be available. | ||
* and execution information for analyses and other commands like | ||
* <code>Debugger.getHitCounts</code> will not be available. | ||
*/ | ||
@@ -283,2 +289,10 @@ listenForLoadChanges: function (parameters, sessionId, pauseId) { | ||
* Request that an unloaded part of the recording start loading. | ||
* | ||
* After this command returns, any future commands that are sent will use the | ||
* new loading set of regions, and might need to wait until they finish loading | ||
* before they return. | ||
* | ||
* Commands which are sent before this returns or which were still in progress | ||
* when this was sent may use either the earlier loaded regions, the newly | ||
* loaded regions, or some combination of the two. | ||
*/ | ||
@@ -289,3 +303,6 @@ loadRegion: function (parameters, sessionId, pauseId) { | ||
/** | ||
* Request that part of the recording be unloaded. | ||
* Request that part of the recording be unloaded. As for <code>Session.loadRegion</code>, | ||
* the newly loaded regions will take effect after the command returns, and commands | ||
* which are sent before this returns or are in progress when it is sent may or may | ||
* not use the newly loaded regions. | ||
*/ | ||
@@ -408,2 +425,3 @@ unloadRegion: function (parameters, sessionId, pauseId) { | ||
* Get a HitCount object for each of the given locations in the given sourceId. | ||
* Counts will only be computed for regions in the recording which are loaded. | ||
*/ | ||
@@ -519,2 +537,9 @@ getHitCounts: function (parameters, sessionId, pauseId) { | ||
}, | ||
/** | ||
* Find all messages in one area of a recording. Useful if finding all messages in | ||
* the recording overflowed. | ||
*/ | ||
findMessagesInRange: function (parameters, sessionId, pauseId) { | ||
return _this.genericClient.sendCommand("Console.findMessagesInRange", parameters, sessionId, pauseId); | ||
}, | ||
}; | ||
@@ -780,3 +805,4 @@ /** | ||
* emitted. Results will not be gathered in parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -799,3 +825,4 @@ runAnalysis: function (parameters, sessionId, pauseId) { | ||
* Points will not be emitted for parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -802,0 +829,0 @@ findAnalysisPoints: function (parameters, sessionId, pauseId) { |
@@ -1,2 +0,2 @@ | ||
import { TimeStampedPoint, ExecutionPoint } from "./Recording"; | ||
import { TimeStampedPoint, PointRange, ExecutionPoint } from "./Recording"; | ||
import { PauseId } from "./Pause"; | ||
@@ -77,2 +77,6 @@ import { PointDescription, Location, SourceId, SourceLocation, EventHandlerType } from "./Debugger"; | ||
effectful: boolean; | ||
/** | ||
* Any subrange of the recording which the analysis will run in. | ||
*/ | ||
range?: PointRange; | ||
} | ||
@@ -79,0 +83,0 @@ export interface createAnalysisResult { |
import { SourceId, PointDescription } from "./Debugger"; | ||
import { PauseId, Value, CallStack, PauseData } from "./Pause"; | ||
import { PointRange } from "./Recording"; | ||
/** | ||
@@ -75,2 +76,18 @@ * Contents of a console message. | ||
} | ||
export interface findMessagesInRangeParameters { | ||
/** | ||
* Subrange of the recording to find messages within. | ||
*/ | ||
range: PointRange; | ||
} | ||
export interface findMessagesInRangeResult { | ||
/** | ||
* Messages within the specified range. | ||
*/ | ||
messages: Message[]; | ||
/** | ||
* Whether there were too many messages and not all were returned. | ||
*/ | ||
overflow?: boolean; | ||
} | ||
/** | ||
@@ -77,0 +94,0 @@ * Describes a console message in the recording. |
@@ -1,2 +0,2 @@ | ||
import { TimeStampedPoint, ExecutionPoint } from "./Recording"; | ||
import { TimeStampedPoint, PointRange, ExecutionPoint } from "./Recording"; | ||
/** | ||
@@ -142,2 +142,8 @@ * Unique ID for a source. | ||
} | ||
/** | ||
* Identifier for a JS object that persists through the lifetime of that object, | ||
* unlike Pause.ObjectId which can use different IDs for the same JS object in | ||
* different pauses. | ||
*/ | ||
export declare type PersistentObjectId = string; | ||
export interface findSourcesParameters { | ||
@@ -210,2 +216,6 @@ } | ||
maxHits?: number; | ||
/** | ||
* Any subrange of the recording to restrict the hit counts to. | ||
*/ | ||
range?: PointRange; | ||
} | ||
@@ -223,2 +233,6 @@ export interface getHitCountsResult { | ||
eventType: EventHandlerType; | ||
/** | ||
* Any subrange of the recording to restrict the returned events to. | ||
*/ | ||
range?: PointRange; | ||
} | ||
@@ -225,0 +239,0 @@ export interface getEventHandlerCountResult { |
@@ -18,6 +18,6 @@ export * from "./Recording"; | ||
import { setAccessTokenParameters, setAccessTokenResult } from "./Authentication"; | ||
import { missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, newMetric, experimentalEvent, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getEndpointParameters, getEndpointResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, newMetric, experimentalEvent, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { paintPoints, playbackVideoFragment, findPaintsParameters, findPaintsResult, getPlaybackVideoParameters, getPlaybackVideoResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics"; | ||
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, searchSourceContentsParameters, searchSourceContentsResult, getMappedLocationParameters, getMappedLocationResult, setBreakpointParameters, setBreakpointResult, removeBreakpointParameters, removeBreakpointResult, findResumeTargetParameters, findResumeTargetResult, findRewindTargetParameters, findRewindTargetResult, findReverseStepOverTargetParameters, findReverseStepOverTargetResult, findStepOverTargetParameters, findStepOverTargetResult, findStepInTargetParameters, findStepInTargetResult, findStepOutTargetParameters, findStepOutTargetResult, blackboxSourceParameters, blackboxSourceResult, unblackboxSourceParameters, unblackboxSourceResult, searchFunctionsParameters, searchFunctionsResult } from "./Debugger"; | ||
import { newMessage, findMessagesParameters, findMessagesResult } from "./Console"; | ||
import { newMessage, findMessagesParameters, findMessagesResult, findMessagesInRangeParameters, findMessagesInRangeResult } from "./Console"; | ||
import { evaluateInFrameParameters, evaluateInFrameResult, evaluateInGlobalParameters, evaluateInGlobalResult, getObjectPropertyParameters, getObjectPropertyResult, callFunctionParameters, callFunctionResult, callObjectPropertyParameters, callObjectPropertyResult, getObjectPreviewParameters, getObjectPreviewResult, getScopeParameters, getScopeResult, getTopFrameParameters, getTopFrameResult, getAllFramesParameters, getAllFramesResult, getFrameArgumentsParameters, getFrameArgumentsResult, getFrameStepsParameters, getFrameStepsResult, getExceptionValueParameters, getExceptionValueResult } from "./Pause"; | ||
@@ -332,9 +332,2 @@ import { getDocumentParameters, getDocumentResult, getParentNodesParameters, getParentNodesResult, querySelectorParameters, querySelectorResult, getEventListenersParameters, getEventListenersResult, getBoxModelParameters, getBoxModelResult, getBoundingClientRectParameters, getBoundingClientRectResult, getAllBoundingClientRectsParameters, getAllBoundingClientRectsResult, performSearchParameters, performSearchResult, repaintGraphicsParameters, repaintGraphicsResult } from "./DOM"; | ||
* see <code>ProcessingLevel</code> for details. | ||
* | ||
* For the <code>executionIndexed</code> level of processing, note that indexing | ||
* information will not be available for unloaded parts of the recording | ||
* (see <code>Session.listenForLoadChanges</code>) even after processing | ||
* completes. If processing completes and a <code>Session.loadRegion</code> | ||
* command is sent, this command can be sent again to wait until indexing of | ||
* the newly loaded region completes. | ||
*/ | ||
@@ -385,3 +378,4 @@ "Session.ensureProcessed": { | ||
* is fully processed. Before returning, <code>annotations</code> events will | ||
* be periodically emitted, which describe all annotations in the recording. | ||
* be periodically emitted, which describe all annotations in the recording, | ||
* or all annotations of the provided kind. | ||
*/ | ||
@@ -396,2 +390,12 @@ "Session.findAnnotations": { | ||
/** | ||
* Get the different kinds of annotations in the recording. | ||
*/ | ||
"Session.getAnnotationKinds": { | ||
parameters: getAnnotationKindsParameters; | ||
result: getAnnotationKindsResult; | ||
sessionId: true; | ||
pauseId: false; | ||
binary: false; | ||
}; | ||
/** | ||
* Get the last execution point in the recording. | ||
@@ -407,2 +411,12 @@ */ | ||
/** | ||
* Get a point near a given time in the recording. | ||
*/ | ||
"Session.getPointNearTime": { | ||
parameters: getPointNearTimeParameters; | ||
result: getPointNearTimeResult; | ||
sessionId: true; | ||
pauseId: false; | ||
binary: false; | ||
}; | ||
/** | ||
* Create a pause describing the state at an execution point. | ||
@@ -434,4 +448,4 @@ */ | ||
* Pauses cannot be created or used in unloaded parts of the recording, | ||
* and information from the <code>executionIndexed</code> processing Level | ||
* will not be available. | ||
* and execution information for analyses and other commands like | ||
* <code>Debugger.getHitCounts</code> will not be available. | ||
*/ | ||
@@ -447,2 +461,10 @@ "Session.listenForLoadChanges": { | ||
* Request that an unloaded part of the recording start loading. | ||
* | ||
* After this command returns, any future commands that are sent will use the | ||
* new loading set of regions, and might need to wait until they finish loading | ||
* before they return. | ||
* | ||
* Commands which are sent before this returns or which were still in progress | ||
* when this was sent may use either the earlier loaded regions, the newly | ||
* loaded regions, or some combination of the two. | ||
*/ | ||
@@ -457,3 +479,6 @@ "Session.loadRegion": { | ||
/** | ||
* Request that part of the recording be unloaded. | ||
* Request that part of the recording be unloaded. As for <code>Session.loadRegion</code>, | ||
* the newly loaded regions will take effect after the command returns, and commands | ||
* which are sent before this returns or are in progress when it is sent may or may | ||
* not use the newly loaded regions. | ||
*/ | ||
@@ -570,2 +595,3 @@ "Session.unloadRegion": { | ||
* Get a HitCount object for each of the given locations in the given sourceId. | ||
* Counts will only be computed for regions in the recording which are loaded. | ||
*/ | ||
@@ -732,2 +758,13 @@ "Debugger.getHitCounts": { | ||
/** | ||
* Find all messages in one area of a recording. Useful if finding all messages in | ||
* the recording overflowed. | ||
*/ | ||
"Console.findMessagesInRange": { | ||
parameters: findMessagesInRangeParameters; | ||
result: findMessagesInRangeResult; | ||
sessionId: true; | ||
pauseId: false; | ||
binary: false; | ||
}; | ||
/** | ||
* Evaluate an expression in the context of a call frame. This command is | ||
@@ -1046,3 +1083,4 @@ * effectful. | ||
* emitted. Results will not be gathered in parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -1073,3 +1111,4 @@ "Analysis.runAnalysis": { | ||
* Points will not be emitted for parts of the recording that are | ||
* unloaded, see <code>Session.listenForLoadChanges</code>. | ||
* unloaded, see <code>Session.listenForLoadChanges</code> and | ||
* <code>Session.loadRegion</code>. | ||
*/ | ||
@@ -1076,0 +1115,0 @@ "Analysis.findAnalysisPoints": { |
@@ -54,2 +54,3 @@ import { RecordingId, BuildId, TimeStamp } from "./Recording"; | ||
recordingData: RecordingData; | ||
metadata?: any; | ||
} | ||
@@ -56,0 +57,0 @@ export interface setRecordingMetadataResult { |
@@ -1,2 +0,2 @@ | ||
import { MappedLocation, PointDescription } from "./Debugger"; | ||
import { MappedLocation, PersistentObjectId, PointDescription } from "./Debugger"; | ||
import { Node } from "./DOM"; | ||
@@ -166,2 +166,6 @@ import { Rule, StyleDeclaration, StyleSheet } from "./CSS"; | ||
preview?: ObjectPreview; | ||
/** | ||
* Any persistent ID for this object. | ||
*/ | ||
persistentId?: PersistentObjectId; | ||
} | ||
@@ -168,0 +172,0 @@ /** |
@@ -32,2 +32,9 @@ import { SessionId } from "./Session"; | ||
/** | ||
* A range between two execution points in a recording. | ||
*/ | ||
export interface PointRange { | ||
begin: ExecutionPoint; | ||
end: ExecutionPoint; | ||
} | ||
/** | ||
* An execution point and its associated time stamp. Recordings always have a | ||
@@ -41,4 +48,3 @@ * beginning execution point with value "0" and a time stamp of zero. | ||
/** | ||
* An execution point and its associated time stamp. Recordings always have a | ||
* beginning execution point with value "0" and a time stamp of zero. | ||
* A range between two points, with associated time stamps. | ||
*/ | ||
@@ -45,0 +51,0 @@ export interface TimeStampedPointRange { |
@@ -10,8 +10,5 @@ import { TimeRange, TimeStampedPointRange, MouseEvent, KeyboardEvent, NavigationEvent, Annotation, TimeStampedPoint, ExecutionPoint } from "./Recording"; | ||
* processing, all console messages, sources, paints, and mouse events will | ||
* be available immediately. After <code>executionIndexed</code> processing, | ||
* analyses will be able to run, resume/step targets can be found, and the | ||
* state associated with different <code>Pause.PauseId</code> identifiers | ||
* can be inspected. | ||
* be available immediately. | ||
*/ | ||
export declare type ProcessingLevel = "basic" | "executionIndexed"; | ||
export declare type ProcessingLevel = "basic"; | ||
export interface ensureProcessedParameters { | ||
@@ -39,5 +36,14 @@ /** | ||
export interface findAnnotationsParameters { | ||
/** | ||
* Any kind to restrict the returned annotations to. | ||
*/ | ||
kind?: string; | ||
} | ||
export interface findAnnotationsResult { | ||
} | ||
export interface getAnnotationKindsParameters { | ||
} | ||
export interface getAnnotationKindsResult { | ||
kinds: string[]; | ||
} | ||
export interface getEndpointParameters { | ||
@@ -48,2 +54,8 @@ } | ||
} | ||
export interface getPointNearTimeParameters { | ||
time: number; | ||
} | ||
export interface getPointNearTimeResult { | ||
point: TimeStampedPoint; | ||
} | ||
export interface createPauseParameters { | ||
@@ -50,0 +62,0 @@ /** |
{ | ||
"name": "@recordreplay/protocol", | ||
"version": "0.25.0", | ||
"version": "0.26.0", | ||
"description": "Definition of the protocol used by the Record Replay web service", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
479520
11349