@onereach/types-contacts-api 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +8 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -3,6 +3,14 @@ declare function IntersectionType<A, B>(classARef: A, classBRef: B): A & B;
|
|
|
3
3
|
declare function PartialType<T>(classRef: T): Partial<T>;
|
|
4
4
|
declare function PickType<T, K extends keyof T>(classRef: T, keys: readonly K[]): Pick<T, typeof keys[number]>;
|
|
5
5
|
|
|
6
|
+
export interface ContactBookListDto extends ListApiResponse {
|
|
7
|
+
items: ContactBookResponseDto[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface ListApiResponse {
|
|
11
|
+
total: number;
|
|
12
|
+
}
|
|
13
|
+
|
|
6
14
|
export interface ContactBookResponseDto extends CreateContactBookDto {
|
|
7
15
|
id: number;
|
|
8
16
|
created: Date;
|