Function: deploy()
Call Signature
deploy<
TInput
,TOutput
>(path
,options
?):Promise
<Application
<TInput
,TOutput
>>
Deploy the application to the Dasha.AI platform, performing the necessary preparation steps.
TODO: list what's exactly happening
This overload is only implemented for Node.js.
Type Parameters
• TInput extends Record
<string
, unknown
> = Record
<string
, unknown
>
• TOutput extends Record
<string
, unknown
> = Record
<string
, unknown
>
Parameters
path
string
path to the application directory
options?
Returns
Promise
<Application
<TInput
, TOutput
>>
Call Signature
deploy<
TInput
,TOutput
>(zip
,options
?):Promise
<Application
<TInput
,TOutput
>>
Deploy the application to the Dasha.AI platform, performing the necessary preparation steps.
TODO: list what's exactly happening
Type Parameters
• TInput extends Record
<string
, unknown
> = Record
<string
, unknown
>
• TOutput extends Record
<string
, unknown
> = Record
<string
, unknown
>
Parameters
zip
Uint8Array
the application packed into a ZIP archive
options?
Returns
Promise
<Application
<TInput
, TOutput
>>