2023-04-28 02:02:05 +03:00
|
|
|
declare namespace Express {
|
|
|
|
interface Request {
|
2024-09-03 12:03:39 +03:00
|
|
|
session?: import('./core/auth/session').Session;
|
2023-04-28 02:02:05 +03:00
|
|
|
}
|
|
|
|
}
|
2024-01-22 10:40:28 +03:00
|
|
|
|
|
|
|
declare type PrimitiveType =
|
|
|
|
| string
|
|
|
|
| number
|
|
|
|
| boolean
|
|
|
|
| symbol
|
|
|
|
| null
|
|
|
|
| undefined;
|
|
|
|
|
2024-05-28 09:43:53 +03:00
|
|
|
declare type UnionToIntersection<T> = (
|
|
|
|
T extends any ? (x: T) => any : never
|
|
|
|
) extends (x: infer R) => any
|
|
|
|
? R
|
|
|
|
: never;
|
|
|
|
|
2024-01-22 10:40:28 +03:00
|
|
|
declare type ConstructorOf<T> = {
|
|
|
|
new (): T;
|
|
|
|
};
|
|
|
|
|
2024-02-23 12:37:13 +03:00
|
|
|
declare type DeepPartial<T> =
|
|
|
|
T extends Array<infer U>
|
|
|
|
? DeepPartial<U>[]
|
|
|
|
: T extends ReadonlyArray<infer U>
|
|
|
|
? ReadonlyArray<DeepPartial<U>>
|
2024-05-28 09:43:53 +03:00
|
|
|
: T extends Record<string, any>
|
2024-02-23 12:37:13 +03:00
|
|
|
? {
|
|
|
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
|
|
}
|
|
|
|
: T;
|
2024-01-22 10:40:28 +03:00
|
|
|
|
|
|
|
declare type AFFiNEModule =
|
|
|
|
| import('@nestjs/common').Type
|
|
|
|
| import('@nestjs/common').DynamicModule;
|