Contract
本頁內容尚未翻譯。
Defined in: Contract.ts:59
The shared configuration and service declarations for one remote plugin.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
S extends ConfigSchema |
- |
E extends ErrorSchema |
typeof Schema.Never |
Properties
Section titled “Properties”~@graftland/plugin-remote/Contract
Section titled “~@graftland/plugin-remote/Contract”readonly "~@graftland/plugin-remote/Contract": "~@graftland/plugin-remote/Contract";Defined in: Contract.ts:68
config
Section titled “config”readonly config: S;Defined in: Contract.ts:64
readonly error: E;Defined in: Contract.ts:65
inject
Section titled “inject”readonly inject: readonly Service<never, never>[];Defined in: Contract.ts:66
readonly name: string;Defined in: Contract.ts:63
provides
Section titled “provides”readonly provides: readonly Service<never, never>[];Defined in: Contract.ts:67