plugin
本頁內容尚未翻譯。
Call Signature
Section titled “Call Signature”function plugin<S extends ConfigSchema, E extends ErrorSchema>( contract: Contract<S, E>, options: ManagedOptions,): Definition<S["Encoded"]>Defined in: index.ts:150
Selects an ordinary module deployment or an artifact-backed managed direct deployment.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
S extends ConfigSchema |
E extends ErrorSchema |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
contract |
Contract<S, E> |
options |
ManagedOptions |
Returns
Section titled “Returns”Definition<S["Encoded"]>
Call Signature
Section titled “Call Signature”function plugin< S extends ConfigSchema, E extends ErrorSchema, D extends readonly Dependency[] = readonly [],>(contract: Contract<S, E>, options: Options<D>): Plugin<S["Encoded"]>Defined in: index.ts:157
Selects an ordinary module deployment or an artifact-backed managed direct deployment.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
S extends ConfigSchema |
- |
E extends ErrorSchema |
- |
D extends readonly Dependency[] |
readonly [] |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
contract |
Contract<S, E> |
options |
Options<D> |
Returns
Section titled “Returns”Plugin<S["Encoded"]>