@janbox/contentful-marketplace-sdk 1.0.20 → 1.0.21
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.
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { PaginatedResponse } from '../utils';
|
|
2
2
|
import { GraphQLAsset, TypeBlogCategorySkeleton } from '../types';
|
|
3
|
+
import { GraphQLSeo } from './seo';
|
|
3
4
|
import { Entry } from 'contentful';
|
|
4
5
|
type BlogCategoryEntry = Entry<TypeBlogCategorySkeleton, "WITHOUT_UNRESOLVABLE_LINKS", string>;
|
|
5
|
-
type GraphQLSeo = {
|
|
6
|
-
metaTitle: string;
|
|
7
|
-
metaDescription: string | null;
|
|
8
|
-
metaKeywords: string[] | null;
|
|
9
|
-
metaRobots: string[] | null;
|
|
10
|
-
};
|
|
11
6
|
export type BlogCategoryGraphQLItem = {
|
|
12
7
|
sys: {
|
|
13
8
|
id: string;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { GraphQLAsset, GraphQLAssetLink, TypeBlogPostSkeleton } from '../types';
|
|
2
2
|
import { PaginatedResponse } from '../utils';
|
|
3
3
|
import { Entry, EntrySys } from 'contentful';
|
|
4
|
+
import { GraphQLSeo } from './seo';
|
|
4
5
|
type BlogPostEntry = Entry<TypeBlogPostSkeleton, "WITHOUT_UNRESOLVABLE_LINKS", string>;
|
|
5
6
|
type GraphQLEntrySys = Pick<EntrySys, "id" | "createdAt" | "updatedAt">;
|
|
6
|
-
type GraphQLSeo = {
|
|
7
|
-
metaTitle: string;
|
|
8
|
-
metaDescription: string | null;
|
|
9
|
-
metaKeywords: string[] | null;
|
|
10
|
-
metaRobots: string[] | null;
|
|
11
|
-
};
|
|
12
7
|
type BlogPostCategoryGraphQLItem = {
|
|
13
8
|
sys: Pick<GraphQLEntrySys, "id">;
|
|
14
9
|
title: string;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { GraphQLAsset, GraphQLAssetLink, TypeDocumentationArticleSkeleton, TypeDocumentationCategorySkeleton } from '../types';
|
|
2
2
|
import { PaginatedResponse } from '../utils';
|
|
3
3
|
import { Entry, EntrySys } from 'contentful';
|
|
4
|
+
import { GraphQLSeo } from './seo';
|
|
4
5
|
export type DocCategoryEntry = Entry<TypeDocumentationCategorySkeleton, "WITHOUT_UNRESOLVABLE_LINKS", string>;
|
|
5
6
|
export type DocArticleEntry = Entry<TypeDocumentationArticleSkeleton, "WITHOUT_UNRESOLVABLE_LINKS", string>;
|
|
6
7
|
type GraphQLEntrySys = Pick<EntrySys, "id" | "createdAt" | "updatedAt">;
|
|
7
|
-
type GraphQLSeo = {
|
|
8
|
-
metaTitle: string;
|
|
9
|
-
metaDescription: string | null;
|
|
10
|
-
metaKeywords: string[] | null;
|
|
11
|
-
metaRobots: string[] | null;
|
|
12
|
-
};
|
|
13
8
|
export type DocCategoryGraphQLItem = {
|
|
14
9
|
sys: GraphQLEntrySys;
|
|
15
10
|
seo: GraphQLSeo | null;
|
package/dist/entries/index.d.ts
CHANGED