@uniai-fe/uds-templates 0.6.20 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-templates",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -419,7 +419,8 @@ export interface API_Res_LoginRole {
419
419
  }
420
420
 
421
421
  /**
422
- * 로그인 API; 세션정보 응답 데이터
422
+ * 로그인 API; route 내부 세션 token 응답 데이터
423
+ * @deprecated Client-facing 로그인/session 상태 타입에서는 token 필드를 사용하지 않는다. 서비스 route 내부 raw backend 응답 타입은 각 서비스에서 local 선언한다.
423
424
  * @route /auth/user/login
424
425
  * @route /auth/user/refresh
425
426
  * @property {string} token_type 엑세스 토큰 타입 (ex, bearer)
@@ -468,19 +469,17 @@ export interface API_Res_LoginToken {
468
469
  /**
469
470
  * 로그인 API; 응답 성공 데이터
470
471
  * @route /auth/user/login
471
- * @property {string} token_type 엑세스 토큰 타입 (ex, bearer)
472
- * @property {string} access_token 엑세스 토큰
473
- * @property {number} expires_in 토큰 유효기간 (초 단위)
474
- * @property {string} refresh_token 리프레시 토큰
475
- * @property {number} refresh_expires_in 리프레시 토큰 유효기간 (초 단위)
476
472
  * @property {string | null} session_expires_at 세션 만료 일시
477
- * @property {number | null} session_expires_in 세션 유효기간 (초 단위)
478
473
  * @property {API_Res_LoginUserInfo} user_info 로그인 유저 정보
479
474
  * @property {API_Res_LoginGroup[]} [groups] 소속 그룹 목록
480
475
  * @property {API_Res_LoginGroup[]} [ancestor_groups] 상위 그룹 목록
481
476
  * @property {API_Res_LoginRole[]} [roles] 역할 목록
482
477
  */
483
- export interface API_Res_LoginData extends API_Res_LoginToken {
478
+ export interface API_Res_LoginData {
479
+ /**
480
+ * 세션 만료 일시
481
+ */
482
+ session_expires_at: string | null;
484
483
  /**
485
484
  * 로그인 유저 정보
486
485
  */