@autoblogwriter/sdk 3.0.3 → 3.0.4
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{metadata-CE4bus6R.d.cts → metadata-DaBB2mdh.d.cts} +1 -1
- package/dist/{metadata-DprVkArj.d.ts → metadata-Du-JkBih.d.ts} +1 -1
- package/dist/next.d.cts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/revalidate.d.cts +1 -1
- package/dist/revalidate.d.ts +1 -1
- package/dist/{types-HIhu-PBU.d.cts → types-DuDmhtM7.d.cts} +12 -0
- package/dist/{types-HIhu-PBU.d.ts → types-DuDmhtM7.d.ts} +12 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-
|
|
2
|
-
export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-
|
|
1
|
+
import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-DuDmhtM7.cjs';
|
|
2
|
+
export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-DuDmhtM7.cjs';
|
|
3
3
|
export { createRevalidateRouteHandler, verifyWebhookSignature } from './revalidate.cjs';
|
|
4
|
-
export { N as NextMetadata, b as buildNextMetadata } from './metadata-
|
|
4
|
+
export { N as NextMetadata, b as buildNextMetadata } from './metadata-DaBB2mdh.cjs';
|
|
5
5
|
|
|
6
6
|
interface AutoBlogWriterClient {
|
|
7
7
|
getPosts(params?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-
|
|
2
|
-
export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-
|
|
1
|
+
import { A as AutoBlogWriterClientConfig, F as FetchRequestOptions, P as PostsResponse, B as BlogPost, a as BuildSitemapOptions, M as MetadataRouteSitemap, b as BuildRobotsOptions, c as MetadataRouteRobots, d as AuthMode, I as InternalClientConfig } from './types-DuDmhtM7.js';
|
|
2
|
+
export { f as AutoBlogWriterRevalidatePayload, h as FetchNextConfig, e as PaginatedList, R as RevalidatePathFn, g as RevalidateTagFn, S as SitemapEntry } from './types-DuDmhtM7.js';
|
|
3
3
|
export { createRevalidateRouteHandler, verifyWebhookSignature } from './revalidate.js';
|
|
4
|
-
export { N as NextMetadata, b as buildNextMetadata } from './metadata-
|
|
4
|
+
export { N as NextMetadata, b as buildNextMetadata } from './metadata-Du-JkBih.js';
|
|
5
5
|
|
|
6
6
|
interface AutoBlogWriterClient {
|
|
7
7
|
getPosts(params?: {
|
package/dist/next.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NextMetadata } from './metadata-
|
|
2
|
-
import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-
|
|
1
|
+
import { N as NextMetadata } from './metadata-DaBB2mdh.cjs';
|
|
2
|
+
import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-DuDmhtM7.cjs';
|
|
3
3
|
|
|
4
4
|
interface FetchBlogPostsOptions {
|
|
5
5
|
limit?: number;
|
package/dist/next.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NextMetadata } from './metadata-
|
|
2
|
-
import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-
|
|
1
|
+
import { N as NextMetadata } from './metadata-Du-JkBih.js';
|
|
2
|
+
import { B as BlogPost, P as PostsResponse, M as MetadataRouteSitemap, c as MetadataRouteRobots } from './types-DuDmhtM7.js';
|
|
3
3
|
|
|
4
4
|
interface FetchBlogPostsOptions {
|
|
5
5
|
limit?: number;
|
package/dist/react.d.cts
CHANGED
package/dist/react.d.ts
CHANGED
package/dist/revalidate.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-
|
|
1
|
+
import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-DuDmhtM7.cjs';
|
|
2
2
|
|
|
3
3
|
interface VerifyWebhookSignatureOptions {
|
|
4
4
|
rawBody: string | Buffer;
|
package/dist/revalidate.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-
|
|
1
|
+
import { R as RevalidatePathFn, g as RevalidateTagFn, f as AutoBlogWriterRevalidatePayload } from './types-DuDmhtM7.js';
|
|
2
2
|
|
|
3
3
|
interface VerifyWebhookSignatureOptions {
|
|
4
4
|
rawBody: string | Buffer;
|
|
@@ -17,6 +17,14 @@ interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig,
|
|
|
17
17
|
headers: Record<string, string>;
|
|
18
18
|
timeoutMs?: number;
|
|
19
19
|
}
|
|
20
|
+
interface BlogPostImageAsset {
|
|
21
|
+
status?: string;
|
|
22
|
+
style?: string;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
url?: string;
|
|
26
|
+
createdAt?: string;
|
|
27
|
+
}
|
|
20
28
|
interface BlogPost {
|
|
21
29
|
id: string;
|
|
22
30
|
title: string;
|
|
@@ -37,6 +45,10 @@ interface BlogPost {
|
|
|
37
45
|
readingTimeMinutes?: number;
|
|
38
46
|
wordCount?: number;
|
|
39
47
|
};
|
|
48
|
+
images?: {
|
|
49
|
+
hero?: BlogPostImageAsset;
|
|
50
|
+
og?: BlogPostImageAsset;
|
|
51
|
+
};
|
|
40
52
|
publishedAt?: string;
|
|
41
53
|
updatedAt: string;
|
|
42
54
|
}
|
|
@@ -17,6 +17,14 @@ interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig,
|
|
|
17
17
|
headers: Record<string, string>;
|
|
18
18
|
timeoutMs?: number;
|
|
19
19
|
}
|
|
20
|
+
interface BlogPostImageAsset {
|
|
21
|
+
status?: string;
|
|
22
|
+
style?: string;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
url?: string;
|
|
26
|
+
createdAt?: string;
|
|
27
|
+
}
|
|
20
28
|
interface BlogPost {
|
|
21
29
|
id: string;
|
|
22
30
|
title: string;
|
|
@@ -37,6 +45,10 @@ interface BlogPost {
|
|
|
37
45
|
readingTimeMinutes?: number;
|
|
38
46
|
wordCount?: number;
|
|
39
47
|
};
|
|
48
|
+
images?: {
|
|
49
|
+
hero?: BlogPostImageAsset;
|
|
50
|
+
og?: BlogPostImageAsset;
|
|
51
|
+
};
|
|
40
52
|
publishedAt?: string;
|
|
41
53
|
updatedAt: string;
|
|
42
54
|
}
|
package/package.json
CHANGED