diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentDescriptorH-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentDescriptorH-test.js.snap index 5dfc6bd1383b39..7c91b013e45500 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentDescriptorH-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentDescriptorH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateComponentDescriptorH can generate for 'ArrayPropsNativeComponen Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -32,10 +32,10 @@ exports[`GenerateComponentDescriptorH can generate for 'BooleanPropNativeCompone Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -60,10 +60,10 @@ exports[`GenerateComponentDescriptorH can generate for 'ColorPropNativeComponent Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -88,10 +88,10 @@ exports[`GenerateComponentDescriptorH can generate for 'EdgeInsetsPropNativeComp Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -116,10 +116,10 @@ exports[`GenerateComponentDescriptorH can generate for 'EnumPropNativeComponent. Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -144,10 +144,10 @@ exports[`GenerateComponentDescriptorH can generate for 'EventNestedObjectPropsNa Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -172,10 +172,10 @@ exports[`GenerateComponentDescriptorH can generate for 'EventPropsNativeComponen Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -200,10 +200,10 @@ exports[`GenerateComponentDescriptorH can generate for 'FloatPropsNativeComponen Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -228,10 +228,10 @@ exports[`GenerateComponentDescriptorH can generate for 'ImagePropNativeComponent Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -256,10 +256,10 @@ exports[`GenerateComponentDescriptorH can generate for 'IntegerPropNativeCompone Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -284,10 +284,10 @@ exports[`GenerateComponentDescriptorH can generate for 'InterfaceOnlyNativeCompo Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -312,10 +312,10 @@ exports[`GenerateComponentDescriptorH can generate for 'MultiNativePropNativeCom Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -340,10 +340,10 @@ exports[`GenerateComponentDescriptorH can generate for 'NoPropsNoEventsNativeCom Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -368,10 +368,10 @@ exports[`GenerateComponentDescriptorH can generate for 'ObjectPropsNativeCompone Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -396,10 +396,10 @@ exports[`GenerateComponentDescriptorH can generate for 'PointPropNativeComponent Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -424,10 +424,10 @@ exports[`GenerateComponentDescriptorH can generate for 'StringPropNativeComponen Object { "ComponentDescriptors.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentHObjCpp-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentHObjCpp-test.js.snap index c967bd7dc7529b..3a6cc0fb294ace 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentHObjCpp-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateComponentHObjCpp-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateComponentHObjCpp can generate for 'ArrayPropsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -28,10 +28,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'BooleanPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -53,10 +53,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'ColorPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -78,10 +78,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'EdgeInsetsPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -103,10 +103,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'EnumPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -128,10 +128,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'EventNestedObjectPropsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -153,10 +153,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'EventPropsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -178,10 +178,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'FloatPropsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -203,10 +203,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'ImagePropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -228,10 +228,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'IntegerPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -253,10 +253,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'InterfaceOnlyNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -278,10 +278,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'MultiNativePropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -303,10 +303,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'NoPropsNoEventsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -328,10 +328,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'ObjectPropsNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -353,10 +353,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'PointPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -378,10 +378,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate for 'StringPropNativeComponent.js' 1`] = ` Object { "RCTComponentViewHelpers.h": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterCpp-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterCpp-test.js.snap index bc63ee22c997dc..07ce71990ed2d3 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterCpp-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateEventEmitterCpp can generate for 'ArrayPropsNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -29,10 +29,10 @@ exports[`GenerateEventEmitterCpp can generate for 'BooleanPropNativeComponent.js Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -54,10 +54,10 @@ exports[`GenerateEventEmitterCpp can generate for 'ColorPropNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -79,10 +79,10 @@ exports[`GenerateEventEmitterCpp can generate for 'EdgeInsetsPropNativeComponent Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -104,10 +104,10 @@ exports[`GenerateEventEmitterCpp can generate for 'EnumPropNativeComponent.js' 1 Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -129,10 +129,10 @@ exports[`GenerateEventEmitterCpp can generate for 'EventNestedObjectPropsNativeC Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -172,10 +172,10 @@ exports[`GenerateEventEmitterCpp can generate for 'EventPropsNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -241,10 +241,10 @@ exports[`GenerateEventEmitterCpp can generate for 'FloatPropsNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -266,10 +266,10 @@ exports[`GenerateEventEmitterCpp can generate for 'ImagePropNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -291,10 +291,10 @@ exports[`GenerateEventEmitterCpp can generate for 'IntegerPropNativeComponent.js Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -316,10 +316,10 @@ exports[`GenerateEventEmitterCpp can generate for 'InterfaceOnlyNativeComponent. Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -347,10 +347,10 @@ exports[`GenerateEventEmitterCpp can generate for 'MultiNativePropNativeComponen Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -372,10 +372,10 @@ exports[`GenerateEventEmitterCpp can generate for 'NoPropsNoEventsNativeComponen Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -397,10 +397,10 @@ exports[`GenerateEventEmitterCpp can generate for 'ObjectPropsNativeComponent.js Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -422,10 +422,10 @@ exports[`GenerateEventEmitterCpp can generate for 'PointPropNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -447,10 +447,10 @@ exports[`GenerateEventEmitterCpp can generate for 'StringPropNativeComponent.js' Object { "EventEmitters.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterH-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterH-test.js.snap index 0e49a154f07b66..32980f779ae3c1 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterH-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateEventEmitterH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateEventEmitterH can generate for 'ArrayPropsNativeComponent.js' 1 Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -30,10 +30,10 @@ exports[`GenerateEventEmitterH can generate for 'BooleanPropNativeComponent.js' Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -56,10 +56,10 @@ exports[`GenerateEventEmitterH can generate for 'ColorPropNativeComponent.js' 1` Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -82,10 +82,10 @@ exports[`GenerateEventEmitterH can generate for 'EdgeInsetsPropNativeComponent.j Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -108,10 +108,10 @@ exports[`GenerateEventEmitterH can generate for 'EnumPropNativeComponent.js' 1`] Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -134,10 +134,10 @@ exports[`GenerateEventEmitterH can generate for 'EventNestedObjectPropsNativeCom Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -179,10 +179,10 @@ exports[`GenerateEventEmitterH can generate for 'EventPropsNativeComponent.js' 1 Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -259,10 +259,10 @@ exports[`GenerateEventEmitterH can generate for 'FloatPropsNativeComponent.js' 1 Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -285,10 +285,10 @@ exports[`GenerateEventEmitterH can generate for 'ImagePropNativeComponent.js' 1` Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -311,10 +311,10 @@ exports[`GenerateEventEmitterH can generate for 'IntegerPropNativeComponent.js' Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -337,10 +337,10 @@ exports[`GenerateEventEmitterH can generate for 'InterfaceOnlyNativeComponent.js Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -372,10 +372,10 @@ exports[`GenerateEventEmitterH can generate for 'MultiNativePropNativeComponent. Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -398,10 +398,10 @@ exports[`GenerateEventEmitterH can generate for 'NoPropsNoEventsNativeComponent. Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -424,10 +424,10 @@ exports[`GenerateEventEmitterH can generate for 'ObjectPropsNativeComponent.js' Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -450,10 +450,10 @@ exports[`GenerateEventEmitterH can generate for 'PointPropNativeComponent.js' 1` Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -476,10 +476,10 @@ exports[`GenerateEventEmitterH can generate for 'StringPropNativeComponent.js' 1 Object { "EventEmitters.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsCpp-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsCpp-test.js.snap index 1e37eaa07baddd..63443148619e08 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsCpp-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GeneratePropsCpp can generate for 'ArrayPropsNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -46,10 +46,10 @@ exports[`GeneratePropsCpp can generate for 'BooleanPropNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -80,10 +80,10 @@ exports[`GeneratePropsCpp can generate for 'ColorPropNativeComponent.js' 1`] = ` Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -113,10 +113,10 @@ exports[`GeneratePropsCpp can generate for 'EdgeInsetsPropNativeComponent.js' 1` Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -146,10 +146,10 @@ exports[`GeneratePropsCpp can generate for 'EnumPropNativeComponent.js' 1`] = ` Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -180,10 +180,10 @@ exports[`GeneratePropsCpp can generate for 'EventNestedObjectPropsNativeComponen Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -213,10 +213,10 @@ exports[`GeneratePropsCpp can generate for 'EventPropsNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -246,10 +246,10 @@ exports[`GeneratePropsCpp can generate for 'FloatPropsNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -285,10 +285,10 @@ exports[`GeneratePropsCpp can generate for 'ImagePropNativeComponent.js' 1`] = ` Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -319,10 +319,10 @@ exports[`GeneratePropsCpp can generate for 'IntegerPropNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -354,10 +354,10 @@ exports[`GeneratePropsCpp can generate for 'InterfaceOnlyNativeComponent.js' 1`] Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -387,10 +387,10 @@ exports[`GeneratePropsCpp can generate for 'MultiNativePropNativeComponent.js' 1 Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -424,10 +424,10 @@ exports[`GeneratePropsCpp can generate for 'NoPropsNoEventsNativeComponent.js' 1 Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -457,10 +457,10 @@ exports[`GeneratePropsCpp can generate for 'ObjectPropsNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -493,10 +493,10 @@ exports[`GeneratePropsCpp can generate for 'PointPropNativeComponent.js' 1`] = ` Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -526,10 +526,10 @@ exports[`GeneratePropsCpp can generate for 'StringPropNativeComponent.js' 1`] = Object { "Props.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsH-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsH-test.js.snap index 197fd3a4be105e..80ecae521eca0c 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsH-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsH-test.js.snap @@ -4,10 +4,10 @@ exports[`GeneratePropsH can generate for 'ArrayPropsNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -133,10 +133,10 @@ exports[`GeneratePropsH can generate for 'BooleanPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -169,10 +169,10 @@ exports[`GeneratePropsH can generate for 'ColorPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -205,10 +205,10 @@ exports[`GeneratePropsH can generate for 'EdgeInsetsPropNativeComponent.js' 1`] Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -240,10 +240,10 @@ exports[`GeneratePropsH can generate for 'EnumPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -324,10 +324,10 @@ exports[`GeneratePropsH can generate for 'EventNestedObjectPropsNativeComponent. Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -359,10 +359,10 @@ exports[`GeneratePropsH can generate for 'EventPropsNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -394,10 +394,10 @@ exports[`GeneratePropsH can generate for 'FloatPropsNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -435,10 +435,10 @@ exports[`GeneratePropsH can generate for 'ImagePropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -471,10 +471,10 @@ exports[`GeneratePropsH can generate for 'IntegerPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -508,10 +508,10 @@ exports[`GeneratePropsH can generate for 'InterfaceOnlyNativeComponent.js' 1`] = Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -543,10 +543,10 @@ exports[`GeneratePropsH can generate for 'MultiNativePropNativeComponent.js' 1`] Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -584,10 +584,10 @@ exports[`GeneratePropsH can generate for 'NoPropsNoEventsNativeComponent.js' 1`] Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -619,10 +619,10 @@ exports[`GeneratePropsH can generate for 'ObjectPropsNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -784,10 +784,10 @@ exports[`GeneratePropsH can generate for 'PointPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -820,10 +820,10 @@ exports[`GeneratePropsH can generate for 'StringPropNativeComponent.js' 1`] = ` Object { "Props.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsJavaDelegate-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsJavaDelegate-test.js.snap index 4ce7331be138e6..6e97f60966f91d 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsJavaDelegate-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GeneratePropsJavaDelegate-test.js.snap @@ -3,10 +3,10 @@ exports[`GeneratePropsJavaDelegate can generate for 'ArrayPropsNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/ArrayPropsNativeComponentViewManagerDelegate.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -65,10 +65,10 @@ public class ArrayPropsNativeComponentViewManagerDelegate { exports[`GeneratePropsJavaInterface can generate for 'BooleanPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/BooleanPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -59,10 +59,10 @@ public interface BooleanPropNativeComponentViewManagerInterface exports[`GeneratePropsJavaInterface can generate for 'ColorPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/ColorPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -82,10 +82,10 @@ public interface ColorPropNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'EdgeInsetsPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/EdgeInsetsPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -104,10 +104,10 @@ public interface EdgeInsetsPropNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'EventNestedObjectPropsNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/EventNestedObjectPropsNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -150,10 +150,10 @@ public interface EventNestedObjectPropsNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'FloatPropsNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/FloatPropsNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -201,10 +201,10 @@ public interface FloatPropsNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'ImagePropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/ImagePropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -225,10 +225,10 @@ public interface ImagePropNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'IntegerPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/IntegerPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -249,10 +249,10 @@ public interface IntegerPropNativeComponentViewManagerInterface exports[`GeneratePropsJavaInterface can generate for 'InterfaceOnlyNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/InterfaceOnlyNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -272,10 +272,10 @@ public interface InterfaceOnlyNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'PointPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/PointPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -371,10 +371,10 @@ public interface PointPropNativeComponentViewManagerInterface { exports[`GeneratePropsJavaInterface can generate for 'StringPropNativeComponent.js' 1`] = ` Object { "java/com/facebook/react/viewmanagers/StringPropNativeComponentViewManagerInterface.java": "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeCpp-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeCpp-test.js.snap index ff60f3b9707b7e..a37b7ccaf3772d 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeCpp-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateShadowNodeCpp can generate for 'ArrayPropsNativeComponent.js' 1 Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -29,10 +29,10 @@ exports[`GenerateShadowNodeCpp can generate for 'BooleanPropNativeComponent.js' Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -54,10 +54,10 @@ exports[`GenerateShadowNodeCpp can generate for 'ColorPropNativeComponent.js' 1` Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -79,10 +79,10 @@ exports[`GenerateShadowNodeCpp can generate for 'EdgeInsetsPropNativeComponent.j Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -104,10 +104,10 @@ exports[`GenerateShadowNodeCpp can generate for 'EnumPropNativeComponent.js' 1`] Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -129,10 +129,10 @@ exports[`GenerateShadowNodeCpp can generate for 'EventNestedObjectPropsNativeCom Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -154,10 +154,10 @@ exports[`GenerateShadowNodeCpp can generate for 'EventPropsNativeComponent.js' 1 Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -179,10 +179,10 @@ exports[`GenerateShadowNodeCpp can generate for 'FloatPropsNativeComponent.js' 1 Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -204,10 +204,10 @@ exports[`GenerateShadowNodeCpp can generate for 'ImagePropNativeComponent.js' 1` Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -229,10 +229,10 @@ exports[`GenerateShadowNodeCpp can generate for 'IntegerPropNativeComponent.js' Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -254,10 +254,10 @@ exports[`GenerateShadowNodeCpp can generate for 'InterfaceOnlyNativeComponent.js Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -279,10 +279,10 @@ exports[`GenerateShadowNodeCpp can generate for 'MultiNativePropNativeComponent. Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -304,10 +304,10 @@ exports[`GenerateShadowNodeCpp can generate for 'NoPropsNoEventsNativeComponent. Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -329,10 +329,10 @@ exports[`GenerateShadowNodeCpp can generate for 'ObjectPropsNativeComponent.js' Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -354,10 +354,10 @@ exports[`GenerateShadowNodeCpp can generate for 'PointPropNativeComponent.js' 1` Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -379,10 +379,10 @@ exports[`GenerateShadowNodeCpp can generate for 'StringPropNativeComponent.js' 1 Object { "ShadowNodes.cpp": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeH-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeH-test.js.snap index 72cdb51aa16293..6faa170602375f 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeH-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateShadowNodeH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateShadowNodeH can generate for 'ArrayPropsNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -39,10 +39,10 @@ exports[`GenerateShadowNodeH can generate for 'BooleanPropNativeComponent.js' 1` Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -74,10 +74,10 @@ exports[`GenerateShadowNodeH can generate for 'ColorPropNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -109,10 +109,10 @@ exports[`GenerateShadowNodeH can generate for 'EdgeInsetsPropNativeComponent.js' Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -144,10 +144,10 @@ exports[`GenerateShadowNodeH can generate for 'EnumPropNativeComponent.js' 1`] = Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -179,10 +179,10 @@ exports[`GenerateShadowNodeH can generate for 'EventNestedObjectPropsNativeCompo Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -216,10 +216,10 @@ exports[`GenerateShadowNodeH can generate for 'EventPropsNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -253,10 +253,10 @@ exports[`GenerateShadowNodeH can generate for 'FloatPropsNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -288,10 +288,10 @@ exports[`GenerateShadowNodeH can generate for 'ImagePropNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -323,10 +323,10 @@ exports[`GenerateShadowNodeH can generate for 'IntegerPropNativeComponent.js' 1` Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -358,10 +358,10 @@ exports[`GenerateShadowNodeH can generate for 'InterfaceOnlyNativeComponent.js' Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -386,10 +386,10 @@ exports[`GenerateShadowNodeH can generate for 'MultiNativePropNativeComponent.js Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -421,10 +421,10 @@ exports[`GenerateShadowNodeH can generate for 'NoPropsNoEventsNativeComponent.js Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -456,10 +456,10 @@ exports[`GenerateShadowNodeH can generate for 'ObjectPropsNativeComponent.js' 1` Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -491,10 +491,10 @@ exports[`GenerateShadowNodeH can generate for 'PointPropNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -526,10 +526,10 @@ exports[`GenerateShadowNodeH can generate for 'StringPropNativeComponent.js' 1`] Object { "ShadowNodes.h": " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ diff --git a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateViewConfigJs-test.js.snap b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateViewConfigJs-test.js.snap index 219b06a0721777..907a3cfecfdbff 100644 --- a/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateViewConfigJs-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/components/__snapshots__/GenerateViewConfigJs-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateViewConfigJs can generate for 'ArrayPropsNativeComponent.js' 1` Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -47,10 +47,10 @@ exports[`GenerateViewConfigJs can generate for 'BooleanPropNativeComponent.js' 1 Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -79,10 +79,10 @@ exports[`GenerateViewConfigJs can generate for 'ColorPropNativeComponent.js' 1`] Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -112,10 +112,10 @@ exports[`GenerateViewConfigJs can generate for 'EdgeInsetsPropNativeComponent.js Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -140,10 +140,10 @@ exports[`GenerateViewConfigJs can generate for 'EnumPropNativeComponent.js' 1`] Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -172,10 +172,10 @@ exports[`GenerateViewConfigJs can generate for 'EventNestedObjectPropsNativeComp Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -212,10 +212,10 @@ exports[`GenerateViewConfigJs can generate for 'EventPropsNativeComponent.js' 1` Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -280,10 +280,10 @@ exports[`GenerateViewConfigJs can generate for 'FloatPropsNativeComponent.js' 1` Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -317,10 +317,10 @@ exports[`GenerateViewConfigJs can generate for 'ImagePropNativeComponent.js' 1`] Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -350,10 +350,10 @@ exports[`GenerateViewConfigJs can generate for 'IntegerPropNativeComponent.js' 1 Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -383,10 +383,10 @@ exports[`GenerateViewConfigJs can generate for 'InterfaceOnlyNativeComponent.js' Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -423,10 +423,10 @@ exports[`GenerateViewConfigJs can generate for 'MultiNativePropNativeComponent.j Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -468,10 +468,10 @@ exports[`GenerateViewConfigJs can generate for 'NoPropsNoEventsNativeComponent.j Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -496,10 +496,10 @@ exports[`GenerateViewConfigJs can generate for 'ObjectPropsNativeComponent.js' 1 Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -529,10 +529,10 @@ exports[`GenerateViewConfigJs can generate for 'PointPropNativeComponent.js' 1`] Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -562,10 +562,10 @@ exports[`GenerateViewConfigJs can generate for 'StringPropNativeComponent.js' 1` Map { "RNCodegenModuleFixturesNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * diff --git a/packages/react-native-codegen/e2e/__tests__/modules/__snapshots__/GenerateModuleObjCpp-test.js.snap b/packages/react-native-codegen/e2e/__tests__/modules/__snapshots__/GenerateModuleObjCpp-test.js.snap index c7e5e09e59ef3d..f809a4eb4d78bd 100644 --- a/packages/react-native-codegen/e2e/__tests__/modules/__snapshots__/GenerateModuleObjCpp-test.js.snap +++ b/packages/react-native-codegen/e2e/__tests__/modules/__snapshots__/GenerateModuleObjCpp-test.js.snap @@ -2,10 +2,10 @@ exports[`GenerateModuleObjCpp can generate a header file NativeModule specs 1`] = ` "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -1192,10 +1192,10 @@ inline JS::NativeSampleTurboModuleOptional::Constants::Builder::Builder(Constant exports[`GenerateModuleObjCpp can generate a header file NativeModule specs with assume nonnull enabled 1`] = ` "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -2385,10 +2385,10 @@ NS_ASSUME_NONNULL_END exports[`GenerateModuleObjCpp can generate an implementation file NativeModule specs 1`] = ` "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * diff --git a/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js b/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js index f7589027c390bc..a7c795622f9082 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js @@ -23,10 +23,10 @@ const FileTemplate = ({ libraryName: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateComponentDescriptorH.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js b/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js index d0b11e02601ea5..ee619f4617f769 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js @@ -128,10 +128,10 @@ RCT_EXTERN inline void RCT${componentName}HandleCommand( const FileTemplate = ({componentContent}: {componentContent: string}) => ` /** -* ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * ${'@'}generated by codegen project: GenerateComponentHObjCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js index 550c19934be214..59690c61e6e48e 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js @@ -35,10 +35,10 @@ const FileTemplate = ({ libraryName: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateEventEmitterCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js index d4f0e35836863a..009ff91d25b468 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js @@ -37,10 +37,10 @@ type ComponentCollection = $ReadOnly<{ const FileTemplate = ({componentEmitters}: {componentEmitters: string}) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateEventEmitterH.js */ diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js b/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js index 2f8a4a4f1a57da..40cc0faf8f3d37 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js @@ -26,10 +26,10 @@ const FileTemplate = ({ componentClasses: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GeneratePropsCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsH.js b/packages/react-native-codegen/src/generators/components/GeneratePropsH.js index 49378bc1939db8..6d1d191e217e38 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsH.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsH.js @@ -40,10 +40,10 @@ const FileTemplate = ({ componentClasses: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GeneratePropsH.js */ diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsJavaDelegate.js b/packages/react-native-codegen/src/generators/components/GeneratePropsJavaDelegate.js index b8cb4b090013bc..17bdbda66ad175 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsJavaDelegate.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsJavaDelegate.js @@ -42,10 +42,10 @@ const FileTemplate = ({ interfaceClassName: string, methods: string, }) => `/** -* ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * ${'@'}generated by codegen project: GeneratePropsJavaDelegate.js */ diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsJavaInterface.js b/packages/react-native-codegen/src/generators/components/GeneratePropsJavaInterface.js index f3422a5df088a9..581564d10fc08c 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsJavaInterface.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsJavaInterface.js @@ -39,10 +39,10 @@ const FileTemplate = ({ extendClasses: string, methods: string, }) => `/** -* ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * ${'@'}generated by codegen project: GeneratePropsJavaInterface.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js index dc57f1af39e941..82cb8ffd5ab559 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js @@ -23,10 +23,10 @@ const FileTemplate = ({ componentNames: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateShadowNodeCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js index cfbf0bc485c9ac..f661afa9e857d5 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js @@ -25,10 +25,10 @@ const FileTemplate = ({ componentClasses: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateShadowNodeH.js */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateTests.js b/packages/react-native-codegen/src/generators/components/GenerateTests.js index 3175b58f2cafc1..dbaffefdd7217c 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateTests.js +++ b/packages/react-native-codegen/src/generators/components/GenerateTests.js @@ -34,10 +34,10 @@ const FileTemplate = ({ }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateTests.js * */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderH.js b/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderH.js index 94114401bf8aa1..cddb1302d754a4 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderH.js @@ -17,10 +17,10 @@ type FilesOutput = Map; const FileTemplate = ({lookupFuncs}: {lookupFuncs: string}) => ` /* - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by GenerateRCTThirdPartyFabricComponentsProviderH */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js b/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js index ffe89acbddfaa5..549633cd160428 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js @@ -17,10 +17,10 @@ type FilesOutput = Map; const FileTemplate = ({lookupMap}: {lookupMap: string}) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by GenerateRCTThirdPartyFabricComponentsProviderCpp */ diff --git a/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js b/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js index 8df26f174cb3ba..655c8d3c0042ec 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js +++ b/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js @@ -25,10 +25,10 @@ const FileTemplate = ({ componentConfig: string, }) => ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap index e1f4ca8d1a690d..20ab6f69ffd131 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateComponentDescriptorH can generate fixture ARRAY_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -32,10 +32,10 @@ exports[`GenerateComponentDescriptorH can generate fixture ARRAY_PROPS_WITH_NEST Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -60,10 +60,10 @@ exports[`GenerateComponentDescriptorH can generate fixture BOOLEAN_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -88,10 +88,10 @@ exports[`GenerateComponentDescriptorH can generate fixture COLOR_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -116,10 +116,10 @@ exports[`GenerateComponentDescriptorH can generate fixture COMMANDS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -144,10 +144,10 @@ exports[`GenerateComponentDescriptorH can generate fixture COMMANDS_AND_PROPS 1` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -172,10 +172,10 @@ exports[`GenerateComponentDescriptorH can generate fixture DOUBLE_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -200,10 +200,10 @@ exports[`GenerateComponentDescriptorH can generate fixture EVENT_NESTED_OBJECT_P Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -228,10 +228,10 @@ exports[`GenerateComponentDescriptorH can generate fixture EVENT_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -256,10 +256,10 @@ exports[`GenerateComponentDescriptorH can generate fixture EVENTS_WITH_PAPER_NAM Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -284,10 +284,10 @@ exports[`GenerateComponentDescriptorH can generate fixture EXCLUDE_ANDROID 1`] = Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -312,10 +312,10 @@ exports[`GenerateComponentDescriptorH can generate fixture EXCLUDE_ANDROID_IOS 1 Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -340,10 +340,10 @@ exports[`GenerateComponentDescriptorH can generate fixture FLOAT_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -368,10 +368,10 @@ exports[`GenerateComponentDescriptorH can generate fixture IMAGE_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -396,10 +396,10 @@ exports[`GenerateComponentDescriptorH can generate fixture INSETS_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -424,10 +424,10 @@ exports[`GenerateComponentDescriptorH can generate fixture INT32_ENUM_PROP 1`] = Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -452,10 +452,10 @@ exports[`GenerateComponentDescriptorH can generate fixture INTEGER_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -480,10 +480,10 @@ exports[`GenerateComponentDescriptorH can generate fixture INTERFACE_ONLY 1`] = Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -508,10 +508,10 @@ exports[`GenerateComponentDescriptorH can generate fixture MULTI_NATIVE_PROP 1`] Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -536,10 +536,10 @@ exports[`GenerateComponentDescriptorH can generate fixture NO_PROPS_NO_EVENTS 1` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -564,10 +564,10 @@ exports[`GenerateComponentDescriptorH can generate fixture OBJECT_PROPS 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -592,10 +592,10 @@ exports[`GenerateComponentDescriptorH can generate fixture POINT_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -620,10 +620,10 @@ exports[`GenerateComponentDescriptorH can generate fixture STRING_ENUM_PROP 1`] Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -648,10 +648,10 @@ exports[`GenerateComponentDescriptorH can generate fixture STRING_PROP 1`] = ` Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -676,10 +676,10 @@ exports[`GenerateComponentDescriptorH can generate fixture TWO_COMPONENTS_DIFFER Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ @@ -705,10 +705,10 @@ exports[`GenerateComponentDescriptorH can generate fixture TWO_COMPONENTS_SAME_F Map { "ComponentDescriptors.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateComponentDescriptorH.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap index 30df356f9afd69..d21fa8930f0bcc 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateComponentHObjCpp can generate fixture ARRAY_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -28,10 +28,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -53,10 +53,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture BOOLEAN_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -78,10 +78,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture COLOR_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -103,10 +103,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture COMMANDS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -205,10 +205,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -289,10 +289,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture DOUBLE_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -314,10 +314,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -339,10 +339,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture EVENT_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -364,10 +364,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -389,10 +389,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -414,10 +414,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -437,10 +437,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture FLOAT_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -462,10 +462,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture IMAGE_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -487,10 +487,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture INSETS_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -512,10 +512,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture INT32_ENUM_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -537,10 +537,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture INTEGER_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -562,10 +562,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture INTERFACE_ONLY 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -587,10 +587,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -612,10 +612,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -637,10 +637,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture OBJECT_PROPS 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -662,10 +662,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture POINT_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -687,10 +687,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture STRING_ENUM_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -712,10 +712,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture STRING_PROP 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -737,10 +737,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture TWO_COMPONENTS_DIFFERENT_FILES 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ @@ -766,10 +766,10 @@ NS_ASSUME_NONNULL_END", exports[`GenerateComponentHObjCpp can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = ` Map { "RCTComponentViewHelpers.h" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GenerateComponentHObjCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap index cddb45dbd58670..8d0858dc93bf99 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateEventEmitterCpp can generate fixture ARRAY_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -29,10 +29,10 @@ exports[`GenerateEventEmitterCpp can generate fixture ARRAY_PROPS_WITH_NESTED_OB Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -54,10 +54,10 @@ exports[`GenerateEventEmitterCpp can generate fixture BOOLEAN_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -79,10 +79,10 @@ exports[`GenerateEventEmitterCpp can generate fixture COLOR_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -104,10 +104,10 @@ exports[`GenerateEventEmitterCpp can generate fixture COMMANDS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -129,10 +129,10 @@ exports[`GenerateEventEmitterCpp can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -154,10 +154,10 @@ exports[`GenerateEventEmitterCpp can generate fixture DOUBLE_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -179,10 +179,10 @@ exports[`GenerateEventEmitterCpp can generate fixture EVENT_NESTED_OBJECT_PROPS Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -222,10 +222,10 @@ exports[`GenerateEventEmitterCpp can generate fixture EVENT_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -273,10 +273,10 @@ exports[`GenerateEventEmitterCpp can generate fixture EVENTS_WITH_PAPER_NAME 1`] Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -311,10 +311,10 @@ exports[`GenerateEventEmitterCpp can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -336,10 +336,10 @@ exports[`GenerateEventEmitterCpp can generate fixture EXCLUDE_ANDROID_IOS 1`] = Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -361,10 +361,10 @@ exports[`GenerateEventEmitterCpp can generate fixture FLOAT_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -386,10 +386,10 @@ exports[`GenerateEventEmitterCpp can generate fixture IMAGE_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -411,10 +411,10 @@ exports[`GenerateEventEmitterCpp can generate fixture INSETS_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -436,10 +436,10 @@ exports[`GenerateEventEmitterCpp can generate fixture INT32_ENUM_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -461,10 +461,10 @@ exports[`GenerateEventEmitterCpp can generate fixture INTEGER_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -486,10 +486,10 @@ exports[`GenerateEventEmitterCpp can generate fixture INTERFACE_ONLY 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -517,10 +517,10 @@ exports[`GenerateEventEmitterCpp can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -542,10 +542,10 @@ exports[`GenerateEventEmitterCpp can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -567,10 +567,10 @@ exports[`GenerateEventEmitterCpp can generate fixture OBJECT_PROPS 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -592,10 +592,10 @@ exports[`GenerateEventEmitterCpp can generate fixture POINT_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -617,10 +617,10 @@ exports[`GenerateEventEmitterCpp can generate fixture STRING_ENUM_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -642,10 +642,10 @@ exports[`GenerateEventEmitterCpp can generate fixture STRING_PROP 1`] = ` Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -667,10 +667,10 @@ exports[`GenerateEventEmitterCpp can generate fixture TWO_COMPONENTS_DIFFERENT_F Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ @@ -693,10 +693,10 @@ exports[`GenerateEventEmitterCpp can generate fixture TWO_COMPONENTS_SAME_FILE 1 Map { "EventEmitters.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap index c4e249a1f54c6c..f04e069ca25311 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateEventEmitterH can generate fixture ARRAY_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -30,10 +30,10 @@ exports[`GenerateEventEmitterH can generate fixture ARRAY_PROPS_WITH_NESTED_OBJE Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -56,10 +56,10 @@ exports[`GenerateEventEmitterH can generate fixture BOOLEAN_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -82,10 +82,10 @@ exports[`GenerateEventEmitterH can generate fixture COLOR_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -108,10 +108,10 @@ exports[`GenerateEventEmitterH can generate fixture COMMANDS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -134,10 +134,10 @@ exports[`GenerateEventEmitterH can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -160,10 +160,10 @@ exports[`GenerateEventEmitterH can generate fixture DOUBLE_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -186,10 +186,10 @@ exports[`GenerateEventEmitterH can generate fixture EVENT_NESTED_OBJECT_PROPS 1` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -231,10 +231,10 @@ exports[`GenerateEventEmitterH can generate fixture EVENT_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -295,10 +295,10 @@ exports[`GenerateEventEmitterH can generate fixture EVENTS_WITH_PAPER_NAME 1`] = Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -336,10 +336,10 @@ exports[`GenerateEventEmitterH can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -362,10 +362,10 @@ exports[`GenerateEventEmitterH can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -388,10 +388,10 @@ exports[`GenerateEventEmitterH can generate fixture FLOAT_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -414,10 +414,10 @@ exports[`GenerateEventEmitterH can generate fixture IMAGE_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -440,10 +440,10 @@ exports[`GenerateEventEmitterH can generate fixture INSETS_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -466,10 +466,10 @@ exports[`GenerateEventEmitterH can generate fixture INT32_ENUM_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -492,10 +492,10 @@ exports[`GenerateEventEmitterH can generate fixture INTEGER_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -518,10 +518,10 @@ exports[`GenerateEventEmitterH can generate fixture INTERFACE_ONLY 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -553,10 +553,10 @@ exports[`GenerateEventEmitterH can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -579,10 +579,10 @@ exports[`GenerateEventEmitterH can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -605,10 +605,10 @@ exports[`GenerateEventEmitterH can generate fixture OBJECT_PROPS 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -631,10 +631,10 @@ exports[`GenerateEventEmitterH can generate fixture POINT_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -657,10 +657,10 @@ exports[`GenerateEventEmitterH can generate fixture STRING_ENUM_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -683,10 +683,10 @@ exports[`GenerateEventEmitterH can generate fixture STRING_PROP 1`] = ` Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -709,10 +709,10 @@ exports[`GenerateEventEmitterH can generate fixture TWO_COMPONENTS_DIFFERENT_FIL Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ @@ -735,10 +735,10 @@ exports[`GenerateEventEmitterH can generate fixture TWO_COMPONENTS_SAME_FILE 1`] Map { "EventEmitters.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateEventEmitterH.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap index 807d5e9c72b82e..2d54a94ffbe308 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GeneratePropsCpp can generate fixture ARRAY_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -48,10 +48,10 @@ exports[`GeneratePropsCpp can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT 1` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -81,10 +81,10 @@ exports[`GeneratePropsCpp can generate fixture BOOLEAN_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -114,10 +114,10 @@ exports[`GeneratePropsCpp can generate fixture COLOR_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -147,10 +147,10 @@ exports[`GeneratePropsCpp can generate fixture COMMANDS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -180,10 +180,10 @@ exports[`GeneratePropsCpp can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -213,10 +213,10 @@ exports[`GeneratePropsCpp can generate fixture DOUBLE_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -251,10 +251,10 @@ exports[`GeneratePropsCpp can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -284,10 +284,10 @@ exports[`GeneratePropsCpp can generate fixture EVENT_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -317,10 +317,10 @@ exports[`GeneratePropsCpp can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -350,10 +350,10 @@ exports[`GeneratePropsCpp can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -383,10 +383,10 @@ exports[`GeneratePropsCpp can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -410,10 +410,10 @@ exports[`GeneratePropsCpp can generate fixture FLOAT_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -448,10 +448,10 @@ exports[`GeneratePropsCpp can generate fixture IMAGE_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -482,10 +482,10 @@ exports[`GeneratePropsCpp can generate fixture INSETS_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -515,10 +515,10 @@ exports[`GeneratePropsCpp can generate fixture INT32_ENUM_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -548,10 +548,10 @@ exports[`GeneratePropsCpp can generate fixture INTEGER_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -583,10 +583,10 @@ exports[`GeneratePropsCpp can generate fixture INTERFACE_ONLY 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -616,10 +616,10 @@ exports[`GeneratePropsCpp can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -653,10 +653,10 @@ exports[`GeneratePropsCpp can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -686,10 +686,10 @@ exports[`GeneratePropsCpp can generate fixture OBJECT_PROPS 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -720,10 +720,10 @@ exports[`GeneratePropsCpp can generate fixture POINT_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -753,10 +753,10 @@ exports[`GeneratePropsCpp can generate fixture STRING_ENUM_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -786,10 +786,10 @@ exports[`GeneratePropsCpp can generate fixture STRING_PROP 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -820,10 +820,10 @@ exports[`GeneratePropsCpp can generate fixture TWO_COMPONENTS_DIFFERENT_FILES 1` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ @@ -860,10 +860,10 @@ exports[`GeneratePropsCpp can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = ` Map { "Props.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap index 71ec6549eae223..d2bd083f9ee5ad 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap @@ -4,10 +4,10 @@ exports[`GeneratePropsH can generate fixture ARRAY_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -220,10 +220,10 @@ exports[`GeneratePropsH can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT 1`] Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -296,10 +296,10 @@ exports[`GeneratePropsH can generate fixture BOOLEAN_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -331,10 +331,10 @@ exports[`GeneratePropsH can generate fixture COLOR_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -367,10 +367,10 @@ exports[`GeneratePropsH can generate fixture COMMANDS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -402,10 +402,10 @@ exports[`GeneratePropsH can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -437,10 +437,10 @@ exports[`GeneratePropsH can generate fixture DOUBLE_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -477,10 +477,10 @@ exports[`GeneratePropsH can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -512,10 +512,10 @@ exports[`GeneratePropsH can generate fixture EVENT_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -547,10 +547,10 @@ exports[`GeneratePropsH can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -582,10 +582,10 @@ exports[`GeneratePropsH can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -617,10 +617,10 @@ exports[`GeneratePropsH can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -643,10 +643,10 @@ exports[`GeneratePropsH can generate fixture FLOAT_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -683,10 +683,10 @@ exports[`GeneratePropsH can generate fixture IMAGE_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -719,10 +719,10 @@ exports[`GeneratePropsH can generate fixture INSETS_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -755,10 +755,10 @@ exports[`GeneratePropsH can generate fixture INT32_ENUM_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -817,10 +817,10 @@ exports[`GeneratePropsH can generate fixture INTEGER_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -854,10 +854,10 @@ exports[`GeneratePropsH can generate fixture INTERFACE_ONLY 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -889,10 +889,10 @@ exports[`GeneratePropsH can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -930,10 +930,10 @@ exports[`GeneratePropsH can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -965,10 +965,10 @@ exports[`GeneratePropsH can generate fixture OBJECT_PROPS 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -1220,10 +1220,10 @@ exports[`GeneratePropsH can generate fixture POINT_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -1256,10 +1256,10 @@ exports[`GeneratePropsH can generate fixture STRING_ENUM_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -1309,10 +1309,10 @@ exports[`GeneratePropsH can generate fixture STRING_PROP 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -1345,10 +1345,10 @@ exports[`GeneratePropsH can generate fixture TWO_COMPONENTS_DIFFERENT_FILES 1`] Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ @@ -1390,10 +1390,10 @@ exports[`GeneratePropsH can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = ` Map { "Props.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GeneratePropsH.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaDelegate-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaDelegate-test.js.snap index 925b1f22435193..9cd5fb54c8afbc 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaDelegate-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaDelegate-test.js.snap @@ -3,10 +3,10 @@ exports[`GeneratePropsJavaDelegate can generate fixture ARRAY_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/ArrayPropsNativeComponentManagerDelegate.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -71,10 +71,10 @@ public class ArrayPropsNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -109,10 +109,10 @@ public class ArrayPropsNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -146,10 +146,10 @@ public class BooleanPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -184,10 +184,10 @@ public class ColorPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -228,10 +228,10 @@ public class CommandNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -278,10 +278,10 @@ public class CommandNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -330,10 +330,10 @@ public class DoublePropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -367,10 +367,10 @@ public class EventsNestedObjectNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -404,10 +404,10 @@ public class EventsNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -439,10 +439,10 @@ exports[`GeneratePropsJavaDelegate can generate fixture EXCLUDE_ANDROID_IOS 1`] exports[`GeneratePropsJavaDelegate can generate fixture FLOAT_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/FloatPropNativeComponentManagerDelegate.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -491,10 +491,10 @@ public class FloatPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -529,10 +529,10 @@ public class ImagePropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -567,10 +567,10 @@ public class InsetsPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -604,10 +604,10 @@ public class Int32EnumPropsNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -647,10 +647,10 @@ public class IntegerPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -684,10 +684,10 @@ public class InterfaceOnlyComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -732,10 +732,10 @@ public class ImageColorPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -763,10 +763,10 @@ public class NoPropsNoEventsComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -801,10 +801,10 @@ public class ObjectPropsManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -839,10 +839,10 @@ public class PointPropNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -876,10 +876,10 @@ public class StringEnumPropsNativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -916,10 +916,10 @@ public class StringPropComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -948,10 +948,10 @@ public class MultiFile1NativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -985,10 +985,10 @@ public class MultiFile2NativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ @@ -1017,10 +1017,10 @@ public class MultiComponent1NativeComponentManagerDelegate "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaDelegate.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaInterface-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaInterface-test.js.snap index 242c2cf18f31ba..550da64c73b085 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaInterface-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsJavaInterface-test.js.snap @@ -3,10 +3,10 @@ exports[`GeneratePropsJavaInterface can generate fixture ARRAY_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/ArrayPropsNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -37,10 +37,10 @@ public interface ArrayPropsNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT 1`] = ` Map { "java/com/facebook/react/viewmanagers/ArrayPropsNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -61,10 +61,10 @@ public interface ArrayPropsNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture BOOLEAN_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/BooleanPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -83,10 +83,10 @@ public interface BooleanPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture COLOR_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/ColorPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -106,10 +106,10 @@ public interface ColorPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture COMMANDS 1`] = ` Map { "java/com/facebook/react/viewmanagers/CommandNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -130,10 +130,10 @@ public interface CommandNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/CommandNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -155,10 +155,10 @@ public interface CommandNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture DOUBLE_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/DoublePropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -182,10 +182,10 @@ public interface DoublePropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/EventsNestedObjectNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -204,10 +204,10 @@ public interface EventsNestedObjectNativeComponentManagerInterface "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -226,10 +226,10 @@ public interface EventsNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "java/com/facebook/react/viewmanagers/InterfaceOnlyComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -252,10 +252,10 @@ exports[`GeneratePropsJavaInterface can generate fixture EXCLUDE_ANDROID_IOS 1`] exports[`GeneratePropsJavaInterface can generate fixture FLOAT_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/FloatPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -279,10 +279,10 @@ public interface FloatPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture IMAGE_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/ImagePropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -303,10 +303,10 @@ public interface ImagePropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture INSETS_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/InsetsPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -327,10 +327,10 @@ public interface InsetsPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture INT32_ENUM_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/Int32EnumPropsNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -350,10 +350,10 @@ public interface Int32EnumPropsNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture INTEGER_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/IntegerPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -374,10 +374,10 @@ public interface IntegerPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture INTERFACE_ONLY 1`] = ` Map { "java/com/facebook/react/viewmanagers/InterfaceOnlyComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -397,10 +397,10 @@ public interface InterfaceOnlyComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/ImageColorPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -424,10 +424,10 @@ public interface ImageColorPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "java/com/facebook/react/viewmanagers/NoPropsNoEventsComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -446,10 +446,10 @@ public interface NoPropsNoEventsComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture OBJECT_PROPS 1`] = ` Map { "java/com/facebook/react/viewmanagers/ObjectPropsManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -470,10 +470,10 @@ public interface ObjectPropsManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture POINT_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/PointPropNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -494,10 +494,10 @@ public interface PointPropNativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture STRING_ENUM_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/StringEnumPropsNativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -517,10 +517,10 @@ public interface StringEnumPropsNativeComponentManagerInterface exports[`GeneratePropsJavaInterface can generate fixture STRING_PROP 1`] = ` Map { "java/com/facebook/react/viewmanagers/StringPropComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -541,10 +541,10 @@ public interface StringPropComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture TWO_COMPONENTS_DIFFERENT_FILES 1`] = ` Map { "java/com/facebook/react/viewmanagers/MultiFile1NativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -558,10 +558,10 @@ public interface MultiFile1NativeComponentManagerInterface { } ", "java/com/facebook/react/viewmanagers/MultiFile2NativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -580,10 +580,10 @@ public interface MultiFile2NativeComponentManagerInterface { exports[`GeneratePropsJavaInterface can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = ` Map { "java/com/facebook/react/viewmanagers/MultiComponent1NativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ @@ -597,10 +597,10 @@ public interface MultiComponent1NativeComponentManagerInterface } ", "java/com/facebook/react/viewmanagers/MultiComponent2NativeComponentManagerInterface.java" => "/** -* Copyright (c) Meta Platforms, Inc. and affiliates. +* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * -* This source code is licensed under the MIT license found in the -* LICENSE file in the root directory of this source tree. +* Do not edit this file as changes may cause incorrect behavior and will be lost +* once the code is regenerated. * * @generated by codegen project: GeneratePropsJavaInterface.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap index 9b8a1d79a998d3..028d4fcbde9517 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateShadowNodeCpp can generate fixture ARRAY_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -29,10 +29,10 @@ exports[`GenerateShadowNodeCpp can generate fixture ARRAY_PROPS_WITH_NESTED_OBJE Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -54,10 +54,10 @@ exports[`GenerateShadowNodeCpp can generate fixture BOOLEAN_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -79,10 +79,10 @@ exports[`GenerateShadowNodeCpp can generate fixture COLOR_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -104,10 +104,10 @@ exports[`GenerateShadowNodeCpp can generate fixture COMMANDS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -129,10 +129,10 @@ exports[`GenerateShadowNodeCpp can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -154,10 +154,10 @@ exports[`GenerateShadowNodeCpp can generate fixture DOUBLE_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -179,10 +179,10 @@ exports[`GenerateShadowNodeCpp can generate fixture EVENT_NESTED_OBJECT_PROPS 1` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -204,10 +204,10 @@ exports[`GenerateShadowNodeCpp can generate fixture EVENT_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -229,10 +229,10 @@ exports[`GenerateShadowNodeCpp can generate fixture EVENTS_WITH_PAPER_NAME 1`] = Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -254,10 +254,10 @@ exports[`GenerateShadowNodeCpp can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -279,10 +279,10 @@ exports[`GenerateShadowNodeCpp can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -304,10 +304,10 @@ exports[`GenerateShadowNodeCpp can generate fixture FLOAT_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -329,10 +329,10 @@ exports[`GenerateShadowNodeCpp can generate fixture IMAGE_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -354,10 +354,10 @@ exports[`GenerateShadowNodeCpp can generate fixture INSETS_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -379,10 +379,10 @@ exports[`GenerateShadowNodeCpp can generate fixture INT32_ENUM_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -404,10 +404,10 @@ exports[`GenerateShadowNodeCpp can generate fixture INTEGER_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -429,10 +429,10 @@ exports[`GenerateShadowNodeCpp can generate fixture INTERFACE_ONLY 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -454,10 +454,10 @@ exports[`GenerateShadowNodeCpp can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -479,10 +479,10 @@ exports[`GenerateShadowNodeCpp can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -504,10 +504,10 @@ exports[`GenerateShadowNodeCpp can generate fixture OBJECT_PROPS 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -529,10 +529,10 @@ exports[`GenerateShadowNodeCpp can generate fixture POINT_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -554,10 +554,10 @@ exports[`GenerateShadowNodeCpp can generate fixture STRING_ENUM_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -579,10 +579,10 @@ exports[`GenerateShadowNodeCpp can generate fixture STRING_PROP 1`] = ` Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -604,10 +604,10 @@ exports[`GenerateShadowNodeCpp can generate fixture TWO_COMPONENTS_DIFFERENT_FIL Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ @@ -630,10 +630,10 @@ exports[`GenerateShadowNodeCpp can generate fixture TWO_COMPONENTS_SAME_FILE 1`] Map { "ShadowNodes.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeCpp.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap index b4c565c1ab1d5b..d70c0fe1a5ec1d 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateShadowNodeH can generate fixture ARRAY_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -39,10 +39,10 @@ exports[`GenerateShadowNodeH can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -74,10 +74,10 @@ exports[`GenerateShadowNodeH can generate fixture BOOLEAN_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -109,10 +109,10 @@ exports[`GenerateShadowNodeH can generate fixture COLOR_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -144,10 +144,10 @@ exports[`GenerateShadowNodeH can generate fixture COMMANDS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -179,10 +179,10 @@ exports[`GenerateShadowNodeH can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -214,10 +214,10 @@ exports[`GenerateShadowNodeH can generate fixture DOUBLE_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -249,10 +249,10 @@ exports[`GenerateShadowNodeH can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -286,10 +286,10 @@ exports[`GenerateShadowNodeH can generate fixture EVENT_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -323,10 +323,10 @@ exports[`GenerateShadowNodeH can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -351,10 +351,10 @@ exports[`GenerateShadowNodeH can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -386,10 +386,10 @@ exports[`GenerateShadowNodeH can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -421,10 +421,10 @@ exports[`GenerateShadowNodeH can generate fixture FLOAT_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -456,10 +456,10 @@ exports[`GenerateShadowNodeH can generate fixture IMAGE_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -491,10 +491,10 @@ exports[`GenerateShadowNodeH can generate fixture INSETS_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -526,10 +526,10 @@ exports[`GenerateShadowNodeH can generate fixture INT32_ENUM_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -561,10 +561,10 @@ exports[`GenerateShadowNodeH can generate fixture INTEGER_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -596,10 +596,10 @@ exports[`GenerateShadowNodeH can generate fixture INTERFACE_ONLY 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -624,10 +624,10 @@ exports[`GenerateShadowNodeH can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -659,10 +659,10 @@ exports[`GenerateShadowNodeH can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -694,10 +694,10 @@ exports[`GenerateShadowNodeH can generate fixture OBJECT_PROPS 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -729,10 +729,10 @@ exports[`GenerateShadowNodeH can generate fixture POINT_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -764,10 +764,10 @@ exports[`GenerateShadowNodeH can generate fixture STRING_ENUM_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -799,10 +799,10 @@ exports[`GenerateShadowNodeH can generate fixture STRING_PROP 1`] = ` Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -834,10 +834,10 @@ exports[`GenerateShadowNodeH can generate fixture TWO_COMPONENTS_DIFFERENT_FILES Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ @@ -878,10 +878,10 @@ exports[`GenerateShadowNodeH can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = Map { "ShadowNodes.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateShadowNodeH.js */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap index 2ed1d644e67330..14a07e9534c015 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateTests can generate fixture ARRAY_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -39,10 +39,10 @@ TEST(ArrayPropsNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture ARRAY_PROPS_WITH_NESTED_OBJECT 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -74,10 +74,10 @@ TEST(ArrayPropsNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture BOOLEAN_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -122,10 +122,10 @@ TEST(BooleanPropNativeComponentProps_disabled, etc) { exports[`GenerateTests can generate fixture COLOR_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -170,10 +170,10 @@ TEST(ColorPropNativeComponentProps_tintColor, etc) { exports[`GenerateTests can generate fixture COMMANDS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -205,10 +205,10 @@ TEST(CommandNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -253,10 +253,10 @@ TEST(CommandNativeComponentProps_accessibilityHint, etc) { exports[`GenerateTests can generate fixture DOUBLE_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -288,10 +288,10 @@ TEST(DoublePropNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -336,10 +336,10 @@ TEST(EventsNestedObjectNativeComponentProps_disabled, etc) { exports[`GenerateTests can generate fixture EVENT_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -384,10 +384,10 @@ TEST(EventsNativeComponentProps_disabled, etc) { exports[`GenerateTests can generate fixture EVENTS_WITH_PAPER_NAME 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -419,10 +419,10 @@ TEST(InterfaceOnlyComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -454,10 +454,10 @@ TEST(ExcludedAndroidComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -489,10 +489,10 @@ TEST(ExcludedAndroidIosComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture FLOAT_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -602,10 +602,10 @@ TEST(FloatPropNativeComponentProps_blurRadius6, etc) { exports[`GenerateTests can generate fixture IMAGE_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -651,10 +651,10 @@ TEST(ImagePropNativeComponentProps_thumbImage, etc) { exports[`GenerateTests can generate fixture INSETS_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -686,10 +686,10 @@ TEST(InsetsPropNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture INT32_ENUM_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -721,10 +721,10 @@ TEST(Int32EnumPropsNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture INTEGER_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -756,10 +756,10 @@ TEST(IntegerPropNativeComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture INTERFACE_ONLY 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -804,10 +804,10 @@ TEST(InterfaceOnlyComponentProps_accessibilityHint, etc) { exports[`GenerateTests can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -892,10 +892,10 @@ TEST(ImageColorPropNativeComponentProps_point, etc) { exports[`GenerateTests can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -927,10 +927,10 @@ TEST(NoPropsNoEventsComponentProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture OBJECT_PROPS 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -963,10 +963,10 @@ TEST(ObjectPropsProps_DoesNotDie, etc) { exports[`GenerateTests can generate fixture POINT_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -1011,10 +1011,10 @@ TEST(PointPropNativeComponentProps_startPoint, etc) { exports[`GenerateTests can generate fixture STRING_ENUM_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -1085,10 +1085,10 @@ TEST(StringEnumPropsNativeComponentProps_alignment_BottomRight, etc) { exports[`GenerateTests can generate fixture STRING_PROP 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -1146,10 +1146,10 @@ TEST(StringPropComponentProps_accessibilityRole, etc) { exports[`GenerateTests can generate fixture TWO_COMPONENTS_DIFFERENT_FILES 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ @@ -1220,10 +1220,10 @@ TEST(MultiFile2NativeComponentProps_disabled, etc) { exports[`GenerateTests can generate fixture TWO_COMPONENTS_SAME_FILE 1`] = ` Map { "Tests.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateTests.js * */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderH-test.js.snap index bfc7072ca3309c..46ad5bcb81a667 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateThirdPartyFabricComponentsProviderH can generate fixtures 1`] = Map { "RCTThirdPartyFabricComponentsProvider.h" => " /* - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by GenerateRCTThirdPartyFabricComponentsProviderH */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js.snap index 8278bb31924d32..fd1ed66715440d 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateThirdPartyFabricComponentsProviderObjCpp can generate fixtures Map { "RCTThirdPartyFabricComponentsProvider.mm" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by GenerateRCTThirdPartyFabricComponentsProviderCpp */ diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap index adcabe8dd5bd8c..371702df901f5c 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateViewConfigJs can generate fixture ARRAY_PROPS 1`] = ` Map { "ARRAY_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -49,10 +49,10 @@ exports[`GenerateViewConfigJs can generate fixture ARRAY_PROPS_WITH_NESTED_OBJEC Map { "ARRAY_PROPS_WITH_NESTED_OBJECTNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -80,10 +80,10 @@ exports[`GenerateViewConfigJs can generate fixture BOOLEAN_PROP 1`] = ` Map { "BOOLEAN_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -111,10 +111,10 @@ exports[`GenerateViewConfigJs can generate fixture COLOR_PROP 1`] = ` Map { "COLOR_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -144,10 +144,10 @@ exports[`GenerateViewConfigJs can generate fixture COMMANDS 1`] = ` Map { "COMMANDSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -183,10 +183,10 @@ exports[`GenerateViewConfigJs can generate fixture COMMANDS_AND_PROPS 1`] = ` Map { "COMMANDS_AND_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -225,10 +225,10 @@ exports[`GenerateViewConfigJs can generate fixture DOUBLE_PROPS 1`] = ` Map { "DOUBLE_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -261,10 +261,10 @@ exports[`GenerateViewConfigJs can generate fixture EVENT_NESTED_OBJECT_PROPS 1`] Map { "EVENT_NESTED_OBJECT_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -301,10 +301,10 @@ exports[`GenerateViewConfigJs can generate fixture EVENT_PROPS 1`] = ` Map { "EVENT_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -358,10 +358,10 @@ exports[`GenerateViewConfigJs can generate fixture EVENTS_WITH_PAPER_NAME 1`] = Map { "EVENTS_WITH_PAPER_NAMENativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -402,10 +402,10 @@ exports[`GenerateViewConfigJs can generate fixture EXCLUDE_ANDROID 1`] = ` Map { "EXCLUDE_ANDROIDNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -430,10 +430,10 @@ exports[`GenerateViewConfigJs can generate fixture EXCLUDE_ANDROID_IOS 1`] = ` Map { "EXCLUDE_ANDROID_IOSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -458,10 +458,10 @@ exports[`GenerateViewConfigJs can generate fixture FLOAT_PROPS 1`] = ` Map { "FLOAT_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -494,10 +494,10 @@ exports[`GenerateViewConfigJs can generate fixture IMAGE_PROP 1`] = ` Map { "IMAGE_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -527,10 +527,10 @@ exports[`GenerateViewConfigJs can generate fixture INSETS_PROP 1`] = ` Map { "INSETS_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -560,10 +560,10 @@ exports[`GenerateViewConfigJs can generate fixture INT32_ENUM_PROP 1`] = ` Map { "INT32_ENUM_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -591,10 +591,10 @@ exports[`GenerateViewConfigJs can generate fixture INTEGER_PROPS 1`] = ` Map { "INTEGER_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -624,10 +624,10 @@ exports[`GenerateViewConfigJs can generate fixture INTERFACE_ONLY 1`] = ` Map { "INTERFACE_ONLYNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -664,10 +664,10 @@ exports[`GenerateViewConfigJs can generate fixture MULTI_NATIVE_PROP 1`] = ` Map { "MULTI_NATIVE_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -709,10 +709,10 @@ exports[`GenerateViewConfigJs can generate fixture NO_PROPS_NO_EVENTS 1`] = ` Map { "NO_PROPS_NO_EVENTSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -737,10 +737,10 @@ exports[`GenerateViewConfigJs can generate fixture OBJECT_PROPS 1`] = ` Map { "OBJECT_PROPSNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -768,10 +768,10 @@ exports[`GenerateViewConfigJs can generate fixture POINT_PROP 1`] = ` Map { "POINT_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -801,10 +801,10 @@ exports[`GenerateViewConfigJs can generate fixture STRING_ENUM_PROP 1`] = ` Map { "STRING_ENUM_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -832,10 +832,10 @@ exports[`GenerateViewConfigJs can generate fixture STRING_PROP 1`] = ` Map { "STRING_PROPNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -864,10 +864,10 @@ exports[`GenerateViewConfigJs can generate fixture TWO_COMPONENTS_DIFFERENT_FILE Map { "TWO_COMPONENTS_DIFFERENT_FILESNativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -905,10 +905,10 @@ exports[`GenerateViewConfigJs can generate fixture TWO_COMPONENTS_SAME_FILE 1`] Map { "TWO_COMPONENTS_SAME_FILENativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * @@ -946,10 +946,10 @@ exports[`GenerateViewConfigJs can generate fixture with a deprecated view config Map { "DEPRECATED_VIEW_CONFIG_NAMENativeViewConfig.js" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @flow * diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js index f89b01341d27e9..e432ee48121283 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js @@ -77,10 +77,10 @@ const FileTemplate = ({ modules: string, }>) => { return `/** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js index a677b6c732002f..076e1a92b974ac 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js @@ -43,10 +43,10 @@ const FileTemplate = ({ modules: string, }>) => { return `/** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleJavaSpec.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleJavaSpec.js index b2cc31abd73d01..e6b63f725a22d7 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleJavaSpec.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleJavaSpec.js @@ -37,10 +37,10 @@ function FileTemplate( const {packageName, className, methods, imports} = config; return ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleJavaSpec.js * diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleJniCpp.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleJniCpp.js index 2fd4b7688821f9..a000849647d5b1 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleJniCpp.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleJniCpp.js @@ -99,10 +99,10 @@ const FileTemplate = ({ }>) => { return ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleJniCpp.js */ diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleJniH.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleJniH.js index f0b486aed30c4a..5b35d8c414b079 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleJniH.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleJniH.js @@ -35,10 +35,10 @@ const HeaderFileTemplate = ({ }: $ReadOnly<{modules: string, libraryName: string}>) => { return ` /** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleJniH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleObjCpp/index.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleObjCpp/index.js index cdc7134aedf63a..cd1aa762bbd213 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleObjCpp/index.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleObjCpp/index.js @@ -59,10 +59,10 @@ const HeaderFileTemplate = ({ assumeNonnull: boolean, }>) => `/** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleObjCpp * @@ -99,10 +99,10 @@ const SourceFileTemplate = ({ headerFileName: string, moduleImplementations: string, }>) => `/** - * ${'C'}opyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * ${'@'}generated by codegen project: GenerateModuleObjCpp * diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap index 63e04ddeaaee84..dadb4aafb9061d 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateModuleCpp can generate fixture SampleWithUppercaseName 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -33,10 +33,10 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared exports[`GenerateModuleCpp can generate fixture complex_objects 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -80,10 +80,10 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared exports[`GenerateModuleCpp can generate fixture empty_native_modules 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -110,10 +110,10 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared exports[`GenerateModuleCpp can generate fixture native_modules_with_type_aliases 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -147,10 +147,10 @@ AliasTurboModuleCxxSpecJSI::AliasTurboModuleCxxSpecJSI(std::shared_ptr "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -229,10 +229,10 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared exports[`GenerateModuleCpp can generate fixture simple_native_modules 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -303,10 +303,10 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared exports[`GenerateModuleCpp can generate fixture two_modules_different_files 1`] = ` Map { "NativeModules.cpp" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap index 6c1fbf35a51b8e..b07d8998749740 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateModuleH can generate fixture SampleWithUppercaseName 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -35,10 +35,10 @@ public: exports[`GenerateModuleH can generate fixture complex_objects 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -70,10 +70,10 @@ virtual void getArrays(jsi::Runtime &rt, const jsi::Object &options) = 0; exports[`GenerateModuleH can generate fixture empty_native_modules 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -102,10 +102,10 @@ public: exports[`GenerateModuleH can generate fixture native_modules_with_type_aliases 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -135,10 +135,10 @@ virtual void cropImage(jsi::Runtime &rt, const jsi::Object &cropData) = 0; exports[`GenerateModuleH can generate fixture real_module_example 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -190,10 +190,10 @@ virtual void dismissRedbox(jsi::Runtime &rt) = 0; exports[`GenerateModuleH can generate fixture simple_native_modules 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ @@ -232,10 +232,10 @@ virtual jsi::Value getValueWithPromise(jsi::Runtime &rt, bool error) = 0; exports[`GenerateModuleH can generate fixture two_modules_different_files 1`] = ` Map { "NativeModules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleHObjCpp-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleHObjCpp-test.js.snap index 979425cb09e46e..0a4751b99bd876 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleHObjCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleHObjCpp-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateModuleHObjCpp can generate fixture SampleWithUppercaseName 1`] = ` Map { "SampleWithUppercaseName.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -54,10 +54,10 @@ namespace facebook { exports[`GenerateModuleHObjCpp can generate fixture complex_objects 1`] = ` Map { "complex_objects.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -312,10 +312,10 @@ inline facebook::react::LazyVector "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -363,10 +363,10 @@ namespace facebook { exports[`GenerateModuleHObjCpp can generate fixture native_modules_with_type_aliases 1`] = ` Map { "native_modules_with_type_aliases.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -534,10 +534,10 @@ inline folly::Optional JS::AliasTurboModule::Options::allowExternalStorage exports[`GenerateModuleHObjCpp can generate fixture real_module_example 1`] = ` Map { "real_module_example.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -824,10 +824,10 @@ inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::videoMode() co exports[`GenerateModuleHObjCpp can generate fixture simple_native_modules 1`] = ` Map { "simple_native_modules.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -930,10 +930,10 @@ inline JS::NativeSampleTurboModule::Constants::Builder::Builder(Constants i) : _ exports[`GenerateModuleHObjCpp can generate fixture two_modules_different_files 1`] = ` Map { "two_modules_different_files.h" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJavaSpec-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJavaSpec-test.js.snap index 3953a4d855afef..f6d505050f16aa 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJavaSpec-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJavaSpec-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateModuleJavaSpec can generate fixture SampleWithUppercaseName 1`] Map { "java/com/facebook/fbreact/specs/NativeSampleTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -38,10 +38,10 @@ exports[`GenerateModuleJavaSpec can generate fixture complex_objects 1`] = ` Map { "java/com/facebook/fbreact/specs/NativeSampleTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -90,10 +90,10 @@ exports[`GenerateModuleJavaSpec can generate fixture empty_native_modules 1`] = Map { "java/com/facebook/fbreact/specs/NativeSampleTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -124,10 +124,10 @@ exports[`GenerateModuleJavaSpec can generate fixture native_modules_with_type_al Map { "java/com/facebook/fbreact/specs/AliasTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -161,10 +161,10 @@ exports[`GenerateModuleJavaSpec can generate fixture real_module_example 1`] = ` Map { "java/com/facebook/fbreact/specs/NativeCameraRollManagerSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -203,10 +203,10 @@ public abstract class NativeCameraRollManagerSpec extends ReactContextBaseJavaMo ", "java/com/facebook/fbreact/specs/NativeExceptionsManagerSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -257,10 +257,10 @@ exports[`GenerateModuleJavaSpec can generate fixture simple_native_modules 1`] = Map { "java/com/facebook/fbreact/specs/NativeSampleTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -369,10 +369,10 @@ exports[`GenerateModuleJavaSpec can generate fixture two_modules_different_files Map { "java/com/facebook/fbreact/specs/NativeSampleTurboModuleSpec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * @@ -400,10 +400,10 @@ public abstract class NativeSampleTurboModuleSpec extends ReactContextBaseJavaMo ", "java/com/facebook/fbreact/specs/NativeSampleTurboModule2Spec.java" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJavaSpec.js * diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniCpp-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniCpp-test.js.snap index 422d7742d7e2c7..bcec9b13ef8271 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniCpp-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateModuleJniCpp can generate fixture SampleWithUppercaseName 1`] = Map { "jni/SampleWithUppercaseName-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -41,10 +41,10 @@ exports[`GenerateModuleJniCpp can generate fixture complex_objects 1`] = ` Map { "jni/complex_objects-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -95,10 +95,10 @@ exports[`GenerateModuleJniCpp can generate fixture empty_native_modules 1`] = ` Map { "jni/empty_native_modules-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -132,10 +132,10 @@ exports[`GenerateModuleJniCpp can generate fixture native_modules_with_type_alia Map { "jni/native_modules_with_type_aliases-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -173,10 +173,10 @@ exports[`GenerateModuleJniCpp can generate fixture real_module_example 1`] = ` Map { "jni/real_module_example-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -255,10 +255,10 @@ exports[`GenerateModuleJniCpp can generate fixture simple_native_modules 1`] = ` Map { "jni/simple_native_modules-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ @@ -344,10 +344,10 @@ exports[`GenerateModuleJniCpp can generate fixture two_modules_different_files 1 Map { "jni/two_modules_different_files-generated.cpp" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniCpp.js */ diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniH-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniH-test.js.snap index c36afad39f4ff3..81e5237b295220 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniH-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleJniH-test.js.snap @@ -4,10 +4,10 @@ exports[`GenerateModuleJniH can generate fixture SampleWithUppercaseName 1`] = ` Map { "jni/SampleWithUppercaseName.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -68,10 +68,10 @@ exports[`GenerateModuleJniH can generate fixture complex_objects 1`] = ` Map { "jni/complex_objects.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -132,10 +132,10 @@ exports[`GenerateModuleJniH can generate fixture empty_native_modules 1`] = ` Map { "jni/empty_native_modules.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -196,10 +196,10 @@ exports[`GenerateModuleJniH can generate fixture native_modules_with_type_aliase Map { "jni/native_modules_with_type_aliases.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -260,10 +260,10 @@ exports[`GenerateModuleJniH can generate fixture real_module_example 1`] = ` Map { "jni/real_module_example.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -332,10 +332,10 @@ exports[`GenerateModuleJniH can generate fixture simple_native_modules 1`] = ` Map { "jni/simple_native_modules.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ @@ -396,10 +396,10 @@ exports[`GenerateModuleJniH can generate fixture two_modules_different_files 1`] Map { "jni/two_modules_different_files.h" => " /** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleJniH.js */ diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleMm-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleMm-test.js.snap index 94012c9564a78f..6e9a1acec3870f 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleMm-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleMm-test.js.snap @@ -3,10 +3,10 @@ exports[`GenerateModuleMm can generate fixture SampleWithUppercaseName 1`] = ` Map { "SampleWithUppercaseName-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -35,10 +35,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture complex_objects 1`] = ` Map { "complex_objects-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -128,10 +128,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture empty_native_modules 1`] = ` Map { "empty_native_modules-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -160,10 +160,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture native_modules_with_type_aliases 1`] = ` Map { "native_modules_with_type_aliases-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -220,10 +220,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture real_module_example 1`] = ` Map { "real_module_example-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -352,10 +352,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture simple_native_modules 1`] = ` Map { "simple_native_modules-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp * @@ -459,10 +459,10 @@ namespace facebook { exports[`GenerateModuleMm can generate fixture two_modules_different_files 1`] = ` Map { "two_modules_different_files-generated.mm" => "/** - * Copyright (c) Meta Platforms, Inc. and affiliates. + * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * Do not edit this file as changes may cause incorrect behavior and will be lost + * once the code is regenerated. * * @generated by codegen project: GenerateModuleObjCpp *