@appium/types 0.9.1 → 0.10.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.
Files changed (40) hide show
  1. package/build/lib/action.d.ts +17 -16
  2. package/build/lib/action.d.ts.map +1 -1
  3. package/build/lib/action.js.map +1 -1
  4. package/build/lib/appium-config.d.ts +27 -27
  5. package/build/lib/appium-config.d.ts.map +1 -1
  6. package/build/lib/capabilities.d.ts +16 -16
  7. package/build/lib/capabilities.d.ts.map +1 -1
  8. package/build/lib/config.d.ts +10 -10
  9. package/build/lib/config.d.ts.map +1 -1
  10. package/build/lib/constraints.d.ts +20 -20
  11. package/build/lib/constraints.js +1 -1
  12. package/build/lib/constraints.js.map +1 -1
  13. package/build/lib/driver.d.ts +15 -14
  14. package/build/lib/driver.d.ts.map +1 -1
  15. package/build/lib/index.d.ts +13 -13
  16. package/build/lib/index.d.ts.map +1 -1
  17. package/build/lib/plugin.d.ts +3 -3
  18. package/build/lib/plugin.d.ts.map +1 -1
  19. package/build/lib/standard-caps.d.ts +3 -3
  20. package/build/lib/standard-caps.d.ts.map +1 -1
  21. package/lib/action.ts +6 -12
  22. package/lib/constraints.js +1 -1
  23. package/lib/driver.ts +3 -1
  24. package/package.json +4 -4
  25. package/build/lib/extension.d.ts +0 -71
  26. package/build/lib/extension.d.ts.map +0 -1
  27. package/build/lib/extension.js +0 -3
  28. package/build/lib/extension.js.map +0 -1
  29. package/build/lib/logger.d.ts +0 -39
  30. package/build/lib/logger.d.ts.map +0 -1
  31. package/build/lib/logger.js +0 -3
  32. package/build/lib/logger.js.map +0 -1
  33. package/build/lib/server.d.ts +0 -21
  34. package/build/lib/server.d.ts.map +0 -1
  35. package/build/lib/server.js +0 -3
  36. package/build/lib/server.js.map +0 -1
  37. package/build/lib/util.d.ts +0 -16
  38. package/build/lib/util.d.ts.map +0 -1
  39. package/build/lib/util.js +0 -3
  40. package/build/lib/util.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../lib/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B;;;;GAIG;AACH,oBAAY,kBAAkB,GAAG,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;AAEzD;;;;GAIG;AACH,oBAAY,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnG;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC;IACjB,KAAK,EAAE,iBAAiB,CAAC;IACzB,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;CACtC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=logger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../lib/logger.ts"],"names":[],"mappings":""}
@@ -1,21 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import type { Server } from 'node:http';
4
- import type { Socket } from 'node:net';
5
- import type { Server as WSServer } from 'ws';
6
- /**
7
- * Appium's slightly-modified {@linkcode Server http.Server}.
8
- */
9
- export declare type AppiumServer = Omit<Server, 'close'> & AppiumServerExtension;
10
- export interface AppiumServerExtension {
11
- close(): Promise<void>;
12
- addWebSocketHandler(handlerPathname: string, handlerServer: WSServer): Promise<void>;
13
- removeWebSocketHandler(handlerPathname: string): Promise<boolean>;
14
- removeAllWebSocketHandlers(): Promise<boolean>;
15
- getWebSocketHandlers(keysFilter: string | null | undefined): Promise<Record<string, WSServer>>;
16
- webSocketsMapping: Record<string, WSServer>;
17
- }
18
- export interface AppiumServerSocket extends Socket {
19
- _openReqCount: number;
20
- }
21
- //# sourceMappingURL=server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../lib/server.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAC,MAAM,IAAI,QAAQ,EAAC,MAAM,IAAI,CAAC;AAE3C;;GAEG;AAEH,oBAAY,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,qBAAqB,CAAC;AAEzE,MAAM,WAAW,qBAAqB;IACpC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,mBAAmB,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrF,sBAAsB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,0BAA0B,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/C,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC/F,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,kBAAmB,SAAQ,MAAM;IAChD,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=server.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../lib/server.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- import type { Class as _Class } from 'type-fest';
2
- /**
3
- * Utility type for a object with string-only props
4
- */
5
- export declare type StringRecord<T = any> = Record<string, T>;
6
- /**
7
- * Wraps {@linkcode _Class `type-fest`'s `Class`} to include static members.
8
- */
9
- export declare type Class<Proto, StaticMembers extends object = {}, Args extends unknown[] = any[]> = _Class<Proto, Args> & StaticMembers;
10
- /**
11
- * Possible HTTP methods, as stolen from `axios`.
12
- *
13
- * @see https://npm.im/axios
14
- */
15
- export declare type HTTPMethod = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
16
- //# sourceMappingURL=util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../lib/util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,IAAI,MAAM,EAAC,MAAM,WAAW,CAAC;AAE/C;;GAEG;AAEH,oBAAY,YAAY,CAAC,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AACtD;;GAEG;AACH,oBAAY,KAAK,CACf,KAAK,EACL,aAAa,SAAS,MAAM,GAAG,EAAE,EACjC,IAAI,SAAS,OAAO,EAAE,GAAG,GAAG,EAAE,IAC5B,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,aAAa,CAAC;AAExC;;;;GAIG;AACH,oBAAY,UAAU,GAClB,KAAK,GACL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,CAAC"}
package/build/lib/util.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../lib/util.ts"],"names":[],"mappings":""}