diff --git a/package.json b/package.json index 04b2673..7af2022 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seobot", - "version": "1.0.8", + "version": "1.0.9", "description": "Client library for the SEObot API", "main": "dist/index.js", "files": [ diff --git a/src/blog/client.ts b/src/blog/client.ts index 3181be1..b713df6 100644 --- a/src/blog/client.ts +++ b/src/blog/client.ts @@ -18,6 +18,7 @@ export class BlogClient { image: short.i, readingTime: short.rt, createdAt: short.cr, + updatedAt: short.up, category: short.c ? { title: short.c.t, diff --git a/src/types/blog/article.ts b/src/types/blog/article.ts index a708925..145002a 100644 --- a/src/types/blog/article.ts +++ b/src/types/blog/article.ts @@ -17,6 +17,7 @@ export interface IArticle { published: boolean; publishedAt: string; createdAt: string; + updatedAt: string; relatedPosts: IRelatedPost[]; image: string; } \ No newline at end of file diff --git a/src/types/blog/articleIndex.ts b/src/types/blog/articleIndex.ts index 7c9246a..de5e259 100644 --- a/src/types/blog/articleIndex.ts +++ b/src/types/blog/articleIndex.ts @@ -6,6 +6,7 @@ export interface IArticleIndexCompressed { i: string; // image rt: number; // readingTime cr: string; // createdAt + up: string; // updatedAt c?: { t: string; }; // category tg?: { t: string; }[]; // tags } @@ -18,6 +19,7 @@ export interface IArticleIndex { image: string; readingTime: number, createdAt: string; + updatedAt: string; category: { title: string; slug: string; } | null; tags: { title: string; slug: string; }[]; } \ No newline at end of file