doc-detective-common 3.5.1-dev.0 → 3.5.1-dev.2
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/package.json +3 -3
- package/src/schemas/build/checkLink_v2.schema.json +1 -1
- package/src/schemas/build/checkLink_v3.schema.json +1 -1
- package/src/schemas/build/click_v3.schema.json +1 -1
- package/src/schemas/build/config_v2.schema.json +14 -14
- package/src/schemas/build/config_v3.schema.json +6 -6
- package/src/schemas/build/context_v2.schema.json +1 -1
- package/src/schemas/build/context_v3.schema.json +1 -1
- package/src/schemas/build/dragAndDrop_v3.schema.json +1 -1
- package/src/schemas/build/find_v2.schema.json +3 -3
- package/src/schemas/build/find_v3.schema.json +4 -4
- package/src/schemas/build/goTo_v2.schema.json +1 -1
- package/src/schemas/build/goTo_v3.schema.json +1 -1
- package/src/schemas/build/httpRequest_v2.schema.json +2 -2
- package/src/schemas/build/httpRequest_v3.schema.json +3 -3
- package/src/schemas/build/loadCookie_v3.schema.json +1 -1
- package/src/schemas/build/loadVariables_v3.schema.json +1 -1
- package/src/schemas/build/moveTo_v2.schema.json +1 -1
- package/src/schemas/build/openApi_v2.schema.json +1 -1
- package/src/schemas/build/openApi_v3.schema.json +1 -1
- package/src/schemas/build/record_v3.schema.json +1 -1
- package/src/schemas/build/report_v3.schema.json +5 -5
- package/src/schemas/build/resolvedTests_v3.schema.json +3 -3
- package/src/schemas/build/runCode_v2.schema.json +1 -1
- package/src/schemas/build/runCode_v3.schema.json +1 -1
- package/src/schemas/build/runShell_v2.schema.json +1 -1
- package/src/schemas/build/runShell_v3.schema.json +1 -1
- package/src/schemas/build/saveCookie_v3.schema.json +1 -1
- package/src/schemas/build/saveScreenshot_v2.schema.json +1 -1
- package/src/schemas/build/screenshot_v3.schema.json +1 -1
- package/src/schemas/build/setVariables_v2.schema.json +1 -1
- package/src/schemas/build/spec_v2.schema.json +4 -4
- package/src/schemas/build/spec_v3.schema.json +4 -4
- package/src/schemas/build/startRecording_v2.schema.json +1 -1
- package/src/schemas/build/step_v3.schema.json +38 -38
- package/src/schemas/build/stopRecord_v3.schema.json +1 -1
- package/src/schemas/build/stopRecording_v2.schema.json +1 -1
- package/src/schemas/build/test_v2.schema.json +15 -15
- package/src/schemas/build/test_v3.schema.json +6 -6
- package/src/schemas/build/typeKeys_v2.schema.json +1 -1
- package/src/schemas/build/type_v3.schema.json +1 -1
- package/src/schemas/build/wait_v2.schema.json +1 -1
- package/src/schemas/build/wait_v3.schema.json +1 -1
- package/src/schemas/build/loadCookies_v3.schema.json +0 -156
- package/src/schemas/build/saveCookies_v3.schema.json +0 -176
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "saveCookies",
|
|
4
|
-
"description": "Save all browser cookies to a file or environment variable for later reuse.",
|
|
5
|
-
"anyOf": [
|
|
6
|
-
{
|
|
7
|
-
"$ref": "#/components/schemas/string"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"$ref": "#/components/schemas/object"
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"components": {
|
|
14
|
-
"schemas": {
|
|
15
|
-
"string": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"title": "Environment variable name",
|
|
18
|
-
"description": "Environment variable name to store cookies as JSON string.",
|
|
19
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
20
|
-
"transform": [
|
|
21
|
-
"trim"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"object": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"properties": {
|
|
28
|
-
"variable": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"title": "Environment variable name",
|
|
31
|
-
"description": "Environment variable name to store cookies as JSON string.",
|
|
32
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
33
|
-
"transform": [
|
|
34
|
-
"trim"
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"path": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"title": "Cookie file path",
|
|
40
|
-
"description": "File path to save cookies, relative to directory. Uses Netscape cookie format.",
|
|
41
|
-
"pattern": "([A-Za-z0-9_.-]*\\.(txt|cookies)$|\\$[A-Za-z0-9_]+)",
|
|
42
|
-
"transform": [
|
|
43
|
-
"trim"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"directory": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"title": "Directory path",
|
|
49
|
-
"description": "Directory to save the cookie file. If not specified, uses output directory.",
|
|
50
|
-
"transform": [
|
|
51
|
-
"trim"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"overwrite": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"title": "Overwrite existing file",
|
|
57
|
-
"description": "Whether to overwrite existing cookie file.",
|
|
58
|
-
"enum": [
|
|
59
|
-
"true",
|
|
60
|
-
"false"
|
|
61
|
-
],
|
|
62
|
-
"default": "false"
|
|
63
|
-
},
|
|
64
|
-
"filter": {
|
|
65
|
-
"type": "object",
|
|
66
|
-
"title": "Cookie filter",
|
|
67
|
-
"description": "Filter criteria to specify which cookies to save.",
|
|
68
|
-
"additionalProperties": false,
|
|
69
|
-
"properties": {
|
|
70
|
-
"names": {
|
|
71
|
-
"type": "array",
|
|
72
|
-
"title": "Cookie names",
|
|
73
|
-
"description": "Array of specific cookie names to include. If specified, only these cookies will be saved.",
|
|
74
|
-
"items": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"patterns": {
|
|
79
|
-
"type": "array",
|
|
80
|
-
"title": "Cookie name patterns",
|
|
81
|
-
"description": "Array of wildcard patterns (* and ?) or regex patterns to match cookie names.",
|
|
82
|
-
"items": {
|
|
83
|
-
"type": "string"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"domains": {
|
|
87
|
-
"type": "array",
|
|
88
|
-
"title": "Cookie domains",
|
|
89
|
-
"description": "Array of domains to include. Only cookies from these domains will be saved.",
|
|
90
|
-
"items": {
|
|
91
|
-
"type": "string"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"exclude": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"title": "Exclusion filters",
|
|
97
|
-
"description": "Cookies matching these criteria will be excluded from saving.",
|
|
98
|
-
"additionalProperties": false,
|
|
99
|
-
"properties": {
|
|
100
|
-
"names": {
|
|
101
|
-
"type": "array",
|
|
102
|
-
"title": "Excluded cookie names",
|
|
103
|
-
"description": "Array of cookie names to exclude.",
|
|
104
|
-
"items": {
|
|
105
|
-
"type": "string"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"patterns": {
|
|
109
|
-
"type": "array",
|
|
110
|
-
"title": "Excluded patterns",
|
|
111
|
-
"description": "Array of patterns to exclude.",
|
|
112
|
-
"items": {
|
|
113
|
-
"type": "string"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"title": "Save cookies (detailed)"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"examples": [
|
|
126
|
-
"AUTH_COOKIES",
|
|
127
|
-
{
|
|
128
|
-
"path": "auth-cookies.txt"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"variable": "SESSION_COOKIES"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"path": "login-state.txt",
|
|
135
|
-
"directory": "./test-data",
|
|
136
|
-
"overwrite": "true"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"variable": "AUTH_TOKENS",
|
|
140
|
-
"filter": {
|
|
141
|
-
"names": [
|
|
142
|
-
"sessionToken",
|
|
143
|
-
"authToken",
|
|
144
|
-
"csrfToken"
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"path": "auth-only.txt",
|
|
150
|
-
"filter": {
|
|
151
|
-
"patterns": [
|
|
152
|
-
"*auth*",
|
|
153
|
-
"*session*",
|
|
154
|
-
"*token*"
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"variable": "LOGIN_COOKIES",
|
|
160
|
-
"filter": {
|
|
161
|
-
"domains": [
|
|
162
|
-
"app.example.com",
|
|
163
|
-
"api.example.com"
|
|
164
|
-
],
|
|
165
|
-
"exclude": {
|
|
166
|
-
"patterns": [
|
|
167
|
-
"_ga*",
|
|
168
|
-
"_gtm*",
|
|
169
|
-
"analytics*"
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"$id": "/home/hawkeyexl/Workspaces/common/src/schemas/src_schemas/saveCookies_v3.schema.json"
|
|
176
|
-
}
|