Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.d.ts 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /// <reference types="webdriver" />
  2. /// <reference types="webdriverio/webdriverio-core" />
  3. import type { DefaultOptions, Capabilities } from './types';
  4. declare const REGION_MAPPING: {
  5. us: string;
  6. eu: string;
  7. 'eu-central-1': string;
  8. 'us-east-1': string;
  9. };
  10. export declare const validObjectOrArray: (object: any) => object is object | any[];
  11. export declare function getSauceEndpoint(region: keyof typeof REGION_MAPPING, { isRDC, isVisual }?: {
  12. isRDC?: boolean;
  13. isVisual?: boolean;
  14. }): string;
  15. export declare function removeLineNumbers(filePath: string): string;
  16. export declare function isCucumberFeatureWithLineNumber(spec: string | string[]): boolean;
  17. export declare function isCloudCapability(capabilities: WebDriver.DesiredCapabilities | WebdriverIO.MultiRemoteBrowserOptions): boolean;
  18. interface BackendConfigurations {
  19. port?: number;
  20. hostname?: string;
  21. user?: string;
  22. key?: string;
  23. protocol?: string;
  24. region?: string;
  25. headless?: boolean;
  26. path?: string;
  27. capabilities?: Capabilities | WebDriver.DesiredCapabilities | WebDriver.W3CCapabilities;
  28. }
  29. export declare function detectBackend(options?: BackendConfigurations): {
  30. hostname: string | undefined;
  31. port: number | undefined;
  32. protocol: string | undefined;
  33. path: string | undefined;
  34. };
  35. export declare function validateConfig<T>(defaults: DefaultOptions<T>, options: T, keysToKeep?: (keyof T)[]): T;
  36. export declare function loadTypeScriptCompiler(): void;
  37. export {};
  38. //# sourceMappingURL=utils.d.ts.map