@react-native-ohos/react-native-fileupload 1.2.0-rc.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +7 -7
  2. package/COMMITTERS.md +6 -6
  3. package/LICENSE +20 -20
  4. package/NativeRNFileupload.ts +7 -7
  5. package/README.OpenSource +10 -10
  6. package/README.md +9 -9
  7. package/harmony/fileUpload/LICENSE +19 -19
  8. package/harmony/fileUpload/OAT.xml +37 -37
  9. package/harmony/fileUpload/README.OpenSource +10 -10
  10. package/harmony/fileUpload/README.md +164 -164
  11. package/harmony/fileUpload/build-profile.json5 +28 -28
  12. package/harmony/fileUpload/hvigorfile.ts +6 -6
  13. package/harmony/fileUpload/index.ets +1 -1
  14. package/harmony/fileUpload/obfuscation-rules.txt +17 -17
  15. package/harmony/fileUpload/oh-package.json5 +11 -11
  16. package/harmony/fileUpload/src/main/cpp/CMakeLists.txt +8 -8
  17. package/harmony/fileUpload/src/main/cpp/FileuploadPackage.h +18 -18
  18. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/BaseReactNativeFileuploadPackage.h +65 -65
  19. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/turbo_modules/RNFileupload.cpp +16 -16
  20. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/turbo_modules/RNFileupload.h +16 -16
  21. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ComponentDescriptors.h +22 -22
  22. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.cpp +18 -18
  23. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.h +19 -19
  24. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.cpp +21 -21
  25. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.h +20 -20
  26. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.cpp +19 -19
  27. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.h +25 -25
  28. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.cpp +18 -18
  29. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.h +22 -22
  30. package/harmony/fileUpload/src/main/ets/FileUpLoadModule.ts +106 -106
  31. package/harmony/fileUpload/src/main/ets/FileUpLoadPackage.ts +46 -46
  32. package/harmony/fileUpload/src/main/ets/Logger.ts +63 -63
  33. package/harmony/fileUpload/src/main/ets/generated/components/ts.ts +5 -5
  34. package/harmony/fileUpload/src/main/ets/generated/index.ets +5 -5
  35. package/harmony/fileUpload/src/main/ets/generated/ts.ts +6 -6
  36. package/harmony/fileUpload/src/main/ets/generated/turboModules/RNFileupload.ts +14 -14
  37. package/harmony/fileUpload/src/main/ets/generated/turboModules/ts.ts +5 -5
  38. package/harmony/fileUpload/src/main/module.json5 +11 -11
  39. package/harmony/fileUpload/src/main/resources/base/element/string.json +8 -8
  40. package/harmony/fileUpload/src/main/resources/en_US/element/string.json +8 -8
  41. package/harmony/fileUpload/src/main/resources/zh_CN/element/string.json +8 -8
  42. package/harmony/fileUpload/src/test/List.test.ets +4 -4
  43. package/harmony/fileUpload/src/test/LocalUnit.test.ets +32 -32
  44. package/harmony/fileUpload/ts.ts +1 -1
  45. package/harmony/fileupload.har +0 -0
  46. package/index.js +1 -1
  47. package/package.json +42 -42
