OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "namespace": "experimental.record", | |
4 "types": [ | |
5 { | |
6 "id": "SessionDetails", | |
7 "type": "object", | |
8 "description": "", | |
9 "properties": { | |
10 "extensionPath": {"type": "string", "optional": true, "description": "
A path to an extension to run in the session. Should be an unpacked extension."}
, | |
11 "repeatCount": {"type": "integer", "optional": true, "description": "N
umber of times to repeat sequence. Defaults to 1."} | |
12 } | |
13 }, | |
14 { | |
15 "id": "ReplayURLsResult", | |
16 "type": "object", | |
17 "description": "", | |
18 "properties": { | |
19 "runTime": {"type": "integer", "description": "Time in milliseconds to
complete all runs."}, | |
20 "stats": {"type": "string", "description": "Full multiline dump of out
put stats."}, | |
21 "errors": {"type": "array", "items": {"type": "string"}, "description"
: "List of errors during replay."} | |
22 } | |
23 } | |
24 ], | |
25 "functions": [ | |
26 { | |
27 "name": "captureURLs", | |
28 "description": "", | |
29 "type": "function", | |
30 "parameters": [ | |
31 { | |
32 "type": "array", | |
33 "items": {"type": "string"}, | |
34 "name": "urls" | |
35 }, | |
36 { | |
37 "type": "string", | |
38 "name": "cacheDirectoryPath" | |
39 }, | |
40 { | |
41 "$ref": "SessionDetails", | |
42 "name": "details", | |
43 "optional": true | |
44 }, | |
45 { | |
46 "name": "callback", | |
47 "type": "function", | |
48 "description": "Called when capture has completed.", | |
49 "optional": true, | |
50 "parameters": [ | |
51 { | |
52 "type": "array", | |
53 "items": {"type": "string"}, | |
54 "name": "errors" | |
55 } | |
56 ] | |
57 } | |
58 ] | |
59 }, | |
60 { | |
61 "name": "replayURLs", | |
62 "description": "", | |
63 "type": "function", | |
64 "parameters": [ | |
65 { | |
66 "type": "array", | |
67 "items": {"type": "string"}, | |
68 "name": "urls" | |
69 }, | |
70 { | |
71 "type": "string", | |
72 "name": "captureDirectoryPath" | |
73 }, | |
74 { | |
75 "$ref": "SessionDetails", | |
76 "name": "details", | |
77 "optional": true | |
78 }, | |
79 { | |
80 "name": "callback", | |
81 "type": "function", | |
82 "description": "Called when playback has completed.", | |
83 "parameters": [{"$ref": "ReplayURLsResult", "name": "result"}] | |
84 } | |
85 ] | |
86 } | |
87 ] | |
88 } | |
89 ] | |
OLD | NEW |