mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
chore: Remove the of
This commit is contained in:
@@ -69,7 +69,6 @@ export type Utils<Store, Vault, WrapperOverWrite = { const: never }> = {
|
|||||||
}) => Promise<null | string>
|
}) => Promise<null | string>
|
||||||
getSystemSmtp: () => GetSystemSmtp & WrapperOverWrite
|
getSystemSmtp: () => GetSystemSmtp & WrapperOverWrite
|
||||||
host: {
|
host: {
|
||||||
of: (options: { kind: "static" | "single" | "multi"; id: string }) => Host
|
|
||||||
static: (id: string) => StaticHost
|
static: (id: string) => StaticHost
|
||||||
single: (id: string) => SingleHost
|
single: (id: string) => SingleHost
|
||||||
multi: (id: string) => MultiHost
|
multi: (id: string) => MultiHost
|
||||||
@@ -158,8 +157,6 @@ export const utils = <
|
|||||||
new GetSystemSmtp(effects) as GetSystemSmtp & WrapperOverWrite,
|
new GetSystemSmtp(effects) as GetSystemSmtp & WrapperOverWrite,
|
||||||
|
|
||||||
host: {
|
host: {
|
||||||
of: (options: { kind: "static" | "single" | "multi"; id: string }) =>
|
|
||||||
new Host({ ...options, effects }),
|
|
||||||
static: (id: string) => new StaticHost({ id, effects }),
|
static: (id: string) => new StaticHost({ id, effects }),
|
||||||
single: (id: string) => new SingleHost({ id, effects }),
|
single: (id: string) => new SingleHost({ id, effects }),
|
||||||
multi: (id: string) => new MultiHost({ id, effects }),
|
multi: (id: string) => new MultiHost({ id, effects }),
|
||||||
|
|||||||
Reference in New Issue
Block a user