@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 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
@@ -149,6 +149,8 @@ interface BoardPost {
149
149
  author: string;
150
150
  views: number;
151
151
  is_notice: boolean;
152
+ is_secret: boolean;
153
+ is_mine: boolean;
152
154
  created_at: string;
153
155
  content?: string;
154
156
  updated_at?: string;
package/dist/index.d.ts CHANGED
@@ -149,6 +149,8 @@ interface BoardPost {
149
149
  author: string;
150
150
  views: number;
151
151
  is_notice: boolean;
152
+ is_secret: boolean;
153
+ is_mine: boolean;
152
154
  created_at: string;
153
155
  content?: string;
154
156
  updated_at?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@back23/promptly-sdk",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Promptly AI CMS SDK for JavaScript/TypeScript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",