@cloudtower/eagle 0.33.20 → 0.33.21

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.
@@ -1,7 +1,7 @@
1
1
  import { CTErrorType as CloudTowerErrorResponse } from "../utils/type";
2
2
  import { AxiosError } from "axios";
3
3
  type ParsedCTErrorItem = {
4
- code?: string;
4
+ code?: string | number;
5
5
  params?: CloudTowerErrorResponse["params"];
6
6
  message?: string;
7
7
  } | {
@@ -1,6 +1,6 @@
1
1
  export type { SizeType as Antd5SizeType } from "antd5/lib/config-provider/SizeContext";
2
2
  export type CTErrorType = {
3
- code?: string;
3
+ code?: string | number;
4
4
  /**
5
5
  * @type array | undefined
6
6
  */
@@ -16,9 +16,9 @@ export type CTErrorType = {
16
16
  [key: string]: any;
17
17
  };
18
18
  /**
19
- * @type string | undefined
19
+ * @type string | number | undefined
20
20
  */
21
- reason?: string;
21
+ reason?: string | number;
22
22
  }[];
23
23
  /**
24
24
  * @type string