react-native-windows 0.81.27 → 0.81.29
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/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +3 -2
- package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +2 -1
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +1 -0
- package/Microsoft.ReactNative/Utils/LocalBundleReader.cpp +33 -25
- package/Microsoft.ReactNative/Utils/LocalBundleReader.h +5 -3
- package/Microsoft.ReactNative/Utils/PropertyUtils.h +1 -1
- package/Microsoft.ReactNative/Utils/UwpScriptStore.cpp +2 -2
- package/Microsoft.ReactNative/Utils/UwpScriptStore.h +3 -2
- package/Microsoft.ReactNative/Views/FrameworkElementViewManager.cpp +1 -1
- package/Microsoft.ReactNative/Views/ScrollViewManager.cpp +5 -5
- package/Microsoft.ReactNative/Views/TextViewManager.cpp +1 -1
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +16 -0
- package/Microsoft.ReactNative.Cxx/NativeModules.h +2 -1
- package/Microsoft.ReactNative.Managed/Microsoft.ReactNative.Managed.csproj +3 -3
- package/Microsoft.ReactNative.Managed.CodeGen/Microsoft.ReactNative.Managed.CodeGen.csproj +8 -18
- package/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Debug.pubxml +1 -1
- package/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Release.pubxml +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/PropertySheets/React.Cpp.props +4 -3
- package/PropertySheets/WinUI.props +2 -2
- package/Scripts/JustMyXaml.ps1 +8 -8
- package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +12 -18
- package/Scripts/UnitTest.ps1 +3 -1
- package/Scripts/rnw-dependencies.ps1 +27 -14
- package/Shared/DevSettings.h +2 -0
- package/Shared/DevSupportManager.cpp +55 -48
- package/Shared/DevSupportManager.h +0 -1
- package/Shared/Hermes/HermesSamplingProfiler.cpp +2 -4
- package/Shared/HermesRuntimeHolder.cpp +1 -2
- package/Shared/Modules/IWebSocketModuleContentHandler.h +15 -0
- package/Shared/Modules/WebSocketModule.cpp +8 -3
- package/Shared/Networking/DefaultBlobResource.cpp +37 -0
- package/Shared/Networking/DefaultBlobResource.h +12 -0
- package/Shared/Networking/WinRTWebSocketResource.h +5 -1
- package/codegen/rnwcoreJSI-generated.cpp +419 -419
- package/just-task.js +13 -2
- package/package.json +3 -3
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +1 -1
- package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +1 -1
|
@@ -390,64 +390,64 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
390
390
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
391
391
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
392
392
|
rt,
|
|
393
|
-
count
|
|
393
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
394
394
|
);
|
|
395
395
|
return jsi::Value::undefined();
|
|
396
396
|
}
|
|
397
397
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isInvertColorsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
398
398
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isInvertColorsEnabled(
|
|
399
399
|
rt,
|
|
400
|
-
count
|
|
400
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
401
401
|
);
|
|
402
402
|
return jsi::Value::undefined();
|
|
403
403
|
}
|
|
404
404
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isHighTextContrastEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
405
405
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isHighTextContrastEnabled(
|
|
406
406
|
rt,
|
|
407
|
-
count
|
|
407
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
408
408
|
);
|
|
409
409
|
return jsi::Value::undefined();
|
|
410
410
|
}
|
|
411
411
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
412
412
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
413
413
|
rt,
|
|
414
|
-
count
|
|
414
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
415
415
|
);
|
|
416
416
|
return jsi::Value::undefined();
|
|
417
417
|
}
|
|
418
418
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
419
419
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
420
420
|
rt,
|
|
421
|
-
count
|
|
421
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
422
422
|
);
|
|
423
423
|
return jsi::Value::undefined();
|
|
424
424
|
}
|
|
425
425
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
426
426
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
427
427
|
rt,
|
|
428
|
-
count
|
|
428
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
429
429
|
);
|
|
430
430
|
return jsi::Value::undefined();
|
|
431
431
|
}
|
|
432
432
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
433
433
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
434
434
|
rt,
|
|
435
|
-
count
|
|
435
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
436
436
|
);
|
|
437
437
|
return jsi::Value::undefined();
|
|
438
438
|
}
|
|
439
439
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
440
440
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
441
441
|
rt,
|
|
442
|
-
count
|
|
443
|
-
count
|
|
442
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
443
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
444
444
|
);
|
|
445
445
|
return jsi::Value::undefined();
|
|
446
446
|
}
|
|
447
447
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isGrayscaleEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
448
448
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isGrayscaleEnabled(
|
|
449
449
|
rt,
|
|
450
|
-
count
|
|
450
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
451
451
|
);
|
|
452
452
|
return jsi::Value::undefined();
|
|
453
453
|
}
|
|
@@ -467,93 +467,93 @@ NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared
|
|
|
467
467
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
468
468
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
469
469
|
rt,
|
|
470
|
-
count
|
|
471
|
-
count
|
|
470
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
471
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
472
472
|
);
|
|
473
473
|
return jsi::Value::undefined();
|
|
474
474
|
}
|
|
475
475
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
476
476
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
477
477
|
rt,
|
|
478
|
-
count
|
|
479
|
-
count
|
|
478
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
479
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
480
480
|
);
|
|
481
481
|
return jsi::Value::undefined();
|
|
482
482
|
}
|
|
483
483
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
484
484
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
485
485
|
rt,
|
|
486
|
-
count
|
|
487
|
-
count
|
|
486
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
487
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
488
488
|
);
|
|
489
489
|
return jsi::Value::undefined();
|
|
490
490
|
}
|
|
491
491
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
492
492
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
493
493
|
rt,
|
|
494
|
-
count
|
|
495
|
-
count
|
|
494
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
495
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
496
496
|
);
|
|
497
497
|
return jsi::Value::undefined();
|
|
498
498
|
}
|
|
499
499
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentDarkerSystemColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
500
500
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentDarkerSystemColorsState(
|
|
501
501
|
rt,
|
|
502
|
-
count
|
|
503
|
-
count
|
|
502
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
503
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
504
504
|
);
|
|
505
505
|
return jsi::Value::undefined();
|
|
506
506
|
}
|
|
507
507
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
508
508
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
509
509
|
rt,
|
|
510
|
-
count
|
|
511
|
-
count
|
|
510
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
511
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
512
512
|
);
|
|
513
513
|
return jsi::Value::undefined();
|
|
514
514
|
}
|
|
515
515
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
516
516
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
517
517
|
rt,
|
|
518
|
-
count
|
|
519
|
-
count
|
|
518
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
519
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
520
520
|
);
|
|
521
521
|
return jsi::Value::undefined();
|
|
522
522
|
}
|
|
523
523
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
524
524
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
525
525
|
rt,
|
|
526
|
-
count
|
|
527
|
-
count
|
|
526
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
527
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
528
528
|
);
|
|
529
529
|
return jsi::Value::undefined();
|
|
530
530
|
}
|
|
531
531
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
532
532
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
533
533
|
rt,
|
|
534
|
-
count
|
|
534
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
535
535
|
);
|
|
536
536
|
return jsi::Value::undefined();
|
|
537
537
|
}
|
|
538
538
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
539
539
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
540
540
|
rt,
|
|
541
|
-
count
|
|
541
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
542
542
|
);
|
|
543
543
|
return jsi::Value::undefined();
|
|
544
544
|
}
|
|
545
545
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
546
546
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
547
547
|
rt,
|
|
548
|
-
count
|
|
548
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
549
549
|
);
|
|
550
550
|
return jsi::Value::undefined();
|
|
551
551
|
}
|
|
552
552
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
553
553
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
554
554
|
rt,
|
|
555
|
-
count
|
|
556
|
-
count
|
|
555
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
556
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
557
557
|
);
|
|
558
558
|
return jsi::Value::undefined();
|
|
559
559
|
}
|
|
@@ -581,17 +581,17 @@ static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants
|
|
|
581
581
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
582
582
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
|
583
583
|
rt,
|
|
584
|
-
count
|
|
585
|
-
count
|
|
584
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
585
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
586
586
|
);
|
|
587
587
|
return jsi::Value::undefined();
|
|
588
588
|
}
|
|
589
589
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
590
590
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
|
591
591
|
rt,
|
|
592
|
-
count
|
|
593
|
-
count
|
|
594
|
-
count
|
|
592
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
593
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
594
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
595
595
|
);
|
|
596
596
|
return jsi::Value::undefined();
|
|
597
597
|
}
|
|
@@ -612,8 +612,8 @@ NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shar
|
|
|
612
612
|
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
613
613
|
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
|
614
614
|
rt,
|
|
615
|
-
count
|
|
616
|
-
count
|
|
615
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
616
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
617
617
|
);
|
|
618
618
|
return jsi::Value::undefined();
|
|
619
619
|
}
|
|
@@ -637,170 +637,170 @@ static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationB
|
|
|
637
637
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
638
638
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
639
639
|
rt,
|
|
640
|
-
count
|
|
641
|
-
count
|
|
640
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
641
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
642
642
|
);
|
|
643
643
|
return jsi::Value::undefined();
|
|
644
644
|
}
|
|
645
645
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
646
646
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
647
647
|
rt,
|
|
648
|
-
count
|
|
649
|
-
count
|
|
648
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
649
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
650
650
|
);
|
|
651
651
|
return jsi::Value::undefined();
|
|
652
652
|
}
|
|
653
653
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
654
654
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
655
655
|
rt,
|
|
656
|
-
count
|
|
657
|
-
count
|
|
656
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
657
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
658
658
|
);
|
|
659
659
|
return jsi::Value::undefined();
|
|
660
660
|
}
|
|
661
661
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
662
662
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
663
663
|
rt,
|
|
664
|
-
count
|
|
664
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
665
665
|
);
|
|
666
666
|
return jsi::Value::undefined();
|
|
667
667
|
}
|
|
668
668
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
669
669
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
670
670
|
rt,
|
|
671
|
-
count
|
|
671
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
672
672
|
);
|
|
673
673
|
return jsi::Value::undefined();
|
|
674
674
|
}
|
|
675
675
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
676
676
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
677
677
|
rt,
|
|
678
|
-
count
|
|
679
|
-
count
|
|
678
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
679
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
680
680
|
);
|
|
681
681
|
return jsi::Value::undefined();
|
|
682
682
|
}
|
|
683
683
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
684
684
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
685
685
|
rt,
|
|
686
|
-
count
|
|
687
|
-
count
|
|
686
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
687
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
688
688
|
);
|
|
689
689
|
return jsi::Value::undefined();
|
|
690
690
|
}
|
|
691
691
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
692
692
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
693
693
|
rt,
|
|
694
|
-
count
|
|
695
|
-
count
|
|
696
|
-
count
|
|
697
|
-
count
|
|
694
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
695
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
696
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
697
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
698
698
|
);
|
|
699
699
|
return jsi::Value::undefined();
|
|
700
700
|
}
|
|
701
701
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
702
702
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
703
703
|
rt,
|
|
704
|
-
count
|
|
704
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
705
705
|
);
|
|
706
706
|
return jsi::Value::undefined();
|
|
707
707
|
}
|
|
708
708
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
709
709
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
710
710
|
rt,
|
|
711
|
-
count
|
|
712
|
-
count
|
|
711
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
712
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
713
713
|
);
|
|
714
714
|
return jsi::Value::undefined();
|
|
715
715
|
}
|
|
716
716
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
717
717
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
718
718
|
rt,
|
|
719
|
-
count
|
|
720
|
-
count
|
|
719
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
720
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
721
721
|
);
|
|
722
722
|
return jsi::Value::undefined();
|
|
723
723
|
}
|
|
724
724
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
725
725
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
726
726
|
rt,
|
|
727
|
-
count
|
|
727
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
728
728
|
);
|
|
729
729
|
return jsi::Value::undefined();
|
|
730
730
|
}
|
|
731
731
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
732
732
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
733
733
|
rt,
|
|
734
|
-
count
|
|
734
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
735
735
|
);
|
|
736
736
|
return jsi::Value::undefined();
|
|
737
737
|
}
|
|
738
738
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
739
739
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
740
740
|
rt,
|
|
741
|
-
count
|
|
742
|
-
count
|
|
741
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
742
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
743
743
|
);
|
|
744
744
|
return jsi::Value::undefined();
|
|
745
745
|
}
|
|
746
746
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
747
747
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
748
748
|
rt,
|
|
749
|
-
count
|
|
750
|
-
count
|
|
749
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
750
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
751
751
|
);
|
|
752
752
|
return jsi::Value::undefined();
|
|
753
753
|
}
|
|
754
754
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
755
755
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
756
756
|
rt,
|
|
757
|
-
count
|
|
757
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
758
758
|
);
|
|
759
759
|
return jsi::Value::undefined();
|
|
760
760
|
}
|
|
761
761
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
762
762
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
763
763
|
rt,
|
|
764
|
-
count
|
|
764
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
765
765
|
);
|
|
766
766
|
return jsi::Value::undefined();
|
|
767
767
|
}
|
|
768
768
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
769
769
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
770
770
|
rt,
|
|
771
|
-
count
|
|
772
|
-
count
|
|
773
|
-
count
|
|
771
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
772
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
773
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
774
774
|
);
|
|
775
775
|
return jsi::Value::undefined();
|
|
776
776
|
}
|
|
777
777
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
778
778
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
779
779
|
rt,
|
|
780
|
-
count
|
|
781
|
-
count
|
|
782
|
-
count
|
|
780
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
781
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
782
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
783
783
|
);
|
|
784
784
|
return jsi::Value::undefined();
|
|
785
785
|
}
|
|
786
786
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
787
787
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
788
788
|
rt,
|
|
789
|
-
count
|
|
789
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
790
790
|
);
|
|
791
791
|
return jsi::Value::undefined();
|
|
792
792
|
}
|
|
793
793
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
794
794
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
795
795
|
rt,
|
|
796
|
-
count
|
|
796
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
797
797
|
);
|
|
798
798
|
return jsi::Value::undefined();
|
|
799
799
|
}
|
|
800
800
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
801
801
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
802
802
|
rt,
|
|
803
|
-
count
|
|
803
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
804
804
|
);
|
|
805
805
|
return jsi::Value::undefined();
|
|
806
806
|
}
|
|
@@ -847,170 +847,170 @@ static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOpera
|
|
|
847
847
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
848
848
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
849
849
|
rt,
|
|
850
|
-
count
|
|
851
|
-
count
|
|
850
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
851
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
852
852
|
);
|
|
853
853
|
return jsi::Value::undefined();
|
|
854
854
|
}
|
|
855
855
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
856
856
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
857
857
|
rt,
|
|
858
|
-
count
|
|
859
|
-
count
|
|
858
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
859
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
860
860
|
);
|
|
861
861
|
return jsi::Value::undefined();
|
|
862
862
|
}
|
|
863
863
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
864
864
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
865
865
|
rt,
|
|
866
|
-
count
|
|
867
|
-
count
|
|
866
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
867
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
868
868
|
);
|
|
869
869
|
return jsi::Value::undefined();
|
|
870
870
|
}
|
|
871
871
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
872
872
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
873
873
|
rt,
|
|
874
|
-
count
|
|
874
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
875
875
|
);
|
|
876
876
|
return jsi::Value::undefined();
|
|
877
877
|
}
|
|
878
878
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
879
879
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
880
880
|
rt,
|
|
881
|
-
count
|
|
881
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
882
882
|
);
|
|
883
883
|
return jsi::Value::undefined();
|
|
884
884
|
}
|
|
885
885
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
886
886
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
887
887
|
rt,
|
|
888
|
-
count
|
|
889
|
-
count
|
|
888
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
889
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
890
890
|
);
|
|
891
891
|
return jsi::Value::undefined();
|
|
892
892
|
}
|
|
893
893
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
894
894
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
895
895
|
rt,
|
|
896
|
-
count
|
|
897
|
-
count
|
|
896
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
897
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
898
898
|
);
|
|
899
899
|
return jsi::Value::undefined();
|
|
900
900
|
}
|
|
901
901
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
902
902
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
903
903
|
rt,
|
|
904
|
-
count
|
|
905
|
-
count
|
|
906
|
-
count
|
|
907
|
-
count
|
|
904
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
905
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
906
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
907
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
908
908
|
);
|
|
909
909
|
return jsi::Value::undefined();
|
|
910
910
|
}
|
|
911
911
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
912
912
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
913
913
|
rt,
|
|
914
|
-
count
|
|
914
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
915
915
|
);
|
|
916
916
|
return jsi::Value::undefined();
|
|
917
917
|
}
|
|
918
918
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
919
919
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
920
920
|
rt,
|
|
921
|
-
count
|
|
922
|
-
count
|
|
921
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
922
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
923
923
|
);
|
|
924
924
|
return jsi::Value::undefined();
|
|
925
925
|
}
|
|
926
926
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
927
927
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
928
928
|
rt,
|
|
929
|
-
count
|
|
930
|
-
count
|
|
929
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
930
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
931
931
|
);
|
|
932
932
|
return jsi::Value::undefined();
|
|
933
933
|
}
|
|
934
934
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
935
935
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
936
936
|
rt,
|
|
937
|
-
count
|
|
937
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
938
938
|
);
|
|
939
939
|
return jsi::Value::undefined();
|
|
940
940
|
}
|
|
941
941
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
942
942
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
943
943
|
rt,
|
|
944
|
-
count
|
|
944
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
945
945
|
);
|
|
946
946
|
return jsi::Value::undefined();
|
|
947
947
|
}
|
|
948
948
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
949
949
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
950
950
|
rt,
|
|
951
|
-
count
|
|
952
|
-
count
|
|
951
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
952
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
953
953
|
);
|
|
954
954
|
return jsi::Value::undefined();
|
|
955
955
|
}
|
|
956
956
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
957
957
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
958
958
|
rt,
|
|
959
|
-
count
|
|
960
|
-
count
|
|
959
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
960
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
961
961
|
);
|
|
962
962
|
return jsi::Value::undefined();
|
|
963
963
|
}
|
|
964
964
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
965
965
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
966
966
|
rt,
|
|
967
|
-
count
|
|
967
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
968
968
|
);
|
|
969
969
|
return jsi::Value::undefined();
|
|
970
970
|
}
|
|
971
971
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
972
972
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
973
973
|
rt,
|
|
974
|
-
count
|
|
974
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
975
975
|
);
|
|
976
976
|
return jsi::Value::undefined();
|
|
977
977
|
}
|
|
978
978
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
979
979
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
980
980
|
rt,
|
|
981
|
-
count
|
|
982
|
-
count
|
|
983
|
-
count
|
|
981
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
982
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
983
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
984
984
|
);
|
|
985
985
|
return jsi::Value::undefined();
|
|
986
986
|
}
|
|
987
987
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
988
988
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
989
989
|
rt,
|
|
990
|
-
count
|
|
991
|
-
count
|
|
992
|
-
count
|
|
990
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
991
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
992
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
993
993
|
);
|
|
994
994
|
return jsi::Value::undefined();
|
|
995
995
|
}
|
|
996
996
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
997
997
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
998
998
|
rt,
|
|
999
|
-
count
|
|
999
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1000
1000
|
);
|
|
1001
1001
|
return jsi::Value::undefined();
|
|
1002
1002
|
}
|
|
1003
1003
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1004
1004
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1005
1005
|
rt,
|
|
1006
|
-
count
|
|
1006
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1007
1007
|
);
|
|
1008
1008
|
return jsi::Value::undefined();
|
|
1009
1009
|
}
|
|
1010
1010
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1011
1011
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
1012
1012
|
rt,
|
|
1013
|
-
count
|
|
1013
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1014
1014
|
);
|
|
1015
1015
|
return jsi::Value::undefined();
|
|
1016
1016
|
}
|
|
@@ -1051,21 +1051,21 @@ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::
|
|
|
1051
1051
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1052
1052
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
1053
1053
|
rt,
|
|
1054
|
-
count
|
|
1054
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1055
1055
|
);
|
|
1056
1056
|
return jsi::Value::undefined();
|
|
1057
1057
|
}
|
|
1058
1058
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1059
1059
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
1060
1060
|
rt,
|
|
1061
|
-
count
|
|
1061
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1062
1062
|
);
|
|
1063
1063
|
return jsi::Value::undefined();
|
|
1064
1064
|
}
|
|
1065
1065
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1066
1066
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1067
1067
|
rt,
|
|
1068
|
-
count
|
|
1068
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1069
1069
|
);
|
|
1070
1070
|
return jsi::Value::undefined();
|
|
1071
1071
|
}
|
|
@@ -1085,22 +1085,22 @@ static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runt
|
|
|
1085
1085
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1086
1086
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
1087
1087
|
rt,
|
|
1088
|
-
count
|
|
1089
|
-
count
|
|
1088
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
1089
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1090
1090
|
);
|
|
1091
1091
|
return jsi::Value::undefined();
|
|
1092
1092
|
}
|
|
1093
1093
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1094
1094
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
1095
1095
|
rt,
|
|
1096
|
-
count
|
|
1096
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1097
1097
|
);
|
|
1098
1098
|
return jsi::Value::undefined();
|
|
1099
1099
|
}
|
|
1100
1100
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1101
1101
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1102
1102
|
rt,
|
|
1103
|
-
count
|
|
1103
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1104
1104
|
);
|
|
1105
1105
|
return jsi::Value::undefined();
|
|
1106
1106
|
}
|
|
@@ -1136,37 +1136,37 @@ static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler
|
|
|
1136
1136
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1137
1137
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
|
1138
1138
|
rt,
|
|
1139
|
-
count
|
|
1139
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1140
1140
|
);
|
|
1141
1141
|
return jsi::Value::undefined();
|
|
1142
1142
|
}
|
|
1143
1143
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1144
1144
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
|
1145
1145
|
rt,
|
|
1146
|
-
count
|
|
1146
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1147
1147
|
);
|
|
1148
1148
|
return jsi::Value::undefined();
|
|
1149
1149
|
}
|
|
1150
1150
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1151
1151
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
|
1152
1152
|
rt,
|
|
1153
|
-
count
|
|
1154
|
-
count
|
|
1153
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1154
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1155
1155
|
);
|
|
1156
1156
|
return jsi::Value::undefined();
|
|
1157
1157
|
}
|
|
1158
1158
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1159
1159
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
|
1160
1160
|
rt,
|
|
1161
|
-
count
|
|
1162
|
-
count
|
|
1161
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
1162
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1163
1163
|
);
|
|
1164
1164
|
return jsi::Value::undefined();
|
|
1165
1165
|
}
|
|
1166
1166
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1167
1167
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
|
1168
1168
|
rt,
|
|
1169
|
-
count
|
|
1169
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1170
1170
|
);
|
|
1171
1171
|
return jsi::Value::undefined();
|
|
1172
1172
|
}
|
|
@@ -1194,7 +1194,7 @@ static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtim
|
|
|
1194
1194
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1195
1195
|
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
1196
1196
|
rt,
|
|
1197
|
-
count
|
|
1197
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1198
1198
|
);
|
|
1199
1199
|
return jsi::Value::undefined();
|
|
1200
1200
|
}
|
|
@@ -1229,7 +1229,7 @@ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1229
1229
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1230
1230
|
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
1231
1231
|
rt,
|
|
1232
|
-
count
|
|
1232
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1233
1233
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
1234
1234
|
count <= 2 || args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
1235
1235
|
);
|
|
@@ -1256,7 +1256,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime
|
|
|
1256
1256
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1257
1257
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
1258
1258
|
rt,
|
|
1259
|
-
count
|
|
1259
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1260
1260
|
);
|
|
1261
1261
|
return jsi::Value::undefined();
|
|
1262
1262
|
}
|
|
@@ -1269,14 +1269,14 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::
|
|
|
1269
1269
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1270
1270
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
1271
1271
|
rt,
|
|
1272
|
-
count
|
|
1272
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1273
1273
|
);
|
|
1274
1274
|
return jsi::Value::undefined();
|
|
1275
1275
|
}
|
|
1276
1276
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1277
1277
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
1278
1278
|
rt,
|
|
1279
|
-
count
|
|
1279
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1280
1280
|
);
|
|
1281
1281
|
return jsi::Value::undefined();
|
|
1282
1282
|
}
|
|
@@ -1289,7 +1289,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspec
|
|
|
1289
1289
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1290
1290
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
1291
1291
|
rt,
|
|
1292
|
-
count
|
|
1292
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1293
1293
|
);
|
|
1294
1294
|
return jsi::Value::undefined();
|
|
1295
1295
|
}
|
|
@@ -1302,21 +1302,21 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_openDebugger(jsi::R
|
|
|
1302
1302
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1303
1303
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
1304
1304
|
rt,
|
|
1305
|
-
count
|
|
1305
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1306
1306
|
);
|
|
1307
1307
|
return jsi::Value::undefined();
|
|
1308
1308
|
}
|
|
1309
1309
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1310
1310
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1311
1311
|
rt,
|
|
1312
|
-
count
|
|
1312
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1313
1313
|
);
|
|
1314
1314
|
return jsi::Value::undefined();
|
|
1315
1315
|
}
|
|
1316
1316
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1317
1317
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
1318
1318
|
rt,
|
|
1319
|
-
count
|
|
1319
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1320
1320
|
);
|
|
1321
1321
|
return jsi::Value::undefined();
|
|
1322
1322
|
}
|
|
@@ -1343,9 +1343,9 @@ static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstan
|
|
|
1343
1343
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1344
1344
|
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1345
1345
|
rt,
|
|
1346
|
-
count
|
|
1347
|
-
count
|
|
1348
|
-
count
|
|
1346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1347
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1348
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1349
1349
|
);
|
|
1350
1350
|
return jsi::Value::undefined();
|
|
1351
1351
|
}
|
|
@@ -1363,9 +1363,9 @@ static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstan
|
|
|
1363
1363
|
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1364
1364
|
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1365
1365
|
rt,
|
|
1366
|
-
count
|
|
1367
|
-
count
|
|
1368
|
-
count
|
|
1366
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1367
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1368
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1369
1369
|
);
|
|
1370
1370
|
return jsi::Value::undefined();
|
|
1371
1371
|
}
|
|
@@ -1378,25 +1378,25 @@ NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::
|
|
|
1378
1378
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1379
1379
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
1380
1380
|
rt,
|
|
1381
|
-
count
|
|
1382
|
-
count
|
|
1383
|
-
count
|
|
1381
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1382
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1383
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1384
1384
|
);
|
|
1385
1385
|
return jsi::Value::undefined();
|
|
1386
1386
|
}
|
|
1387
1387
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1388
1388
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
1389
1389
|
rt,
|
|
1390
|
-
count
|
|
1391
|
-
count
|
|
1392
|
-
count
|
|
1390
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1391
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1392
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1393
1393
|
);
|
|
1394
1394
|
return jsi::Value::undefined();
|
|
1395
1395
|
}
|
|
1396
1396
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1397
1397
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
1398
1398
|
rt,
|
|
1399
|
-
count
|
|
1399
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1400
1400
|
);
|
|
1401
1401
|
return jsi::Value::undefined();
|
|
1402
1402
|
}
|
|
@@ -1417,14 +1417,14 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared
|
|
|
1417
1417
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1418
1418
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
1419
1419
|
rt,
|
|
1420
|
-
count
|
|
1420
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1421
1421
|
);
|
|
1422
1422
|
}
|
|
1423
1423
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1424
1424
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
1425
1425
|
rt,
|
|
1426
|
-
count
|
|
1427
|
-
count
|
|
1426
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1427
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1428
1428
|
);
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
@@ -1436,14 +1436,14 @@ NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_p
|
|
|
1436
1436
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1437
1437
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
1438
1438
|
rt,
|
|
1439
|
-
count
|
|
1439
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1440
1440
|
);
|
|
1441
1441
|
return jsi::Value::undefined();
|
|
1442
1442
|
}
|
|
1443
1443
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1444
1444
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
|
1445
1445
|
rt,
|
|
1446
|
-
count
|
|
1446
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1447
1447
|
);
|
|
1448
1448
|
return jsi::Value::undefined();
|
|
1449
1449
|
}
|
|
@@ -1470,14 +1470,14 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
|
1470
1470
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1471
1471
|
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
1472
1472
|
rt,
|
|
1473
|
-
count
|
|
1473
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1474
1474
|
);
|
|
1475
1475
|
return jsi::Value::undefined();
|
|
1476
1476
|
}
|
|
1477
1477
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1478
1478
|
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
1479
1479
|
rt,
|
|
1480
|
-
count
|
|
1480
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1481
1481
|
);
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
@@ -1494,21 +1494,21 @@ static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::R
|
|
|
1494
1494
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1495
1495
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1496
1496
|
rt,
|
|
1497
|
-
count
|
|
1497
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1498
1498
|
);
|
|
1499
1499
|
return jsi::Value::undefined();
|
|
1500
1500
|
}
|
|
1501
1501
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1502
1502
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1503
1503
|
rt,
|
|
1504
|
-
count
|
|
1504
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1505
1505
|
);
|
|
1506
1506
|
return jsi::Value::undefined();
|
|
1507
1507
|
}
|
|
1508
1508
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1509
1509
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1510
1510
|
rt,
|
|
1511
|
-
count
|
|
1511
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1512
1512
|
);
|
|
1513
1513
|
return jsi::Value::undefined();
|
|
1514
1514
|
}
|
|
@@ -1528,10 +1528,10 @@ static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::R
|
|
|
1528
1528
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1529
1529
|
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
1530
1530
|
rt,
|
|
1531
|
-
count
|
|
1532
|
-
count
|
|
1533
|
-
count
|
|
1534
|
-
count
|
|
1531
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1532
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
1533
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
1534
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
1535
1535
|
);
|
|
1536
1536
|
return jsi::Value::undefined();
|
|
1537
1537
|
}
|
|
@@ -1544,7 +1544,7 @@ NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
1544
1544
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1545
1545
|
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1546
1546
|
rt,
|
|
1547
|
-
count
|
|
1547
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1548
1548
|
);
|
|
1549
1549
|
return jsi::Value::undefined();
|
|
1550
1550
|
}
|
|
@@ -1556,27 +1556,27 @@ static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants
|
|
|
1556
1556
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1557
1557
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
1558
1558
|
rt,
|
|
1559
|
-
count
|
|
1559
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1560
1560
|
);
|
|
1561
1561
|
}
|
|
1562
1562
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1563
1563
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1564
1564
|
rt,
|
|
1565
|
-
count
|
|
1566
|
-
count
|
|
1565
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1566
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1567
1567
|
);
|
|
1568
1568
|
}
|
|
1569
1569
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1570
1570
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1571
1571
|
rt,
|
|
1572
|
-
count
|
|
1573
|
-
count
|
|
1572
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1573
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1574
1574
|
);
|
|
1575
1575
|
}
|
|
1576
1576
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1577
1577
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1578
1578
|
rt,
|
|
1579
|
-
count
|
|
1579
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1580
1580
|
);
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
@@ -1597,34 +1597,34 @@ static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi
|
|
|
1597
1597
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1598
1598
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
1599
1599
|
rt,
|
|
1600
|
-
count
|
|
1600
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1601
1601
|
);
|
|
1602
1602
|
}
|
|
1603
1603
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1604
1604
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1605
1605
|
rt,
|
|
1606
|
-
count
|
|
1607
|
-
count
|
|
1606
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1607
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1608
1608
|
);
|
|
1609
1609
|
}
|
|
1610
1610
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1611
1611
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1612
1612
|
rt,
|
|
1613
|
-
count
|
|
1613
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1614
1614
|
);
|
|
1615
1615
|
}
|
|
1616
1616
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1617
1617
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
1618
1618
|
rt,
|
|
1619
|
-
count
|
|
1620
|
-
count
|
|
1621
|
-
count
|
|
1619
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1620
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1621
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1622
1622
|
);
|
|
1623
1623
|
}
|
|
1624
1624
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1625
1625
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1626
1626
|
rt,
|
|
1627
|
-
count
|
|
1627
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1628
1628
|
);
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
@@ -1645,9 +1645,9 @@ static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(
|
|
|
1645
1645
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1646
1646
|
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1647
1647
|
rt,
|
|
1648
|
-
count
|
|
1649
|
-
count
|
|
1650
|
-
count
|
|
1648
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1649
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1650
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1651
1651
|
);
|
|
1652
1652
|
return jsi::Value::undefined();
|
|
1653
1653
|
}
|
|
@@ -1665,33 +1665,33 @@ static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi:
|
|
|
1665
1665
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1666
1666
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1667
1667
|
rt,
|
|
1668
|
-
count
|
|
1669
|
-
count
|
|
1670
|
-
count
|
|
1668
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1669
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1670
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1671
1671
|
);
|
|
1672
1672
|
return jsi::Value::undefined();
|
|
1673
1673
|
}
|
|
1674
1674
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1675
1675
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
1676
1676
|
rt,
|
|
1677
|
-
count
|
|
1678
|
-
count
|
|
1677
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1678
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1679
1679
|
);
|
|
1680
1680
|
return jsi::Value::undefined();
|
|
1681
1681
|
}
|
|
1682
1682
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1683
1683
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
1684
1684
|
rt,
|
|
1685
|
-
count
|
|
1685
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1686
1686
|
);
|
|
1687
1687
|
return jsi::Value::undefined();
|
|
1688
1688
|
}
|
|
1689
1689
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1690
1690
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
1691
1691
|
rt,
|
|
1692
|
-
count
|
|
1693
|
-
count
|
|
1694
|
-
count
|
|
1692
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1693
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1694
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1695
1695
|
);
|
|
1696
1696
|
return jsi::Value::undefined();
|
|
1697
1697
|
}
|
|
@@ -1712,13 +1712,13 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi
|
|
|
1712
1712
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1713
1713
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1714
1714
|
rt,
|
|
1715
|
-
count
|
|
1715
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1716
1716
|
);
|
|
1717
1717
|
}
|
|
1718
1718
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1719
1719
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1720
1720
|
rt,
|
|
1721
|
-
count
|
|
1721
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1722
1722
|
);
|
|
1723
1723
|
}
|
|
1724
1724
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1729,7 +1729,7 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi:
|
|
|
1729
1729
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1730
1730
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1731
1731
|
rt,
|
|
1732
|
-
count
|
|
1732
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1733
1733
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
1734
1734
|
);
|
|
1735
1735
|
}
|
|
@@ -1745,7 +1745,7 @@ NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<Cal
|
|
|
1745
1745
|
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1746
1746
|
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
1747
1747
|
rt,
|
|
1748
|
-
count
|
|
1748
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1749
1749
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
1750
1750
|
);
|
|
1751
1751
|
return jsi::Value::undefined();
|
|
@@ -1758,14 +1758,14 @@ NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<C
|
|
|
1758
1758
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1759
1759
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
1760
1760
|
rt,
|
|
1761
|
-
count
|
|
1761
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1762
1762
|
);
|
|
1763
1763
|
return jsi::Value::undefined();
|
|
1764
1764
|
}
|
|
1765
1765
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1766
1766
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1767
1767
|
rt,
|
|
1768
|
-
count
|
|
1768
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1769
1769
|
);
|
|
1770
1770
|
return jsi::Value::undefined();
|
|
1771
1771
|
}
|
|
@@ -1783,13 +1783,13 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(js
|
|
|
1783
1783
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1784
1784
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1785
1785
|
rt,
|
|
1786
|
-
count
|
|
1786
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1787
1787
|
);
|
|
1788
1788
|
}
|
|
1789
1789
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1790
1790
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1791
1791
|
rt,
|
|
1792
|
-
count
|
|
1792
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1793
1793
|
);
|
|
1794
1794
|
}
|
|
1795
1795
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1800,14 +1800,14 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi
|
|
|
1800
1800
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1801
1801
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1802
1802
|
rt,
|
|
1803
|
-
count
|
|
1803
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1804
1804
|
);
|
|
1805
1805
|
return jsi::Value::undefined();
|
|
1806
1806
|
}
|
|
1807
1807
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1808
1808
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1809
1809
|
rt,
|
|
1810
|
-
count
|
|
1810
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1811
1811
|
);
|
|
1812
1812
|
return jsi::Value::undefined();
|
|
1813
1813
|
}
|
|
@@ -1842,14 +1842,14 @@ NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1842
1842
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1843
1843
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1844
1844
|
rt,
|
|
1845
|
-
count
|
|
1845
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1846
1846
|
);
|
|
1847
1847
|
return jsi::Value::undefined();
|
|
1848
1848
|
}
|
|
1849
1849
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1850
1850
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1851
1851
|
rt,
|
|
1852
|
-
count
|
|
1852
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1853
1853
|
);
|
|
1854
1854
|
return jsi::Value::undefined();
|
|
1855
1855
|
}
|
|
@@ -1862,43 +1862,43 @@ NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
1862
1862
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1863
1863
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1864
1864
|
rt,
|
|
1865
|
-
count
|
|
1866
|
-
count
|
|
1867
|
-
count
|
|
1868
|
-
count
|
|
1869
|
-
count
|
|
1870
|
-
count
|
|
1871
|
-
count
|
|
1872
|
-
count
|
|
1873
|
-
count
|
|
1865
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1866
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1867
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
1868
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
1869
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt)),
|
|
1870
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asString(rt)),
|
|
1871
|
+
(count > 6 || (throw jsi::JSError(rt, "Expected argument in position 6 to be passed"), false), args[6].asBool()),
|
|
1872
|
+
(count > 7 || (throw jsi::JSError(rt, "Expected argument in position 7 to be passed"), false), args[7].asNumber()),
|
|
1873
|
+
(count > 8 || (throw jsi::JSError(rt, "Expected argument in position 8 to be passed"), false), args[8].asBool())
|
|
1874
1874
|
);
|
|
1875
1875
|
return jsi::Value::undefined();
|
|
1876
1876
|
}
|
|
1877
1877
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1878
1878
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1879
1879
|
rt,
|
|
1880
|
-
count
|
|
1880
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1881
1881
|
);
|
|
1882
1882
|
return jsi::Value::undefined();
|
|
1883
1883
|
}
|
|
1884
1884
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1885
1885
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1886
1886
|
rt,
|
|
1887
|
-
count
|
|
1887
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1888
1888
|
);
|
|
1889
1889
|
return jsi::Value::undefined();
|
|
1890
1890
|
}
|
|
1891
1891
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1892
1892
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1893
1893
|
rt,
|
|
1894
|
-
count
|
|
1894
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1895
1895
|
);
|
|
1896
1896
|
return jsi::Value::undefined();
|
|
1897
1897
|
}
|
|
1898
1898
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1899
1899
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1900
1900
|
rt,
|
|
1901
|
-
count
|
|
1901
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1902
1902
|
);
|
|
1903
1903
|
return jsi::Value::undefined();
|
|
1904
1904
|
}
|
|
@@ -1914,36 +1914,36 @@ NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared
|
|
|
1914
1914
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1915
1915
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1916
1916
|
rt,
|
|
1917
|
-
count
|
|
1918
|
-
count
|
|
1917
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1918
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1919
1919
|
);
|
|
1920
1920
|
return jsi::Value::undefined();
|
|
1921
1921
|
}
|
|
1922
1922
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1923
1923
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1924
1924
|
rt,
|
|
1925
|
-
count
|
|
1925
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1926
1926
|
);
|
|
1927
1927
|
return jsi::Value::undefined();
|
|
1928
1928
|
}
|
|
1929
1929
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1930
1930
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1931
1931
|
rt,
|
|
1932
|
-
count
|
|
1932
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1933
1933
|
);
|
|
1934
1934
|
return jsi::Value::undefined();
|
|
1935
1935
|
}
|
|
1936
1936
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1937
1937
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1938
1938
|
rt,
|
|
1939
|
-
count
|
|
1939
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1940
1940
|
);
|
|
1941
1941
|
return jsi::Value::undefined();
|
|
1942
1942
|
}
|
|
1943
1943
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1944
1944
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1945
1945
|
rt,
|
|
1946
|
-
count
|
|
1946
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1947
1947
|
);
|
|
1948
1948
|
return jsi::Value::undefined();
|
|
1949
1949
|
}
|
|
@@ -1959,25 +1959,25 @@ NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
|
1959
1959
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1960
1960
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
1961
1961
|
rt,
|
|
1962
|
-
count
|
|
1962
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1963
1963
|
);
|
|
1964
1964
|
}
|
|
1965
1965
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1966
1966
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
1967
1967
|
rt,
|
|
1968
|
-
count
|
|
1968
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1969
1969
|
);
|
|
1970
1970
|
}
|
|
1971
1971
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1972
1972
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
1973
1973
|
rt,
|
|
1974
|
-
count
|
|
1974
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1975
1975
|
);
|
|
1976
1976
|
}
|
|
1977
1977
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1978
1978
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
1979
1979
|
rt,
|
|
1980
|
-
count
|
|
1980
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1981
1981
|
);
|
|
1982
1982
|
}
|
|
1983
1983
|
|
|
@@ -2032,29 +2032,29 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getC
|
|
|
2032
2032
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2033
2033
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
2034
2034
|
rt,
|
|
2035
|
-
count
|
|
2036
|
-
count
|
|
2035
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2036
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2037
2037
|
);
|
|
2038
2038
|
return jsi::Value::undefined();
|
|
2039
2039
|
}
|
|
2040
2040
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2041
2041
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
2042
2042
|
rt,
|
|
2043
|
-
count
|
|
2043
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2044
2044
|
);
|
|
2045
2045
|
return jsi::Value::undefined();
|
|
2046
2046
|
}
|
|
2047
2047
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2048
2048
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
2049
2049
|
rt,
|
|
2050
|
-
count
|
|
2050
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2051
2051
|
);
|
|
2052
2052
|
return jsi::Value::undefined();
|
|
2053
2053
|
}
|
|
2054
2054
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2055
2055
|
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
2056
2056
|
rt,
|
|
2057
|
-
count
|
|
2057
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2058
2058
|
);
|
|
2059
2059
|
}
|
|
2060
2060
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2066,21 +2066,21 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_aban
|
|
|
2066
2066
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2067
2067
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
2068
2068
|
rt,
|
|
2069
|
-
count
|
|
2069
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2070
2070
|
);
|
|
2071
2071
|
return jsi::Value::undefined();
|
|
2072
2072
|
}
|
|
2073
2073
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2074
2074
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
2075
2075
|
rt,
|
|
2076
|
-
count
|
|
2076
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2077
2077
|
);
|
|
2078
2078
|
return jsi::Value::undefined();
|
|
2079
2079
|
}
|
|
2080
2080
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2081
2081
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
2082
2082
|
rt,
|
|
2083
|
-
count
|
|
2083
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2084
2084
|
);
|
|
2085
2085
|
return jsi::Value::undefined();
|
|
2086
2086
|
}
|
|
@@ -2093,7 +2093,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_canc
|
|
|
2093
2093
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2094
2094
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
2095
2095
|
rt,
|
|
2096
|
-
count
|
|
2096
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2097
2097
|
);
|
|
2098
2098
|
return jsi::Value::undefined();
|
|
2099
2099
|
}
|
|
@@ -2105,7 +2105,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getI
|
|
|
2105
2105
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2106
2106
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
2107
2107
|
rt,
|
|
2108
|
-
count
|
|
2108
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2109
2109
|
);
|
|
2110
2110
|
return jsi::Value::undefined();
|
|
2111
2111
|
}
|
|
@@ -2118,35 +2118,35 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_remo
|
|
|
2118
2118
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2119
2119
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
2120
2120
|
rt,
|
|
2121
|
-
count
|
|
2121
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2122
2122
|
);
|
|
2123
2123
|
return jsi::Value::undefined();
|
|
2124
2124
|
}
|
|
2125
2125
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2126
2126
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
2127
2127
|
rt,
|
|
2128
|
-
count
|
|
2128
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2129
2129
|
);
|
|
2130
2130
|
return jsi::Value::undefined();
|
|
2131
2131
|
}
|
|
2132
2132
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2133
2133
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
2134
2134
|
rt,
|
|
2135
|
-
count
|
|
2135
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2136
2136
|
);
|
|
2137
2137
|
return jsi::Value::undefined();
|
|
2138
2138
|
}
|
|
2139
2139
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2140
2140
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2141
2141
|
rt,
|
|
2142
|
-
count
|
|
2142
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2143
2143
|
);
|
|
2144
2144
|
return jsi::Value::undefined();
|
|
2145
2145
|
}
|
|
2146
2146
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2147
2147
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2148
2148
|
rt,
|
|
2149
|
-
count
|
|
2149
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2150
2150
|
);
|
|
2151
2151
|
return jsi::Value::undefined();
|
|
2152
2152
|
}
|
|
@@ -2176,8 +2176,8 @@ NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxS
|
|
|
2176
2176
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2177
2177
|
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2178
2178
|
rt,
|
|
2179
|
-
count
|
|
2180
|
-
count
|
|
2179
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2180
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2181
2181
|
);
|
|
2182
2182
|
return jsi::Value::undefined();
|
|
2183
2183
|
}
|
|
@@ -2207,70 +2207,70 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc(jsi:
|
|
|
2207
2207
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2208
2208
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
2209
2209
|
rt,
|
|
2210
|
-
count
|
|
2210
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2211
2211
|
);
|
|
2212
2212
|
}
|
|
2213
2213
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2214
2214
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
2215
2215
|
rt,
|
|
2216
|
-
count
|
|
2216
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2217
2217
|
);
|
|
2218
2218
|
}
|
|
2219
2219
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2220
2220
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2221
2221
|
rt,
|
|
2222
|
-
count
|
|
2222
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2223
2223
|
);
|
|
2224
2224
|
}
|
|
2225
2225
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2226
2226
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2227
2227
|
rt,
|
|
2228
|
-
count
|
|
2228
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2229
2229
|
);
|
|
2230
2230
|
}
|
|
2231
2231
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2232
2232
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2233
2233
|
rt,
|
|
2234
|
-
count
|
|
2234
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2235
2235
|
);
|
|
2236
2236
|
}
|
|
2237
2237
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2238
2238
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2239
2239
|
rt,
|
|
2240
|
-
count
|
|
2240
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2241
2241
|
);
|
|
2242
2242
|
}
|
|
2243
2243
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2244
2244
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2245
2245
|
rt,
|
|
2246
|
-
count
|
|
2246
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2247
2247
|
);
|
|
2248
2248
|
}
|
|
2249
2249
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2250
2250
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2251
2251
|
rt,
|
|
2252
|
-
count
|
|
2252
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2253
2253
|
);
|
|
2254
2254
|
}
|
|
2255
2255
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2256
2256
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2257
2257
|
rt,
|
|
2258
|
-
count
|
|
2259
|
-
count
|
|
2260
|
-
count
|
|
2258
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2259
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2260
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2261
2261
|
);
|
|
2262
2262
|
}
|
|
2263
2263
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2264
2264
|
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2265
2265
|
rt,
|
|
2266
|
-
count
|
|
2266
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2267
2267
|
);
|
|
2268
2268
|
return jsi::Value::undefined();
|
|
2269
2269
|
}
|
|
2270
2270
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2271
2271
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2272
2272
|
rt,
|
|
2273
|
-
count
|
|
2273
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2274
2274
|
);
|
|
2275
2275
|
}
|
|
2276
2276
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2282,7 +2282,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrow
|
|
|
2282
2282
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2283
2283
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectThrows(
|
|
2284
2284
|
rt,
|
|
2285
|
-
count
|
|
2285
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2286
2286
|
);
|
|
2287
2287
|
}
|
|
2288
2288
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2299,7 +2299,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAsser
|
|
|
2299
2299
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2300
2300
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectAssert(
|
|
2301
2301
|
rt,
|
|
2302
|
-
count
|
|
2302
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2303
2303
|
);
|
|
2304
2304
|
}
|
|
2305
2305
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2339,18 +2339,18 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared
|
|
|
2339
2339
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2340
2340
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2341
2341
|
rt,
|
|
2342
|
-
count
|
|
2343
|
-
count
|
|
2344
|
-
count
|
|
2342
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2343
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2344
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2345
2345
|
);
|
|
2346
2346
|
return jsi::Value::undefined();
|
|
2347
2347
|
}
|
|
2348
2348
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2349
2349
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2350
2350
|
rt,
|
|
2351
|
-
count
|
|
2352
|
-
count
|
|
2353
|
-
count
|
|
2351
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2352
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2353
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2354
2354
|
);
|
|
2355
2355
|
return jsi::Value::undefined();
|
|
2356
2356
|
}
|
|
@@ -2368,14 +2368,14 @@ static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(js
|
|
|
2368
2368
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2369
2369
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
2370
2370
|
rt,
|
|
2371
|
-
count
|
|
2371
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2372
2372
|
);
|
|
2373
2373
|
return jsi::Value::undefined();
|
|
2374
2374
|
}
|
|
2375
2375
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2376
2376
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
2377
2377
|
rt,
|
|
2378
|
-
count
|
|
2378
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2379
2379
|
);
|
|
2380
2380
|
return jsi::Value::undefined();
|
|
2381
2381
|
}
|
|
@@ -2394,7 +2394,7 @@ static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::R
|
|
|
2394
2394
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2395
2395
|
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
2396
2396
|
rt,
|
|
2397
|
-
count
|
|
2397
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2398
2398
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2399
2399
|
);
|
|
2400
2400
|
}
|
|
@@ -2433,15 +2433,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getCons
|
|
|
2433
2433
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2434
2434
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
|
2435
2435
|
rt,
|
|
2436
|
-
count
|
|
2437
|
-
count
|
|
2436
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2437
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2438
2438
|
);
|
|
2439
2439
|
return jsi::Value::undefined();
|
|
2440
2440
|
}
|
|
2441
2441
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2442
2442
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
|
2443
2443
|
rt,
|
|
2444
|
-
count
|
|
2444
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2445
2445
|
);
|
|
2446
2446
|
return jsi::Value::undefined();
|
|
2447
2447
|
}
|
|
@@ -2455,7 +2455,7 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyl
|
|
|
2455
2455
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2456
2456
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2457
2457
|
rt,
|
|
2458
|
-
count
|
|
2458
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2459
2459
|
);
|
|
2460
2460
|
return jsi::Value::undefined();
|
|
2461
2461
|
}
|
|
@@ -2476,28 +2476,28 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstant
|
|
|
2476
2476
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2477
2477
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
|
2478
2478
|
rt,
|
|
2479
|
-
count
|
|
2479
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2480
2480
|
);
|
|
2481
2481
|
return jsi::Value::undefined();
|
|
2482
2482
|
}
|
|
2483
2483
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2484
2484
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
|
2485
2485
|
rt,
|
|
2486
|
-
count
|
|
2486
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2487
2487
|
);
|
|
2488
2488
|
return jsi::Value::undefined();
|
|
2489
2489
|
}
|
|
2490
2490
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2491
2491
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2492
2492
|
rt,
|
|
2493
|
-
count
|
|
2493
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2494
2494
|
);
|
|
2495
2495
|
return jsi::Value::undefined();
|
|
2496
2496
|
}
|
|
2497
2497
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2498
2498
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2499
2499
|
rt,
|
|
2500
|
-
count
|
|
2500
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2501
2501
|
);
|
|
2502
2502
|
return jsi::Value::undefined();
|
|
2503
2503
|
}
|
|
@@ -2505,15 +2505,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(js
|
|
|
2505
2505
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2506
2506
|
rt,
|
|
2507
2507
|
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)),
|
|
2508
|
-
count
|
|
2508
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2509
2509
|
);
|
|
2510
2510
|
return jsi::Value::undefined();
|
|
2511
2511
|
}
|
|
2512
2512
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2513
2513
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2514
2514
|
rt,
|
|
2515
|
-
count
|
|
2516
|
-
count
|
|
2515
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool()),
|
|
2516
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2517
2517
|
);
|
|
2518
2518
|
return jsi::Value::undefined();
|
|
2519
2519
|
}
|
|
@@ -2531,24 +2531,24 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
|
2531
2531
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2532
2532
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2533
2533
|
rt,
|
|
2534
|
-
count
|
|
2535
|
-
count
|
|
2536
|
-
count
|
|
2537
|
-
count
|
|
2534
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2535
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2536
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2537
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asBool())
|
|
2538
2538
|
);
|
|
2539
2539
|
return jsi::Value::undefined();
|
|
2540
2540
|
}
|
|
2541
2541
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2542
2542
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2543
2543
|
rt,
|
|
2544
|
-
count
|
|
2544
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2545
2545
|
);
|
|
2546
2546
|
return jsi::Value::undefined();
|
|
2547
2547
|
}
|
|
2548
2548
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2549
2549
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2550
2550
|
rt,
|
|
2551
|
-
count
|
|
2551
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2552
2552
|
);
|
|
2553
2553
|
return jsi::Value::undefined();
|
|
2554
2554
|
}
|
|
@@ -2567,28 +2567,28 @@ static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::
|
|
|
2567
2567
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2568
2568
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
|
2569
2569
|
rt,
|
|
2570
|
-
count
|
|
2571
|
-
count
|
|
2570
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2571
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2572
2572
|
);
|
|
2573
2573
|
return jsi::Value::undefined();
|
|
2574
2574
|
}
|
|
2575
2575
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2576
2576
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
|
2577
2577
|
rt,
|
|
2578
|
-
count
|
|
2579
|
-
count
|
|
2580
|
-
count
|
|
2578
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2579
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2580
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2581
2581
|
);
|
|
2582
2582
|
return jsi::Value::undefined();
|
|
2583
2583
|
}
|
|
2584
2584
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2585
2585
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
|
2586
2586
|
rt,
|
|
2587
|
-
count
|
|
2588
|
-
count
|
|
2589
|
-
count
|
|
2590
|
-
count
|
|
2591
|
-
count
|
|
2587
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2588
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2589
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2590
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber()),
|
|
2591
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asNumber())
|
|
2592
2592
|
);
|
|
2593
2593
|
return jsi::Value::undefined();
|
|
2594
2594
|
}
|
|
@@ -2608,36 +2608,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Run
|
|
|
2608
2608
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_createView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2609
2609
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
2610
2610
|
rt,
|
|
2611
|
-
count
|
|
2612
|
-
count
|
|
2613
|
-
count
|
|
2614
|
-
count
|
|
2611
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2612
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2613
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2614
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt))
|
|
2615
2615
|
);
|
|
2616
2616
|
return jsi::Value::undefined();
|
|
2617
2617
|
}
|
|
2618
2618
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_updateView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2619
2619
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
2620
2620
|
rt,
|
|
2621
|
-
count
|
|
2622
|
-
count
|
|
2623
|
-
count
|
|
2621
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2622
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2623
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2624
2624
|
);
|
|
2625
2625
|
return jsi::Value::undefined();
|
|
2626
2626
|
}
|
|
2627
2627
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2628
2628
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
2629
2629
|
rt,
|
|
2630
|
-
count
|
|
2631
|
-
count
|
|
2632
|
-
count
|
|
2630
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2631
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2632
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2633
2633
|
);
|
|
2634
2634
|
return jsi::Value::undefined();
|
|
2635
2635
|
}
|
|
2636
2636
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2637
2637
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
2638
2638
|
rt,
|
|
2639
|
-
count
|
|
2640
|
-
count
|
|
2639
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2640
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2641
2641
|
count <= 2 || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
2642
2642
|
);
|
|
2643
2643
|
return jsi::Value::undefined();
|
|
@@ -2645,52 +2645,52 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCo
|
|
|
2645
2645
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2646
2646
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
2647
2647
|
rt,
|
|
2648
|
-
count
|
|
2649
|
-
count
|
|
2648
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2649
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2650
2650
|
);
|
|
2651
2651
|
return jsi::Value::undefined();
|
|
2652
2652
|
}
|
|
2653
2653
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2654
2654
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
2655
2655
|
rt,
|
|
2656
|
-
count
|
|
2657
|
-
count
|
|
2656
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2657
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2658
2658
|
);
|
|
2659
2659
|
return jsi::Value::undefined();
|
|
2660
2660
|
}
|
|
2661
2661
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2662
2662
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
2663
2663
|
rt,
|
|
2664
|
-
count
|
|
2665
|
-
count
|
|
2666
|
-
count
|
|
2664
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2665
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2666
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2667
2667
|
);
|
|
2668
2668
|
return jsi::Value::undefined();
|
|
2669
2669
|
}
|
|
2670
2670
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2671
2671
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
2672
2672
|
rt,
|
|
2673
|
-
count
|
|
2674
|
-
count
|
|
2675
|
-
count
|
|
2676
|
-
count
|
|
2673
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2674
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2675
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
2676
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
2677
2677
|
);
|
|
2678
2678
|
return jsi::Value::undefined();
|
|
2679
2679
|
}
|
|
2680
2680
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2681
2681
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
2682
2682
|
rt,
|
|
2683
|
-
count
|
|
2684
|
-
count
|
|
2685
|
-
count
|
|
2683
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2684
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2685
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2686
2686
|
);
|
|
2687
2687
|
return jsi::Value::undefined();
|
|
2688
2688
|
}
|
|
2689
2689
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2690
2690
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
2691
2691
|
rt,
|
|
2692
|
-
count
|
|
2693
|
-
count
|
|
2692
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2693
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2694
2694
|
);
|
|
2695
2695
|
return jsi::Value::undefined();
|
|
2696
2696
|
}
|
|
@@ -2703,36 +2703,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder(jsi:
|
|
|
2703
2703
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2704
2704
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
2705
2705
|
rt,
|
|
2706
|
-
count
|
|
2707
|
-
count
|
|
2708
|
-
count
|
|
2706
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2707
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2708
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2709
2709
|
);
|
|
2710
2710
|
return jsi::Value::undefined();
|
|
2711
2711
|
}
|
|
2712
2712
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2713
2713
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
2714
2714
|
rt,
|
|
2715
|
-
count
|
|
2716
|
-
count
|
|
2715
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2716
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt))
|
|
2717
2717
|
);
|
|
2718
2718
|
return jsi::Value::undefined();
|
|
2719
2719
|
}
|
|
2720
2720
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2721
2721
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
2722
2722
|
rt,
|
|
2723
|
-
count
|
|
2724
|
-
count
|
|
2725
|
-
count
|
|
2726
|
-
count
|
|
2727
|
-
count
|
|
2728
|
-
count
|
|
2723
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2724
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2725
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asArray(rt)),
|
|
2726
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
2727
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt).asArray(rt)),
|
|
2728
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asObject(rt).asArray(rt))
|
|
2729
2729
|
);
|
|
2730
2730
|
return jsi::Value::undefined();
|
|
2731
2731
|
}
|
|
2732
2732
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2733
2733
|
auto result = static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
2734
2734
|
rt,
|
|
2735
|
-
count
|
|
2735
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2736
2736
|
);
|
|
2737
2737
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2738
2738
|
}
|
|
@@ -2744,35 +2744,35 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes(
|
|
|
2744
2744
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2745
2745
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
2746
2746
|
rt,
|
|
2747
|
-
count
|
|
2747
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2748
2748
|
);
|
|
2749
2749
|
return jsi::Value::undefined();
|
|
2750
2750
|
}
|
|
2751
2751
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2752
2752
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
2753
2753
|
rt,
|
|
2754
|
-
count
|
|
2755
|
-
count
|
|
2754
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2755
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2756
2756
|
);
|
|
2757
2757
|
return jsi::Value::undefined();
|
|
2758
2758
|
}
|
|
2759
2759
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2760
2760
|
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
2761
2761
|
rt,
|
|
2762
|
-
count
|
|
2762
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2763
2763
|
);
|
|
2764
2764
|
}
|
|
2765
2765
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_focus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2766
2766
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
2767
2767
|
rt,
|
|
2768
|
-
count
|
|
2768
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2769
2769
|
);
|
|
2770
2770
|
return jsi::Value::undefined();
|
|
2771
2771
|
}
|
|
2772
2772
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_blur(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2773
2773
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
2774
2774
|
rt,
|
|
2775
|
-
count
|
|
2775
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2776
2776
|
);
|
|
2777
2777
|
return jsi::Value::undefined();
|
|
2778
2778
|
}
|
|
@@ -2810,15 +2810,15 @@ static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Run
|
|
|
2810
2810
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2811
2811
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
2812
2812
|
rt,
|
|
2813
|
-
count
|
|
2813
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2814
2814
|
);
|
|
2815
2815
|
return jsi::Value::undefined();
|
|
2816
2816
|
}
|
|
2817
2817
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2818
2818
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
2819
2819
|
rt,
|
|
2820
|
-
count
|
|
2821
|
-
count
|
|
2820
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
2821
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2822
2822
|
);
|
|
2823
2823
|
return jsi::Value::undefined();
|
|
2824
2824
|
}
|
|
@@ -2839,56 +2839,56 @@ NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
2839
2839
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2840
2840
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
2841
2841
|
rt,
|
|
2842
|
-
count
|
|
2842
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2843
2843
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
|
2844
|
-
count
|
|
2845
|
-
count
|
|
2844
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
2845
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber())
|
|
2846
2846
|
);
|
|
2847
2847
|
return jsi::Value::undefined();
|
|
2848
2848
|
}
|
|
2849
2849
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2850
2850
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2851
2851
|
rt,
|
|
2852
|
-
count
|
|
2853
|
-
count
|
|
2852
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2853
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2854
2854
|
);
|
|
2855
2855
|
return jsi::Value::undefined();
|
|
2856
2856
|
}
|
|
2857
2857
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2858
2858
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2859
2859
|
rt,
|
|
2860
|
-
count
|
|
2861
|
-
count
|
|
2860
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2861
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2862
2862
|
);
|
|
2863
2863
|
return jsi::Value::undefined();
|
|
2864
2864
|
}
|
|
2865
2865
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2866
2866
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2867
2867
|
rt,
|
|
2868
|
-
count
|
|
2868
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2869
2869
|
);
|
|
2870
2870
|
return jsi::Value::undefined();
|
|
2871
2871
|
}
|
|
2872
2872
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2873
2873
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2874
2874
|
rt,
|
|
2875
|
-
count
|
|
2876
|
-
count
|
|
2877
|
-
count
|
|
2875
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2876
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2877
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2878
2878
|
);
|
|
2879
2879
|
return jsi::Value::undefined();
|
|
2880
2880
|
}
|
|
2881
2881
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2882
2882
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2883
2883
|
rt,
|
|
2884
|
-
count
|
|
2884
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2885
2885
|
);
|
|
2886
2886
|
return jsi::Value::undefined();
|
|
2887
2887
|
}
|
|
2888
2888
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2889
2889
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2890
2890
|
rt,
|
|
2891
|
-
count
|
|
2891
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2892
2892
|
);
|
|
2893
2893
|
return jsi::Value::undefined();
|
|
2894
2894
|
}
|
|
@@ -2918,14 +2918,14 @@ static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt
|
|
|
2918
2918
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2919
2919
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2920
2920
|
rt,
|
|
2921
|
-
count
|
|
2921
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2922
2922
|
);
|
|
2923
2923
|
return jsi::Value::undefined();
|
|
2924
2924
|
}
|
|
2925
2925
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2926
2926
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2927
2927
|
rt,
|
|
2928
|
-
count
|
|
2928
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2929
2929
|
);
|
|
2930
2930
|
return jsi::Value::undefined();
|
|
2931
2931
|
}
|
|
@@ -2940,7 +2940,7 @@ NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> js
|
|
|
2940
2940
|
static jsi::Value __hostFunction_NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI_setReloadAndProfileConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2941
2941
|
static_cast<NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI *>(&turboModule)->setReloadAndProfileConfig(
|
|
2942
2942
|
rt,
|
|
2943
|
-
count
|
|
2943
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2944
2944
|
);
|
|
2945
2945
|
return jsi::Value::undefined();
|
|
2946
2946
|
}
|
|
@@ -2958,7 +2958,7 @@ NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI::NativeReactDevToolsRuntimeSe
|
|
|
2958
2958
|
static jsi::Value __hostFunction_NativeReactDevToolsSettingsManagerCxxSpecJSI_setGlobalHookSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2959
2959
|
static_cast<NativeReactDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setGlobalHookSettings(
|
|
2960
2960
|
rt,
|
|
2961
|
-
count
|
|
2961
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2962
2962
|
);
|
|
2963
2963
|
return jsi::Value::undefined();
|
|
2964
2964
|
}
|
|
@@ -2977,14 +2977,14 @@ NativeReactDevToolsSettingsManagerCxxSpecJSI::NativeReactDevToolsSettingsManager
|
|
|
2977
2977
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_requestIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2978
2978
|
return static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->requestIdleCallback(
|
|
2979
2979
|
rt,
|
|
2980
|
-
count
|
|
2980
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
2981
2981
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
|
|
2982
2982
|
);
|
|
2983
2983
|
}
|
|
2984
2984
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_cancelIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2985
2985
|
static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->cancelIdleCallback(
|
|
2986
2986
|
rt,
|
|
2987
|
-
count
|
|
2987
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
2988
2988
|
);
|
|
2989
2989
|
return jsi::Value::undefined();
|
|
2990
2990
|
}
|
|
@@ -2997,36 +2997,36 @@ NativeIdleCallbacksCxxSpecJSI::NativeIdleCallbacksCxxSpecJSI(std::shared_ptr<Cal
|
|
|
2997
2997
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2998
2998
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
2999
2999
|
rt,
|
|
3000
|
-
count
|
|
3000
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3001
3001
|
);
|
|
3002
3002
|
return jsi::Value::undefined();
|
|
3003
3003
|
}
|
|
3004
3004
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3005
3005
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
3006
3006
|
rt,
|
|
3007
|
-
count
|
|
3008
|
-
count
|
|
3007
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3008
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3009
3009
|
);
|
|
3010
3010
|
return jsi::Value::undefined();
|
|
3011
3011
|
}
|
|
3012
3012
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observeV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3013
3013
|
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observeV2(
|
|
3014
3014
|
rt,
|
|
3015
|
-
count
|
|
3015
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3016
3016
|
);
|
|
3017
3017
|
}
|
|
3018
3018
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserveV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3019
3019
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserveV2(
|
|
3020
3020
|
rt,
|
|
3021
|
-
count
|
|
3022
|
-
count
|
|
3021
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3022
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3023
3023
|
);
|
|
3024
3024
|
return jsi::Value::undefined();
|
|
3025
3025
|
}
|
|
3026
3026
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3027
3027
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3028
3028
|
rt,
|
|
3029
|
-
count
|
|
3029
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3030
3030
|
);
|
|
3031
3031
|
return jsi::Value::undefined();
|
|
3032
3032
|
}
|
|
@@ -3055,7 +3055,7 @@ NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::
|
|
|
3055
3055
|
static jsi::Value __hostFunction_NativeMicrotasksCxxSpecJSI_queueMicrotask(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3056
3056
|
static_cast<NativeMicrotasksCxxSpecJSI *>(&turboModule)->queueMicrotask(
|
|
3057
3057
|
rt,
|
|
3058
|
-
count
|
|
3058
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3059
3059
|
);
|
|
3060
3060
|
return jsi::Value::undefined();
|
|
3061
3061
|
}
|
|
@@ -3067,22 +3067,22 @@ NativeMicrotasksCxxSpecJSI::NativeMicrotasksCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
3067
3067
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3068
3068
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
3069
3069
|
rt,
|
|
3070
|
-
count
|
|
3070
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3071
3071
|
);
|
|
3072
3072
|
return jsi::Value::undefined();
|
|
3073
3073
|
}
|
|
3074
3074
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserveAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3075
3075
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserveAll(
|
|
3076
3076
|
rt,
|
|
3077
|
-
count
|
|
3077
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3078
3078
|
);
|
|
3079
3079
|
return jsi::Value::undefined();
|
|
3080
3080
|
}
|
|
3081
3081
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3082
3082
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3083
3083
|
rt,
|
|
3084
|
-
count
|
|
3085
|
-
count
|
|
3084
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
3085
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3086
3086
|
);
|
|
3087
3087
|
return jsi::Value::undefined();
|
|
3088
3088
|
}
|
|
@@ -3114,16 +3114,16 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_now(jsi::Runtime &r
|
|
|
3114
3114
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_markWithResult(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3115
3115
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->markWithResult(
|
|
3116
3116
|
rt,
|
|
3117
|
-
count
|
|
3117
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3118
3118
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber())
|
|
3119
3119
|
);
|
|
3120
3120
|
}
|
|
3121
3121
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measureWithResult(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3122
3122
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measureWithResult(
|
|
3123
3123
|
rt,
|
|
3124
|
-
count
|
|
3125
|
-
count
|
|
3126
|
-
count
|
|
3124
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3125
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
3126
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
3127
3127
|
count <= 3 || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asNumber()),
|
|
3128
3128
|
count <= 4 || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)),
|
|
3129
3129
|
count <= 5 || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt))
|
|
@@ -3151,14 +3151,14 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntries(jsi::Run
|
|
|
3151
3151
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3152
3152
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByName(
|
|
3153
3153
|
rt,
|
|
3154
|
-
count
|
|
3154
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3155
3155
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber())
|
|
3156
3156
|
);
|
|
3157
3157
|
}
|
|
3158
3158
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByType(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3159
3159
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByType(
|
|
3160
3160
|
rt,
|
|
3161
|
-
count
|
|
3161
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3162
3162
|
);
|
|
3163
3163
|
}
|
|
3164
3164
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3179,35 +3179,35 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStart
|
|
|
3179
3179
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_createObserver(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3180
3180
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->createObserver(
|
|
3181
3181
|
rt,
|
|
3182
|
-
count
|
|
3182
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3183
3183
|
);
|
|
3184
3184
|
}
|
|
3185
3185
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getDroppedEntriesCount(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3186
3186
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getDroppedEntriesCount(
|
|
3187
3187
|
rt,
|
|
3188
|
-
count
|
|
3188
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3189
3189
|
);
|
|
3190
3190
|
}
|
|
3191
3191
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3192
3192
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->observe(
|
|
3193
3193
|
rt,
|
|
3194
|
-
count
|
|
3195
|
-
count
|
|
3194
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3195
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
3196
3196
|
);
|
|
3197
3197
|
return jsi::Value::undefined();
|
|
3198
3198
|
}
|
|
3199
3199
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3200
3200
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->disconnect(
|
|
3201
3201
|
rt,
|
|
3202
|
-
count
|
|
3202
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3203
3203
|
);
|
|
3204
3204
|
return jsi::Value::undefined();
|
|
3205
3205
|
}
|
|
3206
3206
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3207
3207
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
3208
3208
|
rt,
|
|
3209
|
-
count
|
|
3210
|
-
count
|
|
3209
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3210
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3211
3211
|
);
|
|
3212
3212
|
}
|
|
3213
3213
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSupportedPerformanceEntryTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3239,138 +3239,138 @@ NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
3239
3239
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_compareDocumentPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3240
3240
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->compareDocumentPosition(
|
|
3241
3241
|
rt,
|
|
3242
|
-
count
|
|
3243
|
-
count
|
|
3242
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3243
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3244
3244
|
);
|
|
3245
3245
|
}
|
|
3246
3246
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getChildNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3247
3247
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getChildNodes(
|
|
3248
3248
|
rt,
|
|
3249
|
-
count
|
|
3249
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3250
3250
|
);
|
|
3251
3251
|
}
|
|
3252
3252
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getParentNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3253
3253
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getParentNode(
|
|
3254
3254
|
rt,
|
|
3255
|
-
count
|
|
3255
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3256
3256
|
);
|
|
3257
3257
|
}
|
|
3258
3258
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_isConnected(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3259
3259
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->isConnected(
|
|
3260
3260
|
rt,
|
|
3261
|
-
count
|
|
3261
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3262
3262
|
);
|
|
3263
3263
|
}
|
|
3264
3264
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBorderWidth(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3265
3265
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBorderWidth(
|
|
3266
3266
|
rt,
|
|
3267
|
-
count
|
|
3267
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3268
3268
|
);
|
|
3269
3269
|
}
|
|
3270
3270
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBoundingClientRect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3271
3271
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBoundingClientRect(
|
|
3272
3272
|
rt,
|
|
3273
|
-
count
|
|
3274
|
-
count
|
|
3273
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3274
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3275
3275
|
);
|
|
3276
3276
|
}
|
|
3277
3277
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getInnerSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3278
3278
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getInnerSize(
|
|
3279
3279
|
rt,
|
|
3280
|
-
count
|
|
3280
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3281
3281
|
);
|
|
3282
3282
|
}
|
|
3283
3283
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3284
3284
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollPosition(
|
|
3285
3285
|
rt,
|
|
3286
|
-
count
|
|
3286
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3287
3287
|
);
|
|
3288
3288
|
}
|
|
3289
3289
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3290
3290
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollSize(
|
|
3291
3291
|
rt,
|
|
3292
|
-
count
|
|
3292
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3293
3293
|
);
|
|
3294
3294
|
}
|
|
3295
3295
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTagName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3296
3296
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTagName(
|
|
3297
3297
|
rt,
|
|
3298
|
-
count
|
|
3298
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3299
3299
|
);
|
|
3300
3300
|
}
|
|
3301
3301
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTextContent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3302
3302
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTextContent(
|
|
3303
3303
|
rt,
|
|
3304
|
-
count
|
|
3304
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3305
3305
|
);
|
|
3306
3306
|
}
|
|
3307
3307
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_hasPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3308
3308
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->hasPointerCapture(
|
|
3309
3309
|
rt,
|
|
3310
|
-
count
|
|
3311
|
-
count
|
|
3310
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3311
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3312
3312
|
);
|
|
3313
3313
|
}
|
|
3314
3314
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_releasePointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3315
3315
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->releasePointerCapture(
|
|
3316
3316
|
rt,
|
|
3317
|
-
count
|
|
3318
|
-
count
|
|
3317
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3318
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3319
3319
|
);
|
|
3320
3320
|
return jsi::Value::undefined();
|
|
3321
3321
|
}
|
|
3322
3322
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3323
3323
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setPointerCapture(
|
|
3324
3324
|
rt,
|
|
3325
|
-
count
|
|
3326
|
-
count
|
|
3325
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3326
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3327
3327
|
);
|
|
3328
3328
|
return jsi::Value::undefined();
|
|
3329
3329
|
}
|
|
3330
3330
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3331
3331
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getOffset(
|
|
3332
3332
|
rt,
|
|
3333
|
-
count
|
|
3333
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3334
3334
|
);
|
|
3335
3335
|
}
|
|
3336
3336
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_linkRootNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3337
3337
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->linkRootNode(
|
|
3338
3338
|
rt,
|
|
3339
|
-
count
|
|
3340
|
-
count
|
|
3339
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3340
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3341
3341
|
);
|
|
3342
3342
|
}
|
|
3343
3343
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3344
3344
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measure(
|
|
3345
3345
|
rt,
|
|
3346
|
-
count
|
|
3347
|
-
count
|
|
3346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3347
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3348
3348
|
);
|
|
3349
3349
|
return jsi::Value::undefined();
|
|
3350
3350
|
}
|
|
3351
3351
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3352
3352
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
3353
3353
|
rt,
|
|
3354
|
-
count
|
|
3355
|
-
count
|
|
3354
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3355
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3356
3356
|
);
|
|
3357
3357
|
return jsi::Value::undefined();
|
|
3358
3358
|
}
|
|
3359
3359
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3360
3360
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
3361
3361
|
rt,
|
|
3362
|
-
count
|
|
3363
|
-
count
|
|
3364
|
-
count
|
|
3365
|
-
count
|
|
3362
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3363
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1])),
|
|
3364
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
3365
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
3366
3366
|
);
|
|
3367
3367
|
return jsi::Value::undefined();
|
|
3368
3368
|
}
|
|
3369
3369
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setNativeProps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3370
3370
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setNativeProps(
|
|
3371
3371
|
rt,
|
|
3372
|
-
count
|
|
3373
|
-
count
|
|
3372
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3373
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3374
3374
|
);
|
|
3375
3375
|
return jsi::Value::undefined();
|
|
3376
3376
|
}
|