@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types 0.0.30 → 0.0.32
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/enum.ts +5 -0
- package/package.json +1 -1
- package/types.d.ts +24 -25
package/enum.ts
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EFishFeedEvents,
|
|
3
|
+
EFishFeedFoodCategory,
|
|
3
4
|
EMachine,
|
|
4
5
|
EOrderStatus,
|
|
5
6
|
EProductStatus,
|
|
@@ -62,6 +63,7 @@ export type TAdmin = {
|
|
|
62
63
|
isDeleted: boolean;
|
|
63
64
|
isBlocked: boolean;
|
|
64
65
|
permissions: string[];
|
|
66
|
+
topics: string[];
|
|
65
67
|
updatedAt: Date;
|
|
66
68
|
createdAt: Date;
|
|
67
69
|
};
|
|
@@ -99,29 +101,6 @@ export type TPostAdminSignInResponse = {
|
|
|
99
101
|
tokens: TJwtToken;
|
|
100
102
|
};
|
|
101
103
|
|
|
102
|
-
export type TPostAdminUpdateBody = {
|
|
103
|
-
id: string;
|
|
104
|
-
password: string;
|
|
105
|
-
isBlocked: boolean;
|
|
106
|
-
permissions: string[];
|
|
107
|
-
isDeleted: boolean;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
export type TPostAdminUpdateResponse = {
|
|
111
|
-
id: string;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
export type TPostAdminCreateBody = {
|
|
115
|
-
username: string;
|
|
116
|
-
password: string;
|
|
117
|
-
isBlocked: boolean;
|
|
118
|
-
permissions: string[];
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export type TPostAdminCreateResponse = {
|
|
122
|
-
id: string;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
104
|
export type TCustomer = {
|
|
126
105
|
_id: string;
|
|
127
106
|
accountNo: string;
|
|
@@ -431,8 +410,6 @@ export type TGetPondDetailQuery = {
|
|
|
431
410
|
id: string;
|
|
432
411
|
};
|
|
433
412
|
|
|
434
|
-
export type TGetPondDetailResponse = TPond;
|
|
435
|
-
|
|
436
413
|
export type TGetPondQuery = {
|
|
437
414
|
limit: number;
|
|
438
415
|
page: number;
|
|
@@ -443,3 +420,25 @@ export type TGetFishFeedQuery = {
|
|
|
443
420
|
limit: number;
|
|
444
421
|
page: number;
|
|
445
422
|
};
|
|
423
|
+
|
|
424
|
+
export type TGetPondDetailQuery = {
|
|
425
|
+
id: string;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
export type TGetPondDetailResponse = {
|
|
429
|
+
pond: TPond;
|
|
430
|
+
quantityOfFeed: number;
|
|
431
|
+
quantityOfDeath: number;
|
|
432
|
+
quantityOfNew: number;
|
|
433
|
+
quantityOfMove: number;
|
|
434
|
+
quantityOfSale: number;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
export type TFishFeedFood = {
|
|
438
|
+
_id: string;
|
|
439
|
+
category: EFishFeedFoodCategory;
|
|
440
|
+
createdAt: Date | null;
|
|
441
|
+
usedAt: Date | null;
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
export type PartialTFishFeedFood = Partial<TFishFeedFood>;
|