Contract
此内容尚不支持你的语言。
Defined in: Contract.ts:48
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:58
config
Section titled “config”readonly config: S;Defined in: Contract.ts:53
readonly error: E;Defined in: Contract.ts:54
inject
Section titled “inject”readonly inject: readonly Service<never, never>[];Defined in: Contract.ts:56
module
Section titled “module”readonly module: string;Defined in: Contract.ts:55
readonly name: string;Defined in: Contract.ts:52
provides
Section titled “provides”readonly provides: readonly Service<never, never>[];Defined in: Contract.ts:57