@@ -60,6 +60,36 @@ void ALL_PROP_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
6060}
6161`;
6262
63+ exports[`GenerateComponentDescriptorH can generate fixture ALL_PROP_WITH_OPTIONAL_OBJECT_GEN 1`] = `
64+ Map {
65+ " ComponentDescriptors.h" => "
66+ /**
67+ * This code was generated by [react - native - codegen ](https :// www.npmjs.com/package/react-native-codegen).
68+ *
69+ * Do not edit this file as changes may cause incorrect behavior and will be lost
70+ * once the code is regenerated .
71+ *
72+ * @generated by codegen project : GenerateComponentDescriptorH .js
73+ */
74+
75+ #pragma once
76+
77+ #include < react / renderer / components / ALL_PROP_WITH_OPTIONAL_OBJECT_GEN / ShadowNodes .h >
78+ #include < react / renderer / core / ConcreteComponentDescriptor .h >
79+ #include < react / renderer / componentregistry / ComponentDescriptorProviderRegistry .h >
80+
81+ namespace facebook ::react {
82+
83+ using AllPropWithOptionalObjectGenComponentDescriptor = ConcreteComponentDescriptor<AllPropWithOptionalObjectGenShadowNode >;
84+
85+ void ALL_PROP_WITH_OPTIONAL_OBJECT_GEN_registerComponentDescriptorsFromCodegen(
86+ std : :shared_ptr <const ComponentDescriptorProviderRegistry > registry );
87+
88+ } // namespace facebook::react
89+ " ,
90+ }
91+ ` ;
92+
6393exports[` GenerateComponentDescriptorH can generate fixture ARRAY_PROPS 1 ` ] = `
6494Map {
6595 "ComponentDescriptors.h" => "
@@ -140,7 +170,7 @@ Map {
140170
141171namespace facebook::react {
142172
143- using ArrayPropsNativeComponentComponentDescriptor = ConcreteComponentDescriptor<ArrayPropsNativeComponentShadowNode >;
173+ using ArrayPropsOptionalGenNativeComponentComponentDescriptor = ConcreteComponentDescriptor <ArrayPropsOptionalGenNativeComponentShadowNode >;
144174
145175void ARRAY_PROPS_WITH_NESTED_OBJECT_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
146176 std::shared_ptr<const ComponentDescriptorProviderRegistry > registry);
@@ -150,6 +180,36 @@ void ARRAY_PROPS_WITH_NESTED_OBJECT_WITH_OPTIONAL_GEN_registerComponentDescripto
150180}
151181`;
152182
183+ exports[`GenerateComponentDescriptorH can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT_WITH_OPTIONAL_OBJECT_GEN 1`] = `
184+ Map {
185+ " ComponentDescriptors.h" => "
186+ /**
187+ * This code was generated by [react - native - codegen ](https :// www.npmjs.com/package/react-native-codegen).
188+ *
189+ * Do not edit this file as changes may cause incorrect behavior and will be lost
190+ * once the code is regenerated .
191+ *
192+ * @generated by codegen project : GenerateComponentDescriptorH .js
193+ */
194+
195+ #pragma once
196+
197+ #include < react / renderer / components / ARRAY_PROPS_WITH_NESTED_OBJECT_WITH_OPTIONAL_OBJECT_GEN / ShadowNodes .h >
198+ #include < react / renderer / core / ConcreteComponentDescriptor .h >
199+ #include < react / renderer / componentregistry / ComponentDescriptorProviderRegistry .h >
200+
201+ namespace facebook ::react {
202+
203+ using ArrayPropsOptionalObjectGenNativeComponentComponentDescriptor = ConcreteComponentDescriptor<ArrayPropsOptionalObjectGenNativeComponentShadowNode >;
204+
205+ void ARRAY_PROPS_WITH_NESTED_OBJECT_WITH_OPTIONAL_OBJECT_GEN_registerComponentDescriptorsFromCodegen(
206+ std : :shared_ptr <const ComponentDescriptorProviderRegistry > registry );
207+
208+ } // namespace facebook::react
209+ " ,
210+ }
211+ ` ;
212+
153213exports[` GenerateComponentDescriptorH can generate fixture ARRAY_PROPS_WITH_OPTIONAL_GEN 1 ` ] = `
154214Map {
155215 "ComponentDescriptors.h" => "
@@ -170,7 +230,7 @@ Map {
170230
171231namespace facebook::react {
172232
173- using ArrayPropsNativeComponentComponentDescriptor = ConcreteComponentDescriptor <ArrayPropsNativeComponentShadowNode >;
233+ using ArrayPropsWithOptionalGenNativeComponentComponentDescriptor = ConcreteComponentDescriptor <ArrayPropsWithOptionalGenNativeComponentShadowNode >;
174234
175235void ARRAY_PROPS_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
176236 std::shared_ptr<const ComponentDescriptorProviderRegistry > registry);
@@ -180,6 +240,36 @@ void ARRAY_PROPS_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
180240}
181241`;
182242
243+ exports[`GenerateComponentDescriptorH can generate fixture ARRAY_PROPS_WITH_OPTIONAL_OBJECT_GEN 1`] = `
244+ Map {
245+ " ComponentDescriptors.h" => "
246+ /**
247+ * This code was generated by [react - native - codegen ](https :// www.npmjs.com/package/react-native-codegen).
248+ *
249+ * Do not edit this file as changes may cause incorrect behavior and will be lost
250+ * once the code is regenerated .
251+ *
252+ * @generated by codegen project : GenerateComponentDescriptorH .js
253+ */
254+
255+ #pragma once
256+
257+ #include < react / renderer / components / ARRAY_PROPS_WITH_OPTIONAL_OBJECT_GEN / ShadowNodes .h >
258+ #include < react / renderer / core / ConcreteComponentDescriptor .h >
259+ #include < react / renderer / componentregistry / ComponentDescriptorProviderRegistry .h >
260+
261+ namespace facebook ::react {
262+
263+ using ArrayPropsWithOptionalObjectGenNativeComponentComponentDescriptor = ConcreteComponentDescriptor<ArrayPropsWithOptionalObjectGenNativeComponentShadowNode >;
264+
265+ void ARRAY_PROPS_WITH_OPTIONAL_OBJECT_GEN_registerComponentDescriptorsFromCodegen(
266+ std : :shared_ptr <const ComponentDescriptorProviderRegistry > registry );
267+
268+ } // namespace facebook::react
269+ " ,
270+ }
271+ ` ;
272+
183273exports[` GenerateComponentDescriptorH can generate fixture BOOLEAN_PROP 1 ` ] = `
184274Map {
185275 "ComponentDescriptors.h" => "
@@ -861,7 +951,7 @@ Map {
861951
862952namespace facebook::react {
863953
864- using ObjectPropsComponentDescriptor = ConcreteComponentDescriptor <ObjectPropsShadowNode >;
954+ using ObjectPropsWithOptionalGenComponentDescriptor = ConcreteComponentDescriptor <ObjectPropsWithOptionalGenShadowNode >;
865955
866956void OBJECT_PROPS_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
867957 std::shared_ptr<const ComponentDescriptorProviderRegistry > registry);
@@ -871,6 +961,36 @@ void OBJECT_PROPS_WITH_OPTIONAL_GEN_registerComponentDescriptorsFromCodegen(
871961}
872962`;
873963
964+ exports[`GenerateComponentDescriptorH can generate fixture OBJECT_PROPS_WITH_OPTIONAL_OBJECT_GEN 1`] = `
965+ Map {
966+ " ComponentDescriptors.h" => "
967+ /**
968+ * This code was generated by [react - native - codegen ](https :// www.npmjs.com/package/react-native-codegen).
969+ *
970+ * Do not edit this file as changes may cause incorrect behavior and will be lost
971+ * once the code is regenerated .
972+ *
973+ * @generated by codegen project : GenerateComponentDescriptorH .js
974+ */
975+
976+ #pragma once
977+
978+ #include < react / renderer / components / OBJECT_PROPS_WITH_OPTIONAL_OBJECT_GEN / ShadowNodes .h >
979+ #include < react / renderer / core / ConcreteComponentDescriptor .h >
980+ #include < react / renderer / componentregistry / ComponentDescriptorProviderRegistry .h >
981+
982+ namespace facebook ::react {
983+
984+ using ObjectPropsWithOptionalObjectGenComponentDescriptor = ConcreteComponentDescriptor<ObjectPropsWithOptionalObjectGenShadowNode >;
985+
986+ void OBJECT_PROPS_WITH_OPTIONAL_OBJECT_GEN_registerComponentDescriptorsFromCodegen(
987+ std : :shared_ptr <const ComponentDescriptorProviderRegistry > registry );
988+
989+ } // namespace facebook::react
990+ " ,
991+ }
992+ ` ;
993+
874994exports[` GenerateComponentDescriptorH can generate fixture POINT_PROP 1 ` ] = `
875995Map {
876996 "ComponentDescriptors.h" => "
0 commit comments