@uniai-fe/util-api 0.1.3 → 0.1.4

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.
@@ -23,7 +23,7 @@ type API_Res_Status = "success" | "fail" | "timeout" | string;
23
23
  * API Response Types; Base 응답 구조
24
24
  * @template {unknown} ResultDataType
25
25
  * @property {API_Res_Status} status 통신 상태
26
- * @property {ResultDataType | null} data 요청 응답 데이터
26
+ * @property {ResultDataType} data 요청 응답 데이터
27
27
  * @property {API_Res_Error[]} errors 에러 목록
28
28
  * @property {string} [timestamp] 응답 시간(UTC ISO 문자열)
29
29
  * @example
@@ -37,7 +37,7 @@ interface API_Res_Base<ResultDataType> {
37
37
  /**
38
38
  * 요청 응답 데이터
39
39
  */
40
- data: ResultDataType | null;
40
+ data: ResultDataType;
41
41
  /**
42
42
  * 에러 목록
43
43
  */
@@ -23,7 +23,7 @@ type API_Res_Status = "success" | "fail" | "timeout" | string;
23
23
  * API Response Types; Base 응답 구조
24
24
  * @template {unknown} ResultDataType
25
25
  * @property {API_Res_Status} status 통신 상태
26
- * @property {ResultDataType | null} data 요청 응답 데이터
26
+ * @property {ResultDataType} data 요청 응답 데이터
27
27
  * @property {API_Res_Error[]} errors 에러 목록
28
28
  * @property {string} [timestamp] 응답 시간(UTC ISO 문자열)
29
29
  * @example
@@ -37,7 +37,7 @@ interface API_Res_Base<ResultDataType> {
37
37
  /**
38
38
  * 요청 응답 데이터
39
39
  */
40
- data: ResultDataType | null;
40
+ data: ResultDataType;
41
41
  /**
42
42
  * 에러 목록
43
43
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/util-api",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "API contract types and framework-agnostic utilities for UNIAI FE projects",
5
5
  "type": "module",
6
6
  "private": false,