@@ -946,6 +946,41 @@ NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::sh
946946 methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners};
947947 methodMap_[" queueAndExecuteBatchedOperations" ] = MethodMetadata {1 , __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
948948}
949+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
950+ auto result = static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme (
951+ rt
952+ );
953+ return result ? jsi::Value (std::move (*result)) : jsi::Value::null ();
954+ }
955+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
956+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme (
957+ rt,
958+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
959+ );
960+ return jsi::Value::undefined ();
961+ }
962+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
963+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener (
964+ rt,
965+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
966+ );
967+ return jsi::Value::undefined ();
968+ }
969+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
970+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners (
971+ rt,
972+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asNumber ()
973+ );
974+ return jsi::Value::undefined ();
975+ }
976+
977+ NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
978+ : TurboModule(" Appearance" , jsInvoker) {
979+ methodMap_[" getColorScheme" ] = MethodMetadata {0 , __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
980+ methodMap_[" setColorScheme" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
981+ methodMap_[" addListener" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
982+ methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
983+ }
949984static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
950985 return static_cast <NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants (
951986 rt
@@ -991,41 +1026,6 @@ NativeAppThemeCxxSpecJSI::NativeAppThemeCxxSpecJSI(std::shared_ptr<CallInvoker>
9911026 : TurboModule(" AppTheme" , jsInvoker) {
9921027 methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeAppThemeCxxSpecJSI_getConstants};
9931028}
994- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
995- auto result = static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme (
996- rt
997- );
998- return result ? jsi::Value (std::move (*result)) : jsi::Value::null ();
999- }
1000- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1001- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme (
1002- rt,
1003- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
1004- );
1005- return jsi::Value::undefined ();
1006- }
1007- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1008- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener (
1009- rt,
1010- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
1011- );
1012- return jsi::Value::undefined ();
1013- }
1014- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1015- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners (
1016- rt,
1017- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asNumber ()
1018- );
1019- return jsi::Value::undefined ();
1020- }
1021-
1022- NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1023- : TurboModule(" Appearance" , jsInvoker) {
1024- methodMap_[" getColorScheme" ] = MethodMetadata {0 , __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
1025- methodMap_[" setColorScheme" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
1026- methodMap_[" addListener" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
1027- methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
1028- }
10291029static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
10301030 return static_cast <NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants (
10311031 rt
@@ -1129,6 +1129,27 @@ NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker
11291129 methodMap_[" getString" ] = MethodMetadata {0 , __hostFunction_NativeClipboardCxxSpecJSI_getString};
11301130 methodMap_[" setString" ] = MethodMetadata {1 , __hostFunction_NativeClipboardCxxSpecJSI_setString};
11311131}
1132+ static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1133+ static_cast <NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler (
1134+ rt
1135+ );
1136+ return jsi::Value::undefined ();
1137+ }
1138+
1139+ NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1140+ : TurboModule(" DeviceEventManager" , jsInvoker) {
1141+ methodMap_[" invokeDefaultBackPressHandler" ] = MethodMetadata {0 , __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
1142+ }
1143+ static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1144+ return static_cast <NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants (
1145+ rt
1146+ );
1147+ }
1148+
1149+ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1150+ : TurboModule(" DeviceInfo" , jsInvoker) {
1151+ methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
1152+ }
11321153static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
11331154 static_cast <NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage (
11341155 rt,
@@ -1272,27 +1293,6 @@ NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInv
12721293 methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners};
12731294 methodMap_[" setIsShakeToShowDevMenuEnabled" ] = MethodMetadata {1 , __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
12741295}
1275- static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1276- static_cast <NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler (
1277- rt
1278- );
1279- return jsi::Value::undefined ();
1280- }
1281-
1282- NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1283- : TurboModule(" DeviceEventManager" , jsInvoker) {
1284- methodMap_[" invokeDefaultBackPressHandler" ] = MethodMetadata {0 , __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
1285- }
1286- static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1287- return static_cast <NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants (
1288- rt
1289- );
1290- }
1291-
1292- NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1293- : TurboModule(" DeviceInfo" , jsInvoker) {
1294- methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
1295- }
12961296static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
12971297 return static_cast <NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants (
12981298 rt
0 commit comments