@@ -26,6 +26,8 @@ namespace margelo::nitro::fastio { class HybridPassThroughStreamSpec; }
26
26
namespace margelo ::nitro::fastio { class HybridWebSocketManagerSpec ; }
27
27
// Forward declaration of `HybridWebSocketSpec` to properly resolve imports.
28
28
namespace margelo ::nitro::fastio { class HybridWebSocketSpec ; }
29
+ // Forward declaration of `NativeFilePickerOptions` to properly resolve imports.
30
+ namespace margelo ::nitro::fastio { struct NativeFilePickerOptions ; }
29
31
30
32
// Forward declarations of Swift defined types
31
33
// Forward declaration of `HybridFileSystemSpecCxx` to properly resolve imports.
@@ -51,12 +53,14 @@ namespace FastIO { class HybridWebSocketSpecCxx; }
51
53
#include " HybridPassThroughStreamSpec.hpp"
52
54
#include " HybridWebSocketManagerSpec.hpp"
53
55
#include " HybridWebSocketSpec.hpp"
56
+ #include " NativeFilePickerOptions.hpp"
54
57
#include < NitroModules/ArrayBuffer.hpp>
55
58
#include < NitroModules/ArrayBufferHolder.hpp>
56
59
#include < NitroModules/PromiseHolder.hpp>
57
60
#include < functional>
58
61
#include < future>
59
62
#include < memory>
63
+ #include < optional>
60
64
#include < string>
61
65
#include < vector>
62
66
@@ -94,6 +98,42 @@ namespace margelo::nitro::fastio::bridge::swift {
94
98
return PromiseHolder<std::vector<std::string>>();
95
99
}
96
100
101
+ // pragma MARK: std::optional<bool>
102
+ /* *
103
+ * Specialized version of `std::optional<bool>`.
104
+ */
105
+ using std__optional_bool_ = std::optional<bool >;
106
+ inline std::optional<bool > create_std__optional_bool_ (const bool & value) {
107
+ return std::optional<bool >(value);
108
+ }
109
+
110
+ // pragma MARK: std::optional<std::string>
111
+ /* *
112
+ * Specialized version of `std::optional<std::string>`.
113
+ */
114
+ using std__optional_std__string_ = std::optional<std::string>;
115
+ inline std::optional<std::string> create_std__optional_std__string_ (const std::string& value) {
116
+ return std::optional<std::string>(value);
117
+ }
118
+
119
+ // pragma MARK: std::optional<std::vector<std::string>>
120
+ /* *
121
+ * Specialized version of `std::optional<std::vector<std::string>>`.
122
+ */
123
+ using std__optional_std__vector_std__string__ = std::optional<std::vector<std::string>>;
124
+ inline std::optional<std::vector<std::string>> create_std__optional_std__vector_std__string__ (const std::vector<std::string>& value) {
125
+ return std::optional<std::vector<std::string>>(value);
126
+ }
127
+
128
+ // pragma MARK: std::optional<NativeFilePickerOptions>
129
+ /* *
130
+ * Specialized version of `std::optional<NativeFilePickerOptions>`.
131
+ */
132
+ using std__optional_NativeFilePickerOptions_ = std::optional<NativeFilePickerOptions>;
133
+ inline std::optional<NativeFilePickerOptions> create_std__optional_NativeFilePickerOptions_ (const NativeFilePickerOptions& value) {
134
+ return std::optional<NativeFilePickerOptions>(value);
135
+ }
136
+
97
137
// pragma MARK: std::shared_ptr<margelo::nitro::fastio::HybridFileSystemSpec>
98
138
/* *
99
139
* Specialized version of `std::shared_ptr<margelo::nitro::fastio::HybridFileSystemSpec>`.
0 commit comments