@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types 0.0.27 → 0.0.29

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +62 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -276,13 +276,11 @@ export type TDashboardProduct = {
276
276
  };
277
277
 
278
278
  export type TDashboardTimber = {
279
- timbers: {
280
- width: number;
281
- height: number;
282
- feets: {
283
- feet: number;
284
- quantity: number;
285
- }[];
279
+ width: number;
280
+ height: number;
281
+ feets: {
282
+ feet: number;
283
+ quantity: number;
286
284
  }[];
287
285
  };
288
286
 
@@ -379,3 +377,60 @@ export type TTimber = {
379
377
  };
380
378
 
381
379
  export type PartialTTimber = Partial<TTimber>;
380
+
381
+ export type TPostOrderExportToExcelBody = undefined;
382
+
383
+ export type TPostOrderExportToExcelResponse = {
384
+ url: string;
385
+ };
386
+
387
+ export type TPond = {
388
+ _id: string;
389
+ name: string;
390
+ order: number;
391
+ notes: string;
392
+ completedAt: Date | null;
393
+ createdAt: Date;
394
+ };
395
+
396
+ export type TFishFeed = {
397
+ _id: string;
398
+ quantity: number;
399
+ adminId: string;
400
+ pondId: string;
401
+ remark: string;
402
+ fedAt: Date | null;
403
+ updatedAt: Date | null;
404
+ createdAt: Date;
405
+ pond: TPond;
406
+ admin: TAdmin;
407
+ };
408
+
409
+ export type TPostFishFeedCreateBody = {
410
+ quantity: number;
411
+ pondId: string;
412
+ remark: string;
413
+ fedAt: Date;
414
+ };
415
+
416
+ export type TPostFishFeedUpdateBody = {
417
+ id: string;
418
+ quantity: number;
419
+ pondId: string;
420
+ remark: string;
421
+ fedAt: Date;
422
+ };
423
+
424
+ export type PartialTFishFeed = Partial<TFishFeed>;
425
+
426
+ export type TGetPondDetailQuery = {
427
+ id: string;
428
+ };
429
+
430
+ export type TGetPondDetailResponse = TPond;
431
+
432
+ export type TGetPondQuery = {
433
+ limit: number;
434
+ page: number;
435
+ q?: string | undefined;
436
+ };