File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,28 @@ interface IConfigHook {
173
173
script : string ;
174
174
}
175
175
176
+ interface IConfigEmbedProps {
177
+ /**
178
+ * Relative path to the platform host project directory.
179
+ */
180
+ hostProjectPath ?: string ;
181
+ /**
182
+ * (Android only) Optional custom module name.
183
+ */
184
+ hostProjectModuleName ?: string ;
185
+ }
186
+
187
+ interface IConfigEmbed extends IConfigEmbedProps {
188
+ /**
189
+ * iOS specific embed configurations
190
+ */
191
+ ios ?: IConfigEmbedProps ;
192
+ /**
193
+ * Android specific embed configurations
194
+ */
195
+ android ?: IConfigEmbedProps ;
196
+ }
197
+
176
198
export interface NativeScriptConfig {
177
199
/**
178
200
* App's bundle id
@@ -202,6 +224,10 @@ export interface NativeScriptConfig {
202
224
* You can override that to use a name of your choice by setting this.
203
225
*/
204
226
projectName ?: string ;
227
+ /**
228
+ * For embedding into existing platform host projects.
229
+ */
230
+ embed ?: IConfigEmbed ;
205
231
/**
206
232
* Custom webpack config path
207
233
* The default is `webpack.config.js` in the root however you can use a custom name and place elsewhere.
You can’t perform that action at this time.
0 commit comments