@back23/promptly-sdk 2.4.0 → 2.5.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.
- package/README.md +19 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,23 @@ const { data: posts } = await client.blog.list();
|
|
|
24
24
|
const products = await client.shop.listProducts();
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
## v2.5.0 Changes
|
|
28
|
+
|
|
29
|
+
### BoardPost 타입 확장
|
|
30
|
+
|
|
31
|
+
게시글에 `is_secret`, `is_mine` 필드가 추가되었습니다.
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
interface BoardPost {
|
|
35
|
+
// ... 기존 필드
|
|
36
|
+
is_notice: boolean; // 공지 여부
|
|
37
|
+
is_secret: boolean; // 비밀글 여부
|
|
38
|
+
is_mine: boolean; // 현재 로그인 사용자의 글 여부
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
27
44
|
## v2.3.1 Changes (Bug Fix)
|
|
28
45
|
|
|
29
46
|
### Dual Authentication Support Fixed
|
|
@@ -823,6 +840,8 @@ interface BoardPost {
|
|
|
823
840
|
author: string;
|
|
824
841
|
views: number;
|
|
825
842
|
is_notice: boolean;
|
|
843
|
+
is_secret: boolean;
|
|
844
|
+
is_mine: boolean;
|
|
826
845
|
is_private: boolean;
|
|
827
846
|
comment_count: number;
|
|
828
847
|
attachments?: Media[];
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED