mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
types
This commit is contained in:
parent
d8dd63170a
commit
50fca7bdf0
@ -287,7 +287,7 @@ export type RuntimeConfigHTTP = Omit<MakeRequired<RC, 'publicKey' | 'application
|
|||||||
export type InternalRuntimeConfig = Omit<MakeRequired<RC, 'intents'>, 'publicKey' | 'port'>;
|
export type InternalRuntimeConfig = Omit<MakeRequired<RC, 'intents'>, 'publicKey' | 'port'>;
|
||||||
export type RuntimeConfig = OmitInsert<InternalRuntimeConfig, 'intents', { intents?: IntentStrings | number }>;
|
export type RuntimeConfig = OmitInsert<InternalRuntimeConfig, 'intents', { intents?: IntentStrings | number }>;
|
||||||
|
|
||||||
export type ServicesOptions = {
|
export interface ServicesOptions {
|
||||||
rest?: ApiHandler;
|
rest?: ApiHandler;
|
||||||
cache?: { adapter?: Adapter; disabledCache?: Cache['disabledCache'] };
|
cache?: { adapter?: Adapter; disabledCache?: Cache['disabledCache'] };
|
||||||
langs?: {
|
langs?: {
|
||||||
@ -295,4 +295,4 @@ export type ServicesOptions = {
|
|||||||
aliases?: Record<string, LocaleString[]>;
|
aliases?: Record<string, LocaleString[]>;
|
||||||
};
|
};
|
||||||
middlewares?: Record<string, MiddlewareContext>;
|
middlewares?: Record<string, MiddlewareContext>;
|
||||||
};
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user