@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types 0.0.31 → 0.0.33

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.
Files changed (3) hide show
  1. package/enum.ts +5 -0
  2. package/package.json +1 -1
  3. package/types.d.ts +13 -21
package/enum.ts CHANGED
@@ -43,3 +43,8 @@ export enum EFishFeedEvents {
43
43
  MOVE = "MOVE",
44
44
  SALE = "SALE",
45
45
  }
46
+
47
+ export enum EFishFeedFoodCategory {
48
+ SMALL = "SMALL",
49
+ BIG = "BIG",
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
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,27 +101,8 @@ 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;
104
+ export type TPostAdminChangePasswordBody = {
116
105
  password: string;
117
- isBlocked: boolean;
118
- permissions: string[];
119
- };
120
-
121
- export type TPostAdminCreateResponse = {
122
- id: string;
123
106
  };
124
107
 
125
108
  export type TCustomer = {
@@ -447,10 +430,19 @@ export type TGetPondDetailQuery = {
447
430
  };
448
431
 
449
432
  export type TGetPondDetailResponse = {
450
- pond:TPond;
433
+ pond: TPond;
451
434
  quantityOfFeed: number;
452
435
  quantityOfDeath: number;
453
436
  quantityOfNew: number;
454
437
  quantityOfMove: number;
455
438
  quantityOfSale: number;
456
439
  };
440
+
441
+ export type TFishFeedFood = {
442
+ _id: string;
443
+ category: EFishFeedFoodCategory;
444
+ createdAt: Date | null;
445
+ usedAt: Date | null;
446
+ };
447
+
448
+ export type PartialTFishFeedFood = Partial<TFishFeedFood>;