@mx-space/byline-api-client 0.2.0 → 0.2.1
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -173,6 +173,7 @@ interface Post {
|
|
|
173
173
|
id: string;
|
|
174
174
|
title: string;
|
|
175
175
|
slug: string;
|
|
176
|
+
url?: string;
|
|
176
177
|
text: string;
|
|
177
178
|
content: string | null;
|
|
178
179
|
contentFormat: 'lexical';
|
|
@@ -576,6 +577,7 @@ declare class PostsResource {
|
|
|
576
577
|
}): Promise<ApiResponse<Post, PostResponseMeta>>;
|
|
577
578
|
getPath(slug: string): Promise<ApiResponse<{
|
|
578
579
|
path: string;
|
|
580
|
+
url?: string;
|
|
579
581
|
}, Record<string, unknown>>>;
|
|
580
582
|
findBySlug(slug: string, options?: {
|
|
581
583
|
lang?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -173,6 +173,7 @@ interface Post {
|
|
|
173
173
|
id: string;
|
|
174
174
|
title: string;
|
|
175
175
|
slug: string;
|
|
176
|
+
url?: string;
|
|
176
177
|
text: string;
|
|
177
178
|
content: string | null;
|
|
178
179
|
contentFormat: 'lexical';
|
|
@@ -576,6 +577,7 @@ declare class PostsResource {
|
|
|
576
577
|
}): Promise<ApiResponse<Post, PostResponseMeta>>;
|
|
577
578
|
getPath(slug: string): Promise<ApiResponse<{
|
|
578
579
|
path: string;
|
|
580
|
+
url?: string;
|
|
579
581
|
}, Record<string, unknown>>>;
|
|
580
582
|
findBySlug(slug: string, options?: {
|
|
581
583
|
lang?: string;
|