@computools/react-native-template-controller 1.0.10 → 1.0.12
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/README.md +11 -5
- package/package.json +1 -1
- package/template/android/app/build.gradle +3 -7
- package/template/android/app/src/debug/AndroidManifest.xml +1 -5
- package/template/android/app/src/main/java/com/reactnativetemplate/MainActivity.kt +32 -0
- package/template/android/app/src/main/java/com/reactnativetemplate/MainApplication.kt +45 -0
- package/template/android/build.gradle +8 -8
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/template/android/gradle.properties +0 -3
- package/template/android/gradlew +11 -6
- package/template/babel.config.js +1 -1
- package/template/ios/Podfile +0 -7
- package/template/ios/ReactNativeTemplate/AppDelegate.mm +5 -0
- package/template/ios/ReactNativeTemplate/Info.plist +4 -8
- package/template/ios/ReactNativeTemplate.xcodeproj/project.pbxproj +28 -78
- package/template/ios/ReactNativeTemplate.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/ios/{ReactNativeTemplate dev-Info.plist → ReactNativeTemplate_dev-Info.plist} +4 -8
- package/template/ios/{ReactNativeTemplate stg-Info.plist → ReactNativeTemplate_stg-Info.plist} +4 -8
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -16
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +8 -25
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +1223 -276
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI.h +1427 -424
- package/template/ios/build/generated/ios/React-Codegen.podspec.json +1 -1
- package/template/package.json +14 -14
- package/template/tsconfig.json +1 -1
- package/template/android/app/src/debug/java/com/reactnativetemplate/ReactNativeFlipper.java +0 -75
- package/template/android/app/src/main/java/com/reactnativetemplate/MainActivity.java +0 -40
- package/template/android/app/src/main/java/com/reactnativetemplate/MainApplication.java +0 -62
- package/template/android/app/src/release/java/com/reactnativetemplate/ReactNativeFlipper.java +0 -20
@@ -4,7 +4,7 @@
|
|
4
4
|
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
5
5
|
* once the code is regenerated.
|
6
6
|
*
|
7
|
-
* @generated by codegen project:
|
7
|
+
* @generated by codegen project: GenerateModuleCpp.js
|
8
8
|
*/
|
9
9
|
|
10
10
|
#include "FBReactNativeSpecJSI.h"
|
@@ -13,19 +13,29 @@ namespace facebook {
|
|
13
13
|
namespace react {
|
14
14
|
|
15
15
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
16
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(
|
16
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(
|
17
|
+
rt,
|
18
|
+
args[0].asString(rt)
|
19
|
+
);
|
17
20
|
return jsi::Value::undefined();
|
18
21
|
}
|
19
22
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
20
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(
|
23
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(
|
24
|
+
rt
|
25
|
+
);
|
21
26
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
22
27
|
}
|
23
28
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
24
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(
|
29
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(
|
30
|
+
rt,
|
31
|
+
args[0].asString(rt)
|
32
|
+
);
|
25
33
|
return jsi::Value::undefined();
|
26
34
|
}
|
27
35
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
28
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(
|
36
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(
|
37
|
+
rt
|
38
|
+
);
|
29
39
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
30
40
|
}
|
31
41
|
|
@@ -37,18 +47,29 @@ NativeDevToolsSettingsManagerCxxSpecJSI::NativeDevToolsSettingsManagerCxxSpecJSI
|
|
37
47
|
methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings};
|
38
48
|
}
|
39
49
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
40
|
-
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(
|
50
|
+
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(
|
51
|
+
rt
|
52
|
+
);
|
41
53
|
}
|
42
54
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
43
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
55
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
56
|
+
rt,
|
57
|
+
args[0].asNumber()
|
58
|
+
);
|
44
59
|
return jsi::Value::undefined();
|
45
60
|
}
|
46
61
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
47
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
62
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
63
|
+
rt,
|
64
|
+
args[0].asObject(rt).asArray(rt),
|
65
|
+
args[1].asNumber()
|
66
|
+
);
|
48
67
|
return jsi::Value::undefined();
|
49
68
|
}
|
50
69
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_cancel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
51
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
70
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
71
|
+
rt
|
72
|
+
);
|
52
73
|
return jsi::Value::undefined();
|
53
74
|
}
|
54
75
|
|
@@ -60,14 +81,22 @@ NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
60
81
|
methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_cancel};
|
61
82
|
}
|
62
83
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
63
|
-
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
84
|
+
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
85
|
+
rt
|
86
|
+
);
|
64
87
|
}
|
65
88
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
66
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
89
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
90
|
+
rt,
|
91
|
+
args[0].asObject(rt)
|
92
|
+
);
|
67
93
|
return jsi::Value::undefined();
|
68
94
|
}
|
69
95
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
70
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
96
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
97
|
+
rt,
|
98
|
+
args[0].asObject(rt).asArray(rt)
|
99
|
+
);
|
71
100
|
return jsi::Value::undefined();
|
72
101
|
}
|
73
102
|
|
@@ -78,31 +107,59 @@ NativeSettingsManagerCxxSpecJSI::NativeSettingsManagerCxxSpecJSI(std::shared_ptr
|
|
78
107
|
methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues};
|
79
108
|
}
|
80
109
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
81
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
110
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
111
|
+
rt,
|
112
|
+
args[0].asString(rt),
|
113
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
114
|
+
args[2].asObject(rt),
|
115
|
+
args[3].asNumber()
|
116
|
+
);
|
82
117
|
return jsi::Value::undefined();
|
83
118
|
}
|
84
119
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
85
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
120
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
121
|
+
rt,
|
122
|
+
args[0].asString(rt),
|
123
|
+
args[1].asNumber()
|
124
|
+
);
|
86
125
|
return jsi::Value::undefined();
|
87
126
|
}
|
88
127
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
89
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
128
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
129
|
+
rt,
|
130
|
+
args[0].asString(rt),
|
131
|
+
args[1].asNumber()
|
132
|
+
);
|
90
133
|
return jsi::Value::undefined();
|
91
134
|
}
|
92
135
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
93
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
136
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
137
|
+
rt,
|
138
|
+
args[0].asNumber()
|
139
|
+
);
|
94
140
|
return jsi::Value::undefined();
|
95
141
|
}
|
96
142
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
97
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
143
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
144
|
+
rt,
|
145
|
+
args[0].asNumber(),
|
146
|
+
args[1].asString(rt),
|
147
|
+
args[2].asNumber()
|
148
|
+
);
|
98
149
|
return jsi::Value::undefined();
|
99
150
|
}
|
100
151
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
101
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
152
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
153
|
+
rt,
|
154
|
+
args[0].asString(rt)
|
155
|
+
);
|
102
156
|
return jsi::Value::undefined();
|
103
157
|
}
|
104
158
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
105
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
159
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
160
|
+
rt,
|
161
|
+
args[0].asNumber()
|
162
|
+
);
|
106
163
|
return jsi::Value::undefined();
|
107
164
|
}
|
108
165
|
|
@@ -117,23 +174,43 @@ NativeWebSocketModuleCxxSpecJSI::NativeWebSocketModuleCxxSpecJSI(std::shared_ptr
|
|
117
174
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners};
|
118
175
|
}
|
119
176
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
120
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
177
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
178
|
+
rt,
|
179
|
+
args[0].asString(rt),
|
180
|
+
args[1].asObject(rt).asArray(rt),
|
181
|
+
args[2].asNumber()
|
182
|
+
);
|
121
183
|
return jsi::Value::undefined();
|
122
184
|
}
|
123
185
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
124
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
186
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
187
|
+
rt,
|
188
|
+
args[0].asString(rt),
|
189
|
+
args[1].asObject(rt).asArray(rt),
|
190
|
+
args[2].asNumber()
|
191
|
+
);
|
125
192
|
return jsi::Value::undefined();
|
126
193
|
}
|
127
194
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
128
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
195
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
196
|
+
rt,
|
197
|
+
args[0].asObject(rt)
|
198
|
+
);
|
129
199
|
return jsi::Value::undefined();
|
130
200
|
}
|
131
201
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
132
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(
|
202
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(
|
203
|
+
rt,
|
204
|
+
args[0].asString(rt),
|
205
|
+
args[1].asObject(rt).asArray(rt),
|
206
|
+
args[2].asNumber()
|
207
|
+
);
|
133
208
|
return jsi::Value::undefined();
|
134
209
|
}
|
135
210
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
136
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(
|
211
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(
|
212
|
+
rt
|
213
|
+
);
|
137
214
|
return jsi::Value::undefined();
|
138
215
|
}
|
139
216
|
|
@@ -146,15 +223,27 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared
|
|
146
223
|
methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox};
|
147
224
|
}
|
148
225
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
149
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
226
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
227
|
+
rt,
|
228
|
+
args[0].asNumber(),
|
229
|
+
args[1].asNumber(),
|
230
|
+
args[2].asNumber(),
|
231
|
+
args[3].asBool()
|
232
|
+
);
|
150
233
|
return jsi::Value::undefined();
|
151
234
|
}
|
152
235
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
153
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
236
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
237
|
+
rt,
|
238
|
+
args[0].asNumber()
|
239
|
+
);
|
154
240
|
return jsi::Value::undefined();
|
155
241
|
}
|
156
242
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
157
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
243
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
244
|
+
rt,
|
245
|
+
args[0].asBool()
|
246
|
+
);
|
158
247
|
return jsi::Value::undefined();
|
159
248
|
}
|
160
249
|
|
@@ -165,11 +254,21 @@ NativeTimingCxxSpecJSI::NativeTimingCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
165
254
|
methodMap_["setSendIdleEvents"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents};
|
166
255
|
}
|
167
256
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
168
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
257
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
258
|
+
rt,
|
259
|
+
args[0].asNumber(),
|
260
|
+
args[1].asObject(rt),
|
261
|
+
args[2].asObject(rt).asFunction(rt)
|
262
|
+
);
|
169
263
|
return jsi::Value::undefined();
|
170
264
|
}
|
171
265
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
172
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
266
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
267
|
+
rt,
|
268
|
+
args[0].asNumber(),
|
269
|
+
args[1].asObject(rt),
|
270
|
+
args[2].asObject(rt).asFunction(rt)
|
271
|
+
);
|
173
272
|
return jsi::Value::undefined();
|
174
273
|
}
|
175
274
|
|
@@ -179,16 +278,28 @@ NativeSegmentFetcherCxxSpecJSI::NativeSegmentFetcherCxxSpecJSI(std::shared_ptr<C
|
|
179
278
|
methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment};
|
180
279
|
}
|
181
280
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
182
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
281
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
282
|
+
rt,
|
283
|
+
args[0].asString(rt)
|
284
|
+
);
|
183
285
|
}
|
184
286
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
185
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
287
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
288
|
+
rt,
|
289
|
+
args[0].asString(rt)
|
290
|
+
);
|
186
291
|
}
|
187
292
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
188
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
293
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
294
|
+
rt,
|
295
|
+
args[0].asString(rt)
|
296
|
+
);
|
189
297
|
}
|
190
298
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
191
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
299
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
300
|
+
rt,
|
301
|
+
args[0].asObject(rt).asArray(rt)
|
302
|
+
);
|
192
303
|
}
|
193
304
|
|
194
305
|
NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -199,7 +310,11 @@ NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shar
|
|
199
310
|
methodMap_["requestMultiplePermissions"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions};
|
200
311
|
}
|
201
312
|
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
202
|
-
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
313
|
+
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
314
|
+
rt,
|
315
|
+
args[0].asObject(rt),
|
316
|
+
args[1].asObject(rt).asFunction(rt)
|
317
|
+
);
|
203
318
|
return jsi::Value::undefined();
|
204
319
|
}
|
205
320
|
|
@@ -208,18 +323,31 @@ NativeAlertManagerCxxSpecJSI::NativeAlertManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
208
323
|
methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs};
|
209
324
|
}
|
210
325
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
211
|
-
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
326
|
+
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
327
|
+
rt
|
328
|
+
);
|
212
329
|
}
|
213
330
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
214
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
331
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
332
|
+
rt,
|
333
|
+
args[0].asObject(rt),
|
334
|
+
args[1].asObject(rt).asFunction(rt)
|
335
|
+
);
|
215
336
|
return jsi::Value::undefined();
|
216
337
|
}
|
217
338
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
218
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
339
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
340
|
+
rt,
|
341
|
+
args[0].asObject(rt),
|
342
|
+
args[1].asObject(rt).asFunction(rt),
|
343
|
+
args[2].asObject(rt).asFunction(rt)
|
344
|
+
);
|
219
345
|
return jsi::Value::undefined();
|
220
346
|
}
|
221
347
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
222
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->dismissActionSheet(
|
348
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->dismissActionSheet(
|
349
|
+
rt
|
350
|
+
);
|
223
351
|
return jsi::Value::undefined();
|
224
352
|
}
|
225
353
|
|
@@ -231,10 +359,17 @@ NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shar
|
|
231
359
|
methodMap_["dismissActionSheet"] = MethodMetadata {0, __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet};
|
232
360
|
}
|
233
361
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
234
|
-
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
362
|
+
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
363
|
+
rt
|
364
|
+
);
|
235
365
|
}
|
236
366
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
237
|
-
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
367
|
+
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
368
|
+
rt,
|
369
|
+
args[0].asObject(rt),
|
370
|
+
args[1].asObject(rt).asFunction(rt),
|
371
|
+
args[2].asObject(rt).asFunction(rt)
|
372
|
+
);
|
238
373
|
return jsi::Value::undefined();
|
239
374
|
}
|
240
375
|
|
@@ -244,7 +379,9 @@ NativeDialogManagerAndroidCxxSpecJSI::NativeDialogManagerAndroidCxxSpecJSI(std::
|
|
244
379
|
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert};
|
245
380
|
}
|
246
381
|
static jsi::Value __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
247
|
-
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
382
|
+
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
383
|
+
rt
|
384
|
+
);
|
248
385
|
}
|
249
386
|
|
250
387
|
NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -252,23 +389,36 @@ NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvok
|
|
252
389
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants};
|
253
390
|
}
|
254
391
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
255
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
392
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
393
|
+
rt
|
394
|
+
);
|
256
395
|
return jsi::Value::undefined();
|
257
396
|
}
|
258
397
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
259
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(
|
398
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(
|
399
|
+
rt
|
400
|
+
);
|
260
401
|
return jsi::Value::undefined();
|
261
402
|
}
|
262
403
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
263
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(
|
404
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(
|
405
|
+
rt,
|
406
|
+
args[0].asBool()
|
407
|
+
);
|
264
408
|
return jsi::Value::undefined();
|
265
409
|
}
|
266
410
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
267
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
411
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
412
|
+
rt,
|
413
|
+
args[0].asBool()
|
414
|
+
);
|
268
415
|
return jsi::Value::undefined();
|
269
416
|
}
|
270
417
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
271
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
418
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
419
|
+
rt,
|
420
|
+
args[0].asBool()
|
421
|
+
);
|
272
422
|
return jsi::Value::undefined();
|
273
423
|
}
|
274
424
|
|
@@ -281,11 +431,17 @@ NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> js
|
|
281
431
|
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled};
|
282
432
|
}
|
283
433
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
284
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
434
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
435
|
+
rt,
|
436
|
+
args[0].asObject(rt),
|
437
|
+
args[1].asString(rt)
|
438
|
+
);
|
285
439
|
return jsi::Value::undefined();
|
286
440
|
}
|
287
441
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_dismiss(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
288
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(
|
442
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(
|
443
|
+
rt
|
444
|
+
);
|
289
445
|
return jsi::Value::undefined();
|
290
446
|
}
|
291
447
|
|
@@ -295,11 +451,16 @@ NativeRedBoxCxxSpecJSI::NativeRedBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
295
451
|
methodMap_["dismiss"] = MethodMetadata {0, __hostFunction_NativeRedBoxCxxSpecJSI_dismiss};
|
296
452
|
}
|
297
453
|
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
298
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
454
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
455
|
+
rt
|
456
|
+
);
|
299
457
|
return jsi::Value::undefined();
|
300
458
|
}
|
301
459
|
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
302
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(
|
460
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(
|
461
|
+
rt,
|
462
|
+
args[0].asNumber()
|
463
|
+
);
|
303
464
|
return jsi::Value::undefined();
|
304
465
|
}
|
305
466
|
|
@@ -309,11 +470,15 @@ NativeAnimationsDebugModuleCxxSpecJSI::NativeAnimationsDebugModuleCxxSpecJSI(std
|
|
309
470
|
methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps};
|
310
471
|
}
|
311
472
|
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
312
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(
|
473
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(
|
474
|
+
rt
|
475
|
+
);
|
313
476
|
return jsi::Value::undefined();
|
314
477
|
}
|
315
478
|
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
316
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(
|
479
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(
|
480
|
+
rt
|
481
|
+
);
|
317
482
|
return jsi::Value::undefined();
|
318
483
|
}
|
319
484
|
|
@@ -323,7 +488,9 @@ NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
323
488
|
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_hide};
|
324
489
|
}
|
325
490
|
static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
326
|
-
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
491
|
+
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
492
|
+
rt
|
493
|
+
);
|
327
494
|
return jsi::Value::undefined();
|
328
495
|
}
|
329
496
|
|
@@ -332,47 +499,77 @@ NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI(std::shar
|
|
332
499
|
methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
|
333
500
|
}
|
334
501
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
335
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
502
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
503
|
+
rt
|
504
|
+
);
|
336
505
|
return jsi::Value::undefined();
|
337
506
|
}
|
338
507
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
339
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
508
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
509
|
+
rt,
|
510
|
+
args[0].asString(rt)
|
511
|
+
);
|
340
512
|
return jsi::Value::undefined();
|
341
513
|
}
|
342
514
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
343
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(
|
515
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(
|
516
|
+
rt
|
517
|
+
);
|
344
518
|
return jsi::Value::undefined();
|
345
519
|
}
|
346
520
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
347
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
521
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
522
|
+
rt,
|
523
|
+
args[0].asBool()
|
524
|
+
);
|
348
525
|
return jsi::Value::undefined();
|
349
526
|
}
|
350
527
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
351
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(
|
528
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(
|
529
|
+
rt,
|
530
|
+
args[0].asBool()
|
531
|
+
);
|
352
532
|
return jsi::Value::undefined();
|
353
533
|
}
|
354
534
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
355
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
535
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
536
|
+
rt,
|
537
|
+
args[0].asBool()
|
538
|
+
);
|
356
539
|
return jsi::Value::undefined();
|
357
540
|
}
|
358
541
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
359
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(
|
542
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(
|
543
|
+
rt
|
544
|
+
);
|
360
545
|
return jsi::Value::undefined();
|
361
546
|
}
|
362
547
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
363
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
548
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
549
|
+
rt,
|
550
|
+
args[0].asString(rt)
|
551
|
+
);
|
364
552
|
return jsi::Value::undefined();
|
365
553
|
}
|
366
554
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
367
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
555
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
556
|
+
rt,
|
557
|
+
args[0].asString(rt)
|
558
|
+
);
|
368
559
|
return jsi::Value::undefined();
|
369
560
|
}
|
370
561
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
371
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
562
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
563
|
+
rt,
|
564
|
+
args[0].asNumber()
|
565
|
+
);
|
372
566
|
return jsi::Value::undefined();
|
373
567
|
}
|
374
568
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
375
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
569
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
570
|
+
rt,
|
571
|
+
args[0].asBool()
|
572
|
+
);
|
376
573
|
return jsi::Value::undefined();
|
377
574
|
}
|
378
575
|
|
@@ -391,23 +588,46 @@ NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInv
|
|
391
588
|
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
|
392
589
|
}
|
393
590
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
394
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
591
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
592
|
+
rt,
|
593
|
+
args[0].asString(rt),
|
594
|
+
args[1].asString(rt),
|
595
|
+
args[2].asNumber(),
|
596
|
+
args[3].asObject(rt).asArray(rt),
|
597
|
+
args[4].asObject(rt),
|
598
|
+
args[5].asString(rt),
|
599
|
+
args[6].asBool(),
|
600
|
+
args[7].asNumber(),
|
601
|
+
args[8].asBool()
|
602
|
+
);
|
395
603
|
return jsi::Value::undefined();
|
396
604
|
}
|
397
605
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
398
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
606
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
607
|
+
rt,
|
608
|
+
args[0].asNumber()
|
609
|
+
);
|
399
610
|
return jsi::Value::undefined();
|
400
611
|
}
|
401
612
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
402
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
613
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
614
|
+
rt,
|
615
|
+
args[0].asObject(rt).asFunction(rt)
|
616
|
+
);
|
403
617
|
return jsi::Value::undefined();
|
404
618
|
}
|
405
619
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
406
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
620
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
621
|
+
rt,
|
622
|
+
args[0].asString(rt)
|
623
|
+
);
|
407
624
|
return jsi::Value::undefined();
|
408
625
|
}
|
409
626
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
410
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
627
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
628
|
+
rt,
|
629
|
+
args[0].asNumber()
|
630
|
+
);
|
411
631
|
return jsi::Value::undefined();
|
412
632
|
}
|
413
633
|
|
@@ -420,23 +640,39 @@ NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared
|
|
420
640
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners};
|
421
641
|
}
|
422
642
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
423
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
643
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
644
|
+
rt,
|
645
|
+
args[0].asObject(rt),
|
646
|
+
args[1].asObject(rt).asFunction(rt)
|
647
|
+
);
|
424
648
|
return jsi::Value::undefined();
|
425
649
|
}
|
426
650
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
427
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
651
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
652
|
+
rt,
|
653
|
+
args[0].asNumber()
|
654
|
+
);
|
428
655
|
return jsi::Value::undefined();
|
429
656
|
}
|
430
657
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
431
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
658
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
659
|
+
rt,
|
660
|
+
args[0].asObject(rt).asFunction(rt)
|
661
|
+
);
|
432
662
|
return jsi::Value::undefined();
|
433
663
|
}
|
434
664
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
435
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
665
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
666
|
+
rt,
|
667
|
+
args[0].asString(rt)
|
668
|
+
);
|
436
669
|
return jsi::Value::undefined();
|
437
670
|
}
|
438
671
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
439
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
672
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
673
|
+
rt,
|
674
|
+
args[0].asNumber()
|
675
|
+
);
|
440
676
|
return jsi::Value::undefined();
|
441
677
|
}
|
442
678
|
|
@@ -449,22 +685,42 @@ NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
449
685
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners};
|
450
686
|
}
|
451
687
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
452
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
688
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
689
|
+
rt
|
690
|
+
);
|
453
691
|
}
|
454
692
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
455
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
693
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
694
|
+
rt,
|
695
|
+
args[0].asString(rt)
|
696
|
+
);
|
456
697
|
}
|
457
698
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
458
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
699
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
700
|
+
rt,
|
701
|
+
args[0].asString(rt),
|
702
|
+
args[1].asObject(rt)
|
703
|
+
);
|
459
704
|
}
|
460
705
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
461
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
706
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
707
|
+
rt,
|
708
|
+
args[0].asString(rt)
|
709
|
+
);
|
462
710
|
}
|
463
711
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
464
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
712
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
713
|
+
rt,
|
714
|
+
args[0].asString(rt),
|
715
|
+
args[1].asString(rt),
|
716
|
+
args[2].getNumber()
|
717
|
+
);
|
465
718
|
}
|
466
719
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
467
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
720
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
721
|
+
rt,
|
722
|
+
args[0].asObject(rt).asArray(rt)
|
723
|
+
);
|
468
724
|
}
|
469
725
|
|
470
726
|
NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -477,10 +733,18 @@ NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<C
|
|
477
733
|
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache};
|
478
734
|
}
|
479
735
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
480
|
-
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(
|
736
|
+
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(
|
737
|
+
rt
|
738
|
+
);
|
481
739
|
}
|
482
740
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
483
|
-
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
741
|
+
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
742
|
+
rt,
|
743
|
+
args[0].asString(rt),
|
744
|
+
args[1].asObject(rt),
|
745
|
+
args[2].asObject(rt).asFunction(rt),
|
746
|
+
args[3].asObject(rt).asFunction(rt)
|
747
|
+
);
|
484
748
|
return jsi::Value::undefined();
|
485
749
|
}
|
486
750
|
|
@@ -490,22 +754,41 @@ NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInv
|
|
490
754
|
methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorCxxSpecJSI_cropImage};
|
491
755
|
}
|
492
756
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
493
|
-
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
757
|
+
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
758
|
+
rt
|
759
|
+
);
|
494
760
|
}
|
495
761
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
496
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
762
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
763
|
+
rt,
|
764
|
+
args[0].asString(rt),
|
765
|
+
args[1].asObject(rt).asFunction(rt),
|
766
|
+
args[2].asObject(rt).asFunction(rt)
|
767
|
+
);
|
497
768
|
return jsi::Value::undefined();
|
498
769
|
}
|
499
770
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
500
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
771
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
772
|
+
rt,
|
773
|
+
args[0].asString(rt),
|
774
|
+
args[1].asObject(rt).asFunction(rt)
|
775
|
+
);
|
501
776
|
return jsi::Value::undefined();
|
502
777
|
}
|
503
778
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
504
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
779
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
780
|
+
rt,
|
781
|
+
args[0].asString(rt)
|
782
|
+
);
|
505
783
|
return jsi::Value::undefined();
|
506
784
|
}
|
507
785
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
508
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
786
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
787
|
+
rt,
|
788
|
+
args[0].asString(rt),
|
789
|
+
args[1].asObject(rt).asFunction(rt),
|
790
|
+
args[2].asObject(rt).asFunction(rt)
|
791
|
+
);
|
509
792
|
return jsi::Value::undefined();
|
510
793
|
}
|
511
794
|
|
@@ -518,23 +801,42 @@ NativeImageStoreIOSCxxSpecJSI::NativeImageStoreIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
518
801
|
methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64};
|
519
802
|
}
|
520
803
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
521
|
-
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
804
|
+
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
805
|
+
rt,
|
806
|
+
args[0].asNumber()
|
807
|
+
);
|
522
808
|
return jsi::Value::undefined();
|
523
809
|
}
|
524
810
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
525
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
811
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
812
|
+
rt
|
813
|
+
);
|
526
814
|
}
|
527
815
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
528
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
816
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
817
|
+
rt,
|
818
|
+
args[0].asString(rt)
|
819
|
+
);
|
529
820
|
}
|
530
821
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
531
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
822
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
823
|
+
rt,
|
824
|
+
args[0].asString(rt),
|
825
|
+
args[1].asObject(rt)
|
826
|
+
);
|
532
827
|
}
|
533
828
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
534
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
829
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
830
|
+
rt,
|
831
|
+
args[0].asString(rt),
|
832
|
+
args[1].asNumber()
|
833
|
+
);
|
535
834
|
}
|
536
835
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
537
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
836
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
837
|
+
rt,
|
838
|
+
args[0].asObject(rt).asArray(rt)
|
839
|
+
);
|
538
840
|
}
|
539
841
|
|
540
842
|
NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -547,10 +849,17 @@ NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shar
|
|
547
849
|
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache};
|
548
850
|
}
|
549
851
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
550
|
-
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
852
|
+
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
853
|
+
rt
|
854
|
+
);
|
551
855
|
}
|
552
856
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
553
|
-
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
857
|
+
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
858
|
+
rt,
|
859
|
+
args[0].asString(rt),
|
860
|
+
args[1].asObject(rt).asFunction(rt),
|
861
|
+
args[2].asObject(rt).asFunction(rt)
|
862
|
+
);
|
554
863
|
return jsi::Value::undefined();
|
555
864
|
}
|
556
865
|
|
@@ -560,7 +869,9 @@ NativeImageStoreAndroidCxxSpecJSI::NativeImageStoreAndroidCxxSpecJSI(std::shared
|
|
560
869
|
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag};
|
561
870
|
}
|
562
871
|
static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
563
|
-
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(
|
872
|
+
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(
|
873
|
+
rt
|
874
|
+
);
|
564
875
|
}
|
565
876
|
|
566
877
|
NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -568,7 +879,9 @@ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvok
|
|
568
879
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
|
569
880
|
}
|
570
881
|
static jsi::Value __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
571
|
-
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
882
|
+
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
883
|
+
rt
|
884
|
+
);
|
572
885
|
}
|
573
886
|
|
574
887
|
NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -576,11 +889,18 @@ NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::
|
|
576
889
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants};
|
577
890
|
}
|
578
891
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
579
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
892
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
893
|
+
rt,
|
894
|
+
args[0].asString(rt),
|
895
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
896
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
897
|
+
);
|
580
898
|
return jsi::Value::undefined();
|
581
899
|
}
|
582
900
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
583
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(
|
901
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(
|
902
|
+
rt
|
903
|
+
);
|
584
904
|
return jsi::Value::undefined();
|
585
905
|
}
|
586
906
|
|
@@ -590,19 +910,30 @@ NativeDevLoadingViewCxxSpecJSI::NativeDevLoadingViewCxxSpecJSI(std::shared_ptr<C
|
|
590
910
|
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide};
|
591
911
|
}
|
592
912
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
593
|
-
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
913
|
+
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
914
|
+
rt
|
915
|
+
);
|
594
916
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
595
917
|
}
|
596
918
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
597
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
919
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
920
|
+
rt,
|
921
|
+
args[0].asString(rt)
|
922
|
+
);
|
598
923
|
return jsi::Value::undefined();
|
599
924
|
}
|
600
925
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
601
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
926
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
927
|
+
rt,
|
928
|
+
args[0].asString(rt)
|
929
|
+
);
|
602
930
|
return jsi::Value::undefined();
|
603
931
|
}
|
604
932
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
605
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
933
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
934
|
+
rt,
|
935
|
+
args[0].asNumber()
|
936
|
+
);
|
606
937
|
return jsi::Value::undefined();
|
607
938
|
}
|
608
939
|
|
@@ -614,10 +945,14 @@ NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI(std::shared_ptr<CallInvok
|
|
614
945
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
|
615
946
|
}
|
616
947
|
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
617
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
948
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
949
|
+
rt
|
950
|
+
);
|
618
951
|
}
|
619
952
|
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
620
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
953
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
954
|
+
rt
|
955
|
+
);
|
621
956
|
}
|
622
957
|
|
623
958
|
NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -625,39 +960,53 @@ NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJ
|
|
625
960
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants};
|
626
961
|
methodMap_["getAndroidID"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID};
|
627
962
|
}
|
628
|
-
static jsi::Value __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
629
|
-
return static_cast<NativeDevSplitBundleLoaderCxxSpecJSI *>(&turboModule)->loadBundle(rt, args[0].asString(rt));
|
630
|
-
}
|
631
|
-
|
632
|
-
NativeDevSplitBundleLoaderCxxSpecJSI::NativeDevSplitBundleLoaderCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
633
|
-
: TurboModule("DevSplitBundleLoader", jsInvoker) {
|
634
|
-
methodMap_["loadBundle"] = MethodMetadata {1, __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle};
|
635
|
-
}
|
636
963
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
637
|
-
return static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
964
|
+
return static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
965
|
+
rt
|
966
|
+
);
|
638
967
|
}
|
639
968
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
640
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
969
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
970
|
+
rt,
|
971
|
+
args[0].asObject(rt).asFunction(rt)
|
972
|
+
);
|
641
973
|
return jsi::Value::undefined();
|
642
974
|
}
|
643
975
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
644
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
976
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
977
|
+
rt,
|
978
|
+
args[0].asBool()
|
979
|
+
);
|
645
980
|
return jsi::Value::undefined();
|
646
981
|
}
|
647
982
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
648
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
983
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
984
|
+
rt,
|
985
|
+
args[0].asString(rt)
|
986
|
+
);
|
649
987
|
return jsi::Value::undefined();
|
650
988
|
}
|
651
989
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
652
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
990
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
991
|
+
rt,
|
992
|
+
args[0].asNumber()
|
993
|
+
);
|
653
994
|
return jsi::Value::undefined();
|
654
995
|
}
|
655
996
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
656
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
997
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
998
|
+
rt,
|
999
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)),
|
1000
|
+
args[1].asBool()
|
1001
|
+
);
|
657
1002
|
return jsi::Value::undefined();
|
658
1003
|
}
|
659
1004
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
660
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
1005
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
1006
|
+
rt,
|
1007
|
+
args[0].asBool(),
|
1008
|
+
args[1].asString(rt)
|
1009
|
+
);
|
661
1010
|
return jsi::Value::undefined();
|
662
1011
|
}
|
663
1012
|
|
@@ -672,22 +1021,37 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
672
1021
|
methodMap_["setHidden"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden};
|
673
1022
|
}
|
674
1023
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
675
|
-
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
1024
|
+
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
1025
|
+
rt
|
1026
|
+
);
|
676
1027
|
}
|
677
1028
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
678
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
1029
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
1030
|
+
rt,
|
1031
|
+
args[0].asNumber(),
|
1032
|
+
args[1].asBool()
|
1033
|
+
);
|
679
1034
|
return jsi::Value::undefined();
|
680
1035
|
}
|
681
1036
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
682
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
1037
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
1038
|
+
rt,
|
1039
|
+
args[0].asBool()
|
1040
|
+
);
|
683
1041
|
return jsi::Value::undefined();
|
684
1042
|
}
|
685
1043
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
686
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setStyle(
|
1044
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setStyle(
|
1045
|
+
rt,
|
1046
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
|
1047
|
+
);
|
687
1048
|
return jsi::Value::undefined();
|
688
1049
|
}
|
689
1050
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
690
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
1051
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
1052
|
+
rt,
|
1053
|
+
args[0].asBool()
|
1054
|
+
);
|
691
1055
|
return jsi::Value::undefined();
|
692
1056
|
}
|
693
1057
|
|
@@ -700,47 +1064,88 @@ NativeStatusBarManagerAndroidCxxSpecJSI::NativeStatusBarManagerAndroidCxxSpecJSI
|
|
700
1064
|
methodMap_["setHidden"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden};
|
701
1065
|
}
|
702
1066
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
703
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
1067
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
1068
|
+
rt,
|
1069
|
+
args[0].asObject(rt).asFunction(rt),
|
1070
|
+
args[1].asObject(rt).asFunction(rt)
|
1071
|
+
);
|
704
1072
|
return jsi::Value::undefined();
|
705
1073
|
}
|
706
1074
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
707
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
1075
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
1076
|
+
rt,
|
1077
|
+
args[0].asObject(rt).asFunction(rt),
|
1078
|
+
args[1].asObject(rt).asFunction(rt)
|
1079
|
+
);
|
708
1080
|
return jsi::Value::undefined();
|
709
1081
|
}
|
710
1082
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
711
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
1083
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
1084
|
+
rt,
|
1085
|
+
args[0].asObject(rt).asFunction(rt),
|
1086
|
+
args[1].asObject(rt).asFunction(rt)
|
1087
|
+
);
|
712
1088
|
return jsi::Value::undefined();
|
713
1089
|
}
|
714
1090
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
715
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
1091
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
1092
|
+
rt,
|
1093
|
+
args[0].asObject(rt).asFunction(rt),
|
1094
|
+
args[1].asObject(rt).asFunction(rt)
|
1095
|
+
);
|
716
1096
|
return jsi::Value::undefined();
|
717
1097
|
}
|
718
1098
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
719
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
1099
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
1100
|
+
rt,
|
1101
|
+
args[0].asObject(rt).asFunction(rt),
|
1102
|
+
args[1].asObject(rt).asFunction(rt)
|
1103
|
+
);
|
720
1104
|
return jsi::Value::undefined();
|
721
1105
|
}
|
722
1106
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
723
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
1107
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
1108
|
+
rt,
|
1109
|
+
args[0].asObject(rt).asFunction(rt),
|
1110
|
+
args[1].asObject(rt).asFunction(rt)
|
1111
|
+
);
|
724
1112
|
return jsi::Value::undefined();
|
725
1113
|
}
|
726
1114
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
727
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
1115
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
1116
|
+
rt,
|
1117
|
+
args[0].asObject(rt).asFunction(rt),
|
1118
|
+
args[1].asObject(rt).asFunction(rt)
|
1119
|
+
);
|
728
1120
|
return jsi::Value::undefined();
|
729
1121
|
}
|
730
1122
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
731
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
1123
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
1124
|
+
rt,
|
1125
|
+
args[0].asObject(rt)
|
1126
|
+
);
|
732
1127
|
return jsi::Value::undefined();
|
733
1128
|
}
|
734
1129
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
735
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
1130
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
1131
|
+
rt,
|
1132
|
+
args[0].asNumber()
|
1133
|
+
);
|
736
1134
|
return jsi::Value::undefined();
|
737
1135
|
}
|
738
1136
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
739
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
1137
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
1138
|
+
rt,
|
1139
|
+
args[0].asString(rt)
|
1140
|
+
);
|
740
1141
|
return jsi::Value::undefined();
|
741
1142
|
}
|
742
1143
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
743
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
1144
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
1145
|
+
rt,
|
1146
|
+
args[0].asString(rt),
|
1147
|
+
args[1].asObject(rt)
|
1148
|
+
);
|
744
1149
|
return jsi::Value::undefined();
|
745
1150
|
}
|
746
1151
|
|
@@ -759,27 +1164,46 @@ NativeAccessibilityManagerCxxSpecJSI::NativeAccessibilityManagerCxxSpecJSI(std::
|
|
759
1164
|
methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions};
|
760
1165
|
}
|
761
1166
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
762
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
1167
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
1168
|
+
rt,
|
1169
|
+
args[0].asObject(rt).asFunction(rt)
|
1170
|
+
);
|
763
1171
|
return jsi::Value::undefined();
|
764
1172
|
}
|
765
1173
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
766
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
1174
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
1175
|
+
rt,
|
1176
|
+
args[0].asObject(rt).asFunction(rt)
|
1177
|
+
);
|
767
1178
|
return jsi::Value::undefined();
|
768
1179
|
}
|
769
1180
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
770
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
1181
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
1182
|
+
rt,
|
1183
|
+
args[0].asObject(rt).asFunction(rt)
|
1184
|
+
);
|
771
1185
|
return jsi::Value::undefined();
|
772
1186
|
}
|
773
1187
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
774
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
1188
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
1189
|
+
rt,
|
1190
|
+
args[0].asNumber()
|
1191
|
+
);
|
775
1192
|
return jsi::Value::undefined();
|
776
1193
|
}
|
777
1194
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
778
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
1195
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
1196
|
+
rt,
|
1197
|
+
args[0].asString(rt)
|
1198
|
+
);
|
779
1199
|
return jsi::Value::undefined();
|
780
1200
|
}
|
781
1201
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
782
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
1202
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
1203
|
+
rt,
|
1204
|
+
args[0].asNumber(),
|
1205
|
+
args[1].asObject(rt).asFunction(rt)
|
1206
|
+
);
|
783
1207
|
return jsi::Value::undefined();
|
784
1208
|
}
|
785
1209
|
|
@@ -793,18 +1217,36 @@ NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared
|
|
793
1217
|
methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis};
|
794
1218
|
}
|
795
1219
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
796
|
-
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
1220
|
+
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
1221
|
+
rt
|
1222
|
+
);
|
797
1223
|
}
|
798
1224
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
799
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
1225
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
1226
|
+
rt,
|
1227
|
+
args[0].asString(rt),
|
1228
|
+
args[1].asNumber()
|
1229
|
+
);
|
800
1230
|
return jsi::Value::undefined();
|
801
1231
|
}
|
802
1232
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
803
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
1233
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
1234
|
+
rt,
|
1235
|
+
args[0].asString(rt),
|
1236
|
+
args[1].asNumber(),
|
1237
|
+
args[2].asNumber()
|
1238
|
+
);
|
804
1239
|
return jsi::Value::undefined();
|
805
1240
|
}
|
806
1241
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
807
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
1242
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
1243
|
+
rt,
|
1244
|
+
args[0].asString(rt),
|
1245
|
+
args[1].asNumber(),
|
1246
|
+
args[2].asNumber(),
|
1247
|
+
args[3].asNumber(),
|
1248
|
+
args[4].asNumber()
|
1249
|
+
);
|
808
1250
|
return jsi::Value::undefined();
|
809
1251
|
}
|
810
1252
|
|
@@ -816,7 +1258,9 @@ NativeToastAndroidCxxSpecJSI::NativeToastAndroidCxxSpecJSI(std::shared_ptr<CallI
|
|
816
1258
|
methodMap_["showWithGravityAndOffset"] = MethodMetadata {5, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset};
|
817
1259
|
}
|
818
1260
|
static jsi::Value __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
819
|
-
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(
|
1261
|
+
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(
|
1262
|
+
rt
|
1263
|
+
);
|
820
1264
|
return jsi::Value::undefined();
|
821
1265
|
}
|
822
1266
|
|
@@ -825,11 +1269,17 @@ NativeSoundManagerCxxSpecJSI::NativeSoundManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
825
1269
|
methodMap_["playTouchSound"] = MethodMetadata {0, __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound};
|
826
1270
|
}
|
827
1271
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
828
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
1272
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
1273
|
+
rt,
|
1274
|
+
args[0].asString(rt)
|
1275
|
+
);
|
829
1276
|
return jsi::Value::undefined();
|
830
1277
|
}
|
831
1278
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
832
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
1279
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
1280
|
+
rt,
|
1281
|
+
args[0].asNumber()
|
1282
|
+
);
|
833
1283
|
return jsi::Value::undefined();
|
834
1284
|
}
|
835
1285
|
|
@@ -839,13 +1289,20 @@ NativeKeyboardObserverCxxSpecJSI::NativeKeyboardObserverCxxSpecJSI(std::shared_p
|
|
839
1289
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners};
|
840
1290
|
}
|
841
1291
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
842
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(
|
1292
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(
|
1293
|
+
rt
|
1294
|
+
);
|
843
1295
|
}
|
844
1296
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
845
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(
|
1297
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(
|
1298
|
+
rt
|
1299
|
+
);
|
846
1300
|
}
|
847
1301
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
848
|
-
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
1302
|
+
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
1303
|
+
rt,
|
1304
|
+
args[0].asString(rt)
|
1305
|
+
);
|
849
1306
|
return jsi::Value::undefined();
|
850
1307
|
}
|
851
1308
|
|
@@ -855,19 +1312,116 @@ NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
855
1312
|
methodMap_["getString"] = MethodMetadata {0, __hostFunction_NativeClipboardCxxSpecJSI_getString};
|
856
1313
|
methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardCxxSpecJSI_setString};
|
857
1314
|
}
|
1315
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1316
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observe(
|
1317
|
+
rt,
|
1318
|
+
args[0].asObject(rt)
|
1319
|
+
);
|
1320
|
+
return jsi::Value::undefined();
|
1321
|
+
}
|
1322
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1323
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
1324
|
+
rt,
|
1325
|
+
args[0].asNumber(),
|
1326
|
+
jsi::Value(rt, args[1])
|
1327
|
+
);
|
1328
|
+
return jsi::Value::undefined();
|
1329
|
+
}
|
1330
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1331
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
1332
|
+
rt,
|
1333
|
+
args[0].asObject(rt).asFunction(rt)
|
1334
|
+
);
|
1335
|
+
return jsi::Value::undefined();
|
1336
|
+
}
|
1337
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1338
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
1339
|
+
rt
|
1340
|
+
);
|
1341
|
+
return jsi::Value::undefined();
|
1342
|
+
}
|
1343
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1344
|
+
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
1345
|
+
rt
|
1346
|
+
);
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1350
|
+
: TurboModule("NativeIntersectionObserverCxx", jsInvoker) {
|
1351
|
+
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe};
|
1352
|
+
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve};
|
1353
|
+
methodMap_["connect"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect};
|
1354
|
+
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect};
|
1355
|
+
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords};
|
1356
|
+
}
|
1357
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1358
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
1359
|
+
rt,
|
1360
|
+
args[0].asObject(rt)
|
1361
|
+
);
|
1362
|
+
return jsi::Value::undefined();
|
1363
|
+
}
|
1364
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1365
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
1366
|
+
rt,
|
1367
|
+
args[0].asNumber(),
|
1368
|
+
jsi::Value(rt, args[1])
|
1369
|
+
);
|
1370
|
+
return jsi::Value::undefined();
|
1371
|
+
}
|
1372
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1373
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
1374
|
+
rt,
|
1375
|
+
args[0].asObject(rt).asFunction(rt),
|
1376
|
+
args[1].asObject(rt).asFunction(rt)
|
1377
|
+
);
|
1378
|
+
return jsi::Value::undefined();
|
1379
|
+
}
|
1380
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1381
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
1382
|
+
rt
|
1383
|
+
);
|
1384
|
+
return jsi::Value::undefined();
|
1385
|
+
}
|
1386
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1387
|
+
return static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
1388
|
+
rt
|
1389
|
+
);
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
NativeMutationObserverCxxSpecJSI::NativeMutationObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
1393
|
+
: TurboModule("NativeMutationObserverCxx", jsInvoker) {
|
1394
|
+
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeMutationObserverCxxSpecJSI_observe};
|
1395
|
+
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve};
|
1396
|
+
methodMap_["connect"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_connect};
|
1397
|
+
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect};
|
1398
|
+
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords};
|
1399
|
+
}
|
858
1400
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
859
|
-
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(
|
1401
|
+
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(
|
1402
|
+
rt
|
1403
|
+
);
|
860
1404
|
}
|
861
1405
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
862
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
1406
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
1407
|
+
rt,
|
1408
|
+
args[0].asObject(rt).asFunction(rt),
|
1409
|
+
args[1].asObject(rt).asFunction(rt)
|
1410
|
+
);
|
863
1411
|
return jsi::Value::undefined();
|
864
1412
|
}
|
865
1413
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
866
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
1414
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
1415
|
+
rt,
|
1416
|
+
args[0].asString(rt)
|
1417
|
+
);
|
867
1418
|
return jsi::Value::undefined();
|
868
1419
|
}
|
869
1420
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
870
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
1421
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
1422
|
+
rt,
|
1423
|
+
args[0].asNumber()
|
1424
|
+
);
|
871
1425
|
return jsi::Value::undefined();
|
872
1426
|
}
|
873
1427
|
|
@@ -879,43 +1433,80 @@ NativeAppStateCxxSpecJSI::NativeAppStateCxxSpecJSI(std::shared_ptr<CallInvoker>
|
|
879
1433
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_removeListeners};
|
880
1434
|
}
|
881
1435
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
882
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
1436
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
1437
|
+
rt,
|
1438
|
+
args[0].asNumber()
|
1439
|
+
);
|
883
1440
|
return jsi::Value::undefined();
|
884
1441
|
}
|
885
1442
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
886
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(
|
1443
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(
|
1444
|
+
rt,
|
1445
|
+
args[0].asNumber()
|
1446
|
+
);
|
1447
|
+
return jsi::Value::undefined();
|
1448
|
+
}
|
1449
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1450
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setIsBuffered(
|
1451
|
+
rt,
|
1452
|
+
args[0].asObject(rt).asArray(rt),
|
1453
|
+
args[1].asBool()
|
1454
|
+
);
|
887
1455
|
return jsi::Value::undefined();
|
888
1456
|
}
|
889
1457
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
890
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
1458
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
1459
|
+
rt
|
1460
|
+
);
|
891
1461
|
}
|
892
1462
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
893
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(
|
1463
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(
|
1464
|
+
rt,
|
1465
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt).asFunction(rt))
|
1466
|
+
);
|
894
1467
|
return jsi::Value::undefined();
|
895
1468
|
}
|
896
1469
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
897
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
1470
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
1471
|
+
rt,
|
1472
|
+
args[0].asObject(rt)
|
1473
|
+
);
|
898
1474
|
return jsi::Value::undefined();
|
899
1475
|
}
|
900
1476
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
901
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
1477
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
1478
|
+
rt
|
1479
|
+
);
|
902
1480
|
}
|
903
1481
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
904
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
1482
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
1483
|
+
rt,
|
1484
|
+
args[0].asNumber(),
|
1485
|
+
args[1].asNumber()
|
1486
|
+
);
|
905
1487
|
return jsi::Value::undefined();
|
906
1488
|
}
|
907
1489
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
908
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(
|
1490
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(
|
1491
|
+
rt,
|
1492
|
+
args[0].asNumber(),
|
1493
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
1494
|
+
);
|
909
1495
|
return jsi::Value::undefined();
|
910
1496
|
}
|
911
1497
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
912
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(
|
1498
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(
|
1499
|
+
rt,
|
1500
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
1501
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
1502
|
+
);
|
913
1503
|
}
|
914
1504
|
|
915
1505
|
NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
916
1506
|
: TurboModule("NativePerformanceObserverCxx", jsInvoker) {
|
917
1507
|
methodMap_["startReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting};
|
918
1508
|
methodMap_["stopReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting};
|
1509
|
+
methodMap_["setIsBuffered"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered};
|
919
1510
|
methodMap_["popPendingEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries};
|
920
1511
|
methodMap_["setOnPerformanceEntryCallback"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback};
|
921
1512
|
methodMap_["logRawEntry"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry};
|
@@ -925,37 +1516,62 @@ NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::sh
|
|
925
1516
|
methodMap_["getEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries};
|
926
1517
|
}
|
927
1518
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_mark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
928
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
1519
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
1520
|
+
rt,
|
1521
|
+
args[0].asString(rt),
|
1522
|
+
args[1].asNumber()
|
1523
|
+
);
|
929
1524
|
return jsi::Value::undefined();
|
930
1525
|
}
|
931
1526
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
932
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(
|
1527
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(
|
1528
|
+
rt,
|
1529
|
+
args[0].asString(rt),
|
1530
|
+
args[1].asNumber(),
|
1531
|
+
args[2].asNumber(),
|
1532
|
+
count <= 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asNumber()),
|
1533
|
+
count <= 4 || args[4].isNull() || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)),
|
1534
|
+
count <= 5 || args[5].isNull() || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt))
|
1535
|
+
);
|
933
1536
|
return jsi::Value::undefined();
|
934
1537
|
}
|
935
1538
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
936
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
1539
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
1540
|
+
rt
|
1541
|
+
);
|
937
1542
|
}
|
938
1543
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
939
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
1544
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
1545
|
+
rt
|
1546
|
+
);
|
940
1547
|
}
|
941
1548
|
|
942
1549
|
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
943
1550
|
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
944
|
-
methodMap_["mark"] = MethodMetadata {
|
1551
|
+
methodMap_["mark"] = MethodMetadata {2, __hostFunction_NativePerformanceCxxSpecJSI_mark};
|
945
1552
|
methodMap_["measure"] = MethodMetadata {6, __hostFunction_NativePerformanceCxxSpecJSI_measure};
|
946
1553
|
methodMap_["getSimpleMemoryInfo"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo};
|
947
1554
|
methodMap_["getReactNativeStartupTiming"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming};
|
948
1555
|
}
|
949
1556
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
950
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(
|
1557
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(
|
1558
|
+
rt
|
1559
|
+
);
|
951
1560
|
return jsi::Value::undefined();
|
952
1561
|
}
|
953
1562
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
954
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setExtraData(
|
1563
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setExtraData(
|
1564
|
+
rt,
|
1565
|
+
args[0].asObject(rt),
|
1566
|
+
args[1].asObject(rt)
|
1567
|
+
);
|
955
1568
|
return jsi::Value::undefined();
|
956
1569
|
}
|
957
1570
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
958
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(
|
1571
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(
|
1572
|
+
rt,
|
1573
|
+
args[0].asString(rt)
|
1574
|
+
);
|
959
1575
|
return jsi::Value::undefined();
|
960
1576
|
}
|
961
1577
|
|
@@ -966,7 +1582,11 @@ NativeBugReportingCxxSpecJSI::NativeBugReportingCxxSpecJSI(std::shared_ptr<CallI
|
|
966
1582
|
methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID};
|
967
1583
|
}
|
968
1584
|
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
969
|
-
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
1585
|
+
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
1586
|
+
rt,
|
1587
|
+
args[0].asString(rt),
|
1588
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
1589
|
+
);
|
970
1590
|
return jsi::Value::undefined();
|
971
1591
|
}
|
972
1592
|
|
@@ -975,7 +1595,12 @@ NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<C
|
|
975
1595
|
methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete};
|
976
1596
|
}
|
977
1597
|
static jsi::Value __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
978
|
-
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(
|
1598
|
+
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(
|
1599
|
+
rt,
|
1600
|
+
args[0].asNumber(),
|
1601
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)),
|
1602
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asString(rt))
|
1603
|
+
);
|
979
1604
|
return jsi::Value::undefined();
|
980
1605
|
}
|
981
1606
|
|
@@ -984,11 +1609,17 @@ NativeJSCSamplingProfilerCxxSpecJSI::NativeJSCSamplingProfilerCxxSpecJSI(std::sh
|
|
984
1609
|
methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete};
|
985
1610
|
}
|
986
1611
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
987
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
1612
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
1613
|
+
rt,
|
1614
|
+
args[0].asString(rt)
|
1615
|
+
);
|
988
1616
|
return jsi::Value::undefined();
|
989
1617
|
}
|
990
1618
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
991
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
1619
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
1620
|
+
rt,
|
1621
|
+
args[0].asNumber()
|
1622
|
+
);
|
992
1623
|
return jsi::Value::undefined();
|
993
1624
|
}
|
994
1625
|
|
@@ -998,10 +1629,17 @@ NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
998
1629
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners};
|
999
1630
|
}
|
1000
1631
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1001
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
1632
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
1633
|
+
rt,
|
1634
|
+
args[0].asObject(rt)
|
1635
|
+
);
|
1002
1636
|
}
|
1003
1637
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1004
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
1638
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
1639
|
+
rt,
|
1640
|
+
args[0].asObject(rt),
|
1641
|
+
args[1].asString(rt)
|
1642
|
+
);
|
1005
1643
|
}
|
1006
1644
|
|
1007
1645
|
NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -1010,30 +1648,51 @@ NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_p
|
|
1010
1648
|
methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText};
|
1011
1649
|
}
|
1012
1650
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1013
|
-
return static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
1651
|
+
return static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
1652
|
+
rt
|
1653
|
+
);
|
1014
1654
|
}
|
1015
1655
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1016
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addNetworkingHandler(
|
1656
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addNetworkingHandler(
|
1657
|
+
rt
|
1658
|
+
);
|
1017
1659
|
return jsi::Value::undefined();
|
1018
1660
|
}
|
1019
1661
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1020
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
1662
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
1663
|
+
rt,
|
1664
|
+
args[0].asNumber()
|
1665
|
+
);
|
1021
1666
|
return jsi::Value::undefined();
|
1022
1667
|
}
|
1023
1668
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1024
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
1669
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
1670
|
+
rt,
|
1671
|
+
args[0].asNumber()
|
1672
|
+
);
|
1025
1673
|
return jsi::Value::undefined();
|
1026
1674
|
}
|
1027
1675
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1028
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
1676
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
1677
|
+
rt,
|
1678
|
+
args[0].asObject(rt),
|
1679
|
+
args[1].asNumber()
|
1680
|
+
);
|
1029
1681
|
return jsi::Value::undefined();
|
1030
1682
|
}
|
1031
1683
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1032
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
1684
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
1685
|
+
rt,
|
1686
|
+
args[0].asObject(rt).asArray(rt),
|
1687
|
+
args[1].asString(rt)
|
1688
|
+
);
|
1033
1689
|
return jsi::Value::undefined();
|
1034
1690
|
}
|
1035
1691
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1036
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
1692
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
1693
|
+
rt,
|
1694
|
+
args[0].asString(rt)
|
1695
|
+
);
|
1037
1696
|
return jsi::Value::undefined();
|
1038
1697
|
}
|
1039
1698
|
|
@@ -1048,19 +1707,29 @@ NativeBlobModuleCxxSpecJSI::NativeBlobModuleCxxSpecJSI(std::shared_ptr<CallInvok
|
|
1048
1707
|
methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_release};
|
1049
1708
|
}
|
1050
1709
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1051
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
1710
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
1711
|
+
rt,
|
1712
|
+
args[0].asObject(rt)
|
1713
|
+
);
|
1052
1714
|
return jsi::Value::undefined();
|
1053
1715
|
}
|
1054
1716
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1055
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
1717
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
1718
|
+
rt,
|
1719
|
+
args[0].asString(rt)
|
1720
|
+
);
|
1056
1721
|
return jsi::Value::undefined();
|
1057
1722
|
}
|
1058
1723
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1059
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->beginScroll(
|
1724
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->beginScroll(
|
1725
|
+
rt
|
1726
|
+
);
|
1060
1727
|
return jsi::Value::undefined();
|
1061
1728
|
}
|
1062
1729
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1063
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->endScroll(
|
1730
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->endScroll(
|
1731
|
+
rt
|
1732
|
+
);
|
1064
1733
|
return jsi::Value::undefined();
|
1065
1734
|
}
|
1066
1735
|
|
@@ -1072,18 +1741,29 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
1072
1741
|
methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll};
|
1073
1742
|
}
|
1074
1743
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1075
|
-
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
1744
|
+
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
1745
|
+
rt
|
1746
|
+
);
|
1076
1747
|
}
|
1077
1748
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1078
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
1749
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
1750
|
+
rt,
|
1751
|
+
args[0].asBool()
|
1752
|
+
);
|
1079
1753
|
return jsi::Value::undefined();
|
1080
1754
|
}
|
1081
1755
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1082
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
1756
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
1757
|
+
rt,
|
1758
|
+
args[0].asBool()
|
1759
|
+
);
|
1083
1760
|
return jsi::Value::undefined();
|
1084
1761
|
}
|
1085
1762
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1086
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
1763
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
1764
|
+
rt,
|
1765
|
+
args[0].asBool()
|
1766
|
+
);
|
1087
1767
|
return jsi::Value::undefined();
|
1088
1768
|
}
|
1089
1769
|
|
@@ -1095,11 +1775,17 @@ NativeI18nManagerCxxSpecJSI::NativeI18nManagerCxxSpecJSI(std::shared_ptr<CallInv
|
|
1095
1775
|
methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL};
|
1096
1776
|
}
|
1097
1777
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1098
|
-
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
1778
|
+
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
1779
|
+
rt,
|
1780
|
+
args[0].asNumber()
|
1781
|
+
);
|
1099
1782
|
return jsi::Value::undefined();
|
1100
1783
|
}
|
1101
1784
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1102
|
-
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
1785
|
+
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
1786
|
+
rt,
|
1787
|
+
args[0].asNumber()
|
1788
|
+
);
|
1103
1789
|
}
|
1104
1790
|
|
1105
1791
|
NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -1108,99 +1794,185 @@ NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std
|
|
1108
1794
|
methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry};
|
1109
1795
|
}
|
1110
1796
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1111
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
1797
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
1798
|
+
rt
|
1799
|
+
);
|
1112
1800
|
return jsi::Value::undefined();
|
1113
1801
|
}
|
1114
1802
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1115
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
1803
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
1804
|
+
rt
|
1805
|
+
);
|
1116
1806
|
return jsi::Value::undefined();
|
1117
1807
|
}
|
1118
1808
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1119
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
1809
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
1810
|
+
rt,
|
1811
|
+
args[0].asNumber(),
|
1812
|
+
args[1].asObject(rt)
|
1813
|
+
);
|
1120
1814
|
return jsi::Value::undefined();
|
1121
1815
|
}
|
1122
1816
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1123
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
1817
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
1818
|
+
rt,
|
1819
|
+
args[0].asNumber(),
|
1820
|
+
args[1].asObject(rt)
|
1821
|
+
);
|
1124
1822
|
return jsi::Value::undefined();
|
1125
1823
|
}
|
1126
1824
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1127
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
1825
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
1826
|
+
rt,
|
1827
|
+
args[0].asNumber(),
|
1828
|
+
args[1].asObject(rt).asFunction(rt)
|
1829
|
+
);
|
1128
1830
|
return jsi::Value::undefined();
|
1129
1831
|
}
|
1130
1832
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1131
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
1833
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
1834
|
+
rt,
|
1835
|
+
args[0].asNumber()
|
1836
|
+
);
|
1132
1837
|
return jsi::Value::undefined();
|
1133
1838
|
}
|
1134
1839
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1135
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
1840
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
1841
|
+
rt,
|
1842
|
+
args[0].asNumber()
|
1843
|
+
);
|
1136
1844
|
return jsi::Value::undefined();
|
1137
1845
|
}
|
1138
1846
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1139
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
1847
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
1848
|
+
rt,
|
1849
|
+
args[0].asNumber(),
|
1850
|
+
args[1].asNumber()
|
1851
|
+
);
|
1140
1852
|
return jsi::Value::undefined();
|
1141
1853
|
}
|
1142
1854
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1143
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
1855
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
1856
|
+
rt,
|
1857
|
+
args[0].asNumber(),
|
1858
|
+
args[1].asNumber()
|
1859
|
+
);
|
1144
1860
|
return jsi::Value::undefined();
|
1145
1861
|
}
|
1146
1862
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1147
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
1863
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
1864
|
+
rt,
|
1865
|
+
args[0].asNumber(),
|
1866
|
+
args[1].asNumber(),
|
1867
|
+
args[2].asObject(rt),
|
1868
|
+
args[3].asObject(rt).asFunction(rt)
|
1869
|
+
);
|
1148
1870
|
return jsi::Value::undefined();
|
1149
1871
|
}
|
1150
1872
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1151
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
1873
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
1874
|
+
rt,
|
1875
|
+
args[0].asNumber()
|
1876
|
+
);
|
1152
1877
|
return jsi::Value::undefined();
|
1153
1878
|
}
|
1154
1879
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1155
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
1880
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
1881
|
+
rt,
|
1882
|
+
args[0].asNumber(),
|
1883
|
+
args[1].asNumber()
|
1884
|
+
);
|
1156
1885
|
return jsi::Value::undefined();
|
1157
1886
|
}
|
1158
1887
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1159
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
1888
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
1889
|
+
rt,
|
1890
|
+
args[0].asNumber(),
|
1891
|
+
args[1].asNumber()
|
1892
|
+
);
|
1160
1893
|
return jsi::Value::undefined();
|
1161
1894
|
}
|
1162
1895
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1163
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
1896
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
1897
|
+
rt,
|
1898
|
+
args[0].asNumber()
|
1899
|
+
);
|
1164
1900
|
return jsi::Value::undefined();
|
1165
1901
|
}
|
1166
1902
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1167
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
1903
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
1904
|
+
rt,
|
1905
|
+
args[0].asNumber()
|
1906
|
+
);
|
1168
1907
|
return jsi::Value::undefined();
|
1169
1908
|
}
|
1170
1909
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1171
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
1910
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
1911
|
+
rt,
|
1912
|
+
args[0].asNumber(),
|
1913
|
+
args[1].asNumber()
|
1914
|
+
);
|
1172
1915
|
return jsi::Value::undefined();
|
1173
1916
|
}
|
1174
1917
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1175
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
1918
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
1919
|
+
rt,
|
1920
|
+
args[0].asNumber(),
|
1921
|
+
args[1].asNumber()
|
1922
|
+
);
|
1176
1923
|
return jsi::Value::undefined();
|
1177
1924
|
}
|
1178
1925
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1179
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
1926
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
1927
|
+
rt,
|
1928
|
+
args[0].asNumber()
|
1929
|
+
);
|
1180
1930
|
return jsi::Value::undefined();
|
1181
1931
|
}
|
1182
1932
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1183
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
1933
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
1934
|
+
rt,
|
1935
|
+
args[0].asNumber()
|
1936
|
+
);
|
1184
1937
|
return jsi::Value::undefined();
|
1185
1938
|
}
|
1186
1939
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1187
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
1940
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
1941
|
+
rt,
|
1942
|
+
args[0].asNumber(),
|
1943
|
+
args[1].asString(rt),
|
1944
|
+
args[2].asObject(rt)
|
1945
|
+
);
|
1188
1946
|
return jsi::Value::undefined();
|
1189
1947
|
}
|
1190
1948
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1191
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
1949
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
1950
|
+
rt,
|
1951
|
+
args[0].asNumber(),
|
1952
|
+
args[1].asString(rt),
|
1953
|
+
args[2].asNumber()
|
1954
|
+
);
|
1192
1955
|
return jsi::Value::undefined();
|
1193
1956
|
}
|
1194
1957
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1195
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
1958
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
1959
|
+
rt,
|
1960
|
+
args[0].asString(rt)
|
1961
|
+
);
|
1196
1962
|
return jsi::Value::undefined();
|
1197
1963
|
}
|
1198
1964
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1199
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
1965
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
1966
|
+
rt,
|
1967
|
+
args[0].asNumber()
|
1968
|
+
);
|
1200
1969
|
return jsi::Value::undefined();
|
1201
1970
|
}
|
1202
1971
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1203
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
1972
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
1973
|
+
rt,
|
1974
|
+
args[0].asObject(rt).asArray(rt)
|
1975
|
+
);
|
1204
1976
|
return jsi::Value::undefined();
|
1205
1977
|
}
|
1206
1978
|
|
@@ -1232,99 +2004,185 @@ NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::sh
|
|
1232
2004
|
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
1233
2005
|
}
|
1234
2006
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1235
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
2007
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
2008
|
+
rt
|
2009
|
+
);
|
1236
2010
|
return jsi::Value::undefined();
|
1237
2011
|
}
|
1238
2012
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1239
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
2013
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
2014
|
+
rt
|
2015
|
+
);
|
1240
2016
|
return jsi::Value::undefined();
|
1241
2017
|
}
|
1242
2018
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1243
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
2019
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
2020
|
+
rt,
|
2021
|
+
args[0].asNumber(),
|
2022
|
+
args[1].asObject(rt)
|
2023
|
+
);
|
1244
2024
|
return jsi::Value::undefined();
|
1245
2025
|
}
|
1246
2026
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1247
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
2027
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
2028
|
+
rt,
|
2029
|
+
args[0].asNumber(),
|
2030
|
+
args[1].asObject(rt)
|
2031
|
+
);
|
1248
2032
|
return jsi::Value::undefined();
|
1249
2033
|
}
|
1250
2034
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1251
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
2035
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
2036
|
+
rt,
|
2037
|
+
args[0].asNumber(),
|
2038
|
+
args[1].asObject(rt).asFunction(rt)
|
2039
|
+
);
|
1252
2040
|
return jsi::Value::undefined();
|
1253
2041
|
}
|
1254
2042
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1255
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
2043
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
2044
|
+
rt,
|
2045
|
+
args[0].asNumber()
|
2046
|
+
);
|
1256
2047
|
return jsi::Value::undefined();
|
1257
2048
|
}
|
1258
2049
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1259
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
2050
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
2051
|
+
rt,
|
2052
|
+
args[0].asNumber()
|
2053
|
+
);
|
1260
2054
|
return jsi::Value::undefined();
|
1261
2055
|
}
|
1262
2056
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1263
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
2057
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
2058
|
+
rt,
|
2059
|
+
args[0].asNumber(),
|
2060
|
+
args[1].asNumber()
|
2061
|
+
);
|
1264
2062
|
return jsi::Value::undefined();
|
1265
2063
|
}
|
1266
2064
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1267
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
2065
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
2066
|
+
rt,
|
2067
|
+
args[0].asNumber(),
|
2068
|
+
args[1].asNumber()
|
2069
|
+
);
|
1268
2070
|
return jsi::Value::undefined();
|
1269
2071
|
}
|
1270
2072
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1271
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
2073
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
2074
|
+
rt,
|
2075
|
+
args[0].asNumber(),
|
2076
|
+
args[1].asNumber(),
|
2077
|
+
args[2].asObject(rt),
|
2078
|
+
args[3].asObject(rt).asFunction(rt)
|
2079
|
+
);
|
1272
2080
|
return jsi::Value::undefined();
|
1273
2081
|
}
|
1274
2082
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1275
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
2083
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
2084
|
+
rt,
|
2085
|
+
args[0].asNumber()
|
2086
|
+
);
|
1276
2087
|
return jsi::Value::undefined();
|
1277
2088
|
}
|
1278
2089
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1279
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
2090
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
2091
|
+
rt,
|
2092
|
+
args[0].asNumber(),
|
2093
|
+
args[1].asNumber()
|
2094
|
+
);
|
1280
2095
|
return jsi::Value::undefined();
|
1281
2096
|
}
|
1282
2097
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1283
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
2098
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
2099
|
+
rt,
|
2100
|
+
args[0].asNumber(),
|
2101
|
+
args[1].asNumber()
|
2102
|
+
);
|
1284
2103
|
return jsi::Value::undefined();
|
1285
2104
|
}
|
1286
2105
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1287
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
2106
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
2107
|
+
rt,
|
2108
|
+
args[0].asNumber()
|
2109
|
+
);
|
1288
2110
|
return jsi::Value::undefined();
|
1289
2111
|
}
|
1290
2112
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1291
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
2113
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
2114
|
+
rt,
|
2115
|
+
args[0].asNumber()
|
2116
|
+
);
|
1292
2117
|
return jsi::Value::undefined();
|
1293
2118
|
}
|
1294
2119
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1295
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
2120
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
2121
|
+
rt,
|
2122
|
+
args[0].asNumber(),
|
2123
|
+
args[1].asNumber()
|
2124
|
+
);
|
1296
2125
|
return jsi::Value::undefined();
|
1297
2126
|
}
|
1298
2127
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1299
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
2128
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
2129
|
+
rt,
|
2130
|
+
args[0].asNumber(),
|
2131
|
+
args[1].asNumber()
|
2132
|
+
);
|
1300
2133
|
return jsi::Value::undefined();
|
1301
2134
|
}
|
1302
2135
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1303
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
2136
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
2137
|
+
rt,
|
2138
|
+
args[0].asNumber()
|
2139
|
+
);
|
1304
2140
|
return jsi::Value::undefined();
|
1305
2141
|
}
|
1306
2142
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1307
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
2143
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
2144
|
+
rt,
|
2145
|
+
args[0].asNumber()
|
2146
|
+
);
|
1308
2147
|
return jsi::Value::undefined();
|
1309
2148
|
}
|
1310
2149
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1311
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
2150
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
2151
|
+
rt,
|
2152
|
+
args[0].asNumber(),
|
2153
|
+
args[1].asString(rt),
|
2154
|
+
args[2].asObject(rt)
|
2155
|
+
);
|
1312
2156
|
return jsi::Value::undefined();
|
1313
2157
|
}
|
1314
2158
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1315
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
2159
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
2160
|
+
rt,
|
2161
|
+
args[0].asNumber(),
|
2162
|
+
args[1].asString(rt),
|
2163
|
+
args[2].asNumber()
|
2164
|
+
);
|
1316
2165
|
return jsi::Value::undefined();
|
1317
2166
|
}
|
1318
2167
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1319
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
2168
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
2169
|
+
rt,
|
2170
|
+
args[0].asString(rt)
|
2171
|
+
);
|
1320
2172
|
return jsi::Value::undefined();
|
1321
2173
|
}
|
1322
2174
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1323
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
2175
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
2176
|
+
rt,
|
2177
|
+
args[0].asNumber()
|
2178
|
+
);
|
1324
2179
|
return jsi::Value::undefined();
|
1325
2180
|
}
|
1326
2181
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1327
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
2182
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
2183
|
+
rt,
|
2184
|
+
args[0].asObject(rt).asArray(rt)
|
2185
|
+
);
|
1328
2186
|
return jsi::Value::undefined();
|
1329
2187
|
}
|
1330
2188
|
|
@@ -1356,76 +2214,129 @@ NativeAnimatedModuleCxxSpecJSI::NativeAnimatedModuleCxxSpecJSI(std::shared_ptr<C
|
|
1356
2214
|
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
1357
2215
|
}
|
1358
2216
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1359
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
2217
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
2218
|
+
rt
|
2219
|
+
);
|
1360
2220
|
}
|
1361
2221
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1362
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
2222
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
2223
|
+
rt,
|
2224
|
+
args[0].asString(rt),
|
2225
|
+
args[1].asString(rt)
|
2226
|
+
);
|
1363
2227
|
return jsi::Value::undefined();
|
1364
2228
|
}
|
1365
2229
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1366
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
2230
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
2231
|
+
rt,
|
2232
|
+
args[0].asNumber()
|
2233
|
+
);
|
1367
2234
|
return jsi::Value::undefined();
|
1368
2235
|
}
|
1369
2236
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1370
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
2237
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
2238
|
+
rt,
|
2239
|
+
args[0].asObject(rt).asFunction(rt)
|
2240
|
+
);
|
1371
2241
|
return jsi::Value::undefined();
|
1372
2242
|
}
|
1373
2243
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1374
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
2244
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
2245
|
+
rt,
|
2246
|
+
args[0].asObject(rt)
|
2247
|
+
);
|
1375
2248
|
}
|
1376
2249
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1377
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(
|
2250
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(
|
2251
|
+
rt
|
2252
|
+
);
|
1378
2253
|
return jsi::Value::undefined();
|
1379
2254
|
}
|
1380
2255
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1381
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
2256
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
2257
|
+
rt,
|
2258
|
+
args[0].asObject(rt).asFunction(rt)
|
2259
|
+
);
|
1382
2260
|
return jsi::Value::undefined();
|
1383
2261
|
}
|
1384
2262
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1385
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
2263
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
2264
|
+
rt,
|
2265
|
+
args[0].asObject(rt)
|
2266
|
+
);
|
1386
2267
|
return jsi::Value::undefined();
|
1387
2268
|
}
|
1388
2269
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1389
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
2270
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
2271
|
+
rt,
|
2272
|
+
args[0].asObject(rt)
|
2273
|
+
);
|
1390
2274
|
return jsi::Value::undefined();
|
1391
2275
|
}
|
1392
2276
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1393
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(
|
2277
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(
|
2278
|
+
rt
|
2279
|
+
);
|
1394
2280
|
return jsi::Value::undefined();
|
1395
2281
|
}
|
1396
2282
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1397
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
2283
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
2284
|
+
rt,
|
2285
|
+
args[0].asObject(rt)
|
2286
|
+
);
|
1398
2287
|
return jsi::Value::undefined();
|
1399
2288
|
}
|
1400
2289
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1401
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(
|
2290
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(
|
2291
|
+
rt
|
2292
|
+
);
|
1402
2293
|
}
|
1403
2294
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1404
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
2295
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
2296
|
+
rt,
|
2297
|
+
args[0].asObject(rt).asFunction(rt)
|
2298
|
+
);
|
1405
2299
|
return jsi::Value::undefined();
|
1406
2300
|
}
|
1407
2301
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1408
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(
|
2302
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(
|
2303
|
+
rt
|
2304
|
+
);
|
1409
2305
|
return jsi::Value::undefined();
|
1410
2306
|
}
|
1411
2307
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1412
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
2308
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
2309
|
+
rt,
|
2310
|
+
args[0].asObject(rt).asArray(rt)
|
2311
|
+
);
|
1413
2312
|
return jsi::Value::undefined();
|
1414
2313
|
}
|
1415
2314
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1416
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
2315
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
2316
|
+
rt,
|
2317
|
+
args[0].asObject(rt).asFunction(rt)
|
2318
|
+
);
|
1417
2319
|
return jsi::Value::undefined();
|
1418
2320
|
}
|
1419
2321
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1420
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
2322
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
2323
|
+
rt,
|
2324
|
+
args[0].asObject(rt).asFunction(rt)
|
2325
|
+
);
|
1421
2326
|
return jsi::Value::undefined();
|
1422
2327
|
}
|
1423
2328
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1424
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
2329
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
2330
|
+
rt,
|
2331
|
+
args[0].asString(rt)
|
2332
|
+
);
|
1425
2333
|
return jsi::Value::undefined();
|
1426
2334
|
}
|
1427
2335
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1428
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
2336
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
2337
|
+
rt,
|
2338
|
+
args[0].asNumber()
|
2339
|
+
);
|
1429
2340
|
return jsi::Value::undefined();
|
1430
2341
|
}
|
1431
2342
|
|
@@ -1452,23 +2363,39 @@ NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxS
|
|
1452
2363
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners};
|
1453
2364
|
}
|
1454
2365
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1455
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(
|
2366
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(
|
2367
|
+
rt
|
2368
|
+
);
|
1456
2369
|
}
|
1457
2370
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1458
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
2371
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
2372
|
+
rt,
|
2373
|
+
args[0].asString(rt)
|
2374
|
+
);
|
1459
2375
|
}
|
1460
2376
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1461
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
2377
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
2378
|
+
rt,
|
2379
|
+
args[0].asString(rt)
|
2380
|
+
);
|
1462
2381
|
}
|
1463
2382
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1464
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(
|
2383
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(
|
2384
|
+
rt
|
2385
|
+
);
|
1465
2386
|
}
|
1466
2387
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1467
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
2388
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
2389
|
+
rt,
|
2390
|
+
args[0].asString(rt)
|
2391
|
+
);
|
1468
2392
|
return jsi::Value::undefined();
|
1469
2393
|
}
|
1470
2394
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1471
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
2395
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
2396
|
+
rt,
|
2397
|
+
args[0].asNumber()
|
2398
|
+
);
|
1472
2399
|
return jsi::Value::undefined();
|
1473
2400
|
}
|
1474
2401
|
|
@@ -1482,19 +2409,33 @@ NativeLinkingManagerCxxSpecJSI::NativeLinkingManagerCxxSpecJSI(std::shared_ptr<C
|
|
1482
2409
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners};
|
1483
2410
|
}
|
1484
2411
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1485
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(
|
2412
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(
|
2413
|
+
rt
|
2414
|
+
);
|
1486
2415
|
}
|
1487
2416
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1488
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
2417
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
2418
|
+
rt,
|
2419
|
+
args[0].asString(rt)
|
2420
|
+
);
|
1489
2421
|
}
|
1490
2422
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1491
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
2423
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
2424
|
+
rt,
|
2425
|
+
args[0].asString(rt)
|
2426
|
+
);
|
1492
2427
|
}
|
1493
2428
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1494
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(
|
2429
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(
|
2430
|
+
rt
|
2431
|
+
);
|
1495
2432
|
}
|
1496
2433
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1497
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
2434
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
2435
|
+
rt,
|
2436
|
+
args[0].asString(rt),
|
2437
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
2438
|
+
);
|
1498
2439
|
}
|
1499
2440
|
|
1500
2441
|
NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
@@ -1506,10 +2447,16 @@ NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<Cal
|
|
1506
2447
|
methodMap_["sendIntent"] = MethodMetadata {2, __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent};
|
1507
2448
|
}
|
1508
2449
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1509
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
2450
|
+
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
2451
|
+
rt
|
2452
|
+
);
|
1510
2453
|
}
|
1511
2454
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
1512
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
2455
|
+
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
2456
|
+
rt,
|
2457
|
+
args[0].asObject(rt),
|
2458
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
2459
|
+
);
|
1513
2460
|
}
|
1514
2461
|
|
1515
2462
|
NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|