react-native-windows 0.82.0-preview.1 → 0.82.0-preview.11
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/Libraries/Animated/nodes/AnimatedValue.js +0 -8
- package/Libraries/BatchedBridge/BatchedBridge.js +1 -0
- package/Libraries/BatchedBridge/MessageQueue.js +1 -0
- package/Libraries/Components/Switch/Switch.js +1 -1
- package/Libraries/Components/Switch/Switch.windows.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/Timers/JSTimers.js +1 -0
- package/Libraries/Core/Timers/NativeTiming.js +1 -0
- package/Libraries/Core/Timers/immediateShim.js +1 -0
- package/Libraries/Core/setUpPerformance.js +3 -5
- package/Libraries/Interaction/PanResponder.js +6 -51
- package/Microsoft.ReactNative/ComponentView.idl +2 -0
- package/Microsoft.ReactNative/Composition.Input.idl +7 -0
- package/Microsoft.ReactNative/CompositionComponentView.idl +3 -0
- package/Microsoft.ReactNative/Fabric/ComponentView.cpp +18 -0
- package/Microsoft.ReactNative/Fabric/ComponentView.h +9 -0
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.cpp +12 -0
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.h +15 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +75 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +1 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +84 -17
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +4 -0
- package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.cpp +56 -82
- package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.h +7 -4
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +82 -14
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.h +11 -4
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +33 -0
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +17 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +59 -31
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +3 -0
- package/Microsoft.ReactNative/Modules/ImageViewManagerModule.cpp +42 -15
- package/Microsoft.ReactNative.Cxx/ReactCommon/react/timing/primitives.h +12 -0
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/PropertySheets/Warnings.props +1 -2
- package/PropertySheets/WinUI.props +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/BaseParagraphProps.cpp +174 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/text/BaseParagraphProps.h +69 -0
- package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +5 -11
- package/Scripts/rnw-dependencies.ps1 +15 -1
- package/Shared/Shared.vcxitems +1 -0
- package/Shared/Shared.vcxitems.filters +1 -3
- package/codegen/NativePerformanceSpec.g.h +41 -35
- package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +55 -49
- package/codegen/rnwcoreJSI-generated.cpp +434 -422
- package/codegen/rnwcoreJSI.h +18 -0
- package/index.js +6 -0
- package/index.windows.js +6 -0
- package/package.json +15 -14
- package/src/private/featureflags/ReactNativeFeatureFlags.js +6 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
- package/src/private/setup/{setUpPerformanceObserver.js → setUpPerformanceModern.js} +43 -18
- package/src/private/specs_DEPRECATED/components/SwitchNativeComponent.js +1 -0
- package/src/private/specs_DEPRECATED/modules/NativeTiming.js +1 -0
- package/src/private/webapis/performance/EventTiming.js +34 -15
- package/src/private/webapis/performance/LongTasks.js +35 -2
- package/src/private/webapis/performance/Performance.js +49 -13
- package/src/private/webapis/performance/PerformanceEntry.js +21 -8
- package/src/private/webapis/performance/PerformanceObserver.js +30 -1
- package/src/private/webapis/performance/ReactNativeStartupTiming.js +3 -24
- package/src/private/webapis/performance/ResourceTiming.js +29 -18
- package/src/private/webapis/performance/UserTiming.js +33 -28
- package/src/private/webapis/performance/internals/RawPerformanceEntry.js +3 -4
- package/src/private/webapis/performance/specs/NativePerformance.js +2 -0
|
@@ -236,6 +236,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableV
|
|
|
236
236
|
rt
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableWebPerformanceAPIsByDefault(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
240
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableWebPerformanceAPIsByDefault(
|
|
241
|
+
rt
|
|
242
|
+
);
|
|
243
|
+
}
|
|
239
244
|
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fixMappingOfEventPrioritiesBetweenFabricAndReact(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
240
245
|
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->fixMappingOfEventPrioritiesBetweenFabricAndReact(
|
|
241
246
|
rt
|
|
@@ -409,6 +414,7 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
409
414
|
methodMap_["enableVirtualViewDebugFeatures"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewDebugFeatures};
|
|
410
415
|
methodMap_["enableVirtualViewRenderState"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewRenderState};
|
|
411
416
|
methodMap_["enableVirtualViewWindowFocusDetection"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableVirtualViewWindowFocusDetection};
|
|
417
|
+
methodMap_["enableWebPerformanceAPIsByDefault"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableWebPerformanceAPIsByDefault};
|
|
412
418
|
methodMap_["fixMappingOfEventPrioritiesBetweenFabricAndReact"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fixMappingOfEventPrioritiesBetweenFabricAndReact};
|
|
413
419
|
methodMap_["fuseboxEnabledRelease"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fuseboxEnabledRelease};
|
|
414
420
|
methodMap_["fuseboxNetworkInspectionEnabled"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fuseboxNetworkInspectionEnabled};
|
|
@@ -438,64 +444,64 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
|
|
|
438
444
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
439
445
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
440
446
|
rt,
|
|
441
|
-
count
|
|
447
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
442
448
|
);
|
|
443
449
|
return jsi::Value::undefined();
|
|
444
450
|
}
|
|
445
451
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isInvertColorsEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
446
452
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isInvertColorsEnabled(
|
|
447
453
|
rt,
|
|
448
|
-
count
|
|
454
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
449
455
|
);
|
|
450
456
|
return jsi::Value::undefined();
|
|
451
457
|
}
|
|
452
458
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isHighTextContrastEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
453
459
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isHighTextContrastEnabled(
|
|
454
460
|
rt,
|
|
455
|
-
count
|
|
461
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
456
462
|
);
|
|
457
463
|
return jsi::Value::undefined();
|
|
458
464
|
}
|
|
459
465
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
460
466
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
461
467
|
rt,
|
|
462
|
-
count
|
|
468
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
463
469
|
);
|
|
464
470
|
return jsi::Value::undefined();
|
|
465
471
|
}
|
|
466
472
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
467
473
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
468
474
|
rt,
|
|
469
|
-
count
|
|
475
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
470
476
|
);
|
|
471
477
|
return jsi::Value::undefined();
|
|
472
478
|
}
|
|
473
479
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
474
480
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
475
481
|
rt,
|
|
476
|
-
count
|
|
482
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
477
483
|
);
|
|
478
484
|
return jsi::Value::undefined();
|
|
479
485
|
}
|
|
480
486
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
481
487
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
482
488
|
rt,
|
|
483
|
-
count
|
|
489
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
484
490
|
);
|
|
485
491
|
return jsi::Value::undefined();
|
|
486
492
|
}
|
|
487
493
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
488
494
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
489
495
|
rt,
|
|
490
|
-
count
|
|
491
|
-
count
|
|
496
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
497
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
492
498
|
);
|
|
493
499
|
return jsi::Value::undefined();
|
|
494
500
|
}
|
|
495
501
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isGrayscaleEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
496
502
|
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isGrayscaleEnabled(
|
|
497
503
|
rt,
|
|
498
|
-
count
|
|
504
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
499
505
|
);
|
|
500
506
|
return jsi::Value::undefined();
|
|
501
507
|
}
|
|
@@ -515,93 +521,93 @@ NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared
|
|
|
515
521
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
516
522
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
517
523
|
rt,
|
|
518
|
-
count
|
|
519
|
-
count
|
|
524
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
525
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
520
526
|
);
|
|
521
527
|
return jsi::Value::undefined();
|
|
522
528
|
}
|
|
523
529
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
524
530
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
525
531
|
rt,
|
|
526
|
-
count
|
|
527
|
-
count
|
|
532
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
533
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
528
534
|
);
|
|
529
535
|
return jsi::Value::undefined();
|
|
530
536
|
}
|
|
531
537
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
532
538
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
533
539
|
rt,
|
|
534
|
-
count
|
|
535
|
-
count
|
|
540
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
541
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
536
542
|
);
|
|
537
543
|
return jsi::Value::undefined();
|
|
538
544
|
}
|
|
539
545
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
540
546
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
541
547
|
rt,
|
|
542
|
-
count
|
|
543
|
-
count
|
|
548
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
549
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
544
550
|
);
|
|
545
551
|
return jsi::Value::undefined();
|
|
546
552
|
}
|
|
547
553
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentDarkerSystemColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
548
554
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentDarkerSystemColorsState(
|
|
549
555
|
rt,
|
|
550
|
-
count
|
|
551
|
-
count
|
|
556
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
557
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
552
558
|
);
|
|
553
559
|
return jsi::Value::undefined();
|
|
554
560
|
}
|
|
555
561
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
556
562
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
557
563
|
rt,
|
|
558
|
-
count
|
|
559
|
-
count
|
|
564
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
565
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
560
566
|
);
|
|
561
567
|
return jsi::Value::undefined();
|
|
562
568
|
}
|
|
563
569
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
564
570
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
565
571
|
rt,
|
|
566
|
-
count
|
|
567
|
-
count
|
|
572
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
573
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
568
574
|
);
|
|
569
575
|
return jsi::Value::undefined();
|
|
570
576
|
}
|
|
571
577
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
572
578
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
573
579
|
rt,
|
|
574
|
-
count
|
|
575
|
-
count
|
|
580
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
581
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
576
582
|
);
|
|
577
583
|
return jsi::Value::undefined();
|
|
578
584
|
}
|
|
579
585
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
580
586
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
581
587
|
rt,
|
|
582
|
-
count
|
|
588
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
583
589
|
);
|
|
584
590
|
return jsi::Value::undefined();
|
|
585
591
|
}
|
|
586
592
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
587
593
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
588
594
|
rt,
|
|
589
|
-
count
|
|
595
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
590
596
|
);
|
|
591
597
|
return jsi::Value::undefined();
|
|
592
598
|
}
|
|
593
599
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
594
600
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
595
601
|
rt,
|
|
596
|
-
count
|
|
602
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
597
603
|
);
|
|
598
604
|
return jsi::Value::undefined();
|
|
599
605
|
}
|
|
600
606
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
601
607
|
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
602
608
|
rt,
|
|
603
|
-
count
|
|
604
|
-
count
|
|
609
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
610
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
605
611
|
);
|
|
606
612
|
return jsi::Value::undefined();
|
|
607
613
|
}
|
|
@@ -629,17 +635,17 @@ static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants
|
|
|
629
635
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
630
636
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
|
631
637
|
rt,
|
|
632
|
-
count
|
|
633
|
-
count
|
|
638
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
639
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
634
640
|
);
|
|
635
641
|
return jsi::Value::undefined();
|
|
636
642
|
}
|
|
637
643
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
638
644
|
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
|
639
645
|
rt,
|
|
640
|
-
count
|
|
641
|
-
count
|
|
642
|
-
count
|
|
646
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
647
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
648
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
643
649
|
);
|
|
644
650
|
return jsi::Value::undefined();
|
|
645
651
|
}
|
|
@@ -660,8 +666,8 @@ NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shar
|
|
|
660
666
|
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
661
667
|
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
|
662
668
|
rt,
|
|
663
|
-
count
|
|
664
|
-
count
|
|
669
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
670
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
665
671
|
);
|
|
666
672
|
return jsi::Value::undefined();
|
|
667
673
|
}
|
|
@@ -685,170 +691,170 @@ static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationB
|
|
|
685
691
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
686
692
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
687
693
|
rt,
|
|
688
|
-
count
|
|
689
|
-
count
|
|
694
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
695
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
690
696
|
);
|
|
691
697
|
return jsi::Value::undefined();
|
|
692
698
|
}
|
|
693
699
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
694
700
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
695
701
|
rt,
|
|
696
|
-
count
|
|
697
|
-
count
|
|
702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
698
704
|
);
|
|
699
705
|
return jsi::Value::undefined();
|
|
700
706
|
}
|
|
701
707
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
702
708
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
703
709
|
rt,
|
|
704
|
-
count
|
|
705
|
-
count
|
|
710
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
711
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
706
712
|
);
|
|
707
713
|
return jsi::Value::undefined();
|
|
708
714
|
}
|
|
709
715
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
710
716
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
711
717
|
rt,
|
|
712
|
-
count
|
|
718
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
713
719
|
);
|
|
714
720
|
return jsi::Value::undefined();
|
|
715
721
|
}
|
|
716
722
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
717
723
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
718
724
|
rt,
|
|
719
|
-
count
|
|
725
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
720
726
|
);
|
|
721
727
|
return jsi::Value::undefined();
|
|
722
728
|
}
|
|
723
729
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
724
730
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
725
731
|
rt,
|
|
726
|
-
count
|
|
727
|
-
count
|
|
732
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
733
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
728
734
|
);
|
|
729
735
|
return jsi::Value::undefined();
|
|
730
736
|
}
|
|
731
737
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
732
738
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
733
739
|
rt,
|
|
734
|
-
count
|
|
735
|
-
count
|
|
740
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
741
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
736
742
|
);
|
|
737
743
|
return jsi::Value::undefined();
|
|
738
744
|
}
|
|
739
745
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
740
746
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
741
747
|
rt,
|
|
742
|
-
count
|
|
743
|
-
count
|
|
744
|
-
count
|
|
745
|
-
count
|
|
748
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
749
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
750
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
751
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
746
752
|
);
|
|
747
753
|
return jsi::Value::undefined();
|
|
748
754
|
}
|
|
749
755
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
750
756
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
751
757
|
rt,
|
|
752
|
-
count
|
|
758
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
753
759
|
);
|
|
754
760
|
return jsi::Value::undefined();
|
|
755
761
|
}
|
|
756
762
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
757
763
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
758
764
|
rt,
|
|
759
|
-
count
|
|
760
|
-
count
|
|
765
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
766
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
761
767
|
);
|
|
762
768
|
return jsi::Value::undefined();
|
|
763
769
|
}
|
|
764
770
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
765
771
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
766
772
|
rt,
|
|
767
|
-
count
|
|
768
|
-
count
|
|
773
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
774
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
769
775
|
);
|
|
770
776
|
return jsi::Value::undefined();
|
|
771
777
|
}
|
|
772
778
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
773
779
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
774
780
|
rt,
|
|
775
|
-
count
|
|
781
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
776
782
|
);
|
|
777
783
|
return jsi::Value::undefined();
|
|
778
784
|
}
|
|
779
785
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
780
786
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
781
787
|
rt,
|
|
782
|
-
count
|
|
788
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
783
789
|
);
|
|
784
790
|
return jsi::Value::undefined();
|
|
785
791
|
}
|
|
786
792
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
787
793
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
788
794
|
rt,
|
|
789
|
-
count
|
|
790
|
-
count
|
|
795
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
796
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
791
797
|
);
|
|
792
798
|
return jsi::Value::undefined();
|
|
793
799
|
}
|
|
794
800
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
795
801
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
796
802
|
rt,
|
|
797
|
-
count
|
|
798
|
-
count
|
|
803
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
804
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
799
805
|
);
|
|
800
806
|
return jsi::Value::undefined();
|
|
801
807
|
}
|
|
802
808
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
803
809
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
804
810
|
rt,
|
|
805
|
-
count
|
|
811
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
806
812
|
);
|
|
807
813
|
return jsi::Value::undefined();
|
|
808
814
|
}
|
|
809
815
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
810
816
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
811
817
|
rt,
|
|
812
|
-
count
|
|
818
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
813
819
|
);
|
|
814
820
|
return jsi::Value::undefined();
|
|
815
821
|
}
|
|
816
822
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
817
823
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
818
824
|
rt,
|
|
819
|
-
count
|
|
820
|
-
count
|
|
821
|
-
count
|
|
825
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
826
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
827
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
822
828
|
);
|
|
823
829
|
return jsi::Value::undefined();
|
|
824
830
|
}
|
|
825
831
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
826
832
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
827
833
|
rt,
|
|
828
|
-
count
|
|
829
|
-
count
|
|
830
|
-
count
|
|
834
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
835
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
836
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
831
837
|
);
|
|
832
838
|
return jsi::Value::undefined();
|
|
833
839
|
}
|
|
834
840
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
835
841
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
836
842
|
rt,
|
|
837
|
-
count
|
|
843
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
838
844
|
);
|
|
839
845
|
return jsi::Value::undefined();
|
|
840
846
|
}
|
|
841
847
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
842
848
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
843
849
|
rt,
|
|
844
|
-
count
|
|
850
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
845
851
|
);
|
|
846
852
|
return jsi::Value::undefined();
|
|
847
853
|
}
|
|
848
854
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
849
855
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
850
856
|
rt,
|
|
851
|
-
count
|
|
857
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
852
858
|
);
|
|
853
859
|
return jsi::Value::undefined();
|
|
854
860
|
}
|
|
@@ -895,170 +901,170 @@ static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOpera
|
|
|
895
901
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
896
902
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
897
903
|
rt,
|
|
898
|
-
count
|
|
899
|
-
count
|
|
904
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
905
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
900
906
|
);
|
|
901
907
|
return jsi::Value::undefined();
|
|
902
908
|
}
|
|
903
909
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
904
910
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
905
911
|
rt,
|
|
906
|
-
count
|
|
907
|
-
count
|
|
912
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
913
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
908
914
|
);
|
|
909
915
|
return jsi::Value::undefined();
|
|
910
916
|
}
|
|
911
917
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
912
918
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
913
919
|
rt,
|
|
914
|
-
count
|
|
915
|
-
count
|
|
920
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
921
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
916
922
|
);
|
|
917
923
|
return jsi::Value::undefined();
|
|
918
924
|
}
|
|
919
925
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
920
926
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
921
927
|
rt,
|
|
922
|
-
count
|
|
928
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
923
929
|
);
|
|
924
930
|
return jsi::Value::undefined();
|
|
925
931
|
}
|
|
926
932
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
927
933
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
928
934
|
rt,
|
|
929
|
-
count
|
|
935
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
930
936
|
);
|
|
931
937
|
return jsi::Value::undefined();
|
|
932
938
|
}
|
|
933
939
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
934
940
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
935
941
|
rt,
|
|
936
|
-
count
|
|
937
|
-
count
|
|
942
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
943
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
938
944
|
);
|
|
939
945
|
return jsi::Value::undefined();
|
|
940
946
|
}
|
|
941
947
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
942
948
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
943
949
|
rt,
|
|
944
|
-
count
|
|
945
|
-
count
|
|
950
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
951
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
946
952
|
);
|
|
947
953
|
return jsi::Value::undefined();
|
|
948
954
|
}
|
|
949
955
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
950
956
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
951
957
|
rt,
|
|
952
|
-
count
|
|
953
|
-
count
|
|
954
|
-
count
|
|
955
|
-
count
|
|
958
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
959
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
960
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
961
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
956
962
|
);
|
|
957
963
|
return jsi::Value::undefined();
|
|
958
964
|
}
|
|
959
965
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
960
966
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
961
967
|
rt,
|
|
962
|
-
count
|
|
968
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
963
969
|
);
|
|
964
970
|
return jsi::Value::undefined();
|
|
965
971
|
}
|
|
966
972
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
967
973
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
968
974
|
rt,
|
|
969
|
-
count
|
|
970
|
-
count
|
|
975
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
976
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
971
977
|
);
|
|
972
978
|
return jsi::Value::undefined();
|
|
973
979
|
}
|
|
974
980
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
975
981
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
976
982
|
rt,
|
|
977
|
-
count
|
|
978
|
-
count
|
|
983
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
984
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
979
985
|
);
|
|
980
986
|
return jsi::Value::undefined();
|
|
981
987
|
}
|
|
982
988
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
983
989
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
984
990
|
rt,
|
|
985
|
-
count
|
|
991
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
986
992
|
);
|
|
987
993
|
return jsi::Value::undefined();
|
|
988
994
|
}
|
|
989
995
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
990
996
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
991
997
|
rt,
|
|
992
|
-
count
|
|
998
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
993
999
|
);
|
|
994
1000
|
return jsi::Value::undefined();
|
|
995
1001
|
}
|
|
996
1002
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
997
1003
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
998
1004
|
rt,
|
|
999
|
-
count
|
|
1000
|
-
count
|
|
1005
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1006
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1001
1007
|
);
|
|
1002
1008
|
return jsi::Value::undefined();
|
|
1003
1009
|
}
|
|
1004
1010
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1005
1011
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
1006
1012
|
rt,
|
|
1007
|
-
count
|
|
1008
|
-
count
|
|
1013
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1014
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1009
1015
|
);
|
|
1010
1016
|
return jsi::Value::undefined();
|
|
1011
1017
|
}
|
|
1012
1018
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1013
1019
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
1014
1020
|
rt,
|
|
1015
|
-
count
|
|
1021
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1016
1022
|
);
|
|
1017
1023
|
return jsi::Value::undefined();
|
|
1018
1024
|
}
|
|
1019
1025
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1020
1026
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
1021
1027
|
rt,
|
|
1022
|
-
count
|
|
1028
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1023
1029
|
);
|
|
1024
1030
|
return jsi::Value::undefined();
|
|
1025
1031
|
}
|
|
1026
1032
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1027
1033
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
1028
1034
|
rt,
|
|
1029
|
-
count
|
|
1030
|
-
count
|
|
1031
|
-
count
|
|
1035
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1036
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1037
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
1032
1038
|
);
|
|
1033
1039
|
return jsi::Value::undefined();
|
|
1034
1040
|
}
|
|
1035
1041
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1036
1042
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
1037
1043
|
rt,
|
|
1038
|
-
count
|
|
1039
|
-
count
|
|
1040
|
-
count
|
|
1044
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
1045
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1046
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1041
1047
|
);
|
|
1042
1048
|
return jsi::Value::undefined();
|
|
1043
1049
|
}
|
|
1044
1050
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1045
1051
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
1046
1052
|
rt,
|
|
1047
|
-
count
|
|
1053
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1048
1054
|
);
|
|
1049
1055
|
return jsi::Value::undefined();
|
|
1050
1056
|
}
|
|
1051
1057
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1052
1058
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1053
1059
|
rt,
|
|
1054
|
-
count
|
|
1060
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1055
1061
|
);
|
|
1056
1062
|
return jsi::Value::undefined();
|
|
1057
1063
|
}
|
|
1058
1064
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1059
1065
|
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
1060
1066
|
rt,
|
|
1061
|
-
count
|
|
1067
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1062
1068
|
);
|
|
1063
1069
|
return jsi::Value::undefined();
|
|
1064
1070
|
}
|
|
@@ -1099,21 +1105,21 @@ static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::
|
|
|
1099
1105
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1100
1106
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
1101
1107
|
rt,
|
|
1102
|
-
count
|
|
1108
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1103
1109
|
);
|
|
1104
1110
|
return jsi::Value::undefined();
|
|
1105
1111
|
}
|
|
1106
1112
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1107
1113
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
1108
1114
|
rt,
|
|
1109
|
-
count
|
|
1115
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1110
1116
|
);
|
|
1111
1117
|
return jsi::Value::undefined();
|
|
1112
1118
|
}
|
|
1113
1119
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1114
1120
|
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1115
1121
|
rt,
|
|
1116
|
-
count
|
|
1122
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1117
1123
|
);
|
|
1118
1124
|
return jsi::Value::undefined();
|
|
1119
1125
|
}
|
|
@@ -1133,22 +1139,22 @@ static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runt
|
|
|
1133
1139
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1134
1140
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
1135
1141
|
rt,
|
|
1136
|
-
count
|
|
1137
|
-
count
|
|
1142
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
1143
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1138
1144
|
);
|
|
1139
1145
|
return jsi::Value::undefined();
|
|
1140
1146
|
}
|
|
1141
1147
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1142
1148
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
1143
1149
|
rt,
|
|
1144
|
-
count
|
|
1150
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1145
1151
|
);
|
|
1146
1152
|
return jsi::Value::undefined();
|
|
1147
1153
|
}
|
|
1148
1154
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1149
1155
|
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1150
1156
|
rt,
|
|
1151
|
-
count
|
|
1157
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1152
1158
|
);
|
|
1153
1159
|
return jsi::Value::undefined();
|
|
1154
1160
|
}
|
|
@@ -1184,37 +1190,37 @@ static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler
|
|
|
1184
1190
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1185
1191
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
|
1186
1192
|
rt,
|
|
1187
|
-
count
|
|
1193
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1188
1194
|
);
|
|
1189
1195
|
return jsi::Value::undefined();
|
|
1190
1196
|
}
|
|
1191
1197
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1192
1198
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
|
1193
1199
|
rt,
|
|
1194
|
-
count
|
|
1200
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1195
1201
|
);
|
|
1196
1202
|
return jsi::Value::undefined();
|
|
1197
1203
|
}
|
|
1198
1204
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1199
1205
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
|
1200
1206
|
rt,
|
|
1201
|
-
count
|
|
1202
|
-
count
|
|
1207
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1208
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1203
1209
|
);
|
|
1204
1210
|
return jsi::Value::undefined();
|
|
1205
1211
|
}
|
|
1206
1212
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1207
1213
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
|
1208
1214
|
rt,
|
|
1209
|
-
count
|
|
1210
|
-
count
|
|
1215
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
1216
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1211
1217
|
);
|
|
1212
1218
|
return jsi::Value::undefined();
|
|
1213
1219
|
}
|
|
1214
1220
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1215
1221
|
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
|
1216
1222
|
rt,
|
|
1217
|
-
count
|
|
1223
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1218
1224
|
);
|
|
1219
1225
|
return jsi::Value::undefined();
|
|
1220
1226
|
}
|
|
@@ -1242,7 +1248,7 @@ static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtim
|
|
|
1242
1248
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1243
1249
|
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
1244
1250
|
rt,
|
|
1245
|
-
count
|
|
1251
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1246
1252
|
);
|
|
1247
1253
|
return jsi::Value::undefined();
|
|
1248
1254
|
}
|
|
@@ -1277,7 +1283,7 @@ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1277
1283
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1278
1284
|
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
1279
1285
|
rt,
|
|
1280
|
-
count
|
|
1286
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1281
1287
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
1282
1288
|
count <= 2 || args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
1283
1289
|
);
|
|
@@ -1304,7 +1310,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime
|
|
|
1304
1310
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1305
1311
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
1306
1312
|
rt,
|
|
1307
|
-
count
|
|
1313
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1308
1314
|
);
|
|
1309
1315
|
return jsi::Value::undefined();
|
|
1310
1316
|
}
|
|
@@ -1317,14 +1323,14 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::
|
|
|
1317
1323
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1318
1324
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
1319
1325
|
rt,
|
|
1320
|
-
count
|
|
1326
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1321
1327
|
);
|
|
1322
1328
|
return jsi::Value::undefined();
|
|
1323
1329
|
}
|
|
1324
1330
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1325
1331
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
1326
1332
|
rt,
|
|
1327
|
-
count
|
|
1333
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1328
1334
|
);
|
|
1329
1335
|
return jsi::Value::undefined();
|
|
1330
1336
|
}
|
|
@@ -1337,7 +1343,7 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspec
|
|
|
1337
1343
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1338
1344
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
1339
1345
|
rt,
|
|
1340
|
-
count
|
|
1346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1341
1347
|
);
|
|
1342
1348
|
return jsi::Value::undefined();
|
|
1343
1349
|
}
|
|
@@ -1350,21 +1356,21 @@ static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_openDebugger(jsi::R
|
|
|
1350
1356
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1351
1357
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
1352
1358
|
rt,
|
|
1353
|
-
count
|
|
1359
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1354
1360
|
);
|
|
1355
1361
|
return jsi::Value::undefined();
|
|
1356
1362
|
}
|
|
1357
1363
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1358
1364
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1359
1365
|
rt,
|
|
1360
|
-
count
|
|
1366
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1361
1367
|
);
|
|
1362
1368
|
return jsi::Value::undefined();
|
|
1363
1369
|
}
|
|
1364
1370
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1365
1371
|
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
1366
1372
|
rt,
|
|
1367
|
-
count
|
|
1373
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1368
1374
|
);
|
|
1369
1375
|
return jsi::Value::undefined();
|
|
1370
1376
|
}
|
|
@@ -1391,9 +1397,9 @@ static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstan
|
|
|
1391
1397
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1392
1398
|
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1393
1399
|
rt,
|
|
1394
|
-
count
|
|
1395
|
-
count
|
|
1396
|
-
count
|
|
1400
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1401
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1402
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1397
1403
|
);
|
|
1398
1404
|
return jsi::Value::undefined();
|
|
1399
1405
|
}
|
|
@@ -1411,9 +1417,9 @@ static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstan
|
|
|
1411
1417
|
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1412
1418
|
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
1413
1419
|
rt,
|
|
1414
|
-
count
|
|
1415
|
-
count
|
|
1416
|
-
count
|
|
1420
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1421
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1422
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1417
1423
|
);
|
|
1418
1424
|
return jsi::Value::undefined();
|
|
1419
1425
|
}
|
|
@@ -1426,25 +1432,25 @@ NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::
|
|
|
1426
1432
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1427
1433
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
1428
1434
|
rt,
|
|
1429
|
-
count
|
|
1430
|
-
count
|
|
1431
|
-
count
|
|
1435
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1436
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1437
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1432
1438
|
);
|
|
1433
1439
|
return jsi::Value::undefined();
|
|
1434
1440
|
}
|
|
1435
1441
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1436
1442
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
1437
1443
|
rt,
|
|
1438
|
-
count
|
|
1439
|
-
count
|
|
1440
|
-
count
|
|
1444
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1445
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
1446
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1441
1447
|
);
|
|
1442
1448
|
return jsi::Value::undefined();
|
|
1443
1449
|
}
|
|
1444
1450
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1445
1451
|
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
1446
1452
|
rt,
|
|
1447
|
-
count
|
|
1453
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1448
1454
|
);
|
|
1449
1455
|
return jsi::Value::undefined();
|
|
1450
1456
|
}
|
|
@@ -1465,14 +1471,14 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared
|
|
|
1465
1471
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1466
1472
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
1467
1473
|
rt,
|
|
1468
|
-
count
|
|
1474
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1469
1475
|
);
|
|
1470
1476
|
}
|
|
1471
1477
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1472
1478
|
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
1473
1479
|
rt,
|
|
1474
|
-
count
|
|
1475
|
-
count
|
|
1480
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1481
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
1476
1482
|
);
|
|
1477
1483
|
}
|
|
1478
1484
|
|
|
@@ -1484,14 +1490,14 @@ NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_p
|
|
|
1484
1490
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1485
1491
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
1486
1492
|
rt,
|
|
1487
|
-
count
|
|
1493
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
1488
1494
|
);
|
|
1489
1495
|
return jsi::Value::undefined();
|
|
1490
1496
|
}
|
|
1491
1497
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1492
1498
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
|
1493
1499
|
rt,
|
|
1494
|
-
count
|
|
1500
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1495
1501
|
);
|
|
1496
1502
|
return jsi::Value::undefined();
|
|
1497
1503
|
}
|
|
@@ -1518,14 +1524,14 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
|
1518
1524
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1519
1525
|
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
1520
1526
|
rt,
|
|
1521
|
-
count
|
|
1527
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1522
1528
|
);
|
|
1523
1529
|
return jsi::Value::undefined();
|
|
1524
1530
|
}
|
|
1525
1531
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1526
1532
|
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
1527
1533
|
rt,
|
|
1528
|
-
count
|
|
1534
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1529
1535
|
);
|
|
1530
1536
|
}
|
|
1531
1537
|
|
|
@@ -1542,21 +1548,21 @@ static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::R
|
|
|
1542
1548
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1543
1549
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1544
1550
|
rt,
|
|
1545
|
-
count
|
|
1551
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1546
1552
|
);
|
|
1547
1553
|
return jsi::Value::undefined();
|
|
1548
1554
|
}
|
|
1549
1555
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1550
1556
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1551
1557
|
rt,
|
|
1552
|
-
count
|
|
1558
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1553
1559
|
);
|
|
1554
1560
|
return jsi::Value::undefined();
|
|
1555
1561
|
}
|
|
1556
1562
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1557
1563
|
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1558
1564
|
rt,
|
|
1559
|
-
count
|
|
1565
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
1560
1566
|
);
|
|
1561
1567
|
return jsi::Value::undefined();
|
|
1562
1568
|
}
|
|
@@ -1576,10 +1582,10 @@ static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::R
|
|
|
1576
1582
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1577
1583
|
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
1578
1584
|
rt,
|
|
1579
|
-
count
|
|
1580
|
-
count
|
|
1581
|
-
count
|
|
1582
|
-
count
|
|
1585
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1586
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
1587
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
1588
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
1583
1589
|
);
|
|
1584
1590
|
return jsi::Value::undefined();
|
|
1585
1591
|
}
|
|
@@ -1592,7 +1598,7 @@ NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
1592
1598
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1593
1599
|
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1594
1600
|
rt,
|
|
1595
|
-
count
|
|
1601
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1596
1602
|
);
|
|
1597
1603
|
return jsi::Value::undefined();
|
|
1598
1604
|
}
|
|
@@ -1604,27 +1610,27 @@ static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants
|
|
|
1604
1610
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1605
1611
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
1606
1612
|
rt,
|
|
1607
|
-
count
|
|
1613
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1608
1614
|
);
|
|
1609
1615
|
}
|
|
1610
1616
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1611
1617
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1612
1618
|
rt,
|
|
1613
|
-
count
|
|
1614
|
-
count
|
|
1619
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1620
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1615
1621
|
);
|
|
1616
1622
|
}
|
|
1617
1623
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1618
1624
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1619
1625
|
rt,
|
|
1620
|
-
count
|
|
1621
|
-
count
|
|
1626
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1627
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
1622
1628
|
);
|
|
1623
1629
|
}
|
|
1624
1630
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1625
1631
|
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1626
1632
|
rt,
|
|
1627
|
-
count
|
|
1633
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1628
1634
|
);
|
|
1629
1635
|
}
|
|
1630
1636
|
|
|
@@ -1645,34 +1651,34 @@ static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi
|
|
|
1645
1651
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1646
1652
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
1647
1653
|
rt,
|
|
1648
|
-
count
|
|
1654
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1649
1655
|
);
|
|
1650
1656
|
}
|
|
1651
1657
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1652
1658
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1653
1659
|
rt,
|
|
1654
|
-
count
|
|
1655
|
-
count
|
|
1660
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1661
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
1656
1662
|
);
|
|
1657
1663
|
}
|
|
1658
1664
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1659
1665
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1660
1666
|
rt,
|
|
1661
|
-
count
|
|
1667
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1662
1668
|
);
|
|
1663
1669
|
}
|
|
1664
1670
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1665
1671
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
1666
1672
|
rt,
|
|
1667
|
-
count
|
|
1668
|
-
count
|
|
1669
|
-
count
|
|
1673
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1674
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1675
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
1670
1676
|
);
|
|
1671
1677
|
}
|
|
1672
1678
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1673
1679
|
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1674
1680
|
rt,
|
|
1675
|
-
count
|
|
1681
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
1676
1682
|
);
|
|
1677
1683
|
}
|
|
1678
1684
|
|
|
@@ -1693,9 +1699,9 @@ static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(
|
|
|
1693
1699
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1694
1700
|
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1695
1701
|
rt,
|
|
1696
|
-
count
|
|
1697
|
-
count
|
|
1698
|
-
count
|
|
1702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1704
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1699
1705
|
);
|
|
1700
1706
|
return jsi::Value::undefined();
|
|
1701
1707
|
}
|
|
@@ -1713,33 +1719,33 @@ static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi:
|
|
|
1713
1719
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1714
1720
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1715
1721
|
rt,
|
|
1716
|
-
count
|
|
1717
|
-
count
|
|
1718
|
-
count
|
|
1722
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1723
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1724
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1719
1725
|
);
|
|
1720
1726
|
return jsi::Value::undefined();
|
|
1721
1727
|
}
|
|
1722
1728
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1723
1729
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
1724
1730
|
rt,
|
|
1725
|
-
count
|
|
1726
|
-
count
|
|
1731
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1732
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1727
1733
|
);
|
|
1728
1734
|
return jsi::Value::undefined();
|
|
1729
1735
|
}
|
|
1730
1736
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1731
1737
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
1732
1738
|
rt,
|
|
1733
|
-
count
|
|
1739
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1734
1740
|
);
|
|
1735
1741
|
return jsi::Value::undefined();
|
|
1736
1742
|
}
|
|
1737
1743
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1738
1744
|
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
1739
1745
|
rt,
|
|
1740
|
-
count
|
|
1741
|
-
count
|
|
1742
|
-
count
|
|
1746
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1747
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
1748
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
1743
1749
|
);
|
|
1744
1750
|
return jsi::Value::undefined();
|
|
1745
1751
|
}
|
|
@@ -1760,13 +1766,13 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi
|
|
|
1760
1766
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1761
1767
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1762
1768
|
rt,
|
|
1763
|
-
count
|
|
1769
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1764
1770
|
);
|
|
1765
1771
|
}
|
|
1766
1772
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1767
1773
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1768
1774
|
rt,
|
|
1769
|
-
count
|
|
1775
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1770
1776
|
);
|
|
1771
1777
|
}
|
|
1772
1778
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1777,7 +1783,7 @@ static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi:
|
|
|
1777
1783
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1778
1784
|
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1779
1785
|
rt,
|
|
1780
|
-
count
|
|
1786
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1781
1787
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
1782
1788
|
);
|
|
1783
1789
|
}
|
|
@@ -1793,7 +1799,7 @@ NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<Cal
|
|
|
1793
1799
|
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1794
1800
|
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
1795
1801
|
rt,
|
|
1796
|
-
count
|
|
1802
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1797
1803
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
1798
1804
|
);
|
|
1799
1805
|
return jsi::Value::undefined();
|
|
@@ -1806,14 +1812,14 @@ NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<C
|
|
|
1806
1812
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1807
1813
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
1808
1814
|
rt,
|
|
1809
|
-
count
|
|
1815
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1810
1816
|
);
|
|
1811
1817
|
return jsi::Value::undefined();
|
|
1812
1818
|
}
|
|
1813
1819
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1814
1820
|
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1815
1821
|
rt,
|
|
1816
|
-
count
|
|
1822
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1817
1823
|
);
|
|
1818
1824
|
return jsi::Value::undefined();
|
|
1819
1825
|
}
|
|
@@ -1831,13 +1837,13 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(js
|
|
|
1831
1837
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1832
1838
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1833
1839
|
rt,
|
|
1834
|
-
count
|
|
1840
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1835
1841
|
);
|
|
1836
1842
|
}
|
|
1837
1843
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1838
1844
|
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1839
1845
|
rt,
|
|
1840
|
-
count
|
|
1846
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1841
1847
|
);
|
|
1842
1848
|
}
|
|
1843
1849
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -1848,14 +1854,14 @@ static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi
|
|
|
1848
1854
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1849
1855
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1850
1856
|
rt,
|
|
1851
|
-
count
|
|
1857
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1852
1858
|
);
|
|
1853
1859
|
return jsi::Value::undefined();
|
|
1854
1860
|
}
|
|
1855
1861
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1856
1862
|
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1857
1863
|
rt,
|
|
1858
|
-
count
|
|
1864
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1859
1865
|
);
|
|
1860
1866
|
return jsi::Value::undefined();
|
|
1861
1867
|
}
|
|
@@ -1890,14 +1896,14 @@ NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1890
1896
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1891
1897
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1892
1898
|
rt,
|
|
1893
|
-
count
|
|
1899
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1894
1900
|
);
|
|
1895
1901
|
return jsi::Value::undefined();
|
|
1896
1902
|
}
|
|
1897
1903
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1898
1904
|
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1899
1905
|
rt,
|
|
1900
|
-
count
|
|
1906
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1901
1907
|
);
|
|
1902
1908
|
return jsi::Value::undefined();
|
|
1903
1909
|
}
|
|
@@ -1910,43 +1916,43 @@ NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
1910
1916
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1911
1917
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1912
1918
|
rt,
|
|
1913
|
-
count
|
|
1914
|
-
count
|
|
1915
|
-
count
|
|
1916
|
-
count
|
|
1917
|
-
count
|
|
1918
|
-
count
|
|
1919
|
-
count
|
|
1920
|
-
count
|
|
1921
|
-
count
|
|
1919
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
1920
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
1921
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
1922
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
1923
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt)),
|
|
1924
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asString(rt)),
|
|
1925
|
+
(count > 6 || (throw jsi::JSError(rt, "Expected argument in position 6 to be passed"), false), args[6].asBool()),
|
|
1926
|
+
(count > 7 || (throw jsi::JSError(rt, "Expected argument in position 7 to be passed"), false), args[7].asNumber()),
|
|
1927
|
+
(count > 8 || (throw jsi::JSError(rt, "Expected argument in position 8 to be passed"), false), args[8].asBool())
|
|
1922
1928
|
);
|
|
1923
1929
|
return jsi::Value::undefined();
|
|
1924
1930
|
}
|
|
1925
1931
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1926
1932
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1927
1933
|
rt,
|
|
1928
|
-
count
|
|
1934
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1929
1935
|
);
|
|
1930
1936
|
return jsi::Value::undefined();
|
|
1931
1937
|
}
|
|
1932
1938
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1933
1939
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1934
1940
|
rt,
|
|
1935
|
-
count
|
|
1941
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1936
1942
|
);
|
|
1937
1943
|
return jsi::Value::undefined();
|
|
1938
1944
|
}
|
|
1939
1945
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1940
1946
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1941
1947
|
rt,
|
|
1942
|
-
count
|
|
1948
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1943
1949
|
);
|
|
1944
1950
|
return jsi::Value::undefined();
|
|
1945
1951
|
}
|
|
1946
1952
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1947
1953
|
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1948
1954
|
rt,
|
|
1949
|
-
count
|
|
1955
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1950
1956
|
);
|
|
1951
1957
|
return jsi::Value::undefined();
|
|
1952
1958
|
}
|
|
@@ -1962,36 +1968,36 @@ NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared
|
|
|
1962
1968
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1963
1969
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1964
1970
|
rt,
|
|
1965
|
-
count
|
|
1966
|
-
count
|
|
1971
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
1972
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
1967
1973
|
);
|
|
1968
1974
|
return jsi::Value::undefined();
|
|
1969
1975
|
}
|
|
1970
1976
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1971
1977
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1972
1978
|
rt,
|
|
1973
|
-
count
|
|
1979
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1974
1980
|
);
|
|
1975
1981
|
return jsi::Value::undefined();
|
|
1976
1982
|
}
|
|
1977
1983
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1978
1984
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1979
1985
|
rt,
|
|
1980
|
-
count
|
|
1986
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
1981
1987
|
);
|
|
1982
1988
|
return jsi::Value::undefined();
|
|
1983
1989
|
}
|
|
1984
1990
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1985
1991
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1986
1992
|
rt,
|
|
1987
|
-
count
|
|
1993
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
1988
1994
|
);
|
|
1989
1995
|
return jsi::Value::undefined();
|
|
1990
1996
|
}
|
|
1991
1997
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1992
1998
|
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1993
1999
|
rt,
|
|
1994
|
-
count
|
|
2000
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
1995
2001
|
);
|
|
1996
2002
|
return jsi::Value::undefined();
|
|
1997
2003
|
}
|
|
@@ -2007,25 +2013,25 @@ NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
|
2007
2013
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2008
2014
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
2009
2015
|
rt,
|
|
2010
|
-
count
|
|
2016
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2011
2017
|
);
|
|
2012
2018
|
}
|
|
2013
2019
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2014
2020
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
2015
2021
|
rt,
|
|
2016
|
-
count
|
|
2022
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2017
2023
|
);
|
|
2018
2024
|
}
|
|
2019
2025
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2020
2026
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
2021
2027
|
rt,
|
|
2022
|
-
count
|
|
2028
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2023
2029
|
);
|
|
2024
2030
|
}
|
|
2025
2031
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2026
2032
|
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
2027
2033
|
rt,
|
|
2028
|
-
count
|
|
2034
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2029
2035
|
);
|
|
2030
2036
|
}
|
|
2031
2037
|
|
|
@@ -2080,29 +2086,29 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getC
|
|
|
2080
2086
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2081
2087
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
2082
2088
|
rt,
|
|
2083
|
-
count
|
|
2084
|
-
count
|
|
2089
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2090
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2085
2091
|
);
|
|
2086
2092
|
return jsi::Value::undefined();
|
|
2087
2093
|
}
|
|
2088
2094
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2089
2095
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
2090
2096
|
rt,
|
|
2091
|
-
count
|
|
2097
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2092
2098
|
);
|
|
2093
2099
|
return jsi::Value::undefined();
|
|
2094
2100
|
}
|
|
2095
2101
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2096
2102
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
2097
2103
|
rt,
|
|
2098
|
-
count
|
|
2104
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2099
2105
|
);
|
|
2100
2106
|
return jsi::Value::undefined();
|
|
2101
2107
|
}
|
|
2102
2108
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2103
2109
|
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
2104
2110
|
rt,
|
|
2105
|
-
count
|
|
2111
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2106
2112
|
);
|
|
2107
2113
|
}
|
|
2108
2114
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2114,21 +2120,21 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_aban
|
|
|
2114
2120
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2115
2121
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
2116
2122
|
rt,
|
|
2117
|
-
count
|
|
2123
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2118
2124
|
);
|
|
2119
2125
|
return jsi::Value::undefined();
|
|
2120
2126
|
}
|
|
2121
2127
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2122
2128
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
2123
2129
|
rt,
|
|
2124
|
-
count
|
|
2130
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2125
2131
|
);
|
|
2126
2132
|
return jsi::Value::undefined();
|
|
2127
2133
|
}
|
|
2128
2134
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2129
2135
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
2130
2136
|
rt,
|
|
2131
|
-
count
|
|
2137
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2132
2138
|
);
|
|
2133
2139
|
return jsi::Value::undefined();
|
|
2134
2140
|
}
|
|
@@ -2141,7 +2147,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_canc
|
|
|
2141
2147
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2142
2148
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
2143
2149
|
rt,
|
|
2144
|
-
count
|
|
2150
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2145
2151
|
);
|
|
2146
2152
|
return jsi::Value::undefined();
|
|
2147
2153
|
}
|
|
@@ -2153,7 +2159,7 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getI
|
|
|
2153
2159
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2154
2160
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
2155
2161
|
rt,
|
|
2156
|
-
count
|
|
2162
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2157
2163
|
);
|
|
2158
2164
|
return jsi::Value::undefined();
|
|
2159
2165
|
}
|
|
@@ -2166,35 +2172,35 @@ static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_remo
|
|
|
2166
2172
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2167
2173
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
2168
2174
|
rt,
|
|
2169
|
-
count
|
|
2175
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2170
2176
|
);
|
|
2171
2177
|
return jsi::Value::undefined();
|
|
2172
2178
|
}
|
|
2173
2179
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2174
2180
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
2175
2181
|
rt,
|
|
2176
|
-
count
|
|
2182
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2177
2183
|
);
|
|
2178
2184
|
return jsi::Value::undefined();
|
|
2179
2185
|
}
|
|
2180
2186
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2181
2187
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
2182
2188
|
rt,
|
|
2183
|
-
count
|
|
2189
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2184
2190
|
);
|
|
2185
2191
|
return jsi::Value::undefined();
|
|
2186
2192
|
}
|
|
2187
2193
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2188
2194
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2189
2195
|
rt,
|
|
2190
|
-
count
|
|
2196
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2191
2197
|
);
|
|
2192
2198
|
return jsi::Value::undefined();
|
|
2193
2199
|
}
|
|
2194
2200
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2195
2201
|
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2196
2202
|
rt,
|
|
2197
|
-
count
|
|
2203
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2198
2204
|
);
|
|
2199
2205
|
return jsi::Value::undefined();
|
|
2200
2206
|
}
|
|
@@ -2224,8 +2230,8 @@ NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxS
|
|
|
2224
2230
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2225
2231
|
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2226
2232
|
rt,
|
|
2227
|
-
count
|
|
2228
|
-
count
|
|
2233
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2234
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2229
2235
|
);
|
|
2230
2236
|
return jsi::Value::undefined();
|
|
2231
2237
|
}
|
|
@@ -2255,70 +2261,70 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc(jsi:
|
|
|
2255
2261
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2256
2262
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
2257
2263
|
rt,
|
|
2258
|
-
count
|
|
2264
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2259
2265
|
);
|
|
2260
2266
|
}
|
|
2261
2267
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2262
2268
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
2263
2269
|
rt,
|
|
2264
|
-
count
|
|
2270
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2265
2271
|
);
|
|
2266
2272
|
}
|
|
2267
2273
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2268
2274
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2269
2275
|
rt,
|
|
2270
|
-
count
|
|
2276
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2271
2277
|
);
|
|
2272
2278
|
}
|
|
2273
2279
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2274
2280
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2275
2281
|
rt,
|
|
2276
|
-
count
|
|
2282
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2277
2283
|
);
|
|
2278
2284
|
}
|
|
2279
2285
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2280
2286
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2281
2287
|
rt,
|
|
2282
|
-
count
|
|
2288
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2283
2289
|
);
|
|
2284
2290
|
}
|
|
2285
2291
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2286
2292
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2287
2293
|
rt,
|
|
2288
|
-
count
|
|
2294
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2289
2295
|
);
|
|
2290
2296
|
}
|
|
2291
2297
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2292
2298
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2293
2299
|
rt,
|
|
2294
|
-
count
|
|
2300
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2295
2301
|
);
|
|
2296
2302
|
}
|
|
2297
2303
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2298
2304
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2299
2305
|
rt,
|
|
2300
|
-
count
|
|
2306
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2301
2307
|
);
|
|
2302
2308
|
}
|
|
2303
2309
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2304
2310
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2305
2311
|
rt,
|
|
2306
|
-
count
|
|
2307
|
-
count
|
|
2308
|
-
count
|
|
2312
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2313
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2314
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2309
2315
|
);
|
|
2310
2316
|
}
|
|
2311
2317
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2312
2318
|
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2313
2319
|
rt,
|
|
2314
|
-
count
|
|
2320
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2315
2321
|
);
|
|
2316
2322
|
return jsi::Value::undefined();
|
|
2317
2323
|
}
|
|
2318
2324
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2319
2325
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2320
2326
|
rt,
|
|
2321
|
-
count
|
|
2327
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2322
2328
|
);
|
|
2323
2329
|
}
|
|
2324
2330
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2330,7 +2336,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrow
|
|
|
2330
2336
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2331
2337
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectThrows(
|
|
2332
2338
|
rt,
|
|
2333
|
-
count
|
|
2339
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2334
2340
|
);
|
|
2335
2341
|
}
|
|
2336
2342
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2347,7 +2353,7 @@ static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAsser
|
|
|
2347
2353
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2348
2354
|
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectAssert(
|
|
2349
2355
|
rt,
|
|
2350
|
-
count
|
|
2356
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2351
2357
|
);
|
|
2352
2358
|
}
|
|
2353
2359
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -2387,18 +2393,18 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared
|
|
|
2387
2393
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2388
2394
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2389
2395
|
rt,
|
|
2390
|
-
count
|
|
2391
|
-
count
|
|
2392
|
-
count
|
|
2396
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2397
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2398
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2393
2399
|
);
|
|
2394
2400
|
return jsi::Value::undefined();
|
|
2395
2401
|
}
|
|
2396
2402
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2397
2403
|
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2398
2404
|
rt,
|
|
2399
|
-
count
|
|
2400
|
-
count
|
|
2401
|
-
count
|
|
2405
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2406
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt)),
|
|
2407
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2402
2408
|
);
|
|
2403
2409
|
return jsi::Value::undefined();
|
|
2404
2410
|
}
|
|
@@ -2416,14 +2422,14 @@ static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(js
|
|
|
2416
2422
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2417
2423
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
2418
2424
|
rt,
|
|
2419
|
-
count
|
|
2425
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2420
2426
|
);
|
|
2421
2427
|
return jsi::Value::undefined();
|
|
2422
2428
|
}
|
|
2423
2429
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2424
2430
|
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
2425
2431
|
rt,
|
|
2426
|
-
count
|
|
2432
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt))
|
|
2427
2433
|
);
|
|
2428
2434
|
return jsi::Value::undefined();
|
|
2429
2435
|
}
|
|
@@ -2442,7 +2448,7 @@ static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::R
|
|
|
2442
2448
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2443
2449
|
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
2444
2450
|
rt,
|
|
2445
|
-
count
|
|
2451
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2446
2452
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2447
2453
|
);
|
|
2448
2454
|
}
|
|
@@ -2481,15 +2487,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getCons
|
|
|
2481
2487
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2482
2488
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
|
2483
2489
|
rt,
|
|
2484
|
-
count
|
|
2485
|
-
count
|
|
2490
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2491
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2486
2492
|
);
|
|
2487
2493
|
return jsi::Value::undefined();
|
|
2488
2494
|
}
|
|
2489
2495
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2490
2496
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
|
2491
2497
|
rt,
|
|
2492
|
-
count
|
|
2498
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2493
2499
|
);
|
|
2494
2500
|
return jsi::Value::undefined();
|
|
2495
2501
|
}
|
|
@@ -2503,7 +2509,7 @@ static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyl
|
|
|
2503
2509
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2504
2510
|
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2505
2511
|
rt,
|
|
2506
|
-
count
|
|
2512
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2507
2513
|
);
|
|
2508
2514
|
return jsi::Value::undefined();
|
|
2509
2515
|
}
|
|
@@ -2524,28 +2530,28 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstant
|
|
|
2524
2530
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2525
2531
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
|
2526
2532
|
rt,
|
|
2527
|
-
count
|
|
2533
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
2528
2534
|
);
|
|
2529
2535
|
return jsi::Value::undefined();
|
|
2530
2536
|
}
|
|
2531
2537
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2532
2538
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
|
2533
2539
|
rt,
|
|
2534
|
-
count
|
|
2540
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2535
2541
|
);
|
|
2536
2542
|
return jsi::Value::undefined();
|
|
2537
2543
|
}
|
|
2538
2544
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2539
2545
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2540
2546
|
rt,
|
|
2541
|
-
count
|
|
2547
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2542
2548
|
);
|
|
2543
2549
|
return jsi::Value::undefined();
|
|
2544
2550
|
}
|
|
2545
2551
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2546
2552
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2547
2553
|
rt,
|
|
2548
|
-
count
|
|
2554
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2549
2555
|
);
|
|
2550
2556
|
return jsi::Value::undefined();
|
|
2551
2557
|
}
|
|
@@ -2553,15 +2559,15 @@ static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(js
|
|
|
2553
2559
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2554
2560
|
rt,
|
|
2555
2561
|
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)),
|
|
2556
|
-
count
|
|
2562
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2557
2563
|
);
|
|
2558
2564
|
return jsi::Value::undefined();
|
|
2559
2565
|
}
|
|
2560
2566
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2561
2567
|
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2562
2568
|
rt,
|
|
2563
|
-
count
|
|
2564
|
-
count
|
|
2569
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool()),
|
|
2570
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
2565
2571
|
);
|
|
2566
2572
|
return jsi::Value::undefined();
|
|
2567
2573
|
}
|
|
@@ -2579,24 +2585,24 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
|
2579
2585
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2580
2586
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2581
2587
|
rt,
|
|
2582
|
-
count
|
|
2583
|
-
count
|
|
2584
|
-
count
|
|
2585
|
-
count
|
|
2588
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2589
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2590
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2591
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asBool())
|
|
2586
2592
|
);
|
|
2587
2593
|
return jsi::Value::undefined();
|
|
2588
2594
|
}
|
|
2589
2595
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2590
2596
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2591
2597
|
rt,
|
|
2592
|
-
count
|
|
2598
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2593
2599
|
);
|
|
2594
2600
|
return jsi::Value::undefined();
|
|
2595
2601
|
}
|
|
2596
2602
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2597
2603
|
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2598
2604
|
rt,
|
|
2599
|
-
count
|
|
2605
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2600
2606
|
);
|
|
2601
2607
|
return jsi::Value::undefined();
|
|
2602
2608
|
}
|
|
@@ -2615,28 +2621,28 @@ static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::
|
|
|
2615
2621
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2616
2622
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
|
2617
2623
|
rt,
|
|
2618
|
-
count
|
|
2619
|
-
count
|
|
2624
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2625
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2620
2626
|
);
|
|
2621
2627
|
return jsi::Value::undefined();
|
|
2622
2628
|
}
|
|
2623
2629
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2624
2630
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
|
2625
2631
|
rt,
|
|
2626
|
-
count
|
|
2627
|
-
count
|
|
2628
|
-
count
|
|
2632
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2633
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2634
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2629
2635
|
);
|
|
2630
2636
|
return jsi::Value::undefined();
|
|
2631
2637
|
}
|
|
2632
2638
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2633
2639
|
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
|
2634
2640
|
rt,
|
|
2635
|
-
count
|
|
2636
|
-
count
|
|
2637
|
-
count
|
|
2638
|
-
count
|
|
2639
|
-
count
|
|
2641
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2642
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2643
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2644
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber()),
|
|
2645
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asNumber())
|
|
2640
2646
|
);
|
|
2641
2647
|
return jsi::Value::undefined();
|
|
2642
2648
|
}
|
|
@@ -2656,36 +2662,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Run
|
|
|
2656
2662
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_createView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2657
2663
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
2658
2664
|
rt,
|
|
2659
|
-
count
|
|
2660
|
-
count
|
|
2661
|
-
count
|
|
2662
|
-
count
|
|
2665
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2666
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2667
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
2668
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt))
|
|
2663
2669
|
);
|
|
2664
2670
|
return jsi::Value::undefined();
|
|
2665
2671
|
}
|
|
2666
2672
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_updateView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2667
2673
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
2668
2674
|
rt,
|
|
2669
|
-
count
|
|
2670
|
-
count
|
|
2671
|
-
count
|
|
2675
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2676
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2677
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt))
|
|
2672
2678
|
);
|
|
2673
2679
|
return jsi::Value::undefined();
|
|
2674
2680
|
}
|
|
2675
2681
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2676
2682
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
2677
2683
|
rt,
|
|
2678
|
-
count
|
|
2679
|
-
count
|
|
2680
|
-
count
|
|
2684
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2685
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2686
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2681
2687
|
);
|
|
2682
2688
|
return jsi::Value::undefined();
|
|
2683
2689
|
}
|
|
2684
2690
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2685
2691
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
2686
2692
|
rt,
|
|
2687
|
-
count
|
|
2688
|
-
count
|
|
2693
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2694
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2689
2695
|
count <= 2 || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
2690
2696
|
);
|
|
2691
2697
|
return jsi::Value::undefined();
|
|
@@ -2693,52 +2699,52 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCo
|
|
|
2693
2699
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2694
2700
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
2695
2701
|
rt,
|
|
2696
|
-
count
|
|
2697
|
-
count
|
|
2702
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2703
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2698
2704
|
);
|
|
2699
2705
|
return jsi::Value::undefined();
|
|
2700
2706
|
}
|
|
2701
2707
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2702
2708
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
2703
2709
|
rt,
|
|
2704
|
-
count
|
|
2705
|
-
count
|
|
2710
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2711
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
2706
2712
|
);
|
|
2707
2713
|
return jsi::Value::undefined();
|
|
2708
2714
|
}
|
|
2709
2715
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2710
2716
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
2711
2717
|
rt,
|
|
2712
|
-
count
|
|
2713
|
-
count
|
|
2714
|
-
count
|
|
2718
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2719
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2720
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2715
2721
|
);
|
|
2716
2722
|
return jsi::Value::undefined();
|
|
2717
2723
|
}
|
|
2718
2724
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2719
2725
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
2720
2726
|
rt,
|
|
2721
|
-
count
|
|
2722
|
-
count
|
|
2723
|
-
count
|
|
2724
|
-
count
|
|
2727
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2728
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
2729
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
2730
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
2725
2731
|
);
|
|
2726
2732
|
return jsi::Value::undefined();
|
|
2727
2733
|
}
|
|
2728
2734
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2729
2735
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
2730
2736
|
rt,
|
|
2731
|
-
count
|
|
2732
|
-
count
|
|
2733
|
-
count
|
|
2737
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2738
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2739
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2734
2740
|
);
|
|
2735
2741
|
return jsi::Value::undefined();
|
|
2736
2742
|
}
|
|
2737
2743
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2738
2744
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
2739
2745
|
rt,
|
|
2740
|
-
count
|
|
2741
|
-
count
|
|
2746
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2747
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
2742
2748
|
);
|
|
2743
2749
|
return jsi::Value::undefined();
|
|
2744
2750
|
}
|
|
@@ -2751,36 +2757,36 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder(jsi:
|
|
|
2751
2757
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2752
2758
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
2753
2759
|
rt,
|
|
2754
|
-
count
|
|
2755
|
-
count
|
|
2756
|
-
count
|
|
2760
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt)),
|
|
2761
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt)),
|
|
2762
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt))
|
|
2757
2763
|
);
|
|
2758
2764
|
return jsi::Value::undefined();
|
|
2759
2765
|
}
|
|
2760
2766
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2761
2767
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
2762
2768
|
rt,
|
|
2763
|
-
count
|
|
2764
|
-
count
|
|
2769
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2770
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt))
|
|
2765
2771
|
);
|
|
2766
2772
|
return jsi::Value::undefined();
|
|
2767
2773
|
}
|
|
2768
2774
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2769
2775
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
2770
2776
|
rt,
|
|
2771
|
-
count
|
|
2772
|
-
count
|
|
2773
|
-
count
|
|
2774
|
-
count
|
|
2775
|
-
count
|
|
2776
|
-
count
|
|
2777
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2778
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asArray(rt)),
|
|
2779
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asArray(rt)),
|
|
2780
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asArray(rt)),
|
|
2781
|
+
(count > 4 || (throw jsi::JSError(rt, "Expected argument in position 4 to be passed"), false), args[4].asObject(rt).asArray(rt)),
|
|
2782
|
+
(count > 5 || (throw jsi::JSError(rt, "Expected argument in position 5 to be passed"), false), args[5].asObject(rt).asArray(rt))
|
|
2777
2783
|
);
|
|
2778
2784
|
return jsi::Value::undefined();
|
|
2779
2785
|
}
|
|
2780
2786
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2781
2787
|
auto result = static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
2782
2788
|
rt,
|
|
2783
|
-
count
|
|
2789
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2784
2790
|
);
|
|
2785
2791
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2786
2792
|
}
|
|
@@ -2792,35 +2798,35 @@ static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes(
|
|
|
2792
2798
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2793
2799
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
2794
2800
|
rt,
|
|
2795
|
-
count
|
|
2801
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2796
2802
|
);
|
|
2797
2803
|
return jsi::Value::undefined();
|
|
2798
2804
|
}
|
|
2799
2805
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2800
2806
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
2801
2807
|
rt,
|
|
2802
|
-
count
|
|
2803
|
-
count
|
|
2808
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2809
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2804
2810
|
);
|
|
2805
2811
|
return jsi::Value::undefined();
|
|
2806
2812
|
}
|
|
2807
2813
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2808
2814
|
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
2809
2815
|
rt,
|
|
2810
|
-
count
|
|
2816
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2811
2817
|
);
|
|
2812
2818
|
}
|
|
2813
2819
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_focus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2814
2820
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
2815
2821
|
rt,
|
|
2816
|
-
count
|
|
2822
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2817
2823
|
);
|
|
2818
2824
|
return jsi::Value::undefined();
|
|
2819
2825
|
}
|
|
2820
2826
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_blur(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2821
2827
|
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
2822
2828
|
rt,
|
|
2823
|
-
count
|
|
2829
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2824
2830
|
);
|
|
2825
2831
|
return jsi::Value::undefined();
|
|
2826
2832
|
}
|
|
@@ -2858,15 +2864,15 @@ static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Run
|
|
|
2858
2864
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2859
2865
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
2860
2866
|
rt,
|
|
2861
|
-
count
|
|
2867
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2862
2868
|
);
|
|
2863
2869
|
return jsi::Value::undefined();
|
|
2864
2870
|
}
|
|
2865
2871
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2866
2872
|
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
2867
2873
|
rt,
|
|
2868
|
-
count
|
|
2869
|
-
count
|
|
2874
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asArray(rt)),
|
|
2875
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2870
2876
|
);
|
|
2871
2877
|
return jsi::Value::undefined();
|
|
2872
2878
|
}
|
|
@@ -2887,56 +2893,56 @@ NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
2887
2893
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2888
2894
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
2889
2895
|
rt,
|
|
2890
|
-
count
|
|
2896
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2891
2897
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
|
2892
|
-
count
|
|
2893
|
-
count
|
|
2898
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt)),
|
|
2899
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asNumber())
|
|
2894
2900
|
);
|
|
2895
2901
|
return jsi::Value::undefined();
|
|
2896
2902
|
}
|
|
2897
2903
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2898
2904
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2899
2905
|
rt,
|
|
2900
|
-
count
|
|
2901
|
-
count
|
|
2906
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2907
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2902
2908
|
);
|
|
2903
2909
|
return jsi::Value::undefined();
|
|
2904
2910
|
}
|
|
2905
2911
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2906
2912
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2907
2913
|
rt,
|
|
2908
|
-
count
|
|
2909
|
-
count
|
|
2914
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
2915
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
2910
2916
|
);
|
|
2911
2917
|
return jsi::Value::undefined();
|
|
2912
2918
|
}
|
|
2913
2919
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2914
2920
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2915
2921
|
rt,
|
|
2916
|
-
count
|
|
2922
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2917
2923
|
);
|
|
2918
2924
|
return jsi::Value::undefined();
|
|
2919
2925
|
}
|
|
2920
2926
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2921
2927
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2922
2928
|
rt,
|
|
2923
|
-
count
|
|
2924
|
-
count
|
|
2925
|
-
count
|
|
2929
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
2930
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt)),
|
|
2931
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber())
|
|
2926
2932
|
);
|
|
2927
2933
|
return jsi::Value::undefined();
|
|
2928
2934
|
}
|
|
2929
2935
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2930
2936
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2931
2937
|
rt,
|
|
2932
|
-
count
|
|
2938
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
2933
2939
|
);
|
|
2934
2940
|
return jsi::Value::undefined();
|
|
2935
2941
|
}
|
|
2936
2942
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2937
2943
|
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2938
2944
|
rt,
|
|
2939
|
-
count
|
|
2945
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
2940
2946
|
);
|
|
2941
2947
|
return jsi::Value::undefined();
|
|
2942
2948
|
}
|
|
@@ -2966,14 +2972,14 @@ static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt
|
|
|
2966
2972
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2967
2973
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2968
2974
|
rt,
|
|
2969
|
-
count
|
|
2975
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2970
2976
|
);
|
|
2971
2977
|
return jsi::Value::undefined();
|
|
2972
2978
|
}
|
|
2973
2979
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2974
2980
|
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2975
2981
|
rt,
|
|
2976
|
-
count
|
|
2982
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asBool())
|
|
2977
2983
|
);
|
|
2978
2984
|
return jsi::Value::undefined();
|
|
2979
2985
|
}
|
|
@@ -2988,7 +2994,7 @@ NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> js
|
|
|
2988
2994
|
static jsi::Value __hostFunction_NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI_setReloadAndProfileConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2989
2995
|
static_cast<NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI *>(&turboModule)->setReloadAndProfileConfig(
|
|
2990
2996
|
rt,
|
|
2991
|
-
count
|
|
2997
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
2992
2998
|
);
|
|
2993
2999
|
return jsi::Value::undefined();
|
|
2994
3000
|
}
|
|
@@ -3006,7 +3012,7 @@ NativeReactDevToolsRuntimeSettingsModuleCxxSpecJSI::NativeReactDevToolsRuntimeSe
|
|
|
3006
3012
|
static jsi::Value __hostFunction_NativeReactDevToolsSettingsManagerCxxSpecJSI_setGlobalHookSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3007
3013
|
static_cast<NativeReactDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setGlobalHookSettings(
|
|
3008
3014
|
rt,
|
|
3009
|
-
count
|
|
3015
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
3010
3016
|
);
|
|
3011
3017
|
return jsi::Value::undefined();
|
|
3012
3018
|
}
|
|
@@ -3025,14 +3031,14 @@ NativeReactDevToolsSettingsManagerCxxSpecJSI::NativeReactDevToolsSettingsManager
|
|
|
3025
3031
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_requestIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3026
3032
|
return static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->requestIdleCallback(
|
|
3027
3033
|
rt,
|
|
3028
|
-
count
|
|
3034
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
3029
3035
|
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
|
|
3030
3036
|
);
|
|
3031
3037
|
}
|
|
3032
3038
|
static jsi::Value __hostFunction_NativeIdleCallbacksCxxSpecJSI_cancelIdleCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3033
3039
|
static_cast<NativeIdleCallbacksCxxSpecJSI *>(&turboModule)->cancelIdleCallback(
|
|
3034
3040
|
rt,
|
|
3035
|
-
count
|
|
3041
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3036
3042
|
);
|
|
3037
3043
|
return jsi::Value::undefined();
|
|
3038
3044
|
}
|
|
@@ -3045,21 +3051,21 @@ NativeIdleCallbacksCxxSpecJSI::NativeIdleCallbacksCxxSpecJSI(std::shared_ptr<Cal
|
|
|
3045
3051
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observeV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3046
3052
|
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observeV2(
|
|
3047
3053
|
rt,
|
|
3048
|
-
count
|
|
3054
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3049
3055
|
);
|
|
3050
3056
|
}
|
|
3051
3057
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserveV2(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3052
3058
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserveV2(
|
|
3053
3059
|
rt,
|
|
3054
|
-
count
|
|
3055
|
-
count
|
|
3060
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3061
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3056
3062
|
);
|
|
3057
3063
|
return jsi::Value::undefined();
|
|
3058
3064
|
}
|
|
3059
3065
|
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3060
3066
|
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3061
3067
|
rt,
|
|
3062
|
-
count
|
|
3068
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3063
3069
|
);
|
|
3064
3070
|
return jsi::Value::undefined();
|
|
3065
3071
|
}
|
|
@@ -3086,7 +3092,7 @@ NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::
|
|
|
3086
3092
|
static jsi::Value __hostFunction_NativeMicrotasksCxxSpecJSI_queueMicrotask(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3087
3093
|
static_cast<NativeMicrotasksCxxSpecJSI *>(&turboModule)->queueMicrotask(
|
|
3088
3094
|
rt,
|
|
3089
|
-
count
|
|
3095
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3090
3096
|
);
|
|
3091
3097
|
return jsi::Value::undefined();
|
|
3092
3098
|
}
|
|
@@ -3098,22 +3104,22 @@ NativeMicrotasksCxxSpecJSI::NativeMicrotasksCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
3098
3104
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3099
3105
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
3100
3106
|
rt,
|
|
3101
|
-
count
|
|
3107
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt))
|
|
3102
3108
|
);
|
|
3103
3109
|
return jsi::Value::undefined();
|
|
3104
3110
|
}
|
|
3105
3111
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserveAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3106
3112
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserveAll(
|
|
3107
3113
|
rt,
|
|
3108
|
-
count
|
|
3114
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3109
3115
|
);
|
|
3110
3116
|
return jsi::Value::undefined();
|
|
3111
3117
|
}
|
|
3112
3118
|
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3113
3119
|
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
3114
3120
|
rt,
|
|
3115
|
-
count
|
|
3116
|
-
count
|
|
3121
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt)),
|
|
3122
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3117
3123
|
);
|
|
3118
3124
|
return jsi::Value::undefined();
|
|
3119
3125
|
}
|
|
@@ -3142,29 +3148,34 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_now(jsi::Runtime &r
|
|
|
3142
3148
|
rt
|
|
3143
3149
|
);
|
|
3144
3150
|
}
|
|
3151
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_timeOrigin(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3152
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->timeOrigin(
|
|
3153
|
+
rt
|
|
3154
|
+
);
|
|
3155
|
+
}
|
|
3145
3156
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_reportMark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3146
3157
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->reportMark(
|
|
3147
3158
|
rt,
|
|
3148
|
-
count
|
|
3149
|
-
count
|
|
3150
|
-
count
|
|
3159
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3160
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
3161
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), jsi::Value(rt, args[2]))
|
|
3151
3162
|
);
|
|
3152
3163
|
return jsi::Value::undefined();
|
|
3153
3164
|
}
|
|
3154
3165
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_reportMeasure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3155
3166
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->reportMeasure(
|
|
3156
3167
|
rt,
|
|
3157
|
-
count
|
|
3158
|
-
count
|
|
3159
|
-
count
|
|
3160
|
-
count
|
|
3168
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3169
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber()),
|
|
3170
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asNumber()),
|
|
3171
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), jsi::Value(rt, args[3]))
|
|
3161
3172
|
);
|
|
3162
3173
|
return jsi::Value::undefined();
|
|
3163
3174
|
}
|
|
3164
3175
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getMarkTime(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3165
3176
|
auto result = static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getMarkTime(
|
|
3166
3177
|
rt,
|
|
3167
|
-
count
|
|
3178
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt))
|
|
3168
3179
|
);
|
|
3169
3180
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
3170
3181
|
}
|
|
@@ -3190,14 +3201,14 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntries(jsi::Run
|
|
|
3190
3201
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3191
3202
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByName(
|
|
3192
3203
|
rt,
|
|
3193
|
-
count
|
|
3204
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asString(rt)),
|
|
3194
3205
|
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber())
|
|
3195
3206
|
);
|
|
3196
3207
|
}
|
|
3197
3208
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEntriesByType(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3198
3209
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getEntriesByType(
|
|
3199
3210
|
rt,
|
|
3200
|
-
count
|
|
3211
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber())
|
|
3201
3212
|
);
|
|
3202
3213
|
}
|
|
3203
3214
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3218,35 +3229,35 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStart
|
|
|
3218
3229
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_createObserver(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3219
3230
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->createObserver(
|
|
3220
3231
|
rt,
|
|
3221
|
-
count
|
|
3232
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asObject(rt).asFunction(rt))
|
|
3222
3233
|
);
|
|
3223
3234
|
}
|
|
3224
3235
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getDroppedEntriesCount(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3225
3236
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getDroppedEntriesCount(
|
|
3226
3237
|
rt,
|
|
3227
|
-
count
|
|
3238
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3228
3239
|
);
|
|
3229
3240
|
}
|
|
3230
3241
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3231
3242
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->observe(
|
|
3232
3243
|
rt,
|
|
3233
|
-
count
|
|
3234
|
-
count
|
|
3244
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3245
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt))
|
|
3235
3246
|
);
|
|
3236
3247
|
return jsi::Value::undefined();
|
|
3237
3248
|
}
|
|
3238
3249
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3239
3250
|
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->disconnect(
|
|
3240
3251
|
rt,
|
|
3241
|
-
count
|
|
3252
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3242
3253
|
);
|
|
3243
3254
|
return jsi::Value::undefined();
|
|
3244
3255
|
}
|
|
3245
3256
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3246
3257
|
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
3247
3258
|
rt,
|
|
3248
|
-
count
|
|
3249
|
-
count
|
|
3259
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3260
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3250
3261
|
);
|
|
3251
3262
|
}
|
|
3252
3263
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSupportedPerformanceEntryTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
@@ -3264,6 +3275,7 @@ static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_clearEventCountsFor
|
|
|
3264
3275
|
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
3265
3276
|
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
|
3266
3277
|
methodMap_["now"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_now};
|
|
3278
|
+
methodMap_["timeOrigin"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_timeOrigin};
|
|
3267
3279
|
methodMap_["reportMark"] = MethodMetadata {3, __hostFunction_NativePerformanceCxxSpecJSI_reportMark};
|
|
3268
3280
|
methodMap_["reportMeasure"] = MethodMetadata {4, __hostFunction_NativePerformanceCxxSpecJSI_reportMeasure};
|
|
3269
3281
|
methodMap_["getMarkTime"] = MethodMetadata {1, __hostFunction_NativePerformanceCxxSpecJSI_getMarkTime};
|
|
@@ -3286,145 +3298,145 @@ NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
3286
3298
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_compareDocumentPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3287
3299
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->compareDocumentPosition(
|
|
3288
3300
|
rt,
|
|
3289
|
-
count
|
|
3290
|
-
count
|
|
3301
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3302
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3291
3303
|
);
|
|
3292
3304
|
}
|
|
3293
3305
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getChildNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3294
3306
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getChildNodes(
|
|
3295
3307
|
rt,
|
|
3296
|
-
count
|
|
3308
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3297
3309
|
);
|
|
3298
3310
|
}
|
|
3299
3311
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getElementById(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3300
3312
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getElementById(
|
|
3301
3313
|
rt,
|
|
3302
|
-
count
|
|
3303
|
-
count
|
|
3314
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3315
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asString(rt))
|
|
3304
3316
|
);
|
|
3305
3317
|
}
|
|
3306
3318
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getParentNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3307
3319
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getParentNode(
|
|
3308
3320
|
rt,
|
|
3309
|
-
count
|
|
3321
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3310
3322
|
);
|
|
3311
3323
|
}
|
|
3312
3324
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_isConnected(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3313
3325
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->isConnected(
|
|
3314
3326
|
rt,
|
|
3315
|
-
count
|
|
3327
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3316
3328
|
);
|
|
3317
3329
|
}
|
|
3318
3330
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBorderWidth(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3319
3331
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBorderWidth(
|
|
3320
3332
|
rt,
|
|
3321
|
-
count
|
|
3333
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3322
3334
|
);
|
|
3323
3335
|
}
|
|
3324
3336
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getBoundingClientRect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3325
3337
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getBoundingClientRect(
|
|
3326
3338
|
rt,
|
|
3327
|
-
count
|
|
3328
|
-
count
|
|
3339
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3340
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asBool())
|
|
3329
3341
|
);
|
|
3330
3342
|
}
|
|
3331
3343
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getInnerSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3332
3344
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getInnerSize(
|
|
3333
3345
|
rt,
|
|
3334
|
-
count
|
|
3346
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3335
3347
|
);
|
|
3336
3348
|
}
|
|
3337
3349
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3338
3350
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollPosition(
|
|
3339
3351
|
rt,
|
|
3340
|
-
count
|
|
3352
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3341
3353
|
);
|
|
3342
3354
|
}
|
|
3343
3355
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getScrollSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3344
3356
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getScrollSize(
|
|
3345
3357
|
rt,
|
|
3346
|
-
count
|
|
3358
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3347
3359
|
);
|
|
3348
3360
|
}
|
|
3349
3361
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTagName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3350
3362
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTagName(
|
|
3351
3363
|
rt,
|
|
3352
|
-
count
|
|
3364
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3353
3365
|
);
|
|
3354
3366
|
}
|
|
3355
3367
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getTextContent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3356
3368
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getTextContent(
|
|
3357
3369
|
rt,
|
|
3358
|
-
count
|
|
3370
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3359
3371
|
);
|
|
3360
3372
|
}
|
|
3361
3373
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_hasPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3362
3374
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->hasPointerCapture(
|
|
3363
3375
|
rt,
|
|
3364
|
-
count
|
|
3365
|
-
count
|
|
3376
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3377
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3366
3378
|
);
|
|
3367
3379
|
}
|
|
3368
3380
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_releasePointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3369
3381
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->releasePointerCapture(
|
|
3370
3382
|
rt,
|
|
3371
|
-
count
|
|
3372
|
-
count
|
|
3383
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3384
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3373
3385
|
);
|
|
3374
3386
|
return jsi::Value::undefined();
|
|
3375
3387
|
}
|
|
3376
3388
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setPointerCapture(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3377
3389
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setPointerCapture(
|
|
3378
3390
|
rt,
|
|
3379
|
-
count
|
|
3380
|
-
count
|
|
3391
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3392
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asNumber())
|
|
3381
3393
|
);
|
|
3382
3394
|
return jsi::Value::undefined();
|
|
3383
3395
|
}
|
|
3384
3396
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_getOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3385
3397
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->getOffset(
|
|
3386
3398
|
rt,
|
|
3387
|
-
count
|
|
3399
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0]))
|
|
3388
3400
|
);
|
|
3389
3401
|
}
|
|
3390
3402
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_linkRootNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3391
3403
|
return static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->linkRootNode(
|
|
3392
3404
|
rt,
|
|
3393
|
-
count
|
|
3394
|
-
count
|
|
3405
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), args[0].asNumber()),
|
|
3406
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3395
3407
|
);
|
|
3396
3408
|
}
|
|
3397
3409
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3398
3410
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measure(
|
|
3399
3411
|
rt,
|
|
3400
|
-
count
|
|
3401
|
-
count
|
|
3412
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3413
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3402
3414
|
);
|
|
3403
3415
|
return jsi::Value::undefined();
|
|
3404
3416
|
}
|
|
3405
3417
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3406
3418
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
3407
3419
|
rt,
|
|
3408
|
-
count
|
|
3409
|
-
count
|
|
3420
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3421
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), args[1].asObject(rt).asFunction(rt))
|
|
3410
3422
|
);
|
|
3411
3423
|
return jsi::Value::undefined();
|
|
3412
3424
|
}
|
|
3413
3425
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3414
3426
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
3415
3427
|
rt,
|
|
3416
|
-
count
|
|
3417
|
-
count
|
|
3418
|
-
count
|
|
3419
|
-
count
|
|
3428
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3429
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1])),
|
|
3430
|
+
(count > 2 || (throw jsi::JSError(rt, "Expected argument in position 2 to be passed"), false), args[2].asObject(rt).asFunction(rt)),
|
|
3431
|
+
(count > 3 || (throw jsi::JSError(rt, "Expected argument in position 3 to be passed"), false), args[3].asObject(rt).asFunction(rt))
|
|
3420
3432
|
);
|
|
3421
3433
|
return jsi::Value::undefined();
|
|
3422
3434
|
}
|
|
3423
3435
|
static jsi::Value __hostFunction_NativeDOMCxxSpecJSI_setNativeProps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
3424
3436
|
static_cast<NativeDOMCxxSpecJSI *>(&turboModule)->setNativeProps(
|
|
3425
3437
|
rt,
|
|
3426
|
-
count
|
|
3427
|
-
count
|
|
3438
|
+
(count > 0 || (throw jsi::JSError(rt, "Expected argument in position 0 to be passed"), false), jsi::Value(rt, args[0])),
|
|
3439
|
+
(count > 1 || (throw jsi::JSError(rt, "Expected argument in position 1 to be passed"), false), jsi::Value(rt, args[1]))
|
|
3428
3440
|
);
|
|
3429
3441
|
return jsi::Value::undefined();
|
|
3430
3442
|
}
|