@@ -1,28 +1,28 @@
1
- {
2
- "apiType": "stageMode",
3
- "buildOption": {
4
- },
5
- "buildOptionSet": [
6
- {
7
- "name": "release",
8
- "arkOptions": {
9
- "obfuscation": {
10
- "ruleOptions": {
11
- "enable": true,
12
- "files": [
13
- "./obfuscation-rules.txt"
14
- ]
15
- },
16
- "consumerFiles": [
17
- "./consumer-rules.txt"
18
- ]
19
- }
20
- },
21
- },
22
- ],
23
- "targets": [
24
- {
25
- "name": "default"
26
- }
27
- ]
28
- }
1
+ {
2
+ "apiType": "stageMode",
3
+ "buildOption": {
4
+ },
5
+ "buildOptionSet": [
6
+ {
7
+ "name": "release",
8
+ "arkOptions": {
9
+ "obfuscation": {
10
+ "ruleOptions": {
11
+ "enable": true,
12
+ "files": [
13
+ "./obfuscation-rules.txt"
14
+ ]
15
+ },
16
+ "consumerFiles": [
17
+ "./consumer-rules.txt"
18
+ ]
19
+ }
20
+ },
21
+ },
22
+ ],
23
+ "targets": [
24
+ {
25
+ "name": "default"
26
+ }
27
+ ]
28
+ }
@@ -1,6 +1,6 @@
1
- import { harTasks } from '@ohos/hvigor-ohos-plugin';
2
-
3
- export default {
4
- system: harTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
5
- plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
6
- }
1
+ import { harTasks } from '@ohos/hvigor-ohos-plugin';
2
+
3
+ export default {
4
+ system: harTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
5
+ plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
6
+ }
@@ -1 +1 @@
1
- export * from "./ts";
1
+ export * from "./ts";
@@ -1,18 +1,18 @@
1
- # Define project specific obfuscation rules here.
2
- # You can include the obfuscation configuration files in the current module's build-profile.json5.
3
- #
4
- # For more details, see
5
- # https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
6
-
7
- # Obfuscation options:
8
- # -disable-obfuscation: disable all obfuscations
9
- # -enable-property-obfuscation: obfuscate the property names
10
- # -enable-toplevel-obfuscation: obfuscate the names in the global scope
11
- # -compact: remove unnecessary blank spaces and all line feeds
12
- # -remove-log: remove all console.* statements
13
- # -print-namecache: print the name cache that contains the mapping from the old names to new names
14
- # -apply-namecache: reuse the given cache file
15
-
16
- # Keep options:
17
- # -keep-property-name: specifies property names that you want to keep
1
+ # Define project specific obfuscation rules here.
2
+ # You can include the obfuscation configuration files in the current module's build-profile.json5.
3
+ #
4
+ # For more details, see
5
+ # https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
6
+
7
+ # Obfuscation options:
8
+ # -disable-obfuscation: disable all obfuscations
9
+ # -enable-property-obfuscation: obfuscate the property names
10
+ # -enable-toplevel-obfuscation: obfuscate the names in the global scope
11
+ # -compact: remove unnecessary blank spaces and all line feeds
12
+ # -remove-log: remove all console.* statements
13
+ # -print-namecache: print the name cache that contains the mapping from the old names to new names
14
+ # -apply-namecache: reuse the given cache file
15
+
16
+ # Keep options:
17
+ # -keep-property-name: specifies property names that you want to keep
18
18
  # -keep-global-name: specifies names that you want to keep in the global scope
@@ -1,11 +1,11 @@
1
- {
2
- "name": "@react-native-ohos/react-native-fileupload",
3
- "version": "1.2.0-rc.1",
4
- "description": "A file upload plugin for react-native.",
5
- "main": "index.ets",
6
- "author": "",
7
- "license": "MIT",
8
- "dependencies": {
9
- "@rnoh/react-native-openharmony": "file:../react_native_openharmony"
10
- }
11
- }
1
+ {
2
+ "name": "@react-native-ohos/react-native-fileupload",
3
+ "version": "1.2.0",
4
+ "description": "A file upload plugin for react-native.",
5
+ "main": "index.ets",
6
+ "author": "",
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@rnoh/react-native-openharmony": "file:../react_native_openharmony"
10
+ }
11
+ }
@@ -1,9 +1,9 @@
1
- cmake_minimum_required(VERSION 3.13)
2
- set(CMAKE_VERBOSE_MAKEFILE on)
3
-
4
- set(rnoh_fileupload_generated_dir "${CMAKE_CURRENT_SOURCE_DIR}/generated")
5
- file(GLOB_RECURSE rnoh_fileupload_generated_SRC "${rnoh_fileupload_generated_dir}/**/*.cpp")
6
- file(GLOB rnoh_fileupload_SRC CONFIGURE_DEPENDS *.cpp)
7
- add_library(rnoh_fileupload SHARED ${rnoh_fileupload_SRC} ${rnoh_fileupload_generated_SRC})
8
- target_include_directories(rnoh_fileupload PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${rnoh_fileupload_generated_dir} ${CMAKE_CURRENT_SOURCE_DIR}/generated/RNOH/generated)
1
+ cmake_minimum_required(VERSION 3.13)
2
+ set(CMAKE_VERBOSE_MAKEFILE on)
3
+
4
+ set(rnoh_fileupload_generated_dir "${CMAKE_CURRENT_SOURCE_DIR}/generated")
5
+ file(GLOB_RECURSE rnoh_fileupload_generated_SRC "${rnoh_fileupload_generated_dir}/**/*.cpp")
6
+ file(GLOB rnoh_fileupload_SRC CONFIGURE_DEPENDS *.cpp)
7
+ add_library(rnoh_fileupload SHARED ${rnoh_fileupload_SRC} ${rnoh_fileupload_generated_SRC})
8
+ target_include_directories(rnoh_fileupload PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${rnoh_fileupload_generated_dir} ${CMAKE_CURRENT_SOURCE_DIR}/generated/RNOH/generated)
9
9
  target_link_libraries(rnoh_fileupload PUBLIC rnoh)
