react-native-windows 0.81.3 → 0.82.0-preview.10
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/.flowconfig +11 -10
- package/Directory.Build.props +3 -3
- package/Folly/Folly.vcxproj +1 -3
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +7 -3
- package/Libraries/Alert/RCTAlertManager.android.js +4 -2
- package/Libraries/Animated/Animated.d.ts +2 -0
- package/Libraries/Animated/AnimatedEvent.js +1 -1
- package/Libraries/Animated/AnimatedExports.js.flow +1 -0
- package/Libraries/Animated/AnimatedImplementation.js +4 -2
- package/Libraries/Animated/AnimatedMock.js +1 -1
- package/Libraries/Animated/Easing.js +2 -0
- package/Libraries/Animated/NativeAnimatedAllowlist.js +1 -0
- package/Libraries/Animated/animations/Animation.js +19 -20
- package/Libraries/Animated/animations/TimingAnimation.js +2 -0
- package/Libraries/Animated/components/AnimatedScrollView.js +3 -2
- package/Libraries/Animated/components/AnimatedSectionList.js +1 -1
- package/Libraries/Animated/nodes/AnimatedColor.js +9 -9
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +4 -4
- package/Libraries/Animated/nodes/AnimatedNode.js +14 -7
- package/Libraries/Animated/nodes/AnimatedObject.js +7 -7
- package/Libraries/Animated/nodes/AnimatedProps.js +32 -32
- package/Libraries/Animated/nodes/AnimatedStyle.js +23 -21
- package/Libraries/Animated/nodes/AnimatedTransform.js +6 -6
- package/Libraries/Animated/nodes/AnimatedValue.js +18 -26
- package/Libraries/AppState/AppState.js +8 -4
- package/Libraries/BatchedBridge/BatchedBridge.js +1 -0
- package/Libraries/BatchedBridge/MessageQueue.js +5 -0
- package/Libraries/BatchedBridge/NativeModules.js +1 -1
- package/Libraries/Blob/BlobManager.js +1 -1
- package/Libraries/Blob/URLSearchParams.js +2 -0
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +2 -2
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.windows.js +2 -2
- package/Libraries/Components/Button.js +1 -1
- package/Libraries/Components/Button.windows.js +1 -1
- package/Libraries/Components/Flyout/FlyoutNativeComponent.js +2 -2
- package/Libraries/Components/Glyph/GlyphNativeComponent.js +1 -1
- package/Libraries/Components/Popup/PopupNativeComponent.js +1 -0
- package/Libraries/Components/Pressable/Pressable.js +10 -1
- package/Libraries/Components/Pressable/Pressable.windows.js +9 -0
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +2 -2
- package/Libraries/Components/ScrollView/ScrollView.js +13 -4
- package/Libraries/Components/ScrollView/ScrollView.windows.js +14 -5
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +2 -2
- package/Libraries/Components/Switch/Switch.js +1 -1
- package/Libraries/Components/Switch/Switch.windows.js +1 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +12 -5
- package/Libraries/Components/TextInput/TextInput.flow.windows.js +12 -5
- package/Libraries/Components/TextInput/TextInput.js +14 -5
- package/Libraries/Components/TextInput/TextInput.windows.js +23 -11
- package/Libraries/Components/TextInput/TextInputState.js +1 -1
- package/Libraries/Components/TextInput/TextInputState.windows.js +1 -1
- package/Libraries/Components/Touchable/TouchableBounce.js +1 -1
- package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -1
- package/Libraries/Components/Touchable/TouchableOpacity.js +1 -1
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +3 -3
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.windows.js +1 -1
- package/Libraries/Components/View/View.js +81 -167
- package/Libraries/Components/View/View.windows.js +202 -302
- package/Libraries/Core/Devtools/loadBundleFromServer.js +1 -1
- package/Libraries/Core/Devtools/loadBundleFromServer.windows.js +1 -1
- package/Libraries/Core/ExceptionsManager.js +4 -2
- package/Libraries/Core/ReactFiberErrorDialog.js +3 -3
- package/Libraries/Core/ReactNativeVersion.js +37 -10
- package/Libraries/Core/Timers/JSTimers.js +4 -1
- package/Libraries/Core/Timers/NativeTiming.js +1 -0
- package/Libraries/Core/Timers/immediateShim.js +2 -1
- package/Libraries/Core/Timers/queueMicrotask.js +1 -0
- package/Libraries/Core/setUpPerformance.js +3 -4
- package/Libraries/Debugging/DebuggingOverlayRegistry.js +5 -3
- package/Libraries/Image/AssetSourceResolver.windows.js +2 -2
- package/Libraries/Image/Image.android.js +327 -111
- package/Libraries/Image/Image.ios.js +6 -1
- package/Libraries/Image/Image.windows.js +28 -61
- package/Libraries/Image/ImageSourceUtils.js +8 -2
- package/Libraries/Image/resolveAssetSource.js +1 -1
- package/Libraries/Image/resolveAssetSource.windows.js +1 -1
- package/Libraries/Interaction/InteractionManager.js +118 -167
- package/Libraries/Interaction/PanResponder.js +7 -52
- package/Libraries/LayoutAnimation/LayoutAnimation.js +2 -0
- package/Libraries/Lists/FlatList.js +5 -6
- package/Libraries/LogBox/Data/LogBoxData.js +5 -2
- package/Libraries/LogBox/Data/parseLogBoxLog.js +1 -1
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +1 -1
- package/Libraries/Modal/Modal.js +3 -3
- package/Libraries/Modal/Modal.windows.js +2 -2
- package/Libraries/NativeComponent/NativeComponentRegistry.js +1 -1
- package/Libraries/NativeComponent/ViewConfig.js +2 -2
- package/Libraries/Network/RCTNetworking.android.js +1 -1
- package/Libraries/Network/RCTNetworking.ios.js +1 -1
- package/Libraries/Network/RCTNetworking.windows.js +1 -1
- package/Libraries/Network/XMLHttpRequest.js +20 -5
- package/Libraries/Network/convertRequestBody.js +1 -1
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +10 -9
- package/Libraries/Pressability/HoverState.js +2 -0
- package/Libraries/Pressability/Pressability.js +1 -1
- package/Libraries/Pressability/Pressability.windows.js +5 -5
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +2 -2
- package/Libraries/ReactNative/AppRegistryImpl.js +4 -2
- package/Libraries/ReactNative/PaperUIManager.windows.js +4 -4
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +2 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +3 -3
- package/Libraries/ReactNative/RendererImplementation.js +116 -116
- package/Libraries/ReactNative/UIManager.js +3 -3
- package/Libraries/ReactNative/renderApplication.js +1 -0
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +1 -1
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +38 -35
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +51 -22
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +54 -24
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +36 -33
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +5 -5
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +5 -5
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -1
- package/Libraries/Share/Share.js +4 -0
- package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +2 -2
- package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +2 -2
- package/Libraries/StyleSheet/PlatformColorValueTypes.windows.js +2 -0
- package/Libraries/StyleSheet/StyleSheet.d.ts +7 -22
- package/Libraries/StyleSheet/StyleSheetExports.js +2 -8
- package/Libraries/StyleSheet/StyleSheetExports.js.flow +11 -18
- package/Libraries/StyleSheet/flattenStyle.js +2 -2
- package/Libraries/StyleSheet/processAspectRatio.js +2 -0
- package/Libraries/StyleSheet/processFilter.js +5 -5
- package/Libraries/StyleSheet/splitLayoutProps.js +2 -2
- package/Libraries/Text/Text.js +534 -234
- package/Libraries/Text/Text.windows.js +622 -265
- package/Libraries/Text/TextNativeComponent.js +2 -2
- package/Libraries/Utilities/Appearance.d.ts +3 -5
- package/Libraries/Utilities/Appearance.js +5 -17
- package/Libraries/Utilities/HMRClient.js +2 -1
- package/Libraries/Utilities/Platform.android.js +3 -3
- package/Libraries/Utilities/Platform.d.ts +1 -0
- package/Libraries/Utilities/Platform.ios.js +1 -1
- package/Libraries/Utilities/Platform.windows.js +3 -3
- package/Libraries/Utilities/PlatformTypes.js +1 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +12 -0
- package/Libraries/Utilities/SceneTracker.js +1 -1
- package/Libraries/Utilities/codegenNativeCommands.js +1 -1
- package/Libraries/Utilities/codegenNativeComponent.js +1 -1
- package/Libraries/Utilities/createPerformanceLogger.js +32 -0
- package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +2 -0
- package/Libraries/Utilities/differ/pointsDiffer.js +1 -1
- package/Libraries/Utilities/useMergeRefs.js +1 -1
- package/Libraries/WebSocket/WebSocketInterceptor.js +2 -0
- package/Libraries/promiseRejectionTrackingOptions.js +17 -31
- package/Libraries/vendor/emitter/EventEmitter.js +1 -1
- package/Microsoft.ReactNative/App.xaml +5 -0
- package/Microsoft.ReactNative/Base/CxxReactIncludes.h +0 -3
- package/Microsoft.ReactNative/ComponentView.idl +2 -0
- package/Microsoft.ReactNative/Composition.Input.idl +7 -0
- package/Microsoft.ReactNative/CompositionContext.idl +0 -2
- package/Microsoft.ReactNative/Fabric/AbiViewProps.cpp +2 -2
- package/Microsoft.ReactNative/Fabric/AbiViewProps.h +0 -2
- package/Microsoft.ReactNative/Fabric/ComponentView.cpp +18 -0
- package/Microsoft.ReactNative/Fabric/ComponentView.h +9 -0
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.cpp +12 -69
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.h +16 -15
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +0 -31
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.h +0 -10
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper_emptyimpl.cpp +0 -4
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +75 -6
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHelpers.h +0 -2
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +0 -9
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.cpp +0 -10
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.h +0 -4
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +2 -4
- package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.cpp +6 -68
- package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.h +0 -4
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp +0 -1
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.h +0 -1
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +82 -14
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.h +11 -4
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.cpp +8 -0
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.h +3 -0
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.cpp +0 -6
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.h +0 -2
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +0 -1
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +61 -32
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +3 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.cpp +4 -1
- package/Microsoft.ReactNative/Fabric/Composition/Theme.cpp +0 -30
- package/Microsoft.ReactNative/Fabric/Composition/Theme.h +1 -3
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +8 -4
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp +0 -1
- package/Microsoft.ReactNative/Fabric/ImageManager.cpp +0 -4
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.cpp +8 -0
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.h +3 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/PlatformColorUtils.cpp +0 -11
- package/Microsoft.ReactNative/IReactContext.cpp +2 -25
- package/Microsoft.ReactNative/IReactContext.h +0 -7
- package/Microsoft.ReactNative/IReactContext.idl +4 -29
- package/Microsoft.ReactNative/IReactModuleBuilder.cpp +24 -140
- package/Microsoft.ReactNative/IReactModuleBuilder.h +0 -11
- package/Microsoft.ReactNative/IReactPackageBuilder.idl +1 -16
- package/Microsoft.ReactNative/IReactPackageProvider.idl +0 -1
- package/Microsoft.ReactNative/IReactViewComponentBuilder.idl +2 -0
- package/Microsoft.ReactNative/JsiApi.cpp +4 -3
- package/Microsoft.ReactNative/JsiApi.h +2 -3
- package/Microsoft.ReactNative/JsiApi.idl +3 -2
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +5 -214
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj.filters +0 -252
- package/Microsoft.ReactNative/Modules/AccessibilityInfoModule.cpp +0 -37
- package/Microsoft.ReactNative/Modules/AlertModule.cpp +2 -140
- package/Microsoft.ReactNative/Modules/AlertModule.h +0 -2
- package/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.cpp +5 -10
- package/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.h +0 -1
- package/Microsoft.ReactNative/Modules/Animated/PropsAnimatedNode.cpp +1 -96
- package/Microsoft.ReactNative/Modules/Animated/PropsAnimatedNode.h +0 -14
- package/Microsoft.ReactNative/Modules/AppStateModule.cpp +0 -53
- package/Microsoft.ReactNative/Modules/AppStateModule.h +0 -5
- package/Microsoft.ReactNative/Modules/AppThemeModuleUwp.cpp +5 -14
- package/Microsoft.ReactNative/Modules/AppThemeModuleUwp.h +0 -2
- package/Microsoft.ReactNative/Modules/AppearanceModule.cpp +1 -9
- package/Microsoft.ReactNative/Modules/DevSettingsModule.cpp +0 -4
- package/Microsoft.ReactNative/Modules/DevSettingsModule.h +0 -2
- package/Microsoft.ReactNative/Modules/DeviceInfoModule.cpp +16 -90
- package/Microsoft.ReactNative/Modules/I18nManagerModule.cpp +3 -8
- package/Microsoft.ReactNative/Modules/ImageViewManagerModule.cpp +33 -43
- package/Microsoft.ReactNative/Modules/LinkingManagerModule.cpp +0 -3
- package/Microsoft.ReactNative/Modules/LogBoxModule.cpp +30 -102
- package/Microsoft.ReactNative/Modules/LogBoxModule.h +0 -7
- package/Microsoft.ReactNative/Modules/Timing.cpp +7 -9
- package/Microsoft.ReactNative/Pch/pch.h +0 -28
- package/Microsoft.ReactNative/ReactCoreInjection.h +0 -1
- package/Microsoft.ReactNative/ReactHost/IReactInstance.h +0 -8
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.cpp +0 -15
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.h +0 -2
- package/Microsoft.ReactNative/ReactHost/React.h +0 -44
- package/Microsoft.ReactNative/ReactHost/ReactHost.cpp +10 -47
- package/Microsoft.ReactNative/ReactHost/ReactHost.h +1 -1
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +30 -586
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.h +2 -37
- package/Microsoft.ReactNative/ReactHost/ReactNativeHeaders.h +0 -13
- package/Microsoft.ReactNative/ReactHost/React_Win.h +0 -1
- package/Microsoft.ReactNative/ReactInstanceSettings.cpp +0 -8
- package/Microsoft.ReactNative/ReactInstanceSettings.h +0 -13
- package/Microsoft.ReactNative/ReactInstanceSettings.idl +7 -23
- package/Microsoft.ReactNative/ReactNativeHost.cpp +10 -35
- package/Microsoft.ReactNative/ReactNativeHost.h +0 -1
- package/Microsoft.ReactNative/ReactNativeIsland.idl +0 -4
- package/Microsoft.ReactNative/ReactPackageBuilder.cpp +9 -36
- package/Microsoft.ReactNative/ReactPackageBuilder.h +4 -38
- package/Microsoft.ReactNative/RedBox.cpp +9 -362
- package/Microsoft.ReactNative/Theme.idl +0 -2
- package/Microsoft.ReactNative/Timer.cpp +3 -2
- package/Microsoft.ReactNative/Utils/Helpers.cpp +0 -47
- package/Microsoft.ReactNative/Utils/Helpers.h +0 -5
- package/Microsoft.ReactNative/Utils/KeyboardUtils.cpp +0 -11
- package/Microsoft.ReactNative/Utils/ThemeUtils.cpp +0 -4
- package/Microsoft.ReactNative/Utils/ThemeUtils.h +1 -5
- package/Microsoft.ReactNative/Utils/UwpPreparedScriptStore.h +0 -2
- package/Microsoft.ReactNative/Utils/ValueUtils.cpp +0 -245
- package/Microsoft.ReactNative/Utils/ValueUtils.h +0 -23
- package/Microsoft.ReactNative/ViewProps.idl +0 -2
- package/Microsoft.ReactNative/Views/DevMenu.cpp +2 -278
- package/Microsoft.ReactNative/Views/DevMenu.h +0 -5
- package/Microsoft.ReactNative/XamlApplication.cpp +71 -0
- package/Microsoft.ReactNative/XamlApplication.h +47 -0
- package/Microsoft.ReactNative/XamlApplication.idl +19 -0
- package/Microsoft.ReactNative/XamlUIService.cpp +0 -54
- package/Microsoft.ReactNative/XamlUIService.h +0 -12
- package/Microsoft.ReactNative/XamlUIService.idl +0 -12
- package/Microsoft.ReactNative.Cxx/CppWinRTIncludes.h +0 -19
- package/Microsoft.ReactNative.Cxx/DesktopWindowBridge.h +1 -1
- package/Microsoft.ReactNative.Cxx/JSI/decorator.h +191 -114
- package/Microsoft.ReactNative.Cxx/JSI/instrumentation.h +5 -0
- package/Microsoft.ReactNative.Cxx/JSI/jsi-inl.h +37 -0
- package/Microsoft.ReactNative.Cxx/JSI/jsi.cpp +68 -0
- package/Microsoft.ReactNative.Cxx/JSI/jsi.h +77 -11
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +2 -2
- package/Microsoft.ReactNative.Cxx/NamespaceRedirect.h +0 -5
- package/Microsoft.ReactNative.Cxx/NodeApiJsiRuntime.cpp +93 -1
- package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModule.cpp +4 -3
- package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModule.h +2 -2
- package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModuleUtils.cpp +2 -55
- package/Microsoft.ReactNative.Cxx/ReactCommon/TurboModuleUtils.h +4 -8
- package/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/Class.h +5 -0
- package/Microsoft.ReactNative.Cxx/ReactCommon/react/timing/primitives.h +44 -4
- package/Microsoft.ReactNative.Cxx/ReactContext.h +0 -13
- package/Microsoft.ReactNative.Cxx/UI.Composition.Effects.h +0 -4
- package/Microsoft.ReactNative.Cxx/UI.Composition.h +0 -4
- package/Microsoft.ReactNative.Cxx/UI.Input.h +0 -4
- package/Microsoft.ReactNative.Cxx/UI.Popups.h +0 -4
- package/Microsoft.ReactNative.Cxx/UI.Text.h +0 -4
- package/Microsoft.ReactNative.Cxx/XamlUtils.h +0 -33
- package/Microsoft.ReactNative.Managed/JSValueReader.cs +0 -4
- package/Microsoft.ReactNative.Managed/Microsoft.ReactNative.Managed.csproj +0 -3
- package/Microsoft.ReactNative.Managed/ReactContext.cs +0 -5
- package/Microsoft.ReactNative.Managed/ReactContextGenerator.cs +0 -4
- package/Microsoft.ReactNative.Managed/ReactPackageBuilderExtensions.cs +0 -25
- package/Microsoft.ReactNative.Managed/ReactSettingsSnapshot.cs +0 -4
- package/Microsoft.ReactNative.Managed/ReflectionReactPackageProvider.cs +1 -2
- package/Microsoft.ReactNative.Managed.CodeGen/CodeAnalyzer.cs +0 -10
- package/Microsoft.ReactNative.Managed.CodeGen/CodeGenerator.ViewManager.cs +0 -36
- package/Microsoft.ReactNative.Managed.CodeGen/CodeGenerator.cs +0 -6
- package/Microsoft.ReactNative.Managed.CodeGen/Model/ReactAssembly.cs +0 -2
- package/Microsoft.ReactNative.Managed.CodeGen/Model/ReactTypes.cs +0 -2
- package/Microsoft.ReactNative.Managed.CodeGen/ReactNativeNames.cs +0 -2
- package/Mso/src/dispatchQueue/queueService.cpp +3 -1
- package/Mso/src/dispatchQueue/uiScheduler_winrt.cpp +2 -10
- package/PropertySheets/Bundle.Common.targets +1 -1
- package/PropertySheets/Bundle.props +3 -4
- package/PropertySheets/External/Microsoft.ReactNative.Common.props +0 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpApp.targets +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppApp.targets +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +4 -4
- package/PropertySheets/JSEngine.props +1 -1
- package/PropertySheets/NuGet.LockFile.props +0 -8
- package/PropertySheets/OutputMSBuildProperties.targets +0 -1
- package/PropertySheets/React.Cpp.props +3 -5
- package/PropertySheets/Warnings.props +1 -2
- package/PropertySheets/WinUI.props +3 -3
- package/README.md +1 -5
- package/ReactCommon/ReactCommon.vcxproj +12 -31
- package/ReactCommon/ReactCommon.vcxproj.filters +0 -3
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/CxxNativeModule.cpp +3 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/NativeToJsBridge.cpp +5 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/TraceSection.h +20 -4
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsi/jsi/test/testlib.cpp +113 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp +14 -6
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/Utf8.h +1 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/tracing/RuntimeSamplingProfileTraceEventSerializer.cpp +351 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModule.h +2 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/dom/NativeDOM.cpp +42 -36
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/dom/NativeDOM.h +15 -3
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/componentregistry/ComponentDescriptorRegistry.cpp +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/image/conversions.h +174 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/BaseParagraphProps.cpp +174 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/BaseParagraphProps.h +69 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/ParagraphShadowNode.cpp +1 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/AccessibilityPrimitives.h +26 -3
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/conversions.h +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/ShadowNode.cpp +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/imagemanager/primitives.h +189 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/reactperflogger/reactperflogger/ReactPerfettoLogger.cpp +27 -8
- package/ReactCommon/cgmanifest.json +1 -1
- package/Scripts/Microsoft.ReactNative.nuspec +15 -33
- package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +23 -23
- package/Scripts/OfficeReact.Win32.nuspec +0 -3
- package/Scripts/creaternwapp.cmd +1 -1
- package/Scripts/rnw-dependencies.ps1 +15 -1
- package/Shared/DevServerHelper.h +17 -21
- package/Shared/DevSettings.h +1 -25
- package/Shared/DevSupportManager.cpp +0 -50
- package/Shared/DevSupportManager.h +0 -4
- package/Shared/Hermes/HermesRuntimeTargetDelegate.cpp +5 -1
- package/Shared/HermesRuntimeHolder.cpp +0 -31
- package/Shared/HermesRuntimeHolder.h +0 -14
- package/Shared/IDevSupportManager.h +0 -6
- package/Shared/InstanceManager.cpp +0 -97
- package/Shared/InstanceManager.h +0 -53
- package/Shared/JSI/ScriptStore.h +1 -1
- package/Shared/Logging.cpp +1 -12
- package/Shared/Modules/CxxModuleUtilities.cpp +0 -9
- package/Shared/Modules/CxxModuleUtilities.h +0 -8
- package/Shared/Networking/OriginPolicyHttpFilter.cpp +9 -1
- package/Shared/OInstance.cpp +144 -424
- package/Shared/OInstance.h +0 -81
- package/Shared/Shared.vcxitems +83 -203
- package/Shared/Shared.vcxitems.filters +7 -69
- package/Shared/Threading/MessageQueueThreadFactory.cpp +0 -6
- package/Shared/Threading/MessageQueueThreadFactory.h +0 -4
- package/Shared/TurboModuleManager.cpp +0 -4
- package/Shared/Utils.cpp +26 -0
- package/Shared/Utils.h +3 -0
- package/codegen/NativeDOMSpec.g.h +41 -35
- package/codegen/NativeIntersectionObserverSpec.g.h +9 -21
- package/codegen/NativePerformanceSpec.g.h +53 -35
- package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +183 -129
- package/codegen/react/components/rnwcore/EventEmitters.cpp +25 -0
- package/codegen/react/components/rnwcore/EventEmitters.h +25 -0
- package/codegen/react/components/rnwcore/Props.cpp +41 -2
- package/codegen/react/components/rnwcore/Props.h +51 -2
- package/codegen/react/components/rnwcore/VirtualView.g.h +4 -0
- package/codegen/react/components/rnwcore/VirtualViewExperimental.g.h +240 -0
- package/codegen/rnwcoreJSI-generated.cpp +534 -467
- package/codegen/rnwcoreJSI.h +165 -66
- package/fmt/cgmanifest.json +1 -1
- package/fmt/fmt.vcxproj +0 -8
- package/index.js +14 -2
- package/index.windows.js +14 -2
- package/jest/local-setup.js +2 -2
- package/jest/mock.js +1 -1
- package/jest/mockComponent.js +9 -9
- package/jest/mockNativeComponent.js +3 -2
- package/jest/mocks/Modal.js +1 -1
- package/jest/mocks/ScrollView.js +1 -1
- package/jest/mocks/ViewNativeComponent.js +1 -1
- package/jest/setup.js +23 -12
- package/just-task.js +14 -0
- package/package.json +31 -31
- package/src/private/animated/NativeAnimatedHelper.js +16 -5
- package/src/private/animated/createAnimatedPropsHook.js +11 -60
- package/src/private/animated/createAnimatedPropsMemoHook.js +8 -54
- package/src/private/components/virtualview/VirtualView.js +43 -12
- package/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.js +93 -0
- package/src/private/components/virtualview/VirtualViewNativeComponent.js +6 -0
- package/src/private/devsupport/devmenu/elementinspector/Inspector.js +2 -2
- package/src/private/devsupport/devmenu/elementinspector/ReactDevToolsOverlay.js +2 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +85 -52
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +23 -4
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +15 -6
- package/src/private/renderer/errorhandling/ErrorHandlers.js +3 -3
- package/src/private/setup/{setUpPerformanceObserver.js → setUpPerformanceModern.js} +43 -18
- package/src/private/specs_DEPRECATED/components/SwitchNativeComponent.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeTiming.js +1 -0
- package/src/private/types/HostInstance.js +4 -1
- package/src/private/webapis/dom/nodes/ReactNativeDocument.js +22 -2
- package/src/private/webapis/dom/nodes/ReactNativeElement.js +1 -1
- package/src/private/webapis/dom/nodes/ReadOnlyElement.js +5 -3
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +16 -13
- package/src/private/webapis/dom/nodes/internals/NodeInternals.js +45 -22
- package/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.js +1 -1
- package/src/private/webapis/dom/nodes/specs/NativeDOM.js +26 -192
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +15 -12
- package/src/private/webapis/dom/oldstylecollections/NodeList.js +14 -11
- package/src/private/webapis/geometry/DOMRectList.js +2 -2
- package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +19 -74
- package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +0 -4
- package/src/private/webapis/mutationobserver/internals/MutationObserverManager.js +1 -1
- package/src/private/webapis/performance/EventTiming.js +40 -25
- package/src/private/webapis/performance/LongTasks.js +35 -2
- package/src/private/webapis/performance/Performance.js +347 -166
- package/src/private/webapis/performance/PerformanceEntry.js +40 -23
- package/src/private/webapis/performance/PerformanceObserver.js +37 -29
- package/src/private/webapis/performance/ReactNativeStartupTiming.js +3 -24
- package/src/private/webapis/performance/ResourceTiming.js +29 -18
- package/src/private/webapis/performance/UserTiming.js +92 -34
- package/src/private/webapis/performance/UserTimingExtensibility.js.flow +38 -0
- package/src/private/webapis/performance/internals/RawPerformanceEntry.js +3 -4
- package/src/private/webapis/performance/internals/Utilities.js +9 -0
- package/src/private/webapis/performance/specs/NativePerformance.js +23 -23
- package/src/private/webapis/structuredClone/structuredClone.js +10 -10
- package/stubs/double-conversion/README.md +1 -1
- package/template/cpp-lib/proj/MyLib.sln +0 -5
- package/template/cpp-lib/src/pch.h +0 -5
- package/template/cs-lib/proj/MyLib.sln +0 -5
- package/template/metro.config.js +1 -0
- package/templates/cpp-app/metro.config.js +2 -1
- package/templates/cpp-app/windows/MyApp.sln +0 -5
- package/templates/cpp-lib/example/metro.config.js +3 -4
- package/templates/cpp-lib/windows/MyLib.sln +0 -5
- package/Chakra/Chakra.vcxitems +0 -32
- package/Chakra/Chakra.vcxitems.filters +0 -54
- package/Chakra/ChakraHelpers.cpp +0 -468
- package/Chakra/ChakraHelpers.h +0 -146
- package/Chakra/ChakraInstanceArgs.h +0 -52
- package/Chakra/ChakraPlatform.cpp +0 -42
- package/Chakra/ChakraPlatform.h +0 -51
- package/Chakra/ChakraTracing.cpp +0 -275
- package/Chakra/ChakraTracing.h +0 -11
- package/Chakra/ChakraUtils.cpp +0 -190
- package/Chakra/ChakraUtils.h +0 -72
- package/Chakra/ChakraValue.cpp +0 -257
- package/Chakra/ChakraValue.h +0 -308
- package/Chakra/Utf8DebugExtensions.cpp +0 -62
- package/Chakra/Utf8DebugExtensions.h +0 -29
- package/Libraries/Interaction/InteractionManagerStub.js +0 -184
- package/Libraries/Interaction/TaskQueue.js +0 -183
- package/Libraries/ReactNative/ReactNativeFeatureFlags.js +0 -31
- package/Microsoft.ReactNative/ABICxxModule.cpp +0 -51
- package/Microsoft.ReactNative/ABICxxModule.h +0 -38
- package/Microsoft.ReactNative/ABIViewManager.cpp +0 -263
- package/Microsoft.ReactNative/ABIViewManager.h +0 -100
- package/Microsoft.ReactNative/Base/CoreUIManagers.cpp +0 -55
- package/Microsoft.ReactNative/DevMenuControl.cpp +0 -14
- package/Microsoft.ReactNative/DevMenuControl.h +0 -20
- package/Microsoft.ReactNative/DevMenuControl.idl +0 -28
- package/Microsoft.ReactNative/DevMenuControl.xaml +0 -139
- package/Microsoft.ReactNative/GlyphViewManager.cpp +0 -167
- package/Microsoft.ReactNative/GlyphViewManager.h +0 -24
- package/Microsoft.ReactNative/INativeUIManager.h +0 -75
- package/Microsoft.ReactNative/IViewManager.idl +0 -120
- package/Microsoft.ReactNative/IViewManagerCore.idl +0 -45
- package/Microsoft.ReactNative/LayoutService.cpp +0 -51
- package/Microsoft.ReactNative/LayoutService.h +0 -32
- package/Microsoft.ReactNative/LayoutService.idl +0 -41
- package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +0 -1187
- package/Microsoft.ReactNative/Modules/NativeUIManager.h +0 -128
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.cpp +0 -891
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.h +0 -185
- package/Microsoft.ReactNative/NativeModulesProvider.cpp +0 -49
- package/Microsoft.ReactNative/NativeModulesProvider.h +0 -25
- package/Microsoft.ReactNative/ReactApplication.cpp +0 -276
- package/Microsoft.ReactNative/ReactApplication.h +0 -156
- package/Microsoft.ReactNative/ReactApplication.idl +0 -48
- package/Microsoft.ReactNative/ReactHost/ViewManagerProvider.h +0 -19
- package/Microsoft.ReactNative/ReactPointerEventArgs.cpp +0 -55
- package/Microsoft.ReactNative/ReactPointerEventArgs.h +0 -32
- package/Microsoft.ReactNative/ReactPointerEventArgs.idl +0 -79
- package/Microsoft.ReactNative/ReactRootView.cpp +0 -592
- package/Microsoft.ReactNative/ReactRootView.h +0 -127
- package/Microsoft.ReactNative/ReactRootView.idl +0 -40
- package/Microsoft.ReactNative/TestHook.cpp +0 -99
- package/Microsoft.ReactNative/TestHook.h +0 -15
- package/Microsoft.ReactNative/Utils/AccessibilityUtils.cpp +0 -36
- package/Microsoft.ReactNative/Utils/AccessibilityUtils.h +0 -15
- package/Microsoft.ReactNative/Utils/BatchingEventEmitter.cpp +0 -171
- package/Microsoft.ReactNative/Utils/BatchingEventEmitter.h +0 -72
- package/Microsoft.ReactNative/Utils/PropertyHandlerUtils.h +0 -87
- package/Microsoft.ReactNative/Utils/PropertyUtils.h +0 -568
- package/Microsoft.ReactNative/Utils/ResourceBrushUtils.cpp +0 -182
- package/Microsoft.ReactNative/Utils/ResourceBrushUtils.h +0 -58
- package/Microsoft.ReactNative/Utils/ShadowNodeTypeUtils.h +0 -26
- package/Microsoft.ReactNative/Utils/XamlIslandUtils.cpp +0 -93
- package/Microsoft.ReactNative/Utils/XamlIslandUtils.h +0 -48
- package/Microsoft.ReactNative/ViewManagersProvider.cpp +0 -39
- package/Microsoft.ReactNative/ViewManagersProvider.h +0 -27
- package/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.cpp +0 -62
- package/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.h +0 -29
- package/Microsoft.ReactNative/Views/ConfigureBundlerDlg.cpp +0 -186
- package/Microsoft.ReactNative/Views/ConfigureBundlerDlg.h +0 -11
- package/Microsoft.ReactNative/Views/ControlViewManager.cpp +0 -143
- package/Microsoft.ReactNative/Views/ControlViewManager.h +0 -38
- package/Microsoft.ReactNative/Views/DebuggingOverlayViewManager.cpp +0 -53
- package/Microsoft.ReactNative/Views/DebuggingOverlayViewManager.h +0 -30
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.cpp +0 -586
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.h +0 -104
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.cpp +0 -330
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.h +0 -111
- package/Microsoft.ReactNative/Views/DynamicValueProvider.cpp +0 -59
- package/Microsoft.ReactNative/Views/DynamicValueProvider.h +0 -32
- package/Microsoft.ReactNative/Views/ExpressionAnimationStore.cpp +0 -61
- package/Microsoft.ReactNative/Views/ExpressionAnimationStore.h +0 -26
- package/Microsoft.ReactNative/Views/FlyoutViewManager.cpp +0 -559
- package/Microsoft.ReactNative/Views/FlyoutViewManager.h +0 -34
- package/Microsoft.ReactNative/Views/FrameworkElementTransferProperties.cpp +0 -126
- package/Microsoft.ReactNative/Views/FrameworkElementTransferProperties.h +0 -23
- package/Microsoft.ReactNative/Views/FrameworkElementViewManager.cpp +0 -957
- package/Microsoft.ReactNative/Views/FrameworkElementViewManager.h +0 -41
- package/Microsoft.ReactNative/Views/IXamlRootView.h +0 -17
- package/Microsoft.ReactNative/Views/Image/ImageViewManager.cpp +0 -245
- package/Microsoft.ReactNative/Views/Image/ImageViewManager.h +0 -45
- package/Microsoft.ReactNative/Views/Image/ReactImage.cpp +0 -469
- package/Microsoft.ReactNative/Views/Image/ReactImage.h +0 -80
- package/Microsoft.ReactNative/Views/Image/ReactImageBrush.cpp +0 -247
- package/Microsoft.ReactNative/Views/Image/ReactImageBrush.h +0 -67
- package/Microsoft.ReactNative/Views/KeyboardEventHandler.cpp +0 -261
- package/Microsoft.ReactNative/Views/KeyboardEventHandler.h +0 -132
- package/Microsoft.ReactNative/Views/PaperShadowNode.cpp +0 -18
- package/Microsoft.ReactNative/Views/PaperShadowNode.h +0 -38
- package/Microsoft.ReactNative/Views/PopupViewManager.cpp +0 -349
- package/Microsoft.ReactNative/Views/PopupViewManager.h +0 -36
- package/Microsoft.ReactNative/Views/RawTextViewManager.cpp +0 -69
- package/Microsoft.ReactNative/Views/RawTextViewManager.h +0 -46
- package/Microsoft.ReactNative/Views/ReactViewInstance.cpp +0 -43
- package/Microsoft.ReactNative/Views/ReactViewInstance.h +0 -53
- package/Microsoft.ReactNative/Views/RefreshControlManager.cpp +0 -116
- package/Microsoft.ReactNative/Views/RefreshControlManager.h +0 -28
- package/Microsoft.ReactNative/Views/RootViewManager.cpp +0 -65
- package/Microsoft.ReactNative/Views/RootViewManager.h +0 -36
- package/Microsoft.ReactNative/Views/SIPEventHandler.cpp +0 -117
- package/Microsoft.ReactNative/Views/SIPEventHandler.h +0 -45
- package/Microsoft.ReactNative/Views/ScrollContentViewManager.cpp +0 -16
- package/Microsoft.ReactNative/Views/ScrollContentViewManager.h +0 -19
- package/Microsoft.ReactNative/Views/ScrollViewManager.cpp +0 -540
- package/Microsoft.ReactNative/Views/ScrollViewManager.h +0 -42
- package/Microsoft.ReactNative/Views/ShadowNodeBase.cpp +0 -228
- package/Microsoft.ReactNative/Views/ShadowNodeBase.h +0 -169
- package/Microsoft.ReactNative/Views/ShadowNodeRegistry.cpp +0 -68
- package/Microsoft.ReactNative/Views/ShadowNodeRegistry.h +0 -40
- package/Microsoft.ReactNative/Views/SliderViewManager.cpp +0 -97
- package/Microsoft.ReactNative/Views/SliderViewManager.h +0 -32
- package/Microsoft.ReactNative/Views/SwitchViewManager.cpp +0 -227
- package/Microsoft.ReactNative/Views/SwitchViewManager.h +0 -31
- package/Microsoft.ReactNative/Views/Text/TextHighlighterVisitor.cpp +0 -52
- package/Microsoft.ReactNative/Views/Text/TextHighlighterVisitor.h +0 -37
- package/Microsoft.ReactNative/Views/Text/TextHitTestUtils.cpp +0 -348
- package/Microsoft.ReactNative/Views/Text/TextHitTestUtils.h +0 -13
- package/Microsoft.ReactNative/Views/Text/TextHitTestVisitor.cpp +0 -76
- package/Microsoft.ReactNative/Views/Text/TextHitTestVisitor.h +0 -32
- package/Microsoft.ReactNative/Views/Text/TextParentVisitor.cpp +0 -12
- package/Microsoft.ReactNative/Views/Text/TextParentVisitor.h +0 -19
- package/Microsoft.ReactNative/Views/Text/TextPropertyChangedParentVisitor.cpp +0 -75
- package/Microsoft.ReactNative/Views/Text/TextPropertyChangedParentVisitor.h +0 -43
- package/Microsoft.ReactNative/Views/Text/TextTransformParentVisitor.cpp +0 -21
- package/Microsoft.ReactNative/Views/Text/TextTransformParentVisitor.h +0 -23
- package/Microsoft.ReactNative/Views/Text/TextTransformVisitor.cpp +0 -70
- package/Microsoft.ReactNative/Views/Text/TextTransformVisitor.h +0 -34
- package/Microsoft.ReactNative/Views/Text/TextVisitor.cpp +0 -56
- package/Microsoft.ReactNative/Views/Text/TextVisitor.h +0 -34
- package/Microsoft.ReactNative/Views/Text/TextVisitorScope.h +0 -35
- package/Microsoft.ReactNative/Views/Text/TextVisitors.h +0 -47
- package/Microsoft.ReactNative/Views/TextInputViewManager.cpp +0 -1003
- package/Microsoft.ReactNative/Views/TextInputViewManager.h +0 -33
- package/Microsoft.ReactNative/Views/TextViewManager.cpp +0 -414
- package/Microsoft.ReactNative/Views/TextViewManager.h +0 -47
- package/Microsoft.ReactNative/Views/TouchEventHandler.cpp +0 -608
- package/Microsoft.ReactNative/Views/TouchEventHandler.h +0 -116
- package/Microsoft.ReactNative/Views/UnimplementedViewManager.cpp +0 -79
- package/Microsoft.ReactNative/Views/UnimplementedViewManager.h +0 -27
- package/Microsoft.ReactNative/Views/ViewControl.cpp +0 -43
- package/Microsoft.ReactNative/Views/ViewControl.h +0 -32
- package/Microsoft.ReactNative/Views/ViewManager.h +0 -33
- package/Microsoft.ReactNative/Views/ViewManagerBase.cpp +0 -487
- package/Microsoft.ReactNative/Views/ViewManagerBase.h +0 -121
- package/Microsoft.ReactNative/Views/ViewPanel.cpp +0 -164
- package/Microsoft.ReactNative/Views/ViewPanel.h +0 -82
- package/Microsoft.ReactNative/Views/ViewViewManager.cpp +0 -507
- package/Microsoft.ReactNative/Views/ViewViewManager.h +0 -52
- package/Microsoft.ReactNative/Views/VirtualTextViewManager.cpp +0 -143
- package/Microsoft.ReactNative/Views/VirtualTextViewManager.h +0 -57
- package/Microsoft.ReactNative/Views/XamlFeatures.cpp +0 -11
- package/Microsoft.ReactNative/Views/XamlFeatures.h +0 -11
- package/Microsoft.ReactNative/Views/cppwinrt/AccessibilityAction.idl +0 -12
- package/Microsoft.ReactNative/Views/cppwinrt/DynamicAutomationPeer.idl +0 -231
- package/Microsoft.ReactNative/Views/cppwinrt/ViewPanel.idl +0 -48
- package/Microsoft.ReactNative/XamlHelper.cpp +0 -78
- package/Microsoft.ReactNative/XamlHelper.h +0 -54
- package/Microsoft.ReactNative/XamlHelper.idl +0 -30
- package/Microsoft.ReactNative/XamlLoadState.cpp +0 -217
- package/Microsoft.ReactNative/XamlLoadState.h +0 -44
- package/Microsoft.ReactNative/XamlView.cpp +0 -59
- package/Microsoft.ReactNative/XamlView.h +0 -58
- package/Microsoft.ReactNative/getLayoutProps.ps1 +0 -5
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Automation.Peers.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Automation.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Controls.Primitives.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Controls.h +0 -13
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Documents.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Hosting.DesktopWindowXamlSource.h +0 -11
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Hosting.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Input.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Markup.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Media.Imaging.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Media.Media3D.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Media.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Navigation.h +0 -10
- package/Microsoft.ReactNative.Cxx/UI.Xaml.Shapes.h +0 -10
- package/Microsoft.ReactNative.Managed/AttributedViewManager.cs +0 -527
- package/Microsoft.ReactNative.Managed/ViewManagerAttributes.cs +0 -91
- package/Microsoft.ReactNative.Managed/ViewManagerEvent.cs +0 -13
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/AccessibilityProps.cpp +0 -344
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/DynamicEventPayload.cpp +0 -42
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/YGEnums.h +0 -146
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/algorithm/CalculateLayout.cpp +0 -2435
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/enums/ExperimentalFeature.h +0 -40
- package/Shared/BatchingMessageQueueThread.h +0 -20
- package/Shared/ChakraRuntimeHolder.cpp +0 -62
- package/Shared/ChakraRuntimeHolder.h +0 -46
- package/Shared/CreateInstance.h +0 -25
- package/Shared/Executors/WebSocketJSExecutor.cpp +0 -294
- package/Shared/Executors/WebSocketJSExecutor.h +0 -123
- package/Shared/Executors/WebSocketJSExecutorFactory.cpp +0 -25
- package/Shared/Hermes/HermesSamplingProfiler.cpp +0 -114
- package/Shared/Hermes/HermesSamplingProfiler.h +0 -26
- package/Shared/JSI/ChakraApi.cpp +0 -436
- package/Shared/JSI/ChakraApi.h +0 -474
- package/Shared/JSI/ChakraJsiRuntime_edgemode.cpp +0 -100
- package/Shared/JSI/ChakraRuntime.cpp +0 -1132
- package/Shared/JSI/ChakraRuntime.h +0 -512
- package/Shared/JSI/ChakraRuntimeArgs.h +0 -45
- package/Shared/JSI/ChakraRuntimeFactory.h +0 -15
- package/Shared/JSI/JSExecutorFactoryDelegate.h +0 -12
- package/Shared/JSI/JSExecutorFactorySettings.cpp +0 -30
- package/Shared/JSI/JSExecutorFactorySettings.h +0 -21
- package/Shared/NativeModuleProvider.h +0 -40
- package/Shared/SystemChakraRuntime.h +0 -38
- package/Shared/Threading/BatchingQueueThread.cpp +0 -128
- package/Shared/Threading/BatchingQueueThread.h +0 -59
- package/Shared/WebSocketJSExecutorFactory.h +0 -27
- package/fmt/TEMP_UntilFmtUpdate/core.h +0 -2925
- package/template/cpp-app/proj/MyApp.sln +0 -166
- package/template/cpp-app/proj/MyApp.vcxproj +0 -176
- package/template/cpp-app/proj/MyApp.vcxproj.filters +0 -62
- package/template/cpp-app/src/App.cpp +0 -93
- package/template/cpp-app/src/App.h +0 -21
- package/template/cpp-app/src/App.idl +0 -3
- package/template/cpp-app/src/AutolinkedNativeModules.g.cpp +0 -13
- package/template/cpp-app/src/AutolinkedNativeModules.g.h +0 -10
- package/template/cpp-app/src/MainPage.cpp +0 -20
- package/template/cpp-app/src/MainPage.h +0 -19
- package/template/cpp-app/src/MainPage.idl +0 -10
- package/template/cpp-app/src/PropertySheet.props +0 -16
- package/template/cpp-app/src/ReactPackageProvider.cpp +0 -15
- package/template/cpp-app/src/ReactPackageProvider.h +0 -13
- package/template/cpp-app/src/pch.cpp +0 -1
- package/template/cpp-app/src/pch.h +0 -24
- package/template/cs-app/proj/MyApp.csproj +0 -162
- package/template/cs-app/proj/MyApp.sln +0 -191
- package/template/cs-app/src/App.xaml.cs +0 -62
- package/template/cs-app/src/AutolinkedNativeModules.g.cs +0 -13
- package/template/cs-app/src/MainPage.xaml.cs +0 -34
- package/template/cs-app/src/Properties/AssemblyInfo.cs +0 -29
- package/template/cs-app/src/Properties/Default.rd.xml +0 -32
- package/template/cs-app/src/ReactPackageProvider.cs +0 -17
- package/template/shared-app/assets/LockScreenLogo.scale-200.png +0 -0
- package/template/shared-app/assets/SplashScreen.scale-200.png +0 -0
- package/template/shared-app/assets/Square150x150Logo.scale-200.png +0 -0
- package/template/shared-app/assets/Square44x44Logo.scale-200.png +0 -0
- package/template/shared-app/assets/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
- package/template/shared-app/assets/StoreLogo.png +0 -0
- package/template/shared-app/assets/Wide310x150Logo.scale-200.png +0 -0
- package/template/shared-app/proj/ExperimentalFeatures.props +0 -32
- package/template/shared-app/proj/NuGet_Config +0 -19
- package/template/shared-app/src/App.xaml +0 -10
- package/template/shared-app/src/AutolinkedNativeModules.g.props +0 -6
- package/template/shared-app/src/AutolinkedNativeModules.g.targets +0 -6
- package/template/shared-app/src/MainPage.xaml +0 -21
- package/template/shared-app/src/Package.appxmanifest +0 -50
- package/templates/old/uwp-cpp-app/template.config.js +0 -15
- package/templates/old/uwp-cs-app/template.config.js +0 -15
|
@@ -21,8 +21,8 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_commonT
|
|
|
21
21
|
rt
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
|
-
static jsi::Value
|
|
25
|
-
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->
|
|
24
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_cdpInteractionMetricsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
25
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->cdpInteractionMetricsEnabled(
|
|
26
26
|
rt
|
|
27
27
|
);
|
|
28
28
|
}
|
|
@@ -36,8 +36,8 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_cxxNati
|
|
|
36
36
|
rt
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
static jsi::Value
|
|
40
|
-
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->
|
|
39
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableFabricCommitInCXXAnimated(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
40
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->disableFabricCommitInCXXAnimated(
|
|
41
41
|
rt
|
|
42
42
|
);
|
|
43
43
|
}
|
|
@@ -46,6 +46,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disable
|
|
|
46
46
|
rt
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableOldAndroidAttachmentMetricsWorkarounds(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
50
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->disableOldAndroidAttachmentMetricsWorkarounds(
|
|
51
|
+
rt
|
|
52
|
+
);
|
|
53
|
+
}
|
|
49
54
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableTextLayoutManagerCacheAndroid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
50
55
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->disableTextLayoutManagerCacheAndroid(
|
|
51
56
|
rt
|
|
@@ -91,6 +96,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableD
|
|
|
91
96
|
rt
|
|
92
97
|
);
|
|
93
98
|
}
|
|
99
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableEagerMainQueueModulesOnIOS(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
100
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableEagerMainQueueModulesOnIOS(
|
|
101
|
+
rt
|
|
102
|
+
);
|
|
103
|
+
}
|
|
94
104
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableEagerRootViewAttachment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
95
105
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableEagerRootViewAttachment(
|
|
96
106
|
rt
|
|
@@ -106,11 +116,6 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableF
|
|
|
106
116
|
rt
|
|
107
117
|
);
|
|
108
118
|
}
|
|
109
|
-
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFixForParentTagDuringReparenting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
110
|
-
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableFixForParentTagDuringReparenting(
|
|
111
|
-
rt
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
119
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFontScaleChangesUpdatingLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
115
120
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableFontScaleChangesUpdatingLayout(
|
|
116
121
|
rt
|
|
@@ -126,6 +131,16 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableI
|
|
|
126
131
|
rt
|
|
127
132
|
);
|
|
128
133
|
}
|
|
134
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableImagePrefetchingAndroid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
135
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableImagePrefetchingAndroid(
|
|
136
|
+
rt
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableImmediateUpdateModeForContentOffsetChanges(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
140
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableImmediateUpdateModeForContentOffsetChanges(
|
|
141
|
+
rt
|
|
142
|
+
);
|
|
143
|
+
}
|
|
129
144
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableInteropViewManagerClassLookUpOptimizationIOS(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
130
145
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableInteropViewManagerClassLookUpOptimizationIOS(
|
|
131
146
|
rt
|
|
@@ -146,11 +161,6 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableM
|
|
|
146
161
|
rt
|
|
147
162
|
);
|
|
148
163
|
}
|
|
149
|
-
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMainQueueModulesOnIOS(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
150
|
-
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableMainQueueModulesOnIOS(
|
|
151
|
-
rt
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
164
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableModuleArgumentNSNullConversionIOS(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
155
165
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableModuleArgumentNSNullConversionIOS(
|
|
156
166
|
rt
|
|
@@ -186,11 +196,6 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableR
|
|
|
186
196
|
rt
|
|
187
197
|
);
|
|
188
198
|
}
|
|
189
|
-
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSynchronousStateUpdates(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
190
|
-
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableSynchronousStateUpdates(
|
|
191
|
-
rt
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
199
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewCulling(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
195
200
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableViewCulling(
|
|
196
201
|
rt
|
|
@@ -201,6 +206,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableV
|
|
|
201
206
|
rt
|
|
202
207
|
);
|
|
203
208
|
}
|
|
209
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecyclingForScrollView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
210
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableViewRecyclingForScrollView(
|
|
211
|
+
rt
|
|
212
|
+
);
|
|
213
|
+
}
|
|
204
214
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecyclingForText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
205
215
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableViewRecyclingForText(
|
|
206
216
|
rt
|
|
@@ -226,6 +236,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableV
|
|
|
226
236
|
rt
|
|
227
237
|
);
|
|
228
238
|
}
|
|
239
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableWebPerformanceAPIsByDefault(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
240
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableWebPerformanceAPIsByDefault(
|
|
241
|
+
rt
|
|
242
|
+
);
|
|
243
|
+
}
|
|
229
244
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fixMappingOfEventPrioritiesBetweenFabricAndReact(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
230
245
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->fixMappingOfEventPrioritiesBetweenFabricAndReact(
|
|
231
246
|
rt
|
|
@@ -246,6 +261,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_hideOff
|
|
|
246
261
|
rt
|
|
247
262
|
);
|
|
248
263
|
}
|
|
264
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_perfMonitorV2Enabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
265
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->perfMonitorV2Enabled(
|
|
266
|
+
rt
|
|
267
|
+
);
|
|
268
|
+
}
|
|
249
269
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_preparedTextCacheSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
250
270
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->preparedTextCacheSize(
|
|
251
271
|
rt
|
|
@@ -256,6 +276,26 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_prevent
|
|
|
256
276
|
rt
|
|
257
277
|
);
|
|
258
278
|
}
|
|
279
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_releaseImageDataWhenConsumed(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
280
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->releaseImageDataWhenConsumed(
|
|
281
|
+
rt
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_shouldPressibilityUseW3CPointerEventsForHover(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
285
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->shouldPressibilityUseW3CPointerEventsForHover(
|
|
286
|
+
rt
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_skipActivityIdentityAssertionOnHostPause(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
290
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->skipActivityIdentityAssertionOnHostPause(
|
|
291
|
+
rt
|
|
292
|
+
);
|
|
293
|
+
}
|
|
294
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_sweepActiveTouchOnChildNativeGesturesAndroid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
295
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->sweepActiveTouchOnChildNativeGesturesAndroid(
|
|
296
|
+
rt
|
|
297
|
+
);
|
|
298
|
+
}
|
|
259
299
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_traceTurboModulePromiseRejectionsOnAndroid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
260
300
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->traceTurboModulePromiseRejectionsOnAndroid(
|
|
261
301
|
rt
|
|
@@ -316,6 +356,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useTurb
|
|
|
316
356
|
rt
|
|
317
357
|
);
|
|
318
358
|
}
|
|
359
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_virtualViewHysteresisRatio(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
360
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->virtualViewHysteresisRatio(
|
|
361
|
+
rt
|
|
362
|
+
);
|
|
363
|
+
}
|
|
319
364
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_virtualViewPrerenderRatio(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
320
365
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->virtualViewPrerenderRatio(
|
|
321
366
|
rt
|
|
@@ -326,11 +371,12 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
326
371
|
: TurboModule("NativeReactNativeFeatureFlagsCxx", jsInvoker) {
|
|
327
372
|
methodMap_["commonTestFlag"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_commonTestFlag};
|
|
328
373
|
methodMap_["commonTestFlagWithoutNativeImplementation"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_commonTestFlagWithoutNativeImplementation};
|
|
329
|
-
methodMap_["
|
|
374
|
+
methodMap_["cdpInteractionMetricsEnabled"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_cdpInteractionMetricsEnabled};
|
|
330
375
|
methodMap_["cxxNativeAnimatedEnabled"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_cxxNativeAnimatedEnabled};
|
|
331
376
|
methodMap_["cxxNativeAnimatedRemoveJsSync"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_cxxNativeAnimatedRemoveJsSync};
|
|
332
|
-
methodMap_["
|
|
377
|
+
methodMap_["disableFabricCommitInCXXAnimated"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableFabricCommitInCXXAnimated};
|
|
333
378
|
methodMap_["disableMountItemReorderingAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableMountItemReorderingAndroid};
|
|
379
|
+
methodMap_["disableOldAndroidAttachmentMetricsWorkarounds"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableOldAndroidAttachmentMetricsWorkarounds};
|
|
334
380
|
methodMap_["disableTextLayoutManagerCacheAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_disableTextLayoutManagerCacheAndroid};
|
|
335
381
|
methodMap_["enableAccessibilityOrder"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableAccessibilityOrder};
|
|
336
382
|
methodMap_["enableAccumulatedUpdatesInRawPropsAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableAccumulatedUpdatesInRawPropsAndroid};
|
|
@@ -340,18 +386,19 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
340
386
|
methodMap_["enableCustomFocusSearchOnClippedElementsAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableCustomFocusSearchOnClippedElementsAndroid};
|
|
341
387
|
methodMap_["enableDestroyShadowTreeRevisionAsync"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableDestroyShadowTreeRevisionAsync};
|
|
342
388
|
methodMap_["enableDoubleMeasurementFixAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableDoubleMeasurementFixAndroid};
|
|
389
|
+
methodMap_["enableEagerMainQueueModulesOnIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableEagerMainQueueModulesOnIOS};
|
|
343
390
|
methodMap_["enableEagerRootViewAttachment"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableEagerRootViewAttachment};
|
|
344
391
|
methodMap_["enableFabricLogs"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFabricLogs};
|
|
345
392
|
methodMap_["enableFabricRenderer"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFabricRenderer};
|
|
346
|
-
methodMap_["enableFixForParentTagDuringReparenting"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFixForParentTagDuringReparenting};
|
|
347
393
|
methodMap_["enableFontScaleChangesUpdatingLayout"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFontScaleChangesUpdatingLayout};
|
|
348
394
|
methodMap_["enableIOSTextBaselineOffsetPerLine"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableIOSTextBaselineOffsetPerLine};
|
|
349
395
|
methodMap_["enableIOSViewClipToPaddingBox"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableIOSViewClipToPaddingBox};
|
|
396
|
+
methodMap_["enableImagePrefetchingAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableImagePrefetchingAndroid};
|
|
397
|
+
methodMap_["enableImmediateUpdateModeForContentOffsetChanges"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableImmediateUpdateModeForContentOffsetChanges};
|
|
350
398
|
methodMap_["enableInteropViewManagerClassLookUpOptimizationIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableInteropViewManagerClassLookUpOptimizationIOS};
|
|
351
399
|
methodMap_["enableLayoutAnimationsOnAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableLayoutAnimationsOnAndroid};
|
|
352
400
|
methodMap_["enableLayoutAnimationsOnIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableLayoutAnimationsOnIOS};
|
|
353
401
|
methodMap_["enableMainQueueCoordinatorOnIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMainQueueCoordinatorOnIOS};
|
|
354
|
-
methodMap_["enableMainQueueModulesOnIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMainQueueModulesOnIOS};
|
|
355
402
|
methodMap_["enableModuleArgumentNSNullConversionIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableModuleArgumentNSNullConversionIOS};
|
|
356
403
|
methodMap_["enableNativeCSSParsing"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableNativeCSSParsing};
|
|
357
404
|
methodMap_["enableNetworkEventReporting"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableNetworkEventReporting};
|
|
@@ -359,20 +406,26 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
359
406
|
methodMap_["enablePreparedTextLayout"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enablePreparedTextLayout};
|
|
360
407
|
methodMap_["enablePropsUpdateReconciliationAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enablePropsUpdateReconciliationAndroid};
|
|
361
408
|
methodMap_["enableResourceTimingAPI"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableResourceTimingAPI};
|
|
362
|
-
methodMap_["enableSynchronousStateUpdates"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSynchronousStateUpdates};
|
|
363
409
|
methodMap_["enableViewCulling"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewCulling};
|
|
364
410
|
methodMap_["enableViewRecycling"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecycling};
|
|
411
|
+
methodMap_["enableViewRecyclingForScrollView"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecyclingForScrollView};
|
|
365
412
|
methodMap_["enableViewRecyclingForText"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecyclingForText};
|
|
366
413
|
methodMap_["enableViewRecyclingForView"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableViewRecyclingForView};
|
|
367
414
|
methodMap_["enableVirtualViewDebugFeatures"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewDebugFeatures};
|
|
368
415
|
methodMap_["enableVirtualViewRenderState"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewRenderState};
|
|
369
416
|
methodMap_["enableVirtualViewWindowFocusDetection"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewWindowFocusDetection};
|
|
417
|
+
methodMap_["enableWebPerformanceAPIsByDefault"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableWebPerformanceAPIsByDefault};
|
|
370
418
|
methodMap_["fixMappingOfEventPrioritiesBetweenFabricAndReact"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fixMappingOfEventPrioritiesBetweenFabricAndReact};
|
|
371
419
|
methodMap_["fuseboxEnabledRelease"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fuseboxEnabledRelease};
|
|
372
420
|
methodMap_["fuseboxNetworkInspectionEnabled"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fuseboxNetworkInspectionEnabled};
|
|
373
421
|
methodMap_["hideOffscreenVirtualViewsOnIOS"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_hideOffscreenVirtualViewsOnIOS};
|
|
422
|
+
methodMap_["perfMonitorV2Enabled"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_perfMonitorV2Enabled};
|
|
374
423
|
methodMap_["preparedTextCacheSize"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_preparedTextCacheSize};
|
|
375
424
|
methodMap_["preventShadowTreeCommitExhaustion"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_preventShadowTreeCommitExhaustion};
|
|
425
|
+
methodMap_["releaseImageDataWhenConsumed"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_releaseImageDataWhenConsumed};
|
|
426
|
+
methodMap_["shouldPressibilityUseW3CPointerEventsForHover"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_shouldPressibilityUseW3CPointerEventsForHover};
|
|
427
|
+
methodMap_["skipActivityIdentityAssertionOnHostPause"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_skipActivityIdentityAssertionOnHostPause};
|
|
428
|
+
methodMap_["sweepActiveTouchOnChildNativeGesturesAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_sweepActiveTouchOnChildNativeGesturesAndroid};
|
|
376
429
|
methodMap_["traceTurboModulePromiseRejectionsOnAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_traceTurboModulePromiseRejectionsOnAndroid};
|
|
377
430
|
methodMap_["updateRuntimeShadowNodeReferencesOnCommit"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_updateRuntimeShadowNodeReferencesOnCommit};
|
|
378
431
|
methodMap_["useAlwaysAvailableJSErrorHandling"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useAlwaysAvailableJSErrorHandling};
|
|
@@ -385,69 +438,70 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
385
438
|
methodMap_["useShadowNodeStateOnClone"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useShadowNodeStateOnClone};
|
|
386
439
|
methodMap_["useTurboModuleInterop"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useTurboModuleInterop};
|
|
387
440
|
methodMap_["useTurboModules"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useTurboModules};
|
|
441
|
+
methodMap_["virtualViewHysteresisRatio"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_virtualViewHysteresisRatio};
|
|
388
442
|
methodMap_["virtualViewPrerenderRatio"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_virtualViewPrerenderRatio};
|
|
389
443
|
}
|
|
390
444
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
391
445
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
392
446
|
rt,
|
|
393
|
-
count
|
|
447
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
394
448
|
);
|
|
395
449
|
return jsi::Value::undefined();
|
|
396
450
|
}
|
|
397
451
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isInvertColorsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
398
452
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isInvertColorsEnabled(
|
|
399
453
|
rt,
|
|
400
|
-
count
|
|
454
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
401
455
|
);
|
|
402
456
|
return jsi::Value::undefined();
|
|
403
457
|
}
|
|
404
458
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isHighTextContrastEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
405
459
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isHighTextContrastEnabled(
|
|
406
460
|
rt,
|
|
407
|
-
count
|
|
461
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
408
462
|
);
|
|
409
463
|
return jsi::Value::undefined();
|
|
410
464
|
}
|
|
411
465
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
412
466
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
413
467
|
rt,
|
|
414
|
-
count
|
|
468
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
415
469
|
);
|
|
416
470
|
return jsi::Value::undefined();
|
|
417
471
|
}
|
|
418
472
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
419
473
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
420
474
|
rt,
|
|
421
|
-
count
|
|
475
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
422
476
|
);
|
|
423
477
|
return jsi::Value::undefined();
|
|
424
478
|
}
|
|
425
479
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
426
480
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
427
481
|
rt,
|
|
428
|
-
count
|
|
482
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
429
483
|
);
|
|
430
484
|
return jsi::Value::undefined();
|
|
431
485
|
}
|
|
432
486
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
433
487
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
434
488
|
rt,
|
|
435
|
-
count
|
|
489
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
436
490
|
);
|
|
437
491
|
return jsi::Value::undefined();
|
|
438
492
|
}
|
|
439
493
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
440
494
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
441
495
|
rt,
|
|
442
|
-
count
|
|
443
|
-
count
|
|
496
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
497
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
444
498
|
);
|
|
445
499
|
return jsi::Value::undefined();
|
|
446
500
|
}
|
|
447
501
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isGrayscaleEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
448
502
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isGrayscaleEnabled(
|
|
449
503
|
rt,
|
|
450
|
-
count
|
|
504
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
451
505
|
);
|
|
452
506
|
return jsi::Value::undefined();
|
|
453
507
|
}
|
|
@@ -467,93 +521,93 @@ NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared
|
|
|
467
521
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
468
522
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
469
523
|
rt,
|
|
470
|
-
count
|
|
471
|
-
count
|
|
524
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
525
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
472
526
|
);
|
|
473
527
|
return jsi::Value::undefined();
|
|
474
528
|
}
|
|
475
529
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
476
530
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
477
531
|
rt,
|
|
478
|
-
count
|
|
479
|
-
count
|
|
532
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
533
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
480
534
|
);
|
|
481
535
|
return jsi::Value::undefined();
|
|
482
536
|
}
|
|
483
537
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
484
538
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
485
539
|
rt,
|
|
486
|
-
count
|
|
487
|
-
count
|
|
540
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
541
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
488
542
|
);
|
|
489
543
|
return jsi::Value::undefined();
|
|
490
544
|
}
|
|
491
545
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
492
546
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
493
547
|
rt,
|
|
494
|
-
count
|
|
495
|
-
count
|
|
548
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
549
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
496
550
|
);
|
|
497
551
|
return jsi::Value::undefined();
|
|
498
552
|
}
|
|
499
553
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentDarkerSystemColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
500
554
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentDarkerSystemColorsState(
|
|
501
555
|
rt,
|
|
502
|
-
count
|
|
503
|
-
count
|
|
556
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
557
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
504
558
|
);
|
|
505
559
|
return jsi::Value::undefined();
|
|
506
560
|
}
|
|
507
561
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
508
562
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
509
563
|
rt,
|
|
510
|
-
count
|
|
511
|
-
count
|
|
564
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
565
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
512
566
|
);
|
|
513
567
|
return jsi::Value::undefined();
|
|
514
568
|
}
|
|
515
569
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
516
570
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
517
571
|
rt,
|
|
518
|
-
count
|
|
519
|
-
count
|
|
572
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
573
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
520
574
|
);
|
|
521
575
|
return jsi::Value::undefined();
|
|
522
576
|
}
|
|
523
577
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
524
578
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
525
579
|
rt,
|
|
526
|
-
count
|
|
527
|
-
count
|
|
580
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
581
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
528
582
|
);
|
|
529
583
|
return jsi::Value::undefined();
|
|
530
584
|
}
|
|
531
585
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
532
586
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
533
587
|
rt,
|
|
534
|
-
count
|
|
588
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
535
589
|
);
|
|
536
590
|
return jsi::Value::undefined();
|
|
537
591
|
}
|
|
538
592
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
539
593
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
540
594
|
rt,
|
|
541
|
-
count
|
|
595
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
542
596
|
);
|
|
543
597
|
return jsi::Value::undefined();
|
|
544
598
|
}
|
|
545
599
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
546
600
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
547
601
|
rt,
|
|
548
|
-
count
|
|
602
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
549
603
|
);
|
|
550
604
|
return jsi::Value::undefined();
|
|
551
605
|
}
|
|
552
606
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
553
607
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
554
608
|
rt,
|
|
555
|
-
count
|
|
556
|
-
count
|
|
609
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
610
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
557
611
|
);
|
|
558
612
|
return jsi::Value::undefined();
|
|
559
613
|
}
|
|
@@ -581,17 +635,17 @@ static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants
|
|
|
581
635
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
582
636
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
|
583
637
|
rt,
|
|
584
|
-
count
|
|
585
|
-
count
|
|
638
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
639
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
586
640
|
);
|
|
587
641
|
return jsi::Value::undefined();
|
|
588
642
|
}
|
|
589
643
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
590
644
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
|
591
645
|
rt,
|
|
592
|
-
count
|
|
593
|
-
count
|
|
594
|
-
count
|
|
646
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
647
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
648
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
595
649
|
);
|
|
596
650
|
return jsi::Value::undefined();
|
|
597
651
|
}
|
|
@@ -612,8 +666,8 @@ NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shar
|
|
|
612
666
|
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
613
667
|
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
|
614
668
|
rt,
|
|
615
|
-
count
|
|
616
|
-
count
|
|
669
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
670
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
617
671
|
);
|
|
618
672
|
return jsi::Value::undefined();
|
|
619
673
|
}
|
|
@@ -637,170 +691,170 @@ static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationB
|
|
|
637
691
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
638
692
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
639
693
|
rt,
|
|
640
|
-
count
|
|
641
|
-
count
|
|
694
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
695
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
642
696
|
);
|
|
643
697
|
return jsi::Value::undefined();
|
|
644
698
|
}
|
|
645
699
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
646
700
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
647
701
|
rt,
|
|
648
|
-
count
|
|
649
|
-
count
|
|
702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
650
704
|
);
|
|
651
705
|
return jsi::Value::undefined();
|
|
652
706
|
}
|
|
653
707
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
654
708
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
655
709
|
rt,
|
|
656
|
-
count
|
|
657
|
-
count
|
|
710
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
711
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
658
712
|
);
|
|
659
713
|
return jsi::Value::undefined();
|
|
660
714
|
}
|
|
661
715
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
662
716
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
663
717
|
rt,
|
|
664
|
-
count
|
|
718
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
665
719
|
);
|
|
666
720
|
return jsi::Value::undefined();
|
|
667
721
|
}
|
|
668
722
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
669
723
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
670
724
|
rt,
|
|
671
|
-
count
|
|
725
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
672
726
|
);
|
|
673
727
|
return jsi::Value::undefined();
|
|
674
728
|
}
|
|
675
729
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
676
730
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
677
731
|
rt,
|
|
678
|
-
count
|
|
679
|
-
count
|
|
732
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
733
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
680
734
|
);
|
|
681
735
|
return jsi::Value::undefined();
|
|
682
736
|
}
|
|
683
737
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
684
738
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
685
739
|
rt,
|
|
686
|
-
count
|
|
687
|
-
count
|
|
740
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
741
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
688
742
|
);
|
|
689
743
|
return jsi::Value::undefined();
|
|
690
744
|
}
|
|
691
745
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
692
746
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
693
747
|
rt,
|
|
694
|
-
count
|
|
695
|
-
count
|
|
696
|
-
count
|
|
697
|
-
count
|
|
748
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
749
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
750
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
751
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
698
752
|
);
|
|
699
753
|
return jsi::Value::undefined();
|
|
700
754
|
}
|
|
701
755
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
702
756
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
703
757
|
rt,
|
|
704
|
-
count
|
|
758
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
705
759
|
);
|
|
706
760
|
return jsi::Value::undefined();
|
|
707
761
|
}
|
|
708
762
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
709
763
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
710
764
|
rt,
|
|
711
|
-
count
|
|
712
|
-
count
|
|
765
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
766
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
713
767
|
);
|
|
714
768
|
return jsi::Value::undefined();
|
|
715
769
|
}
|
|
716
770
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
717
771
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
718
772
|
rt,
|
|
719
|
-
count
|
|
720
|
-
count
|
|
773
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
774
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
721
775
|
);
|
|
722
776
|
return jsi::Value::undefined();
|
|
723
777
|
}
|
|
724
778
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
725
779
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
726
780
|
rt,
|
|
727
|
-
count
|
|
781
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
728
782
|
);
|
|
729
783
|
return jsi::Value::undefined();
|
|
730
784
|
}
|
|
731
785
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
732
786
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
733
787
|
rt,
|
|
734
|
-
count
|
|
788
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
735
789
|
);
|
|
736
790
|
return jsi::Value::undefined();
|
|
737
791
|
}
|
|
738
792
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
739
793
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
740
794
|
rt,
|
|
741
|
-
count
|
|
742
|
-
count
|
|
795
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
796
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
743
797
|
);
|
|
744
798
|
return jsi::Value::undefined();
|
|
745
799
|
}
|
|
746
800
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
747
801
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
748
802
|
rt,
|
|
749
|
-
count
|
|
750
|
-
count
|
|
803
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
804
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
751
805
|
);
|
|
752
806
|
return jsi::Value::undefined();
|
|
753
807
|
}
|
|
754
808
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
755
809
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
756
810
|
rt,
|
|
757
|
-
count
|
|
811
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
758
812
|
);
|
|
759
813
|
return jsi::Value::undefined();
|
|
760
814
|
}
|
|
761
815
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
762
816
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
763
817
|
rt,
|
|
764
|
-
count
|
|
818
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
765
819
|
);
|
|
766
820
|
return jsi::Value::undefined();
|
|
767
821
|
}
|
|
768
822
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
769
823
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
770
824
|
rt,
|
|
771
|
-
count
|
|
772
|
-
count
|
|
773
|
-
count
|
|
825
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
826
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
827
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
774
828
|
);
|
|
775
829
|
return jsi::Value::undefined();
|
|
776
830
|
}
|
|
777
831
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
778
832
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
779
833
|
rt,
|
|
780
|
-
count
|
|
781
|
-
count
|
|
782
|
-
count
|
|
834
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
835
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
836
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
783
837
|
);
|
|
784
838
|
return jsi::Value::undefined();
|
|
785
839
|
}
|
|
786
840
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
787
841
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
788
842
|
rt,
|
|
789
|
-
count
|
|
843
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
790
844
|
);
|
|
791
845
|
return jsi::Value::undefined();
|
|
792
846
|
}
|
|
793
847
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
794
848
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
795
849
|
rt,
|
|
796
|
-
count
|
|
850
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
797
851
|
);
|
|
798
852
|
return jsi::Value::undefined();
|
|
799
853
|
}
|
|
800
854
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
801
855
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
802
856
|
rt,
|
|
803
|
-
count
|
|
857
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
804
858
|
);
|
|
805
859
|
return jsi::Value::undefined();
|
|
806
860
|
}
|
|
@@ -847,170 +901,170 @@ static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOpera
|
|
|
847
901
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
848
902
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
849
903
|
rt,
|
|
850
|
-
count
|
|
851
|
-
count
|
|
904
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
905
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
852
906
|
);
|
|
853
907
|
return jsi::Value::undefined();
|
|
854
908
|
}
|
|
855
909
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
856
910
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
857
911
|
rt,
|
|
858
|
-
count
|
|
859
|
-
count
|
|
912
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
913
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
860
914
|
);
|
|
861
915
|
return jsi::Value::undefined();
|
|
862
916
|
}
|
|
863
917
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
864
918
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
865
919
|
rt,
|
|
866
|
-
count
|
|
867
|
-
count
|
|
920
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
921
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
868
922
|
);
|
|
869
923
|
return jsi::Value::undefined();
|
|
870
924
|
}
|
|
871
925
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
872
926
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
873
927
|
rt,
|
|
874
|
-
count
|
|
928
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
875
929
|
);
|
|
876
930
|
return jsi::Value::undefined();
|
|
877
931
|
}
|
|
878
932
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
879
933
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
880
934
|
rt,
|
|
881
|
-
count
|
|
935
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
882
936
|
);
|
|
883
937
|
return jsi::Value::undefined();
|
|
884
938
|
}
|
|
885
939
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
886
940
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
887
941
|
rt,
|
|
888
|
-
count
|
|
889
|
-
count
|
|
942
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
943
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
890
944
|
);
|
|
891
945
|
return jsi::Value::undefined();
|
|
892
946
|
}
|
|
893
947
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
894
948
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
895
949
|
rt,
|
|
896
|
-
count
|
|
897
|
-
count
|
|
950
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
951
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
898
952
|
);
|
|
899
953
|
return jsi::Value::undefined();
|
|
900
954
|
}
|
|
901
955
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
902
956
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
903
957
|
rt,
|
|
904
|
-
count
|
|
905
|
-
count
|
|
906
|
-
count
|
|
907
|
-
count
|
|
958
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
959
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
960
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
961
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
908
962
|
);
|
|
909
963
|
return jsi::Value::undefined();
|
|
910
964
|
}
|
|
911
965
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
912
966
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
913
967
|
rt,
|
|
914
|
-
count
|
|
968
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
915
969
|
);
|
|
916
970
|
return jsi::Value::undefined();
|
|
917
971
|
}
|
|
918
972
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
919
973
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
920
974
|
rt,
|
|
921
|
-
count
|
|
922
|
-
count
|
|
975
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
976
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
923
977
|
);
|
|
924
978
|
return jsi::Value::undefined();
|
|
925
979
|
}
|
|
926
980
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
927
981
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
928
982
|
rt,
|
|
929
|
-
count
|
|
930
|
-
count
|
|
983
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
984
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
931
985
|
);
|
|
932
986
|
return jsi::Value::undefined();
|
|
933
987
|
}
|
|
934
988
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
935
989
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
936
990
|
rt,
|
|
937
|
-
count
|
|
991
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
938
992
|
);
|
|
939
993
|
return jsi::Value::undefined();
|
|
940
994
|
}
|
|
941
995
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
942
996
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
943
997
|
rt,
|
|
944
|
-
count
|
|
998
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
945
999
|
);
|
|
946
1000
|
return jsi::Value::undefined();
|
|
947
1001
|
}
|
|
948
1002
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
949
1003
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
950
1004
|
rt,
|
|
951
|
-
count
|
|
952
|
-
count
|
|
1005
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1006
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
953
1007
|
);
|
|
954
1008
|
return jsi::Value::undefined();
|
|
955
1009
|
}
|
|
956
1010
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
957
1011
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
958
1012
|
rt,
|
|
959
|
-
count
|
|
960
|
-
count
|
|
1013
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1014
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
961
1015
|
);
|
|
962
1016
|
return jsi::Value::undefined();
|
|
963
1017
|
}
|
|
964
1018
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
965
1019
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
966
1020
|
rt,
|
|
967
|
-
count
|
|
1021
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
968
1022
|
);
|
|
969
1023
|
return jsi::Value::undefined();
|
|
970
1024
|
}
|
|
971
1025
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
972
1026
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
973
1027
|
rt,
|
|
974
|
-
count
|
|
1028
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
975
1029
|
);
|
|
976
1030
|
return jsi::Value::undefined();
|
|
977
1031
|
}
|
|
978
1032
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
979
1033
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
980
1034
|
rt,
|
|
981
|
-
count
|
|
982
|
-
count
|
|
983
|
-
count
|
|
1035
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1036
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1037
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
984
1038
|
);
|
|
985
1039
|
return jsi::Value::undefined();
|
|
986
1040
|
}
|
|
987
1041
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
988
1042
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
989
1043
|
rt,
|
|
990
|
-
count
|
|
991
|
-
count
|
|
992
|
-
count
|
|
1044
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1045
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1046
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
993
1047
|
);
|
|
994
1048
|
return jsi::Value::undefined();
|
|
995
1049
|
}
|
|
996
1050
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
997
1051
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
998
1052
|
rt,
|
|
999
|
-
count
|
|
1053
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1000
1054
|
);
|
|
1001
1055
|
return jsi::Value::undefined();
|
|
1002
1056
|
}
|
|
1003
1057
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1004
1058
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1005
1059
|
rt,
|
|
1006
|
-
count
|
|
1060
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1007
1061
|
);
|
|
1008
1062
|
return jsi::Value::undefined();
|
|
1009
1063
|
}
|
|
1010
1064
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1011
1065
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
1012
1066
|
rt,
|
|
1013
|
-
count
|
|
1067
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1014
1068
|
);
|
|
1015
1069
|
return jsi::Value::undefined();
|
|
1016
1070
|
}
|
|
@@ -1051,21 +1105,21 @@ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::
|
|
|
1051
1105
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1052
1106
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
1053
1107
|
rt,
|
|
1054
|
-
count
|
|
1108
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1055
1109
|
);
|
|
1056
1110
|
return jsi::Value::undefined();
|
|
1057
1111
|
}
|
|
1058
1112
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1059
1113
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
1060
1114
|
rt,
|
|
1061
|
-
count
|
|
1115
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1062
1116
|
);
|
|
1063
1117
|
return jsi::Value::undefined();
|
|
1064
1118
|
}
|
|
1065
1119
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1066
1120
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1067
1121
|
rt,
|
|
1068
|
-
count
|
|
1122
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1069
1123
|
);
|
|
1070
1124
|
return jsi::Value::undefined();
|
|
1071
1125
|
}
|
|
@@ -1085,22 +1139,22 @@ static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runt
|
|
|
1085
1139
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1086
1140
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
1087
1141
|
rt,
|
|
1088
|
-
count
|
|
1089
|
-
count
|
|
1142
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
1143
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1090
1144
|
);
|
|
1091
1145
|
return jsi::Value::undefined();
|
|
1092
1146
|
}
|
|
1093
1147
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1094
1148
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
1095
1149
|
rt,
|
|
1096
|
-
count
|
|
1150
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1097
1151
|
);
|
|
1098
1152
|
return jsi::Value::undefined();
|
|
1099
1153
|
}
|
|
1100
1154
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1101
1155
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1102
1156
|
rt,
|
|
1103
|
-
count
|
|
1157
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1104
1158
|
);
|
|
1105
1159
|
return jsi::Value::undefined();
|
|
1106
1160
|
}
|
|
@@ -1136,37 +1190,37 @@ static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler
|
|
|
1136
1190
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1137
1191
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
|
1138
1192
|
rt,
|
|
1139
|
-
count
|
|
1193
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1140
1194
|
);
|
|
1141
1195
|
return jsi::Value::undefined();
|
|
1142
1196
|
}
|
|
1143
1197
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1144
1198
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
|
1145
1199
|
rt,
|
|
1146
|
-
count
|
|
1200
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1147
1201
|
);
|
|
1148
1202
|
return jsi::Value::undefined();
|
|
1149
1203
|
}
|
|
1150
1204
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1151
1205
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
|
1152
1206
|
rt,
|
|
1153
|
-
count
|
|
1154
|
-
count
|
|
1207
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1208
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1155
1209
|
);
|
|
1156
1210
|
return jsi::Value::undefined();
|
|
1157
1211
|
}
|
|
1158
1212
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1159
1213
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
|
1160
1214
|
rt,
|
|
1161
|
-
count
|
|
1162
|
-
count
|
|
1215
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
1216
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1163
1217
|
);
|
|
1164
1218
|
return jsi::Value::undefined();
|
|
1165
1219
|
}
|
|
1166
1220
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1167
1221
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
|
1168
1222
|
rt,
|
|
1169
|
-
count
|
|
1223
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1170
1224
|
);
|
|
1171
1225
|
return jsi::Value::undefined();
|
|
1172
1226
|
}
|
|
@@ -1194,7 +1248,7 @@ static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtim
|
|
|
1194
1248
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1195
1249
|
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
1196
1250
|
rt,
|
|
1197
|
-
count
|
|
1251
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1198
1252
|
);
|
|
1199
1253
|
return jsi::Value::undefined();
|
|
1200
1254
|
}
|
|
@@ -1229,7 +1283,7 @@ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1229
1283
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1230
1284
|
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
1231
1285
|
rt,
|
|
1232
|
-
count
|
|
1286
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1233
1287
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
1234
1288
|
count <= 2 || args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
1235
1289
|
);
|
|
@@ -1256,7 +1310,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime
|
|
|
1256
1310
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1257
1311
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
1258
1312
|
rt,
|
|
1259
|
-
count
|
|
1313
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1260
1314
|
);
|
|
1261
1315
|
return jsi::Value::undefined();
|
|
1262
1316
|
}
|
|
@@ -1269,14 +1323,14 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::
|
|
|
1269
1323
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1270
1324
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
1271
1325
|
rt,
|
|
1272
|
-
count
|
|
1326
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1273
1327
|
);
|
|
1274
1328
|
return jsi::Value::undefined();
|
|
1275
1329
|
}
|
|
1276
1330
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1277
1331
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
1278
1332
|
rt,
|
|
1279
|
-
count
|
|
1333
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1280
1334
|
);
|
|
1281
1335
|
return jsi::Value::undefined();
|
|
1282
1336
|
}
|
|
@@ -1289,7 +1343,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspec
|
|
|
1289
1343
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1290
1344
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
1291
1345
|
rt,
|
|
1292
|
-
count
|
|
1346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1293
1347
|
);
|
|
1294
1348
|
return jsi::Value::undefined();
|
|
1295
1349
|
}
|
|
@@ -1302,21 +1356,21 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_openDebugger(jsi::R
|
|
|
1302
1356
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1303
1357
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
1304
1358
|
rt,
|
|
1305
|
-
count
|
|
1359
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1306
1360
|
);
|
|
1307
1361
|
return jsi::Value::undefined();
|
|
1308
1362
|
}
|
|
1309
1363
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1310
1364
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1311
1365
|
rt,
|
|
1312
|
-
count
|
|
1366
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1313
1367
|
);
|
|
1314
1368
|
return jsi::Value::undefined();
|
|
1315
1369
|
}
|
|
1316
1370
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1317
1371
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
1318
1372
|
rt,
|
|
1319
|
-
count
|
|
1373
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1320
1374
|
);
|
|
1321
1375
|
return jsi::Value::undefined();
|
|
1322
1376
|
}
|
|
@@ -1343,9 +1397,9 @@ static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstan
|
|
|
1343
1397
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1344
1398
|
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1345
1399
|
rt,
|
|
1346
|
-
count
|
|
1347
|
-
count
|
|
1348
|
-
count
|
|
1400
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1401
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1402
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1349
1403
|
);
|
|
1350
1404
|
return jsi::Value::undefined();
|
|
1351
1405
|
}
|
|
@@ -1363,9 +1417,9 @@ static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstan
|
|
|
1363
1417
|
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1364
1418
|
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1365
1419
|
rt,
|
|
1366
|
-
count
|
|
1367
|
-
count
|
|
1368
|
-
count
|
|
1420
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1421
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1422
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1369
1423
|
);
|
|
1370
1424
|
return jsi::Value::undefined();
|
|
1371
1425
|
}
|
|
@@ -1378,25 +1432,25 @@ NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::
|
|
|
1378
1432
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1379
1433
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
1380
1434
|
rt,
|
|
1381
|
-
count
|
|
1382
|
-
count
|
|
1383
|
-
count
|
|
1435
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1436
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1437
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1384
1438
|
);
|
|
1385
1439
|
return jsi::Value::undefined();
|
|
1386
1440
|
}
|
|
1387
1441
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1388
1442
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
1389
1443
|
rt,
|
|
1390
|
-
count
|
|
1391
|
-
count
|
|
1392
|
-
count
|
|
1444
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1445
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1446
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1393
1447
|
);
|
|
1394
1448
|
return jsi::Value::undefined();
|
|
1395
1449
|
}
|
|
1396
1450
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1397
1451
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
1398
1452
|
rt,
|
|
1399
|
-
count
|
|
1453
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1400
1454
|
);
|
|
1401
1455
|
return jsi::Value::undefined();
|
|
1402
1456
|
}
|
|
@@ -1417,14 +1471,14 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared
|
|
|
1417
1471
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1418
1472
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
1419
1473
|
rt,
|
|
1420
|
-
count
|
|
1474
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1421
1475
|
);
|
|
1422
1476
|
}
|
|
1423
1477
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1424
1478
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
1425
1479
|
rt,
|
|
1426
|
-
count
|
|
1427
|
-
count
|
|
1480
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1481
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1428
1482
|
);
|
|
1429
1483
|
}
|
|
1430
1484
|
|
|
@@ -1436,14 +1490,14 @@ NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_p
|
|
|
1436
1490
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1437
1491
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
1438
1492
|
rt,
|
|
1439
|
-
count
|
|
1493
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1440
1494
|
);
|
|
1441
1495
|
return jsi::Value::undefined();
|
|
1442
1496
|
}
|
|
1443
1497
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1444
1498
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
|
1445
1499
|
rt,
|
|
1446
|
-
count
|
|
1500
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1447
1501
|
);
|
|
1448
1502
|
return jsi::Value::undefined();
|
|
1449
1503
|
}
|
|
@@ -1470,14 +1524,14 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
|
1470
1524
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1471
1525
|
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
1472
1526
|
rt,
|
|
1473
|
-
count
|
|
1527
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1474
1528
|
);
|
|
1475
1529
|
return jsi::Value::undefined();
|
|
1476
1530
|
}
|
|
1477
1531
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1478
1532
|
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
1479
1533
|
rt,
|
|
1480
|
-
count
|
|
1534
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1481
1535
|
);
|
|
1482
1536
|
}
|
|
1483
1537
|
|
|
@@ -1494,21 +1548,21 @@ static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::R
|
|
|
1494
1548
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1495
1549
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1496
1550
|
rt,
|
|
1497
|
-
count
|
|
1551
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1498
1552
|
);
|
|
1499
1553
|
return jsi::Value::undefined();
|
|
1500
1554
|
}
|
|
1501
1555
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1502
1556
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1503
1557
|
rt,
|
|
1504
|
-
count
|
|
1558
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1505
1559
|
);
|
|
1506
1560
|
return jsi::Value::undefined();
|
|
1507
1561
|
}
|
|
1508
1562
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1509
1563
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1510
1564
|
rt,
|
|
1511
|
-
count
|
|
1565
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1512
1566
|
);
|
|
1513
1567
|
return jsi::Value::undefined();
|
|
1514
1568
|
}
|
|
@@ -1528,10 +1582,10 @@ static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::R
|
|
|
1528
1582
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1529
1583
|
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
1530
1584
|
rt,
|
|
1531
|
-
count
|
|
1532
|
-
count
|
|
1533
|
-
count
|
|
1534
|
-
count
|
|
1585
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1586
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
1587
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
1588
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
1535
1589
|
);
|
|
1536
1590
|
return jsi::Value::undefined();
|
|
1537
1591
|
}
|
|
@@ -1544,7 +1598,7 @@ NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
1544
1598
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1545
1599
|
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1546
1600
|
rt,
|
|
1547
|
-
count
|
|
1601
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1548
1602
|
);
|
|
1549
1603
|
return jsi::Value::undefined();
|
|
1550
1604
|
}
|
|
@@ -1556,27 +1610,27 @@ static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants
|
|
|
1556
1610
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1557
1611
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
1558
1612
|
rt,
|
|
1559
|
-
count
|
|
1613
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1560
1614
|
);
|
|
1561
1615
|
}
|
|
1562
1616
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1563
1617
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1564
1618
|
rt,
|
|
1565
|
-
count
|
|
1566
|
-
count
|
|
1619
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1620
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1567
1621
|
);
|
|
1568
1622
|
}
|
|
1569
1623
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1570
1624
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1571
1625
|
rt,
|
|
1572
|
-
count
|
|
1573
|
-
count
|
|
1626
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1627
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1574
1628
|
);
|
|
1575
1629
|
}
|
|
1576
1630
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1577
1631
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1578
1632
|
rt,
|
|
1579
|
-
count
|
|
1633
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1580
1634
|
);
|
|
1581
1635
|
}
|
|
1582
1636
|
|
|
@@ -1597,34 +1651,34 @@ static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi
|
|
|
1597
1651
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1598
1652
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
1599
1653
|
rt,
|
|
1600
|
-
count
|
|
1654
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1601
1655
|
);
|
|
1602
1656
|
}
|
|
1603
1657
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1604
1658
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1605
1659
|
rt,
|
|
1606
|
-
count
|
|
1607
|
-
count
|
|
1660
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1661
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1608
1662
|
);
|
|
1609
1663
|
}
|
|
1610
1664
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1611
1665
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1612
1666
|
rt,
|
|
1613
|
-
count
|
|
1667
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1614
1668
|
);
|
|
1615
1669
|
}
|
|
1616
1670
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1617
1671
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
1618
1672
|
rt,
|
|
1619
|
-
count
|
|
1620
|
-
count
|
|
1621
|
-
count
|
|
1673
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1674
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1675
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1622
1676
|
);
|
|
1623
1677
|
}
|
|
1624
1678
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1625
1679
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1626
1680
|
rt,
|
|
1627
|
-
count
|
|
1681
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1628
1682
|
);
|
|
1629
1683
|
}
|
|
1630
1684
|
|
|
@@ -1645,9 +1699,9 @@ static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(
|
|
|
1645
1699
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1646
1700
|
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1647
1701
|
rt,
|
|
1648
|
-
count
|
|
1649
|
-
count
|
|
1650
|
-
count
|
|
1702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1704
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1651
1705
|
);
|
|
1652
1706
|
return jsi::Value::undefined();
|
|
1653
1707
|
}
|
|
@@ -1665,33 +1719,33 @@ static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi:
|
|
|
1665
1719
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1666
1720
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1667
1721
|
rt,
|
|
1668
|
-
count
|
|
1669
|
-
count
|
|
1670
|
-
count
|
|
1722
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1723
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1724
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1671
1725
|
);
|
|
1672
1726
|
return jsi::Value::undefined();
|
|
1673
1727
|
}
|
|
1674
1728
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1675
1729
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
1676
1730
|
rt,
|
|
1677
|
-
count
|
|
1678
|
-
count
|
|
1731
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1732
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1679
1733
|
);
|
|
1680
1734
|
return jsi::Value::undefined();
|
|
1681
1735
|
}
|
|
1682
1736
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1683
1737
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
1684
1738
|
rt,
|
|
1685
|
-
count
|
|
1739
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1686
1740
|
);
|
|
1687
1741
|
return jsi::Value::undefined();
|
|
1688
1742
|
}
|
|
1689
1743
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1690
1744
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
1691
1745
|
rt,
|
|
1692
|
-
count
|
|
1693
|
-
count
|
|
1694
|
-
count
|
|
1746
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1747
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1748
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1695
1749
|
);
|
|
1696
1750
|
return jsi::Value::undefined();
|
|
1697
1751
|
}
|
|
@@ -1712,13 +1766,13 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi
|
|
|
1712
1766
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1713
1767
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1714
1768
|
rt,
|
|
1715
|
-
count
|
|
1769
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1716
1770
|
);
|
|
1717
1771
|
}
|
|
1718
1772
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1719
1773
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1720
1774
|
rt,
|
|
1721
|
-
count
|
|
1775
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1722
1776
|
);
|
|
1723
1777
|
}
|
|
1724
1778
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1729,7 +1783,7 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi:
|
|
|
1729
1783
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1730
1784
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1731
1785
|
rt,
|
|
1732
|
-
count
|
|
1786
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1733
1787
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
1734
1788
|
);
|
|
1735
1789
|
}
|
|
@@ -1745,7 +1799,7 @@ NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<Cal
|
|
|
1745
1799
|
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1746
1800
|
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
1747
1801
|
rt,
|
|
1748
|
-
count
|
|
1802
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1749
1803
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
1750
1804
|
);
|
|
1751
1805
|
return jsi::Value::undefined();
|
|
@@ -1758,14 +1812,14 @@ NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<C
|
|
|
1758
1812
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1759
1813
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
1760
1814
|
rt,
|
|
1761
|
-
count
|
|
1815
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1762
1816
|
);
|
|
1763
1817
|
return jsi::Value::undefined();
|
|
1764
1818
|
}
|
|
1765
1819
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1766
1820
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1767
1821
|
rt,
|
|
1768
|
-
count
|
|
1822
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1769
1823
|
);
|
|
1770
1824
|
return jsi::Value::undefined();
|
|
1771
1825
|
}
|
|
@@ -1783,13 +1837,13 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(js
|
|
|
1783
1837
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1784
1838
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1785
1839
|
rt,
|
|
1786
|
-
count
|
|
1840
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1787
1841
|
);
|
|
1788
1842
|
}
|
|
1789
1843
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1790
1844
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1791
1845
|
rt,
|
|
1792
|
-
count
|
|
1846
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1793
1847
|
);
|
|
1794
1848
|
}
|
|
1795
1849
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1800,14 +1854,14 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi
|
|
|
1800
1854
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1801
1855
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1802
1856
|
rt,
|
|
1803
|
-
count
|
|
1857
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1804
1858
|
);
|
|
1805
1859
|
return jsi::Value::undefined();
|
|
1806
1860
|
}
|
|
1807
1861
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1808
1862
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1809
1863
|
rt,
|
|
1810
|
-
count
|
|
1864
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1811
1865
|
);
|
|
1812
1866
|
return jsi::Value::undefined();
|
|
1813
1867
|
}
|
|
@@ -1842,14 +1896,14 @@ NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1842
1896
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1843
1897
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1844
1898
|
rt,
|
|
1845
|
-
count
|
|
1899
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1846
1900
|
);
|
|
1847
1901
|
return jsi::Value::undefined();
|
|
1848
1902
|
}
|
|
1849
1903
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1850
1904
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1851
1905
|
rt,
|
|
1852
|
-
count
|
|
1906
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1853
1907
|
);
|
|
1854
1908
|
return jsi::Value::undefined();
|
|
1855
1909
|
}
|
|
@@ -1862,43 +1916,43 @@ NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
1862
1916
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1863
1917
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1864
1918
|
rt,
|
|
1865
|
-
count
|
|
1866
|
-
count
|
|
1867
|
-
count
|
|
1868
|
-
count
|
|
1869
|
-
count
|
|
1870
|
-
count
|
|
1871
|
-
count
|
|
1872
|
-
count
|
|
1873
|
-
count
|
|
1919
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1920
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1921
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
1922
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
1923
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt)),
|
|
1924
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asString(rt)),
|
|
1925
|
+
(count > 6 || (throw jsi::JSError(rt, "Expected argument in position 6 to be passed"), false), args[6].asBool()),
|
|
1926
|
+
(count > 7 || (throw jsi::JSError(rt, "Expected argument in position 7 to be passed"), false), args[7].asNumber()),
|
|
1927
|
+
(count > 8 || (throw jsi::JSError(rt, "Expected argument in position 8 to be passed"), false), args[8].asBool())
|
|
1874
1928
|
);
|
|
1875
1929
|
return jsi::Value::undefined();
|
|
1876
1930
|
}
|
|
1877
1931
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1878
1932
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1879
1933
|
rt,
|
|
1880
|
-
count
|
|
1934
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1881
1935
|
);
|
|
1882
1936
|
return jsi::Value::undefined();
|
|
1883
1937
|
}
|
|
1884
1938
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1885
1939
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1886
1940
|
rt,
|
|
1887
|
-
count
|
|
1941
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1888
1942
|
);
|
|
1889
1943
|
return jsi::Value::undefined();
|
|
1890
1944
|
}
|
|
1891
1945
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1892
1946
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1893
1947
|
rt,
|
|
1894
|
-
count
|
|
1948
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1895
1949
|
);
|
|
1896
1950
|
return jsi::Value::undefined();
|
|
1897
1951
|
}
|
|
1898
1952
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1899
1953
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1900
1954
|
rt,
|
|
1901
|
-
count
|
|
1955
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1902
1956
|
);
|
|
1903
1957
|
return jsi::Value::undefined();
|
|
1904
1958
|
}
|
|
@@ -1914,36 +1968,36 @@ NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared
|
|
|
1914
1968
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1915
1969
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1916
1970
|
rt,
|
|
1917
|
-
count
|
|
1918
|
-
count
|
|
1971
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1972
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1919
1973
|
);
|
|
1920
1974
|
return jsi::Value::undefined();
|
|
1921
1975
|
}
|
|
1922
1976
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1923
1977
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1924
1978
|
rt,
|
|
1925
|
-
count
|
|
1979
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1926
1980
|
);
|
|
1927
1981
|
return jsi::Value::undefined();
|
|
1928
1982
|
}
|
|
1929
1983
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1930
1984
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1931
1985
|
rt,
|
|
1932
|
-
count
|
|
1986
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1933
1987
|
);
|
|
1934
1988
|
return jsi::Value::undefined();
|
|
1935
1989
|
}
|
|
1936
1990
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1937
1991
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1938
1992
|
rt,
|
|
1939
|
-
count
|
|
1993
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1940
1994
|
);
|
|
1941
1995
|
return jsi::Value::undefined();
|
|
1942
1996
|
}
|
|
1943
1997
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1944
1998
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1945
1999
|
rt,
|
|
1946
|
-
count
|
|
2000
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1947
2001
|
);
|
|
1948
2002
|
return jsi::Value::undefined();
|
|
1949
2003
|
}
|
|
@@ -1959,25 +2013,25 @@ NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
|
1959
2013
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1960
2014
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
1961
2015
|
rt,
|
|
1962
|
-
count
|
|
2016
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1963
2017
|
);
|
|
1964
2018
|
}
|
|
1965
2019
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1966
2020
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
1967
2021
|
rt,
|
|
1968
|
-
count
|
|
2022
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1969
2023
|
);
|
|
1970
2024
|
}
|
|
1971
2025
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1972
2026
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
1973
2027
|
rt,
|
|
1974
|
-
count
|
|
2028
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1975
2029
|
);
|
|
1976
2030
|
}
|
|
1977
2031
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1978
2032
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
1979
2033
|
rt,
|
|
1980
|
-
count
|
|
2034
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1981
2035
|
);
|
|
1982
2036
|
}
|
|
1983
2037
|
|
|
@@ -2032,29 +2086,29 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getC
|
|
|
2032
2086
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2033
2087
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
2034
2088
|
rt,
|
|
2035
|
-
count
|
|
2036
|
-
count
|
|
2089
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2090
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2037
2091
|
);
|
|
2038
2092
|
return jsi::Value::undefined();
|
|
2039
2093
|
}
|
|
2040
2094
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2041
2095
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
2042
2096
|
rt,
|
|
2043
|
-
count
|
|
2097
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2044
2098
|
);
|
|
2045
2099
|
return jsi::Value::undefined();
|
|
2046
2100
|
}
|
|
2047
2101
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2048
2102
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
2049
2103
|
rt,
|
|
2050
|
-
count
|
|
2104
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2051
2105
|
);
|
|
2052
2106
|
return jsi::Value::undefined();
|
|
2053
2107
|
}
|
|
2054
2108
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2055
2109
|
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
2056
2110
|
rt,
|
|
2057
|
-
count
|
|
2111
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2058
2112
|
);
|
|
2059
2113
|
}
|
|
2060
2114
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2066,21 +2120,21 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_aban
|
|
|
2066
2120
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2067
2121
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
2068
2122
|
rt,
|
|
2069
|
-
count
|
|
2123
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2070
2124
|
);
|
|
2071
2125
|
return jsi::Value::undefined();
|
|
2072
2126
|
}
|
|
2073
2127
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2074
2128
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
2075
2129
|
rt,
|
|
2076
|
-
count
|
|
2130
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2077
2131
|
);
|
|
2078
2132
|
return jsi::Value::undefined();
|
|
2079
2133
|
}
|
|
2080
2134
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2081
2135
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
2082
2136
|
rt,
|
|
2083
|
-
count
|
|
2137
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2084
2138
|
);
|
|
2085
2139
|
return jsi::Value::undefined();
|
|
2086
2140
|
}
|
|
@@ -2093,7 +2147,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_canc
|
|
|
2093
2147
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2094
2148
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
2095
2149
|
rt,
|
|
2096
|
-
count
|
|
2150
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2097
2151
|
);
|
|
2098
2152
|
return jsi::Value::undefined();
|
|
2099
2153
|
}
|
|
@@ -2105,7 +2159,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getI
|
|
|
2105
2159
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2106
2160
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
2107
2161
|
rt,
|
|
2108
|
-
count
|
|
2162
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2109
2163
|
);
|
|
2110
2164
|
return jsi::Value::undefined();
|
|
2111
2165
|
}
|
|
@@ -2118,35 +2172,35 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_remo
|
|
|
2118
2172
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2119
2173
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
2120
2174
|
rt,
|
|
2121
|
-
count
|
|
2175
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2122
2176
|
);
|
|
2123
2177
|
return jsi::Value::undefined();
|
|
2124
2178
|
}
|
|
2125
2179
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2126
2180
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
2127
2181
|
rt,
|
|
2128
|
-
count
|
|
2182
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2129
2183
|
);
|
|
2130
2184
|
return jsi::Value::undefined();
|
|
2131
2185
|
}
|
|
2132
2186
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2133
2187
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
2134
2188
|
rt,
|
|
2135
|
-
count
|
|
2189
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2136
2190
|
);
|
|
2137
2191
|
return jsi::Value::undefined();
|
|
2138
2192
|
}
|
|
2139
2193
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2140
2194
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2141
2195
|
rt,
|
|
2142
|
-
count
|
|
2196
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2143
2197
|
);
|
|
2144
2198
|
return jsi::Value::undefined();
|
|
2145
2199
|
}
|
|
2146
2200
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2147
2201
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2148
2202
|
rt,
|
|
2149
|
-
count
|
|
2203
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2150
2204
|
);
|
|
2151
2205
|
return jsi::Value::undefined();
|
|
2152
2206
|
}
|
|
@@ -2176,8 +2230,8 @@ NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxS
|
|
|
2176
2230
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2177
2231
|
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2178
2232
|
rt,
|
|
2179
|
-
count
|
|
2180
|
-
count
|
|
2233
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2234
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2181
2235
|
);
|
|
2182
2236
|
return jsi::Value::undefined();
|
|
2183
2237
|
}
|
|
@@ -2207,70 +2261,70 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc(jsi:
|
|
|
2207
2261
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2208
2262
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
2209
2263
|
rt,
|
|
2210
|
-
count
|
|
2264
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2211
2265
|
);
|
|
2212
2266
|
}
|
|
2213
2267
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2214
2268
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
2215
2269
|
rt,
|
|
2216
|
-
count
|
|
2270
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2217
2271
|
);
|
|
2218
2272
|
}
|
|
2219
2273
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2220
2274
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2221
2275
|
rt,
|
|
2222
|
-
count
|
|
2276
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2223
2277
|
);
|
|
2224
2278
|
}
|
|
2225
2279
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2226
2280
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2227
2281
|
rt,
|
|
2228
|
-
count
|
|
2282
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2229
2283
|
);
|
|
2230
2284
|
}
|
|
2231
2285
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2232
2286
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2233
2287
|
rt,
|
|
2234
|
-
count
|
|
2288
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2235
2289
|
);
|
|
2236
2290
|
}
|
|
2237
2291
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2238
2292
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2239
2293
|
rt,
|
|
2240
|
-
count
|
|
2294
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2241
2295
|
);
|
|
2242
2296
|
}
|
|
2243
2297
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2244
2298
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2245
2299
|
rt,
|
|
2246
|
-
count
|
|
2300
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2247
2301
|
);
|
|
2248
2302
|
}
|
|
2249
2303
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2250
2304
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2251
2305
|
rt,
|
|
2252
|
-
count
|
|
2306
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2253
2307
|
);
|
|
2254
2308
|
}
|
|
2255
2309
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2256
2310
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2257
2311
|
rt,
|
|
2258
|
-
count
|
|
2259
|
-
count
|
|
2260
|
-
count
|
|
2312
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2313
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2314
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2261
2315
|
);
|
|
2262
2316
|
}
|
|
2263
2317
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2264
2318
|
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2265
2319
|
rt,
|
|
2266
|
-
count
|
|
2320
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2267
2321
|
);
|
|
2268
2322
|
return jsi::Value::undefined();
|
|
2269
2323
|
}
|
|
2270
2324
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2271
2325
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2272
2326
|
rt,
|
|
2273
|
-
count
|
|
2327
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2274
2328
|
);
|
|
2275
2329
|
}
|
|
2276
2330
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2282,7 +2336,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrow
|
|
|
2282
2336
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2283
2337
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectThrows(
|
|
2284
2338
|
rt,
|
|
2285
|
-
count
|
|
2339
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2286
2340
|
);
|
|
2287
2341
|
}
|
|
2288
2342
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2299,7 +2353,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAsser
|
|
|
2299
2353
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2300
2354
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectAssert(
|
|
2301
2355
|
rt,
|
|
2302
|
-
count
|
|
2356
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2303
2357
|
);
|
|
2304
2358
|
}
|
|
2305
2359
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2339,18 +2393,18 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared
|
|
|
2339
2393
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2340
2394
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2341
2395
|
rt,
|
|
2342
|
-
count
|
|
2343
|
-
count
|
|
2344
|
-
count
|
|
2396
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2397
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2398
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2345
2399
|
);
|
|
2346
2400
|
return jsi::Value::undefined();
|
|
2347
2401
|
}
|
|
2348
2402
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2349
2403
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2350
2404
|
rt,
|
|
2351
|
-
count
|
|
2352
|
-
count
|
|
2353
|
-
count
|
|
2405
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2406
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2407
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2354
2408
|
);
|
|
2355
2409
|
return jsi::Value::undefined();
|
|
2356
2410
|
}
|
|
@@ -2368,14 +2422,14 @@ static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(js
|
|
|
2368
2422
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2369
2423
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
2370
2424
|
rt,
|
|
2371
|
-
count
|
|
2425
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2372
2426
|
);
|
|
2373
2427
|
return jsi::Value::undefined();
|
|
2374
2428
|
}
|
|
2375
2429
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2376
2430
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
2377
2431
|
rt,
|
|
2378
|
-
count
|
|
2432
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2379
2433
|
);
|
|
2380
2434
|
return jsi::Value::undefined();
|
|
2381
2435
|
}
|
|
@@ -2394,7 +2448,7 @@ static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::R
|
|
|
2394
2448
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2395
2449
|
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
2396
2450
|
rt,
|
|
2397
|
-
count
|
|
2451
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2398
2452
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2399
2453
|
);
|
|
2400
2454
|
}
|
|
@@ -2433,15 +2487,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getCons
|
|
|
2433
2487
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2434
2488
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
|
2435
2489
|
rt,
|
|
2436
|
-
count
|
|
2437
|
-
count
|
|
2490
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2491
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2438
2492
|
);
|
|
2439
2493
|
return jsi::Value::undefined();
|
|
2440
2494
|
}
|
|
2441
2495
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2442
2496
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
|
2443
2497
|
rt,
|
|
2444
|
-
count
|
|
2498
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2445
2499
|
);
|
|
2446
2500
|
return jsi::Value::undefined();
|
|
2447
2501
|
}
|
|
@@ -2455,7 +2509,7 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyl
|
|
|
2455
2509
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2456
2510
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2457
2511
|
rt,
|
|
2458
|
-
count
|
|
2512
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2459
2513
|
);
|
|
2460
2514
|
return jsi::Value::undefined();
|
|
2461
2515
|
}
|
|
@@ -2476,28 +2530,28 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstant
|
|
|
2476
2530
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2477
2531
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
|
2478
2532
|
rt,
|
|
2479
|
-
count
|
|
2533
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2480
2534
|
);
|
|
2481
2535
|
return jsi::Value::undefined();
|
|
2482
2536
|
}
|
|
2483
2537
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2484
2538
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
|
2485
2539
|
rt,
|
|
2486
|
-
count
|
|
2540
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2487
2541
|
);
|
|
2488
2542
|
return jsi::Value::undefined();
|
|
2489
2543
|
}
|
|
2490
2544
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2491
2545
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2492
2546
|
rt,
|
|
2493
|
-
count
|
|
2547
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2494
2548
|
);
|
|
2495
2549
|
return jsi::Value::undefined();
|
|
2496
2550
|
}
|
|
2497
2551
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2498
2552
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2499
2553
|
rt,
|
|
2500
|
-
count
|
|
2554
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2501
2555
|
);
|
|
2502
2556
|
return jsi::Value::undefined();
|
|
2503
2557
|
}
|
|
@@ -2505,15 +2559,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(js
|
|
|
2505
2559
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2506
2560
|
rt,
|
|
2507
2561
|
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)),
|
|
2508
|
-
count
|
|
2562
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2509
2563
|
);
|
|
2510
2564
|
return jsi::Value::undefined();
|
|
2511
2565
|
}
|
|
2512
2566
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2513
2567
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2514
2568
|
rt,
|
|
2515
|
-
count
|
|
2516
|
-
count
|
|
2569
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool()),
|
|
2570
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2517
2571
|
);
|
|
2518
2572
|
return jsi::Value::undefined();
|
|
2519
2573
|
}
|
|
@@ -2531,24 +2585,24 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
|
2531
2585
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2532
2586
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2533
2587
|
rt,
|
|
2534
|
-
count
|
|
2535
|
-
count
|
|
2536
|
-
count
|
|
2537
|
-
count
|
|
2588
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2589
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2590
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2591
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asBool())
|
|
2538
2592
|
);
|
|
2539
2593
|
return jsi::Value::undefined();
|
|
2540
2594
|
}
|
|
2541
2595
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2542
2596
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2543
2597
|
rt,
|
|
2544
|
-
count
|
|
2598
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2545
2599
|
);
|
|
2546
2600
|
return jsi::Value::undefined();
|
|
2547
2601
|
}
|
|
2548
2602
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2549
2603
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2550
2604
|
rt,
|
|
2551
|
-
count
|
|
2605
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2552
2606
|
);
|
|
2553
2607
|
return jsi::Value::undefined();
|
|
2554
2608
|
}
|
|
@@ -2567,28 +2621,28 @@ static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::
|
|
|
2567
2621
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2568
2622
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
|
2569
2623
|
rt,
|
|
2570
|
-
count
|
|
2571
|
-
count
|
|
2624
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2625
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2572
2626
|
);
|
|
2573
2627
|
return jsi::Value::undefined();
|
|
2574
2628
|
}
|
|
2575
2629
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2576
2630
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
|
2577
2631
|
rt,
|
|
2578
|
-
count
|
|
2579
|
-
count
|
|
2580
|
-
count
|
|
2632
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2633
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2634
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2581
2635
|
);
|
|
2582
2636
|
return jsi::Value::undefined();
|
|
2583
2637
|
}
|
|
2584
2638
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2585
2639
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
|
2586
2640
|
rt,
|
|
2587
|
-
count
|
|
2588
|
-
count
|
|
2589
|
-
count
|
|
2590
|
-
count
|
|
2591
|
-
count
|
|
2641
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2642
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2643
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2644
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber()),
|
|
2645
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asNumber())
|
|
2592
2646
|
);
|
|
2593
2647
|
return jsi::Value::undefined();
|
|
2594
2648
|
}
|
|
@@ -2608,36 +2662,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Run
|
|
|
2608
2662
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_createView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2609
2663
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
2610
2664
|
rt,
|
|
2611
|
-
count
|
|
2612
|
-
count
|
|
2613
|
-
count
|
|
2614
|
-
count
|
|
2665
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2666
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2667
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2668
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt))
|
|
2615
2669
|
);
|
|
2616
2670
|
return jsi::Value::undefined();
|
|
2617
2671
|
}
|
|
2618
2672
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_updateView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2619
2673
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
2620
2674
|
rt,
|
|
2621
|
-
count
|
|
2622
|
-
count
|
|
2623
|
-
count
|
|
2675
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2676
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2677
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2624
2678
|
);
|
|
2625
2679
|
return jsi::Value::undefined();
|
|
2626
2680
|
}
|
|
2627
2681
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2628
2682
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
2629
2683
|
rt,
|
|
2630
|
-
count
|
|
2631
|
-
count
|
|
2632
|
-
count
|
|
2684
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2685
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2686
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2633
2687
|
);
|
|
2634
2688
|
return jsi::Value::undefined();
|
|
2635
2689
|
}
|
|
2636
2690
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2637
2691
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
2638
2692
|
rt,
|
|
2639
|
-
count
|
|
2640
|
-
count
|
|
2693
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2694
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2641
2695
|
count <= 2 || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
2642
2696
|
);
|
|
2643
2697
|
return jsi::Value::undefined();
|
|
@@ -2645,52 +2699,52 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCo
|
|
|
2645
2699
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2646
2700
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
2647
2701
|
rt,
|
|
2648
|
-
count
|
|
2649
|
-
count
|
|
2702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2650
2704
|
);
|
|
2651
2705
|
return jsi::Value::undefined();
|
|
2652
2706
|
}
|
|
2653
2707
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2654
2708
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
2655
2709
|
rt,
|
|
2656
|
-
count
|
|
2657
|
-
count
|
|
2710
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2711
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2658
2712
|
);
|
|
2659
2713
|
return jsi::Value::undefined();
|
|
2660
2714
|
}
|
|
2661
2715
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2662
2716
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
2663
2717
|
rt,
|
|
2664
|
-
count
|
|
2665
|
-
count
|
|
2666
|
-
count
|
|
2718
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2719
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2720
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2667
2721
|
);
|
|
2668
2722
|
return jsi::Value::undefined();
|
|
2669
2723
|
}
|
|
2670
2724
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2671
2725
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
2672
2726
|
rt,
|
|
2673
|
-
count
|
|
2674
|
-
count
|
|
2675
|
-
count
|
|
2676
|
-
count
|
|
2727
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2728
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2729
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
2730
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
2677
2731
|
);
|
|
2678
2732
|
return jsi::Value::undefined();
|
|
2679
2733
|
}
|
|
2680
2734
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2681
2735
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
2682
2736
|
rt,
|
|
2683
|
-
count
|
|
2684
|
-
count
|
|
2685
|
-
count
|
|
2737
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2738
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2739
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2686
2740
|
);
|
|
2687
2741
|
return jsi::Value::undefined();
|
|
2688
2742
|
}
|
|
2689
2743
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2690
2744
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
2691
2745
|
rt,
|
|
2692
|
-
count
|
|
2693
|
-
count
|
|
2746
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2747
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2694
2748
|
);
|
|
2695
2749
|
return jsi::Value::undefined();
|
|
2696
2750
|
}
|
|
@@ -2703,36 +2757,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder(jsi:
|
|
|
2703
2757
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2704
2758
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
2705
2759
|
rt,
|
|
2706
|
-
count
|
|
2707
|
-
count
|
|
2708
|
-
count
|
|
2760
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2761
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2762
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2709
2763
|
);
|
|
2710
2764
|
return jsi::Value::undefined();
|
|
2711
2765
|
}
|
|
2712
2766
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2713
2767
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
2714
2768
|
rt,
|
|
2715
|
-
count
|
|
2716
|
-
count
|
|
2769
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2770
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt))
|
|
2717
2771
|
);
|
|
2718
2772
|
return jsi::Value::undefined();
|
|
2719
2773
|
}
|
|
2720
2774
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2721
2775
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
2722
2776
|
rt,
|
|
2723
|
-
count
|
|
2724
|
-
count
|
|
2725
|
-
count
|
|
2726
|
-
count
|
|
2727
|
-
count
|
|
2728
|
-
count
|
|
2777
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2778
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2779
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asArray(rt)),
|
|
2780
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
2781
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt).asArray(rt)),
|
|
2782
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asObject(rt).asArray(rt))
|
|
2729
2783
|
);
|
|
2730
2784
|
return jsi::Value::undefined();
|
|
2731
2785
|
}
|
|
2732
2786
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2733
2787
|
auto result = static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
2734
2788
|
rt,
|
|
2735
|
-
count
|
|
2789
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2736
2790
|
);
|
|
2737
2791
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2738
2792
|
}
|
|
@@ -2744,35 +2798,35 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes(
|
|
|
2744
2798
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2745
2799
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
2746
2800
|
rt,
|
|
2747
|
-
count
|
|
2801
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2748
2802
|
);
|
|
2749
2803
|
return jsi::Value::undefined();
|
|
2750
2804
|
}
|
|
2751
2805
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2752
2806
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
2753
2807
|
rt,
|
|
2754
|
-
count
|
|
2755
|
-
count
|
|
2808
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2809
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2756
2810
|
);
|
|
2757
2811
|
return jsi::Value::undefined();
|
|
2758
2812
|
}
|
|
2759
2813
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2760
2814
|
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
2761
2815
|
rt,
|
|
2762
|
-
count
|
|
2816
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2763
2817
|
);
|
|
2764
2818
|
}
|
|
2765
2819
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_focus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2766
2820
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
2767
2821
|
rt,
|
|
2768
|
-
count
|
|
2822
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2769
2823
|
);
|
|
2770
2824
|
return jsi::Value::undefined();
|
|
2771
2825
|
}
|
|
2772
2826
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_blur(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2773
2827
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
2774
2828
|
rt,
|
|
2775
|
-
count
|
|
2829
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2776
2830
|
);
|
|
2777
2831
|
return jsi::Value::undefined();
|
|
2778
2832
|
}
|
|
@@ -2810,15 +2864,15 @@ static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Run
|
|
|
2810
2864
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2811
2865
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
2812
2866
|
rt,
|
|
2813
|
-
count
|
|
2867
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2814
2868
|
);
|
|
2815
2869
|
return jsi::Value::undefined();
|
|
2816
2870
|
}
|
|
2817
2871
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2818
2872
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
2819
2873
|
rt,
|
|
2820
|
-
count
|
|
2821
|
-
count
|
|
2874
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
2875
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2822
2876
|
);
|
|
2823
2877
|
return jsi::Value::undefined();
|
|
2824
2878
|
}
|
|
@@ -2839,56 +2893,56 @@ NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
2839
2893
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2840
2894
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
2841
2895
|
rt,
|
|
2842
|
-
count
|
|
2896
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2843
2897
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
|
2844
|
-
count
|
|
2845
|
-
count
|
|
2898
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
2899
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber())
|
|
2846
2900
|
);
|
|
2847
2901
|
return jsi::Value::undefined();
|
|
2848
2902
|
}
|
|
2849
2903
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2850
2904
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2851
2905
|
rt,
|
|
2852
|
-
count
|
|
2853
|
-
count
|
|
2906
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2907
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2854
2908
|
);
|
|
2855
2909
|
return jsi::Value::undefined();
|
|
2856
2910
|
}
|
|
2857
2911
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2858
2912
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2859
2913
|
rt,
|
|
2860
|
-
count
|
|
2861
|
-
count
|
|
2914
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2915
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2862
2916
|
);
|
|
2863
2917
|
return jsi::Value::undefined();
|
|
2864
2918
|
}
|
|
2865
2919
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2866
2920
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2867
2921
|
rt,
|
|
2868
|
-
count
|
|
2922
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2869
2923
|
);
|
|
2870
2924
|
return jsi::Value::undefined();
|
|
2871
2925
|
}
|
|
2872
2926
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2873
2927
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2874
2928
|
rt,
|
|
2875
|
-
count
|
|
2876
|
-
count
|
|
2877
|
-
count
|
|
2929
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2930
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2931
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2878
2932
|
);
|
|
2879
2933
|
return jsi::Value::undefined();
|
|
2880
2934
|
}
|
|
2881
2935
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2882
2936
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2883
2937
|
rt,
|
|
2884
|
-
count
|
|
2938
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2885
2939
|
);
|
|
2886
2940
|
return jsi::Value::undefined();
|
|
2887
2941
|
}
|
|
2888
2942
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2889
2943
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2890
2944
|
rt,
|
|
2891
|
-
count
|
|
2945
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2892
2946
|
);
|
|
2893
2947
|
return jsi::Value::undefined();
|
|
2894
2948
|
}
|
|
@@ -2918,14 +2972,14 @@ static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt
|
|
|
2918
2972
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2919
2973
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2920
2974
|
rt,
|
|
2921
|
-
count
|
|
2975
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2922
2976
|
);
|
|
2923
2977
|
return jsi::Value::undefined();
|
|
2924
2978
|
}
|
|
2925
2979
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2926
2980
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2927
2981
|
rt,
|
|
2928
|
-
count
|
|
2982
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2929
2983
|
);
|
|
2930
2984
|
return jsi::Value::undefined();
|
|
2931
2985
|
}
|
|
@@ -2940,7 +2994,7 @@ NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> js
|
|
|
2940
2994
|
static jsi::Value __hostFunction_NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI_setReloadAndProfileConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2941
2995
|
static_cast<NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI *>(&turboModule)->setReloadAndProfileConfig(
|
|
2942
2996
|
rt,
|
|
2943
|
-
count
|
|
2997
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2944
2998
|
);
|
|
2945
2999
|
return jsi::Value::undefined();
|
|
2946
3000
|
}
|
|
@@ -2958,7 +3012,7 @@ NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI::NativeReactDevToolsRuntimeSe
|
|
|
2958
3012
|
static jsi::Value __hostFunction_NativeReactDevToolsSettingsManagerCxxSpecJSI_setGlobalHookSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2959
3013
|
static_cast<NativeReactDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setGlobalHookSettings(
|
|
2960
3014
|
rt,
|
|
2961
|
-
count
|
|
3015
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2962
3016
|
);
|
|
2963
3017
|
return jsi::Value::undefined();
|
|
2964
3018
|
}
|
|
@@ -2977,14 +3031,14 @@ NativeReactDevToolsSettingsManagerCxxSpecJSI::NativeReactDevToolsSettingsManager
|
|
|
2977
3031
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_requestIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2978
3032
|
return static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->requestIdleCallback(
|
|
2979
3033
|
rt,
|
|
2980
|
-
count
|
|
3034
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
2981
3035
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
|
|
2982
3036
|
);
|
|
2983
3037
|
}
|
|
2984
3038
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_cancelIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2985
3039
|
static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->cancelIdleCallback(
|
|
2986
3040
|
rt,
|
|
2987
|
-
count
|
|
3041
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
2988
3042
|
);
|
|
2989
3043
|
return jsi::Value::undefined();
|
|
2990
3044
|
}
|
|
@@ -2994,39 +3048,24 @@ NativeIdleCallbacksCxxSpecJSI::NativeIdleCallbacksCxxSpecJSI(std::shared_ptr<Cal
|
|
|
2994
3048
|
methodMap_["requestIdleCallback"] = MethodMetadata {2, __hostFunction_NativeIdleCallbacksCxxSpecJSI_requestIdleCallback};
|
|
2995
3049
|
methodMap_["cancelIdleCallback"] = MethodMetadata {1, __hostFunction_NativeIdleCallbacksCxxSpecJSI_cancelIdleCallback};
|
|
2996
3050
|
}
|
|
2997
|
-
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2998
|
-
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
2999
|
-
rt,
|
|
3000
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
|
|
3001
|
-
);
|
|
3002
|
-
return jsi::Value::undefined();
|
|
3003
|
-
}
|
|
3004
|
-
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3005
|
-
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
3006
|
-
rt,
|
|
3007
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
|
|
3008
|
-
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : jsi::Value(rt, args[1])
|
|
3009
|
-
);
|
|
3010
|
-
return jsi::Value::undefined();
|
|
3011
|
-
}
|
|
3012
3051
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observeV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3013
3052
|
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observeV2(
|
|
3014
3053
|
rt,
|
|
3015
|
-
count
|
|
3054
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3016
3055
|
);
|
|
3017
3056
|
}
|
|
3018
3057
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserveV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3019
3058
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserveV2(
|
|
3020
3059
|
rt,
|
|
3021
|
-
count
|
|
3022
|
-
count
|
|
3060
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3061
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3023
3062
|
);
|
|
3024
3063
|
return jsi::Value::undefined();
|
|
3025
3064
|
}
|
|
3026
3065
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3027
3066
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3028
3067
|
rt,
|
|
3029
|
-
count
|
|
3068
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3030
3069
|
);
|
|
3031
3070
|
return jsi::Value::undefined();
|
|
3032
3071
|
}
|
|
@@ -3044,8 +3083,6 @@ static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecord
|
|
|
3044
3083
|
|
|
3045
3084
|
NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
3046
3085
|
: TurboModule("NativeIntersectionObserverCxx", jsInvoker) {
|
|
3047
|
-
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe};
|
|
3048
|
-
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve};
|
|
3049
3086
|
methodMap_["observeV2"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_observeV2};
|
|
3050
3087
|
methodMap_["unobserveV2"] = MethodMetadata {2, __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserveV2};
|
|
3051
3088
|
methodMap_["connect"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect};
|
|
@@ -3055,7 +3092,7 @@ NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::
|
|
|
3055
3092
|
static jsi::Value __hostFunction_NativeMicrotasksCxxSpecJSI_queueMicrotask(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3056
3093
|
static_cast<NativeMicrotasksCxxSpecJSI *>(&turboModule)->queueMicrotask(
|
|
3057
3094
|
rt,
|
|
3058
|
-
count
|
|
3095
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3059
3096
|
);
|
|
3060
3097
|
return jsi::Value::undefined();
|
|
3061
3098
|
}
|
|
@@ -3067,22 +3104,22 @@ NativeMicrotasksCxxSpecJSI::NativeMicrotasksCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
3067
3104
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3068
3105
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
3069
3106
|
rt,
|
|
3070
|
-
count
|
|
3107
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3071
3108
|
);
|
|
3072
3109
|
return jsi::Value::undefined();
|
|
3073
3110
|
}
|
|
3074
3111
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserveAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3075
3112
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserveAll(
|
|
3076
3113
|
rt,
|
|
3077
|
-
count
|
|
3114
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3078
3115
|
);
|
|
3079
3116
|
return jsi::Value::undefined();
|
|
3080
3117
|
}
|
|
3081
3118
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3082
3119
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3083
3120
|
rt,
|
|
3084
|
-
count
|
|
3085
|
-
count
|
|
3121
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
3122
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3086
3123
|
);
|
|
3087
3124
|
return jsi::Value::undefined();
|
|
3088
3125
|
}
|
|
@@ -3111,23 +3148,36 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_now(jsi::Runtime &r
|
|
|
3111
3148
|
rt
|
|
3112
3149
|
);
|
|
3113
3150
|
}
|
|
3114
|
-
static jsi::Value
|
|
3115
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->
|
|
3151
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_timeOrigin(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3152
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->timeOrigin(
|
|
3153
|
+
rt
|
|
3154
|
+
);
|
|
3155
|
+
}
|
|
3156
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_reportMark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3157
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->reportMark(
|
|
3116
3158
|
rt,
|
|
3117
|
-
count
|
|
3118
|
-
count
|
|
3159
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3160
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
3161
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), jsi::Value(rt, args[2]))
|
|
3119
3162
|
);
|
|
3163
|
+
return jsi::Value::undefined();
|
|
3120
3164
|
}
|
|
3121
|
-
static jsi::Value
|
|
3122
|
-
|
|
3165
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_reportMeasure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3166
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->reportMeasure(
|
|
3123
3167
|
rt,
|
|
3124
|
-
count
|
|
3125
|
-
count
|
|
3126
|
-
count
|
|
3127
|
-
count
|
|
3128
|
-
count <= 4 || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)),
|
|
3129
|
-
count <= 5 || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt))
|
|
3168
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3169
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
3170
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
3171
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), jsi::Value(rt, args[3]))
|
|
3130
3172
|
);
|
|
3173
|
+
return jsi::Value::undefined();
|
|
3174
|
+
}
|
|
3175
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getMarkTime(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3176
|
+
auto result = static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getMarkTime(
|
|
3177
|
+
rt,
|
|
3178
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
3179
|
+
);
|
|
3180
|
+
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
3131
3181
|
}
|
|
3132
3182
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_clearMarks(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3133
3183
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->clearMarks(
|
|
@@ -3151,14 +3201,14 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntries(jsi::Run
|
|
|
3151
3201
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3152
3202
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByName(
|
|
3153
3203
|
rt,
|
|
3154
|
-
count
|
|
3204
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3155
3205
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber())
|
|
3156
3206
|
);
|
|
3157
3207
|
}
|
|
3158
3208
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByType(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3159
3209
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByType(
|
|
3160
3210
|
rt,
|
|
3161
|
-
count
|
|
3211
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3162
3212
|
);
|
|
3163
3213
|
}
|
|
3164
3214
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3179,35 +3229,35 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStart
|
|
|
3179
3229
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_createObserver(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3180
3230
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->createObserver(
|
|
3181
3231
|
rt,
|
|
3182
|
-
count
|
|
3232
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3183
3233
|
);
|
|
3184
3234
|
}
|
|
3185
3235
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getDroppedEntriesCount(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3186
3236
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getDroppedEntriesCount(
|
|
3187
3237
|
rt,
|
|
3188
|
-
count
|
|
3238
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3189
3239
|
);
|
|
3190
3240
|
}
|
|
3191
3241
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3192
3242
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->observe(
|
|
3193
3243
|
rt,
|
|
3194
|
-
count
|
|
3195
|
-
count
|
|
3244
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3245
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
3196
3246
|
);
|
|
3197
3247
|
return jsi::Value::undefined();
|
|
3198
3248
|
}
|
|
3199
3249
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3200
3250
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->disconnect(
|
|
3201
3251
|
rt,
|
|
3202
|
-
count
|
|
3252
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3203
3253
|
);
|
|
3204
3254
|
return jsi::Value::undefined();
|
|
3205
3255
|
}
|
|
3206
3256
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3207
3257
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
3208
3258
|
rt,
|
|
3209
|
-
count
|
|
3210
|
-
count
|
|
3259
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3260
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3211
3261
|
);
|
|
3212
3262
|
}
|
|
3213
3263
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSupportedPerformanceEntryTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3215,12 +3265,20 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSupportedPerform
|
|
|
3215
3265
|
rt
|
|
3216
3266
|
);
|
|
3217
3267
|
}
|
|
3268
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_clearEventCountsForTesting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3269
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->clearEventCountsForTesting(
|
|
3270
|
+
rt
|
|
3271
|
+
);
|
|
3272
|
+
return jsi::Value::undefined();
|
|
3273
|
+
}
|
|
3218
3274
|
|
|
3219
3275
|
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
3220
3276
|
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
|
3221
3277
|
methodMap_["now"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_now};
|
|
3222
|
-
methodMap_["
|
|
3223
|
-
methodMap_["
|
|
3278
|
+
methodMap_["timeOrigin"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_timeOrigin};
|
|
3279
|
+
methodMap_["reportMark"] = MethodMetadata {3, __hostFunction_NativePerformanceCxxSpecJSI_reportMark};
|
|
3280
|
+
methodMap_["reportMeasure"] = MethodMetadata {4, __hostFunction_NativePerformanceCxxSpecJSI_reportMeasure};
|
|
3281
|
+
methodMap_["getMarkTime"] = MethodMetadata {1, __hostFunction_NativePerformanceCxxSpecJSI_getMarkTime};
|
|
3224
3282
|
methodMap_["clearMarks"] = MethodMetadata {1, __hostFunction_NativePerformanceCxxSpecJSI_clearMarks};
|
|
3225
3283
|
methodMap_["clearMeasures"] = MethodMetadata {1, __hostFunction_NativePerformanceCxxSpecJSI_clearMeasures};
|
|
3226
3284
|
methodMap_["getEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getEntries};
|
|
@@ -3235,142 +3293,150 @@ NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
3235
3293
|
methodMap_["disconnect"] = MethodMetadata {1, __hostFunction_NativePerformanceCxxSpecJSI_disconnect};
|
|
3236
3294
|
methodMap_["takeRecords"] = MethodMetadata {2, __hostFunction_NativePerformanceCxxSpecJSI_takeRecords};
|
|
3237
3295
|
methodMap_["getSupportedPerformanceEntryTypes"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSupportedPerformanceEntryTypes};
|
|
3296
|
+
methodMap_["clearEventCountsForTesting"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_clearEventCountsForTesting};
|
|
3238
3297
|
}
|
|
3239
3298
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_compareDocumentPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3240
3299
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->compareDocumentPosition(
|
|
3241
3300
|
rt,
|
|
3242
|
-
count
|
|
3243
|
-
count
|
|
3301
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3302
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3244
3303
|
);
|
|
3245
3304
|
}
|
|
3246
3305
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getChildNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3247
3306
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getChildNodes(
|
|
3248
3307
|
rt,
|
|
3249
|
-
count
|
|
3308
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3309
|
+
);
|
|
3310
|
+
}
|
|
3311
|
+
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getElementById(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3312
|
+
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getElementById(
|
|
3313
|
+
rt,
|
|
3314
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3315
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
3250
3316
|
);
|
|
3251
3317
|
}
|
|
3252
3318
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getParentNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3253
3319
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getParentNode(
|
|
3254
3320
|
rt,
|
|
3255
|
-
count
|
|
3321
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3256
3322
|
);
|
|
3257
3323
|
}
|
|
3258
3324
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_isConnected(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3259
3325
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->isConnected(
|
|
3260
3326
|
rt,
|
|
3261
|
-
count
|
|
3327
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3262
3328
|
);
|
|
3263
3329
|
}
|
|
3264
3330
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBorderWidth(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3265
3331
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBorderWidth(
|
|
3266
3332
|
rt,
|
|
3267
|
-
count
|
|
3333
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3268
3334
|
);
|
|
3269
3335
|
}
|
|
3270
3336
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBoundingClientRect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3271
3337
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBoundingClientRect(
|
|
3272
3338
|
rt,
|
|
3273
|
-
count
|
|
3274
|
-
count
|
|
3339
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3340
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3275
3341
|
);
|
|
3276
3342
|
}
|
|
3277
3343
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getInnerSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3278
3344
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getInnerSize(
|
|
3279
3345
|
rt,
|
|
3280
|
-
count
|
|
3346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3281
3347
|
);
|
|
3282
3348
|
}
|
|
3283
3349
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3284
3350
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollPosition(
|
|
3285
3351
|
rt,
|
|
3286
|
-
count
|
|
3352
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3287
3353
|
);
|
|
3288
3354
|
}
|
|
3289
3355
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3290
3356
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollSize(
|
|
3291
3357
|
rt,
|
|
3292
|
-
count
|
|
3358
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3293
3359
|
);
|
|
3294
3360
|
}
|
|
3295
3361
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTagName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3296
3362
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTagName(
|
|
3297
3363
|
rt,
|
|
3298
|
-
count
|
|
3364
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3299
3365
|
);
|
|
3300
3366
|
}
|
|
3301
3367
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTextContent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3302
3368
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTextContent(
|
|
3303
3369
|
rt,
|
|
3304
|
-
count
|
|
3370
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3305
3371
|
);
|
|
3306
3372
|
}
|
|
3307
3373
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_hasPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3308
3374
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->hasPointerCapture(
|
|
3309
3375
|
rt,
|
|
3310
|
-
count
|
|
3311
|
-
count
|
|
3376
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3377
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3312
3378
|
);
|
|
3313
3379
|
}
|
|
3314
3380
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_releasePointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3315
3381
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->releasePointerCapture(
|
|
3316
3382
|
rt,
|
|
3317
|
-
count
|
|
3318
|
-
count
|
|
3383
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3384
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3319
3385
|
);
|
|
3320
3386
|
return jsi::Value::undefined();
|
|
3321
3387
|
}
|
|
3322
3388
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3323
3389
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setPointerCapture(
|
|
3324
3390
|
rt,
|
|
3325
|
-
count
|
|
3326
|
-
count
|
|
3391
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3392
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3327
3393
|
);
|
|
3328
3394
|
return jsi::Value::undefined();
|
|
3329
3395
|
}
|
|
3330
3396
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3331
3397
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getOffset(
|
|
3332
3398
|
rt,
|
|
3333
|
-
count
|
|
3399
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3334
3400
|
);
|
|
3335
3401
|
}
|
|
3336
3402
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_linkRootNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3337
3403
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->linkRootNode(
|
|
3338
3404
|
rt,
|
|
3339
|
-
count
|
|
3340
|
-
count
|
|
3405
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3406
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3341
3407
|
);
|
|
3342
3408
|
}
|
|
3343
3409
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3344
3410
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measure(
|
|
3345
3411
|
rt,
|
|
3346
|
-
count
|
|
3347
|
-
count
|
|
3412
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3413
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3348
3414
|
);
|
|
3349
3415
|
return jsi::Value::undefined();
|
|
3350
3416
|
}
|
|
3351
3417
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3352
3418
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
3353
3419
|
rt,
|
|
3354
|
-
count
|
|
3355
|
-
count
|
|
3420
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3421
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3356
3422
|
);
|
|
3357
3423
|
return jsi::Value::undefined();
|
|
3358
3424
|
}
|
|
3359
3425
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3360
3426
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
3361
3427
|
rt,
|
|
3362
|
-
count
|
|
3363
|
-
count
|
|
3364
|
-
count
|
|
3365
|
-
count
|
|
3428
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3429
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1])),
|
|
3430
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
3431
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
3366
3432
|
);
|
|
3367
3433
|
return jsi::Value::undefined();
|
|
3368
3434
|
}
|
|
3369
3435
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setNativeProps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3370
3436
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setNativeProps(
|
|
3371
3437
|
rt,
|
|
3372
|
-
count
|
|
3373
|
-
count
|
|
3438
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3439
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3374
3440
|
);
|
|
3375
3441
|
return jsi::Value::undefined();
|
|
3376
3442
|
}
|
|
@@ -3379,6 +3445,7 @@ NativeDOMCxxSpecJSI::NativeDOMCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
|
3379
3445
|
: TurboModule("NativeDOMCxx", jsInvoker) {
|
|
3380
3446
|
methodMap_["compareDocumentPosition"] = MethodMetadata {2, __hostFunction_NativeDOMCxxSpecJSI_compareDocumentPosition};
|
|
3381
3447
|
methodMap_["getChildNodes"] = MethodMetadata {1, __hostFunction_NativeDOMCxxSpecJSI_getChildNodes};
|
|
3448
|
+
methodMap_["getElementById"] = MethodMetadata {2, __hostFunction_NativeDOMCxxSpecJSI_getElementById};
|
|
3382
3449
|
methodMap_["getParentNode"] = MethodMetadata {1, __hostFunction_NativeDOMCxxSpecJSI_getParentNode};
|
|
3383
3450
|
methodMap_["isConnected"] = MethodMetadata {1, __hostFunction_NativeDOMCxxSpecJSI_isConnected};
|
|
3384
3451
|
methodMap_["getBorderWidth"] = MethodMetadata {1, __hostFunction_NativeDOMCxxSpecJSI_getBorderWidth};
|