@qawolf/api-contracts 0.29.0 → 0.32.0
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/v1/environment/find.d.ts +1 -1
- package/dist/v1/environment/index.d.ts +2 -2
- package/dist/v1/environment/resource.d.ts +1 -1
- package/dist/v1/environment/update.d.ts +1 -1
- package/dist/v1/index.d.ts +39 -27
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +4 -18
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/run/index.d.ts +8 -0
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +16 -2
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/runner/environment.js +1 -1
- package/dist/v1/runner/files.js +1 -1
- package/dist/v1/runner/inspect.d.ts +1 -0
- package/dist/v1/runner/inspect.d.ts.map +1 -1
- package/dist/v1/runner/inspect.js +6 -2
- package/dist/v1/runner/inspect.js.map +1 -1
- package/dist/v1/runner/inspectMobile.d.ts +226 -0
- package/dist/v1/runner/inspectMobile.d.ts.map +1 -0
- package/dist/v1/runner/inspectMobile.js +118 -0
- package/dist/v1/runner/inspectMobile.js.map +1 -0
- package/dist/v1/runner/inspectMobileShapes.d.ts +73 -0
- package/dist/v1/runner/inspectMobileShapes.d.ts.map +1 -0
- package/dist/v1/runner/inspectMobileShapes.js +59 -0
- package/dist/v1/runner/inspectMobileShapes.js.map +1 -0
- package/dist/v1/runner/performAction.d.ts +3 -2
- package/dist/v1/runner/performAction.d.ts.map +1 -1
- package/dist/v1/runner/performAction.js +3 -1
- package/dist/v1/runner/performAction.js.map +1 -1
- package/dist/v1/runner/takeScreenshot.d.ts +2 -2
- package/dist/v1/runner/takeScreenshot.js +1 -1
- package/dist/v1/runner/takeScreenshot.js.map +1 -1
- package/dist/v1/runnerReexports.d.ts +11 -0
- package/dist/v1/runnerReexports.d.ts.map +1 -0
- package/dist/v1/runnerReexports.js +23 -0
- package/dist/v1/runnerReexports.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// The `runner` resource's shared types and schemas, re-exported here rather
|
|
2
|
+
// than restated by every server and client that needs them. Split out of
|
|
3
|
+
// `index.ts` to keep that file under the line limit.
|
|
4
|
+
export { browserActionSchema, } from "./runner/browserAction.js";
|
|
5
|
+
// Carries the reservation of QA Wolf's own variable names, which the server
|
|
6
|
+
// validates with rather than restating — a second copy of that rule is how the
|
|
7
|
+
// reservation comes to differ from what is actually stamped.
|
|
8
|
+
export { runEnvironmentSchema } from "./runner/environment.js";
|
|
9
|
+
// The travel rule for files bound for a runner: which files travel, how much may
|
|
10
|
+
// travel, and what environment a run may carry. A client needs the predicate and
|
|
11
|
+
// the size bounds to collect and pre-check with; the schemas are also what the
|
|
12
|
+
// server and the runner validate with, so they are shared rather than restated.
|
|
13
|
+
export { isShippableRunFilePath, runFilePathSchema, runPackageJsonPath, shippableRunFileExtensions, } from "./runner/files.js";
|
|
14
|
+
export { makeRunnerSchema, runnerIdSchema, runnerNameSchema, } from "./runner/identity.js";
|
|
15
|
+
export { inspectRequestSchema, } from "./runner/inspect.js";
|
|
16
|
+
export { inspectMobileRequestSchema, } from "./runner/inspectMobile.js";
|
|
17
|
+
// A journal read is answered verbatim by the public API, so its wire shapes are
|
|
18
|
+
// published here and the private journal package imports them from here.
|
|
19
|
+
export { journalEntrySchema, journalStreamSchema, knownJournalStreams, maxJournalStreamNameLength, readJournalRequestSchema, readJournalResponseSchema, } from "./runner/journal.js";
|
|
20
|
+
export { maxRunFilesByteLength, maxRunnerRequestEncodedByteLength, runFilesByteLength, runFilesSchema, } from "./runner/payloadSize.js";
|
|
21
|
+
export { maxActionErrorMessageLength } from "./runner/performAction.js";
|
|
22
|
+
export { runSelectionSchema, } from "./runner/runSelection.js";
|
|
23
|
+
//# sourceMappingURL=runnerReexports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runnerReexports.js","sourceRoot":"","sources":["../../src/v1/runnerReexports.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,yEAAyE;AACzE,qDAAqD;AACrD,OAAO,EAEL,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,4EAA4E;AAC5E,+EAA+E;AAC/E,6DAA6D;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,iFAAiF;AACjF,iFAAiF;AACjF,+EAA+E;AAC/E,gFAAgF;AAChF,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,gFAAgF;AAChF,yEAAyE;AACzE,OAAO,EAML,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,qBAAqB,EACrB,iCAAiC,EACjC,kBAAkB,EAClB,cAAc,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAEL,kBAAkB,GACnB,MAAM,0BAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qawolf/api-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Versioned contracts for the QA Wolf public API",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"build": "rm -rf ./dist && tsc -p tsconfig.build.json",
|
|
30
30
|
"lint:ci": "npm run lint:first-half; FIRST_HALF_EXIT=$?; npm run lint:second-half && exit $FIRST_HALF_EXIT",
|
|
31
31
|
"lint:dev": "npm run lint:first-half",
|
|
32
|
-
"lint:first-half": "
|
|
32
|
+
"lint:first-half": "oxlint . --fix --quiet --report-unused-disable-directives --type-aware && oxfmt --write .",
|
|
33
33
|
"lint:second-half": "dpdm --exit-code circular:1 --no-tree --no-warning --transform --include='.*' --exclude='/(dist|node_modules)/' '**/*'",
|
|
34
34
|
"prepublishOnly": "npm run build",
|
|
35
35
|
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" NODE_NO_WARNINGS=1 jest",
|