| 12345678910111213141516171819202122232425262728293031 |
- /**
- * A recursive implementation of the Partial<T> type.
- */
- export type DeepPartial<T> = { [K in keyof T]?: DeepPartial<T[K]> };
- /**
- * Creates a type based on T, but with all properties non-optional
- * and readonly.
- */
- export type ReadOnlyRequired<T> = { +readonly [K in keyof T]-?: T[K] };
- // tslint:disable:ban-types
- /**
- * A type representing the type rather than instance of a class.
- */
- export type Type<T> = {
- new (): T;
- } & Function;
- /**
- * A type describing the shape of a paginated list response
- */
- export type PaginatedList<T> = {
- items: T[];
- totalItems: number;
- };
- /**
- * An entity ID
- */
- export type ID = string | number;
|