@@ -1,19 +1,19 @@
1
- // Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
2
- // Use of this source code is governed by a MIT license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef FILEUPLOADPACKAGE_H
6
- #define FILEUPLOADPACKAGE_H
7
-
8
-
9
- #include "generated/RNOH/generated/BaseReactNativeFileuploadPackage.h"
10
- #pragma once
11
-
12
-
13
- namespace rnoh {
14
- class FileuploadPackage : public BaseReactNativeFileuploadPackage {
15
- using Super = BaseReactNativeFileuploadPackage;
16
- using Super::Super;
17
- };
18
- } // namespace rnoh
1
+ // Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved
2
+ // Use of this source code is governed by a MIT license that can be
3
+ // found in the LICENSE file.
4
+
5
+ #ifndef FILEUPLOADPACKAGE_H
6
+ #define FILEUPLOADPACKAGE_H
7
+
8
+
9
+ #include "generated/RNOH/generated/BaseReactNativeFileuploadPackage.h"
10
+ #pragma once
11
+
12
+
13
+ namespace rnoh {
14
+ class FileuploadPackage : public BaseReactNativeFileuploadPackage {
15
+ using Super = BaseReactNativeFileuploadPackage;
16
+ using Super::Super;
17
+ };
18
+ } // namespace rnoh
19
19
  #endif //FILEUPLOADPACKAGE_H
