@hapaul/api 0.1.27 → 0.1.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/dist/index.d.ts +24 -17
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -819,7 +819,13 @@ interface components {
819
819
  /** Format: date-time */
820
820
  updated_at: string;
821
821
  };
822
- FeedingFilterParams: {
822
+ /** @enum {string} */
823
+ FeedingKind: "milkPowder" | "breastMilk" | "leftBreastMilk" | "rightBreastMilk";
824
+ FilterBabiesParams: {
825
+ /** Format: uuid */
826
+ createdBy?: string | null;
827
+ };
828
+ FilterFeedingParams: {
823
829
  /** Format: uuid */
824
830
  babyId?: string | null;
825
831
  /** Format: date-time */
@@ -827,12 +833,6 @@ interface components {
827
833
  /** Format: date-time */
828
834
  to?: string | null;
829
835
  };
830
- /** @enum {string} */
831
- FeedingKind: "milkPowder" | "breastMilk" | "leftBreastMilk" | "rightBreastMilk";
832
- FilterBabiesParams: {
833
- /** Format: uuid */
834
- createdBy?: string | null;
835
- };
836
836
  FilterHealthRecordsParams: {
837
837
  /** Format: uuid */
838
838
  babyId?: string | null;
@@ -893,31 +893,31 @@ interface components {
893
893
  };
894
894
  /** @default null */
895
895
  Null: unknown;
896
- PageableQueryDto_FeedingFilterParams: {
896
+ PageableQueryDto_FilterBabiesParams: {
897
897
  /** Format: int64 */
898
898
  page?: number | null;
899
899
  /** Format: int64 */
900
900
  pageSize?: number | null;
901
901
  filters?: {
902
902
  /** Format: uuid */
903
- babyId?: string | null;
904
- /** Format: date-time */
905
- from?: string | null;
906
- /** Format: date-time */
907
- to?: string | null;
903
+ createdBy?: string | null;
908
904
  };
909
905
  sorts?: components["schemas"]["QuerySortDto_String"][] | null;
910
906
  };
911
- PageableQueryDto_FilterBabiesParams: {
907
+ PageableQueryDto_FilterFeedingParams_SortFeedingParams: {
912
908
  /** Format: int64 */
913
909
  page?: number | null;
914
910
  /** Format: int64 */
915
911
  pageSize?: number | null;
916
912
  filters?: {
917
913
  /** Format: uuid */
918
- createdBy?: string | null;
914
+ babyId?: string | null;
915
+ /** Format: date-time */
916
+ from?: string | null;
917
+ /** Format: date-time */
918
+ to?: string | null;
919
919
  };
920
- sorts?: components["schemas"]["QuerySortDto_String"][] | null;
920
+ sorts?: components["schemas"]["QuerySortDto_SortFeedingParams"][] | null;
921
921
  };
922
922
  PageableQueryDto_FilterHealthRecordsParams: {
923
923
  /** Format: int64 */
@@ -1015,6 +1015,11 @@ interface components {
1015
1015
  field: "name";
1016
1016
  order: components["schemas"]["QueryOrder"];
1017
1017
  };
1018
+ QuerySortDto_SortFeedingParams: {
1019
+ /** @enum {string} */
1020
+ field: "datetime";
1021
+ order: components["schemas"]["QueryOrder"];
1022
+ };
1018
1023
  QuerySortDto_String: {
1019
1024
  field: string;
1020
1025
  order: components["schemas"]["QueryOrder"];
@@ -1243,6 +1248,8 @@ interface components {
1243
1248
  signature: string;
1244
1249
  };
1245
1250
  /** @enum {string} */
1251
+ SortFeedingParams: "datetime";
1252
+ /** @enum {string} */
1246
1253
  ThirdParty: "wechat" | "github";
1247
1254
  UpdateBabyParams: {
1248
1255
  /** Format: uuid */
@@ -2128,7 +2135,7 @@ interface operations {
2128
2135
  };
2129
2136
  requestBody: {
2130
2137
  content: {
2131
- "application/json": components["schemas"]["PageableQueryDto_FeedingFilterParams"];
2138
+ "application/json": components["schemas"]["PageableQueryDto_FilterFeedingParams_SortFeedingParams"];
2132
2139
  };
2133
2140
  };
2134
2141
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapaul/api",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [