@autoblogwriter/sdk 2.0.6 → 3.0.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 +56 -27
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/dist/{metadata-DUQ3-Hhw.d.ts → metadata-CeyU-t7o.d.ts} +1 -1
- package/dist/{metadata-Ihd3IqKu.d.cts → metadata-D1acl8ZW.d.cts} +1 -1
- package/dist/next.cjs +35 -35
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/next.js +35 -35
- package/dist/next.js.map +1 -1
- package/dist/react.cjs +2 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/revalidate.cjs +5 -5
- package/dist/revalidate.cjs.map +1 -1
- package/dist/revalidate.d.cts +3 -3
- package/dist/revalidate.d.ts +3 -3
- package/dist/revalidate.js +5 -5
- package/dist/revalidate.js.map +1 -1
- package/dist/{types-CCDRs0sO.d.cts → types-ClZVNiGd.d.cts} +4 -4
- package/dist/{types-CCDRs0sO.d.ts → types-ClZVNiGd.d.ts} +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type AuthMode = "bearer" | "x-api-key";
|
|
2
|
-
interface
|
|
2
|
+
interface AutoBlogWriterClientConfig {
|
|
3
3
|
apiUrl: string;
|
|
4
4
|
apiKey: string;
|
|
5
5
|
workspaceId?: string;
|
|
@@ -9,7 +9,7 @@ interface BlogAutoClientConfig {
|
|
|
9
9
|
headers?: Record<string, string>;
|
|
10
10
|
timeoutMs?: number;
|
|
11
11
|
}
|
|
12
|
-
interface InternalClientConfig extends Required<Pick<
|
|
12
|
+
interface InternalClientConfig extends Required<Pick<AutoBlogWriterClientConfig, "apiUrl" | "apiKey">> {
|
|
13
13
|
workspaceId?: string;
|
|
14
14
|
workspaceSlug?: string;
|
|
15
15
|
authMode: AuthMode;
|
|
@@ -79,7 +79,7 @@ interface BuildRobotsOptions {
|
|
|
79
79
|
siteUrl: string;
|
|
80
80
|
sitemapPath?: string;
|
|
81
81
|
}
|
|
82
|
-
interface
|
|
82
|
+
interface AutoBlogWriterRevalidatePayload {
|
|
83
83
|
workspaceSlug: string;
|
|
84
84
|
postSlug?: string | null;
|
|
85
85
|
event: string;
|
|
@@ -97,4 +97,4 @@ interface FetchRequestOptions {
|
|
|
97
97
|
next?: FetchNextConfig;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
export type {
|
|
100
|
+
export type { AutoBlogWriterClientConfig as A, BlogPost as B, FetchRequestOptions as F, InternalClientConfig as I, MetadataRouteSitemap as M, PostsResponse as P, RevalidatePathFn as R, SitemapEntry as S, BuildSitemapOptions as a, BuildRobotsOptions as b, MetadataRouteRobots as c, AuthMode as d, PaginatedList as e, AutoBlogWriterRevalidatePayload as f, RevalidateTagFn as g, FetchNextConfig as h };
|
package/package.json
CHANGED