Skip to content

Commit 4635137

Browse files
committed
Update C++ API snapshots
1 parent c5a5d77 commit 4635137

9 files changed

Lines changed: 57 additions & 12 deletions

scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,8 +2257,10 @@ class facebook::react::EventEmitter {
22572257
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
22582258
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
22592259
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2260+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22602261
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
22612262
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2263+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22622264
public void setEnabled(bool enabled);
22632265
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
22642266
}
@@ -2270,7 +2272,7 @@ class facebook::react::EventEmitterWrapper : public jni::HybridClass<facebook::r
22702272
public static void registerNatives();
22712273
public void dispatchEvent(std::string eventName, facebook::react::NativeMap* payload, int category, jlong eventTimestamp);
22722274
public void dispatchEventSynchronously(std::string eventName, facebook::react::NativeMap* params, jlong eventTimestamp);
2273-
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp);
2275+
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp, int customCoalesceKey);
22742276
}
22752277

22762278
class facebook::react::EventListenerContainer {
@@ -7704,15 +7706,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
77047706
}
77057707

77067708
struct facebook::react::RawEvent {
7707-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
7709+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
77087710
public bool isUnique;
77097711
public facebook::react::EventTag loggingTag;
77107712
public facebook::react::HighResTimeStamp eventStartTimeStamp;
77117713
public facebook::react::RawEvent::Category category;
7714+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
77127715
public facebook::react::SharedEventPayload eventPayload;
77137716
public facebook::react::SharedEventTarget eventTarget;
7717+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
77147718
public std::string type;
77157719
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
7720+
public using CoalescingKey = int;
77167721
}
77177722

77187723
enum facebook::react::RawEvent::Category {

scripts/cxx-api/api-snapshots/ReactAndroidNewarchCxx.api

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,8 +2240,10 @@ class facebook::react::EventEmitter {
22402240
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
22412241
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
22422242
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2243+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22432244
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
22442245
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2246+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22452247
public void setEnabled(bool enabled);
22462248
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
22472249
}
@@ -2253,7 +2255,7 @@ class facebook::react::EventEmitterWrapper : public jni::HybridClass<facebook::r
22532255
public static void registerNatives();
22542256
public void dispatchEvent(std::string eventName, facebook::react::NativeMap* payload, int category, jlong eventTimestamp);
22552257
public void dispatchEventSynchronously(std::string eventName, facebook::react::NativeMap* params, jlong eventTimestamp);
2256-
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp);
2258+
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp, int customCoalesceKey);
22572259
}
22582260

22592261
class facebook::react::EventListenerContainer {
@@ -7480,15 +7482,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
74807482
}
74817483

74827484
struct facebook::react::RawEvent {
7483-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
7485+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
74847486
public bool isUnique;
74857487
public facebook::react::EventTag loggingTag;
74867488
public facebook::react::HighResTimeStamp eventStartTimeStamp;
74877489
public facebook::react::RawEvent::Category category;
7490+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
74887491
public facebook::react::SharedEventPayload eventPayload;
74897492
public facebook::react::SharedEventTarget eventTarget;
7493+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
74907494
public std::string type;
74917495
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
7496+
public using CoalescingKey = int;
74927497
}
74937498

74947499
enum facebook::react::RawEvent::Category {

scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,8 +2255,10 @@ class facebook::react::EventEmitter {
22552255
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
22562256
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
22572257
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2258+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22582259
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
22592260
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2261+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22602262
public void setEnabled(bool enabled);
22612263
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
22622264
}
@@ -2268,7 +2270,7 @@ class facebook::react::EventEmitterWrapper : public jni::HybridClass<facebook::r
22682270
public static void registerNatives();
22692271
public void dispatchEvent(std::string eventName, facebook::react::NativeMap* payload, int category, jlong eventTimestamp);
22702272
public void dispatchEventSynchronously(std::string eventName, facebook::react::NativeMap* params, jlong eventTimestamp);
2271-
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp);
2273+
public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp, int customCoalesceKey);
22722274
}
22732275

22742276
class facebook::react::EventListenerContainer {
@@ -7695,15 +7697,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
76957697
}
76967698

76977699
struct facebook::react::RawEvent {
7698-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
7700+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
76997701
public bool isUnique;
77007702
public facebook::react::EventTag loggingTag;
77017703
public facebook::react::HighResTimeStamp eventStartTimeStamp;
77027704
public facebook::react::RawEvent::Category category;
7705+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
77037706
public facebook::react::SharedEventPayload eventPayload;
77047707
public facebook::react::SharedEventTarget eventTarget;
7708+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
77057709
public std::string type;
77067710
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
7711+
public using CoalescingKey = int;
77077712
}
77087713

77097714
enum facebook::react::RawEvent::Category {

scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4774,8 +4774,10 @@ class facebook::react::EventEmitter {
47744774
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
47754775
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
47764776
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4777+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47774778
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
47784779
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4780+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47794781
public void setEnabled(bool enabled);
47804782
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
47814783
}
@@ -9772,15 +9774,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
97729774
}
97739775

97749776
struct facebook::react::RawEvent {
9775-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
9777+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
97769778
public bool isUnique;
97779779
public facebook::react::EventTag loggingTag;
97789780
public facebook::react::HighResTimeStamp eventStartTimeStamp;
97799781
public facebook::react::RawEvent::Category category;
9782+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
97809783
public facebook::react::SharedEventPayload eventPayload;
97819784
public facebook::react::SharedEventTarget eventTarget;
9785+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
97829786
public std::string type;
97839787
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
9788+
public using CoalescingKey = int;
97849789
}
97859790

97869791
enum facebook::react::RawEvent::Category {

scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4745,8 +4745,10 @@ class facebook::react::EventEmitter {
47454745
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
47464746
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
47474747
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4748+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47484749
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
47494750
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4751+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47504752
public void setEnabled(bool enabled);
47514753
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
47524754
}
@@ -9599,15 +9601,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
95999601
}
96009602

96019603
struct facebook::react::RawEvent {
9602-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
9604+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
96039605
public bool isUnique;
96049606
public facebook::react::EventTag loggingTag;
96059607
public facebook::react::HighResTimeStamp eventStartTimeStamp;
96069608
public facebook::react::RawEvent::Category category;
9609+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
96079610
public facebook::react::SharedEventPayload eventPayload;
96089611
public facebook::react::SharedEventTarget eventTarget;
9612+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
96099613
public std::string type;
96109614
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
9615+
public using CoalescingKey = int;
96119616
}
96129617

96139618
enum facebook::react::RawEvent::Category {

scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4772,8 +4772,10 @@ class facebook::react::EventEmitter {
47724772
public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
47734773
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
47744774
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4775+
public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47754776
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
47764777
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
4778+
public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
47774779
public void setEnabled(bool enabled);
47784780
public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
47794781
}
@@ -9763,15 +9765,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
97639765
}
97649766

97659767
struct facebook::react::RawEvent {
9766-
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
9768+
public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey);
97679769
public bool isUnique;
97689770
public facebook::react::EventTag loggingTag;
97699771
public facebook::react::HighResTimeStamp eventStartTimeStamp;
97709772
public facebook::react::RawEvent::Category category;
9773+
public facebook::react::RawEvent::CoalescingKey coalescingKey;
97719774
public facebook::react::SharedEventPayload eventPayload;
97729775
public facebook::react::SharedEventTarget eventTarget;
9776+
public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
97739777
public std::string type;
97749778
public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
9779+
public using CoalescingKey = int;
97759780
}
97769781

97779782
enum facebook::react::RawEvent::Category {

0 commit comments

Comments
 (0)