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

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/README.OpenSource +10 -10
  9. package/harmony/fileUpload/README.md +164 -164
  10. package/harmony/fileUpload/build-profile.json5 +28 -28
  11. package/harmony/fileUpload/hvigorfile.ts +6 -6
  12. package/harmony/fileUpload/index.ets +1 -1
  13. package/harmony/fileUpload/obfuscation-rules.txt +17 -17
  14. package/harmony/fileUpload/oh-package.json5 +11 -11
  15. package/harmony/fileUpload/src/main/cpp/CMakeLists.txt +8 -8
  16. package/harmony/fileUpload/src/main/cpp/FileuploadPackage.h +18 -18
  17. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/BaseReactNativeFileuploadPackage.h +65 -65
  18. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/turbo_modules/RNFileupload.cpp +16 -16
  19. package/harmony/fileUpload/src/main/cpp/generated/RNOH/generated/turbo_modules/RNFileupload.h +16 -16
  20. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ComponentDescriptors.h +22 -22
  21. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.cpp +18 -18
  22. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/EventEmitters.h +19 -19
  23. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.cpp +21 -21
  24. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/Props.h +20 -20
  25. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.cpp +19 -19
  26. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/ShadowNodes.h +25 -25
  27. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.cpp +18 -18
  28. package/harmony/fileUpload/src/main/cpp/generated/react/renderer/components/react_native_fileupload/States.h +22 -22
  29. package/harmony/fileUpload/src/main/ets/FileUpLoadModule.ts +109 -106
  30. package/harmony/fileUpload/src/main/ets/FileUpLoadPackage.ts +46 -46
  31. package/harmony/fileUpload/src/main/ets/Logger.ts +63 -63
  32. package/harmony/fileUpload/src/main/ets/generated/components/ts.ts +5 -5
  33. package/harmony/fileUpload/src/main/ets/generated/index.ets +5 -5
  34. package/harmony/fileUpload/src/main/ets/generated/ts.ts +6 -6
  35. package/harmony/fileUpload/src/main/ets/generated/turboModules/RNFileupload.ts +14 -14
  36. package/harmony/fileUpload/src/main/ets/generated/turboModules/ts.ts +5 -5
  37. package/harmony/fileUpload/src/main/module.json5 +11 -11
  38. package/harmony/fileUpload/src/main/resources/base/element/string.json +8 -8
  39. package/harmony/fileUpload/src/main/resources/en_US/element/string.json +8 -8
  40. package/harmony/fileUpload/src/main/resources/zh_CN/element/string.json +8 -8
  41. package/harmony/fileUpload/src/test/List.test.ets +4 -4
  42. package/harmony/fileUpload/src/test/LocalUnit.test.ets +32 -32
  43. package/harmony/fileUpload/ts.ts +1 -1
  44. package/harmony/fileupload.har +0 -0
  45. package/index.js +1 -1
  46. package/package.json +51 -43
  47. package/harmony/fileUpload/OAT.xml +0 -38
@@ -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.1-beta.2",
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
@@ -1,25 +1,25 @@
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: GenerateShadowNodeH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
14
- #include <react/renderer/components/react_native_fileupload/Props.h>
15
- #include <react/renderer/components/react_native_fileupload/States.h>
16
- #include <react/renderer/components/view/ConcreteViewShadowNode.h>
17
- #include <jsi/jsi.h>
18
-
19
- namespace facebook {
20
- namespace react {
21
-
22
-
23
-
24
- } // namespace react
25
- } // 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: GenerateShadowNodeH.js
9
+ */
10
+
11
+ #pragma once
12
+
13
+ #include <react/renderer/components/react_native_fileupload/EventEmitters.h>
14
+ #include <react/renderer/components/react_native_fileupload/Props.h>
15
+ #include <react/renderer/components/react_native_fileupload/States.h>
16
+ #include <react/renderer/components/view/ConcreteViewShadowNode.h>
17
+ #include <jsi/jsi.h>
18
+
19
+ namespace facebook {
20
+ namespace react {
21
+
22
+
23
+
24
+ } // namespace react
25
+ } // 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: GenerateStateCpp.js
9
- */
10
- #include <react/renderer/components/react_native_fileupload/States.h>
11
-
12
- namespace facebook {
13
- namespace react {
14
-
15
-
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: GenerateStateCpp.js
9
+ */
10
+ #include <react/renderer/components/react_native_fileupload/States.h>
11
+
12
+ namespace facebook {
13
+ namespace react {
14
+
15
+
16
+
17
+ } // namespace react
18
+ } // namespace facebook
@@ -1,23 +1,23 @@
1
- /**
2
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
- *
4
- * Do not edit this file as changes may cause incorrect behavior and will be lost
5
- * once the code is regenerated.
6
- *
7
- * @generated by codegen project: GenerateStateH.js
8
- */
9
- #pragma once
10
-
11
- #ifdef ANDROID
12
- #include <folly/dynamic.h>
13
- #include <react/renderer/mapbuffer/MapBuffer.h>
14
- #include <react/renderer/mapbuffer/MapBufferBuilder.h>
15
- #endif
16
-
17
- namespace facebook {
18
- namespace react {
19
-
20
-
21
-
22
- } // namespace react
1
+ /**
2
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
+ *
4
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
5
+ * once the code is regenerated.
6
+ *
7
+ * @generated by codegen project: GenerateStateH.js
8
+ */
9
+ #pragma once
10
+
11
+ #ifdef ANDROID
12
+ #include <folly/dynamic.h>
13
+ #include <react/renderer/mapbuffer/MapBuffer.h>
14
+ #include <react/renderer/mapbuffer/MapBufferBuilder.h>
15
+ #endif
16
+
17
+ namespace facebook {
18
+ namespace react {
19
+
20
+
21
+
22
+ } // namespace react
23
23
  } // namespace facebook