@ject-2-test/backend-api-client 1.0.0 → 1.1.0

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.
@@ -16,9 +16,9 @@ export interface LoginRequest {
16
16
  /**
17
17
  * 사용자 이메일
18
18
  */
19
- 'email'?: string;
19
+ 'email': string;
20
20
  /**
21
21
  * 비밀번호
22
22
  */
23
- 'password'?: string;
23
+ 'password': string;
24
24
  }
@@ -16,9 +16,9 @@ export interface LoginResponse {
16
16
  /**
17
17
  * JWT 액세스 토큰
18
18
  */
19
- 'accessToken'?: string;
19
+ 'accessToken': string;
20
20
  /**
21
21
  * 토큰 타입
22
22
  */
23
- 'tokenType'?: string;
23
+ 'tokenType': string;
24
24
  }
@@ -16,17 +16,17 @@ export interface UserResponse {
16
16
  /**
17
17
  * 사용자 ID
18
18
  */
19
- 'id'?: number;
19
+ 'id': number;
20
20
  /**
21
21
  * 사용자 이름
22
22
  */
23
- 'name'?: string;
23
+ 'name': string;
24
24
  /**
25
25
  * 사용자 이메일
26
26
  */
27
- 'email'?: string;
27
+ 'email': string;
28
28
  /**
29
29
  * 역할
30
30
  */
31
- 'role'?: string;
31
+ 'role': string;
32
32
  }
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@ject-2-test/backend-api-client",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Backend API client generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "files": [
8
- "dist"
9
- ],
7
+ "files": ["dist"],
10
8
  "scripts": {
11
9
  "build": "tsc",
12
10
  "prepublishOnly": "npm run build"