From f2538c4b480cfedd7352048b7346063a9c095132 Mon Sep 17 00:00:00 2001 From: aguspe Date: Sun, 15 Sep 2024 19:33:30 +0200 Subject: [PATCH] Take down steep issues from 522 to 198 --- sig/lib/appium_lib_core/common/logger.rbs | 10 ++++++++++ sig/lib/appium_lib_core/ios/xcuitest/bridge.rbs | 11 +++++++++++ sig/lib/appium_lib_core/windows/bridge.rbs | 9 +++++++++ sig/lib/appium_lib_core/windows/device.rbs | 11 +++++++++++ sig/lib/appium_lib_core/windows/device/screen.rbs | 11 +++++++++++ 5 files changed, 52 insertions(+) create mode 100644 sig/lib/appium_lib_core/ios/xcuitest/bridge.rbs create mode 100644 sig/lib/appium_lib_core/windows/bridge.rbs create mode 100644 sig/lib/appium_lib_core/windows/device.rbs create mode 100644 sig/lib/appium_lib_core/windows/device/screen.rbs diff --git a/sig/lib/appium_lib_core/common/logger.rbs b/sig/lib/appium_lib_core/common/logger.rbs index 39a06fcf..33e1e8a9 100644 --- a/sig/lib/appium_lib_core/common/logger.rbs +++ b/sig/lib/appium_lib_core/common/logger.rbs @@ -6,6 +6,16 @@ module Appium attr_writer self.logger: untyped + def self.debug: (String message) -> untyped + + def self.info: (String message) -> untyped + + def self.warn: (String message) -> untyped + + def self.error: (String message) -> untyped + + def self.fatal: (String message) -> untyped + private def self.logger: () -> untyped diff --git a/sig/lib/appium_lib_core/ios/xcuitest/bridge.rbs b/sig/lib/appium_lib_core/ios/xcuitest/bridge.rbs new file mode 100644 index 00000000..b80cd9f8 --- /dev/null +++ b/sig/lib/appium_lib_core/ios/xcuitest/bridge.rbs @@ -0,0 +1,11 @@ +module Appium + module Core + module Ios + module Xcuitest + module Bridge + def self.for: (untyped target) -> untyped + end + end + end + end +end diff --git a/sig/lib/appium_lib_core/windows/bridge.rbs b/sig/lib/appium_lib_core/windows/bridge.rbs new file mode 100644 index 00000000..1ad2d0ba --- /dev/null +++ b/sig/lib/appium_lib_core/windows/bridge.rbs @@ -0,0 +1,9 @@ +module Appium + module Core + module Windows + module Bridge + def self.for: (untyped target) -> untyped + end + end + end +end diff --git a/sig/lib/appium_lib_core/windows/device.rbs b/sig/lib/appium_lib_core/windows/device.rbs new file mode 100644 index 00000000..b3150fc0 --- /dev/null +++ b/sig/lib/appium_lib_core/windows/device.rbs @@ -0,0 +1,11 @@ +module Appium + module Core + module Windows + module Device + extend Forwardable + + def self.extended: (untyped _mod) -> untyped + end + end + end +end diff --git a/sig/lib/appium_lib_core/windows/device/screen.rbs b/sig/lib/appium_lib_core/windows/device/screen.rbs new file mode 100644 index 00000000..67a2d02c --- /dev/null +++ b/sig/lib/appium_lib_core/windows/device/screen.rbs @@ -0,0 +1,11 @@ +module Appium + module Core + module Windows + module Device + module Screen + def self.add_methods: () -> untyped + end + end + end + end +end