跳到內容

Contract

本頁內容尚未翻譯。

Defined in: Contract.ts:48

The shared configuration and service declarations for one remote plugin.

Type Parameter Default type
S extends ConfigSchema -
E extends ErrorSchema typeof Schema.Never
readonly "~@graftland/plugin-remote/Contract": "~@graftland/plugin-remote/Contract";

Defined in: Contract.ts:58


readonly config: S;

Defined in: Contract.ts:53


readonly error: E;

Defined in: Contract.ts:54


readonly inject: readonly Service<never, never>[];

Defined in: Contract.ts:56


readonly module: string;

Defined in: Contract.ts:55


readonly name: string;

Defined in: Contract.ts:52


readonly provides: readonly Service<never, never>[];

Defined in: Contract.ts:57