@@ -952,6 +952,41 @@ NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::sh
952952 methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners};
953953 methodMap_[" queueAndExecuteBatchedOperations" ] = MethodMetadata {1 , __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
954954}
955+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
956+ auto result = static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme (
957+ rt
958+ );
959+ return result ? jsi::Value (std::move (*result)) : jsi::Value::null ();
960+ }
961+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
962+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme (
963+ rt,
964+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
965+ );
966+ return jsi::Value::undefined ();
967+ }
968+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
969+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener (
970+ rt,
971+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
972+ );
973+ return jsi::Value::undefined ();
974+ }
975+ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
976+ static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners (
977+ rt,
978+ count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asNumber ()
979+ );
980+ return jsi::Value::undefined ();
981+ }
982+
983+ NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
984+ : TurboModule(" Appearance" , jsInvoker) {
985+ methodMap_[" getColorScheme" ] = MethodMetadata {0 , __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
986+ methodMap_[" setColorScheme" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
987+ methodMap_[" addListener" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
988+ methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
989+ }
955990static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
956991 return static_cast <NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants (
957992 rt
@@ -997,41 +1032,6 @@ NativeAppThemeCxxSpecJSI::NativeAppThemeCxxSpecJSI(std::shared_ptr<CallInvoker>
9971032 : TurboModule(" AppTheme" , jsInvoker) {
9981033 methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeAppThemeCxxSpecJSI_getConstants};
9991034}
1000- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1001- auto result = static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme (
1002- rt
1003- );
1004- return result ? jsi::Value (std::move (*result)) : jsi::Value::null ();
1005- }
1006- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1007- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme (
1008- rt,
1009- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
1010- );
1011- return jsi::Value::undefined ();
1012- }
1013- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1014- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener (
1015- rt,
1016- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asString (rt)
1017- );
1018- return jsi::Value::undefined ();
1019- }
1020- static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1021- static_cast <NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners (
1022- rt,
1023- count <= 0 ? throw jsi::JSError (rt, " Expected argument in position 0 to be passed" ) : args[0 ].asNumber ()
1024- );
1025- return jsi::Value::undefined ();
1026- }
1027-
1028- NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1029- : TurboModule(" Appearance" , jsInvoker) {
1030- methodMap_[" getColorScheme" ] = MethodMetadata {0 , __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
1031- methodMap_[" setColorScheme" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
1032- methodMap_[" addListener" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
1033- methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
1034- }
10351035static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
10361036 return static_cast <NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants (
10371037 rt
@@ -1135,6 +1135,27 @@ NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker
11351135 methodMap_[" getString" ] = MethodMetadata {0 , __hostFunction_NativeClipboardCxxSpecJSI_getString};
11361136 methodMap_[" setString" ] = MethodMetadata {1 , __hostFunction_NativeClipboardCxxSpecJSI_setString};
11371137}
1138+ static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1139+ static_cast <NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler (
1140+ rt
1141+ );
1142+ return jsi::Value::undefined ();
1143+ }
1144+
1145+ NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1146+ : TurboModule(" DeviceEventManager" , jsInvoker) {
1147+ methodMap_[" invokeDefaultBackPressHandler" ] = MethodMetadata {0 , __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
1148+ }
1149+ static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1150+ return static_cast <NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants (
1151+ rt
1152+ );
1153+ }
1154+
1155+ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1156+ : TurboModule(" DeviceInfo" , jsInvoker) {
1157+ methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
1158+ }
11381159static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
11391160 static_cast <NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage (
11401161 rt,
@@ -1278,27 +1299,6 @@ NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInv
12781299 methodMap_[" removeListeners" ] = MethodMetadata {1 , __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners};
12791300 methodMap_[" setIsShakeToShowDevMenuEnabled" ] = MethodMetadata {1 , __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
12801301}
1281- static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1282- static_cast <NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler (
1283- rt
1284- );
1285- return jsi::Value::undefined ();
1286- }
1287-
1288- NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1289- : TurboModule(" DeviceEventManager" , jsInvoker) {
1290- methodMap_[" invokeDefaultBackPressHandler" ] = MethodMetadata {0 , __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
1291- }
1292- static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
1293- return static_cast <NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants (
1294- rt
1295- );
1296- }
1297-
1298- NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI (std::shared_ptr<CallInvoker> jsInvoker)
1299- : TurboModule(" DeviceInfo" , jsInvoker) {
1300- methodMap_[" getConstants" ] = MethodMetadata {0 , __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
1301- }
13021302static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants (jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
13031303 return static_cast <NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants (
13041304 rt
0 commit comments