spoclip-kit 1.0.22 → 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.
package/dist/index.d.cts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { getClipVideoDownloadCost, getRawVideoDownloadCost, getVideoDownloadCost } from './libs.cjs';
2
- export { TicketCode } from './types.cjs';
2
+ export { T as TicketCode } from './membership-DWX-PuXh.cjs';
3
+ export { APIResponse } from './types.cjs';
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { getClipVideoDownloadCost, getRawVideoDownloadCost, getVideoDownloadCost } from './libs.js';
2
- export { TicketCode } from './types.js';
2
+ export { T as TicketCode } from './membership-DWX-PuXh.js';
3
+ export { APIResponse } from './types.js';
package/dist/libs.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { TicketCode } from './types.cjs';
1
+ import { T as TicketCode } from './membership-DWX-PuXh.cjs';
2
2
 
3
3
  /**
4
4
  * 비디오 다운로드 비용을 계산합니다.
package/dist/libs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TicketCode } from './types.js';
1
+ import { T as TicketCode } from './membership-DWX-PuXh.js';
2
2
 
3
3
  /**
4
4
  * 비디오 다운로드 비용을 계산합니다.
@@ -0,0 +1,3 @@
1
+ type TicketCode = 'PLUS' | 'FREE';
2
+
3
+ export type { TicketCode as T };
@@ -0,0 +1,3 @@
1
+ type TicketCode = 'PLUS' | 'FREE';
2
+
3
+ export type { TicketCode as T };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types/index.ts"],"sourcesContent":["export * from './membership';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/types/index.ts"],"sourcesContent":["export * from './membership';\nexport * from './api';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/dist/types.d.cts CHANGED
@@ -1,3 +1,15 @@
1
- type TicketCode = 'PLUS' | 'FREE';
1
+ export { T as TicketCode } from './membership-DWX-PuXh.cjs';
2
2
 
3
- export type { TicketCode };
3
+ type APIResponse<T> = {
4
+ status: 'success' | 'error';
5
+ code: number;
6
+ data: T;
7
+ timestamp: string;
8
+ path: string;
9
+ error?: {
10
+ message: string;
11
+ details: string | null;
12
+ };
13
+ };
14
+
15
+ export type { APIResponse };
package/dist/types.d.ts CHANGED
@@ -1,3 +1,15 @@
1
- type TicketCode = 'PLUS' | 'FREE';
1
+ export { T as TicketCode } from './membership-DWX-PuXh.js';
2
2
 
3
- export type { TicketCode };
3
+ type APIResponse<T> = {
4
+ status: 'success' | 'error';
5
+ code: number;
6
+ data: T;
7
+ timestamp: string;
8
+ path: string;
9
+ error?: {
10
+ message: string;
11
+ details: string | null;
12
+ };
13
+ };
14
+
15
+ export type { APIResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoclip-kit",
3
- "version": "1.0.22",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript utility library for internal use",
6
6
  "files": [