@@ -1,65 +1,65 @@
1
- /**
2
- * This code was generated by "react-native codegen-lib-harmony"
3
- */
4
-
5
- #pragma once
6
-
7
- #include "RNOH/Package.h"
8
- #include "RNOH/ArkTSTurboModule.h"
9
- #include "RNOH/generated/turbo_modules/RNFileupload.h"
10
-
11
- namespace rnoh {
12
-
13
- class BaseReactNativeFileuploadPackageTurboModuleFactoryDelegate : public TurboModuleFactoryDelegate {
14
- public:
15
- SharedTurboModule createTurboModule(Context ctx, const std::string &name) const override {
16
- if (name == "RNFileupload") {
17
- return std::make_shared<RNFileupload>(ctx, name);
18
- }
19
- return nullptr;
20
- };
21
- };
22
-
23
- class BaseReactNativeFileuploadPackageEventEmitRequestHandler : public EventEmitRequestHandler {
24
- public:
25
- void handleEvent(Context const &ctx) override {
26
- auto eventEmitter = ctx.shadowViewRegistry->getEventEmitter<facebook::react::EventEmitter>(ctx.tag);
27
- if (eventEmitter == nullptr) {
28
- return;
29
- }
30
-
31
- std::vector<std::string> supportedEventNames = {
32
- };
33
- if (std::find(supportedEventNames.begin(), supportedEventNames.end(), ctx.eventName) != supportedEventNames.end()) {
34
- eventEmitter->dispatchEvent(ctx.eventName, ArkJS(ctx.env).getDynamic(ctx.payload));
35
- }
36
- }
37
- };
38
-
39
-
40
- class BaseReactNativeFileuploadPackage : public Package {
41
- public:
42
- BaseReactNativeFileuploadPackage(Package::Context ctx) : Package(ctx){};
43
-
44
- std::unique_ptr<TurboModuleFactoryDelegate> createTurboModuleFactoryDelegate() override {
45
- return std::make_unique<BaseReactNativeFileuploadPackageTurboModuleFactoryDelegate>();
46
- }
47
-
48
- std::vector<facebook::react::ComponentDescriptorProvider> createComponentDescriptorProviders() override {
49
- return {
50
- };
51
- }
52
-
53
- ComponentJSIBinderByString createComponentJSIBinderByName() override {
54
- return {
55
- };
56
- };
57
-
58
- EventEmitRequestHandlers createEventEmitRequestHandlers() override {
59
- return {
60
- std::make_shared<BaseReactNativeFileuploadPackageEventEmitRequestHandler>(),
61
- };
62
- }
63
- };
64
-
65
- } // namespace rnoh
1
+ /**
2
+ * This code was generated by "react-native codegen-lib-harmony"
3
+ */
4
+
5
+ #pragma once
6
+
7
+ #include "RNOH/Package.h"
8
+ #include "RNOH/ArkTSTurboModule.h"
9
+ #include "RNOH/generated/turbo_modules/RNFileupload.h"
10
+
11
+ namespace rnoh {
12
+
13
+ class BaseReactNativeFileuploadPackageTurboModuleFactoryDelegate : public TurboModuleFactoryDelegate {
14
+ public:
15
+ SharedTurboModule createTurboModule(Context ctx, const std::string &name) const override {
16
+ if (name == "RNFileupload") {
17
+ return std::make_shared<RNFileupload>(ctx, name);
18
+ }
19
+ return nullptr;
20
+ };
21
+ };
22
+
23
+ class BaseReactNativeFileuploadPackageEventEmitRequestHandler : public EventEmitRequestHandler {
24
+ public:
25
+ void handleEvent(Context const &ctx) override {
26
+ auto eventEmitter = ctx.shadowViewRegistry->getEventEmitter<facebook::react::EventEmitter>(ctx.tag);
27
+ if (eventEmitter == nullptr) {
28
+ return;
29
+ }
30
+
31
+ std::vector<std::string> supportedEventNames = {
32
+ };
33
+ if (std::find(supportedEventNames.begin(), supportedEventNames.end(), ctx.eventName) != supportedEventNames.end()) {
34
+ eventEmitter->dispatchEvent(ctx.eventName, ArkJS(ctx.env).getDynamic(ctx.payload));
35
+ }
36
+ }
37
+ };
38
+
39
+
40
+ class BaseReactNativeFileuploadPackage : public Package {
41
+ public:
42
+ BaseReactNativeFileuploadPackage(Package::Context ctx) : Package(ctx){};
43
+
44
+ std::unique_ptr<TurboModuleFactoryDelegate> createTurboModuleFactoryDelegate() override {
45
+ return std::make_unique<BaseReactNativeFileuploadPackageTurboModuleFactoryDelegate>();
46
+ }
47
+
48
+ std::vector<facebook::react::ComponentDescriptorProvider> createComponentDescriptorProviders() override {
49
+ return {
50
+ };
51
+ }
52
+
53
+ ComponentJSIBinderByString createComponentJSIBinderByName() override {
54
+ return {
55
+ };
56
+ };
57
+
58
+ EventEmitRequestHandlers createEventEmitRequestHandlers() override {
59
+ return {
60
+ std::make_shared<BaseReactNativeFileuploadPackageEventEmitRequestHandler>(),
61
+ };
62
+ }
63
+ };
64
+
65
+ } // namespace rnoh
@@ -1,16 +1,16 @@
1
- /**
2
- * This code was generated by "react-native codegen-lib-harmony"
3
- */
4
-
5
- #include "RNFileupload.h"
6
-
7
- namespace rnoh {
8
- using namespace facebook;
9
-
10
- RNFileupload::RNFileupload(const ArkTSTurboModule::Context ctx, const std::string name) : ArkTSTurboModule(ctx, name) {
11
- methodMap_ = {
12
- ARK_METHOD_METADATA(upload, 2),
13
- };
14
- }
15
-
16
- } // namespace rnoh
1
+ /**
2
+ * This code was generated by "react-native codegen-lib-harmony"
3
+ */
4
+
5
+ #include "RNFileupload.h"
6
+
7
+ namespace rnoh {
8
+ using namespace facebook;
9
+
10
+ RNFileupload::RNFileupload(const ArkTSTurboModule::Context ctx, const std::string name) : ArkTSTurboModule(ctx, name) {
11
+ methodMap_ = {
12
+ ARK_METHOD_METADATA(upload, 2),
13
+ };
14
+ }
15
+
16
+ } // namespace rnoh
@@ -1,16 +1,16 @@
1
- /**
2
- * This code was generated by "react-native codegen-lib-harmony"
3
- */
4
-
5
- #pragma once
6
-
7
- #include "RNOH/ArkTSTurboModule.h"
8
-
9
- namespace rnoh {
10
-
11
- class JSI_EXPORT RNFileupload : public ArkTSTurboModule {
12
- public:
13
- RNFileupload(const ArkTSTurboModule::Context ctx, const std::string name);
14
- };
15
-
16
- } // namespace rnoh
1
+ /**
2
+ * This code was generated by "react-native codegen-lib-harmony"
3
+ */
4
+
5
+ #pragma once
6
+
7
+ #include "RNOH/ArkTSTurboModule.h"
8
+
9
+ namespace rnoh {
10
+
11
+ class JSI_EXPORT RNFileupload : public ArkTSTurboModule {
12
+ public:
13
+ RNFileupload(const ArkTSTurboModule::Context ctx, const std::string name);
14
+ };
15
+
16
+ } // namespace rnoh
@@ -1,22 +1,22 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateComponentDescriptorH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
14
- #include <react/renderer/core/ConcreteComponentDescriptor.h>
15
-
16
- namespace facebook {
17
- namespace react {
18
-
19
-
20
-
21
- } // namespace react
22
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateComponentDescriptorH.js
9
+ */
10
+
11
+ #pragma once
12
+
13
+ #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
14
+ #include <react/renderer/core/ConcreteComponentDescriptor.h>
15
+
16
+ namespace facebook {
17
+ namespace react {
18
+
19
+
20
+
21
+ } // namespace react
22
+ } // namespace facebook
@@ -1,18 +1,18 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
- } // namespace react
18
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateEventEmitterCpp.js
9
+ */
10
+
11
+ #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
12
+
13
+
14
+ namespace facebook {
15
+ namespace react {
16
+
17
+ } // namespace react
18
+ } // namespace facebook
@@ -1,19 +1,19 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateEventEmitterH.js
9
- */
10
- #pragma once
11
-
12
- #include <react/renderer/components/view/ViewEventEmitter.h>
13
-
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
- } // namespace react
19
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateEventEmitterH.js
9
+ */
10
+ #pragma once
11
+
12
+ #include <react/renderer/components/view/ViewEventEmitter.h>
13
+
14
+
15
+ namespace facebook {
16
+ namespace react {
17
+
18
+ } // namespace react
19
+ } // namespace facebook
@@ -1,21 +1,21 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/Props.h>
12
- #include <react/renderer/core/PropsParserContext.h>
13
- #include <react/renderer/core/propsConversions.h>
14
-
15
- namespace facebook {
16
- namespace react {
17
-
18
-
19
-
20
- } // namespace react
21
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GeneratePropsCpp.js
9
+ */
10
+
11
+ #include <react/renderer/components/react_native_fileupload/Props.h>
12
+ #include <react/renderer/core/PropsParserContext.h>
13
+ #include <react/renderer/core/propsConversions.h>
14
+
15
+ namespace facebook {
16
+ namespace react {
17
+
18
+
19
+
20
+ } // namespace react
21
+ } // namespace facebook
@@ -1,20 +1,20 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsH.js
9
- */
10
- #pragma once
11
-
12
-
13
-
14
- namespace facebook {
15
- namespace react {
16
-
17
-
18
-
19
- } // namespace react
20
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GeneratePropsH.js
9
+ */
10
+ #pragma once
11
+
12
+
13
+
14
+ namespace facebook {
15
+ namespace react {
16
+
17
+
18
+
19
+ } // namespace react
20
+ } // namespace facebook
@@ -1,19 +1,19 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateShadowNodeCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
12
-
13
- namespace facebook {
14
- namespace react {
15
-
16
-
17
-
18
- } // namespace react
19
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateShadowNodeCpp.js
9
+ */
10
+
11
+ #include <react/renderer/components/react_native_fileupload/ShadowNodes.h>
12
+
13
+ namespace facebook {
14
+ namespace react {
15
+
16
+
17
+
18
+ } // namespace react
19
+ } // namespace facebook