@gem-sdk/core 2.1.0 → 2.1.8
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/cjs/graphql/queries/articles.generated.js +5 -4
- package/dist/cjs/graphql/queries/blogs.generated.js +5 -4
- package/dist/cjs/helpers/third-party/appConfig.js +1 -1
- package/dist/cjs/helpers/third-party/appSetting.js +1 -1
- package/dist/esm/graphql/queries/articles.generated.js +5 -4
- package/dist/esm/graphql/queries/blogs.generated.js +5 -4
- package/dist/esm/helpers/third-party/appConfig.js +1 -1
- package/dist/esm/helpers/third-party/appSetting.js +1 -1
- package/dist/types/index.d.ts +30 -22
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const ArticlesDocument = `
|
|
3
|
+
/* eslint-disable */ const ArticlesDocument = `
|
|
4
4
|
query articles($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: ArticleOrder, $where: ArticleWhereInput) {
|
|
5
5
|
articles(
|
|
6
6
|
after: $after
|
|
@@ -25,13 +25,14 @@ const ArticlesDocument = `
|
|
|
25
25
|
tags {
|
|
26
26
|
name
|
|
27
27
|
}
|
|
28
|
+
content {
|
|
29
|
+
excerptHtml
|
|
30
|
+
}
|
|
28
31
|
isSample
|
|
29
32
|
platformCreatedAt
|
|
30
33
|
platformUpdatedAt
|
|
34
|
+
publishedAt
|
|
31
35
|
author
|
|
32
|
-
content {
|
|
33
|
-
excerptHtml
|
|
34
|
-
}
|
|
35
36
|
blogs {
|
|
36
37
|
edges {
|
|
37
38
|
node {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const BlogsDocument = `
|
|
3
|
+
/* eslint-disable */ const BlogsDocument = `
|
|
4
4
|
query blogs($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: BlogOrder, $where: BlogWhereInput, $articlesOrderBy: ArticleOrder) {
|
|
5
5
|
blogs(
|
|
6
6
|
after: $after
|
|
@@ -32,13 +32,14 @@ const BlogsDocument = `
|
|
|
32
32
|
tags {
|
|
33
33
|
name
|
|
34
34
|
}
|
|
35
|
+
content {
|
|
36
|
+
excerptHtml
|
|
37
|
+
}
|
|
35
38
|
isSample
|
|
36
39
|
platformCreatedAt
|
|
37
40
|
platformUpdatedAt
|
|
41
|
+
publishedAt
|
|
38
42
|
author
|
|
39
|
-
content {
|
|
40
|
-
excerptHtml
|
|
41
|
-
}
|
|
42
43
|
media {
|
|
43
44
|
width
|
|
44
45
|
src
|
|
@@ -50,7 +50,7 @@ const ReviewxpoProductReviewsAppConfig = {
|
|
|
50
50
|
};
|
|
51
51
|
const PumperBundlesVolumeDiscountConfig = {
|
|
52
52
|
PumperBundlesVolumeDiscount: {
|
|
53
|
-
appName: '
|
|
53
|
+
appName: 'pumper-bundle-qty',
|
|
54
54
|
appId: '0856870d-2aca-4b1e-a662-cf1797f61270'
|
|
55
55
|
}
|
|
56
56
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const ArticlesDocument = `
|
|
1
|
+
/* eslint-disable */ const ArticlesDocument = `
|
|
2
2
|
query articles($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: ArticleOrder, $where: ArticleWhereInput) {
|
|
3
3
|
articles(
|
|
4
4
|
after: $after
|
|
@@ -23,13 +23,14 @@ const ArticlesDocument = `
|
|
|
23
23
|
tags {
|
|
24
24
|
name
|
|
25
25
|
}
|
|
26
|
+
content {
|
|
27
|
+
excerptHtml
|
|
28
|
+
}
|
|
26
29
|
isSample
|
|
27
30
|
platformCreatedAt
|
|
28
31
|
platformUpdatedAt
|
|
32
|
+
publishedAt
|
|
29
33
|
author
|
|
30
|
-
content {
|
|
31
|
-
excerptHtml
|
|
32
|
-
}
|
|
33
34
|
blogs {
|
|
34
35
|
edges {
|
|
35
36
|
node {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const BlogsDocument = `
|
|
1
|
+
/* eslint-disable */ const BlogsDocument = `
|
|
2
2
|
query blogs($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: BlogOrder, $where: BlogWhereInput, $articlesOrderBy: ArticleOrder) {
|
|
3
3
|
blogs(
|
|
4
4
|
after: $after
|
|
@@ -30,13 +30,14 @@ const BlogsDocument = `
|
|
|
30
30
|
tags {
|
|
31
31
|
name
|
|
32
32
|
}
|
|
33
|
+
content {
|
|
34
|
+
excerptHtml
|
|
35
|
+
}
|
|
33
36
|
isSample
|
|
34
37
|
platformCreatedAt
|
|
35
38
|
platformUpdatedAt
|
|
39
|
+
publishedAt
|
|
36
40
|
author
|
|
37
|
-
content {
|
|
38
|
-
excerptHtml
|
|
39
|
-
}
|
|
40
41
|
media {
|
|
41
42
|
width
|
|
42
43
|
src
|
|
@@ -48,7 +48,7 @@ const ReviewxpoProductReviewsAppConfig = {
|
|
|
48
48
|
};
|
|
49
49
|
const PumperBundlesVolumeDiscountConfig = {
|
|
50
50
|
PumperBundlesVolumeDiscount: {
|
|
51
|
-
appName: '
|
|
51
|
+
appName: 'pumper-bundle-qty',
|
|
52
52
|
appId: '0856870d-2aca-4b1e-a662-cf1797f61270'
|
|
53
53
|
}
|
|
54
54
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ type Article$2 = {
|
|
|
75
75
|
platform?: Maybe$1<ArticlePlatform$1>;
|
|
76
76
|
platformCreatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
77
77
|
platformUpdatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
78
|
+
publishedAt?: Maybe$1<Scalars$2['Time']>;
|
|
78
79
|
tags?: Maybe$1<Array<Maybe$1<Tag$1>>>;
|
|
79
80
|
templateSuffix?: Maybe$1<Scalars$2['String']>;
|
|
80
81
|
title?: Maybe$1<Scalars$2['String']>;
|
|
@@ -221,7 +222,7 @@ type ArticleOrder$1 = {
|
|
|
221
222
|
direction: OrderDirection$1;
|
|
222
223
|
field?: InputMaybe$1<ArticleOrderField$1>;
|
|
223
224
|
};
|
|
224
|
-
type ArticleOrderField$1 = 'CREATED_AT' | 'PLATFORM_CREATED_AT' | 'PLATFORM_UPDATED_AT' | 'TITLE' | 'UPDATED_AT';
|
|
225
|
+
type ArticleOrderField$1 = 'CREATED_AT' | 'PLATFORM_CREATED_AT' | 'PLATFORM_UPDATED_AT' | 'PUBLISHED_AT' | 'TITLE' | 'UPDATED_AT';
|
|
225
226
|
type ArticlePlatform$1 = 'BIG' | 'SHOPIFY' | 'WOO';
|
|
226
227
|
/**
|
|
227
228
|
* ArticleTagWhereInput is used for filtering ArticleTag objects.
|
|
@@ -405,6 +406,17 @@ type ArticleWhereInput$1 = {
|
|
|
405
406
|
platformUpdatedAtNEQ?: InputMaybe$1<Scalars$2['Time']>;
|
|
406
407
|
platformUpdatedAtNotIn?: InputMaybe$1<Array<Scalars$2['Time']>>;
|
|
407
408
|
platformUpdatedAtNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
409
|
+
/** published_at field predicates */
|
|
410
|
+
publishedAt?: InputMaybe$1<Scalars$2['Time']>;
|
|
411
|
+
publishedAtGT?: InputMaybe$1<Scalars$2['Time']>;
|
|
412
|
+
publishedAtGTE?: InputMaybe$1<Scalars$2['Time']>;
|
|
413
|
+
publishedAtIn?: InputMaybe$1<Array<Scalars$2['Time']>>;
|
|
414
|
+
publishedAtIsNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
415
|
+
publishedAtLT?: InputMaybe$1<Scalars$2['Time']>;
|
|
416
|
+
publishedAtLTE?: InputMaybe$1<Scalars$2['Time']>;
|
|
417
|
+
publishedAtNEQ?: InputMaybe$1<Scalars$2['Time']>;
|
|
418
|
+
publishedAtNotIn?: InputMaybe$1<Array<Scalars$2['Time']>>;
|
|
419
|
+
publishedAtNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
408
420
|
/** template_suffix field predicates */
|
|
409
421
|
templateSuffix?: InputMaybe$1<Scalars$2['String']>;
|
|
410
422
|
templateSuffixContains?: InputMaybe$1<Scalars$2['String']>;
|
|
@@ -3706,6 +3718,7 @@ type Product$1 = {
|
|
|
3706
3718
|
descriptionHtml?: Maybe$1<Scalars$2['String']>;
|
|
3707
3719
|
descriptionMeta?: Maybe$1<Scalars$2['String']>;
|
|
3708
3720
|
featuredImage?: Maybe$1<Media$1>;
|
|
3721
|
+
/** @deprecated Use featuredImage instead */
|
|
3709
3722
|
featuredImageId?: Maybe$1<Scalars$2['ID']>;
|
|
3710
3723
|
handle?: Maybe$1<Scalars$2['String']>;
|
|
3711
3724
|
id: Scalars$2['ID'];
|
|
@@ -40056,8 +40069,8 @@ type ArticlesQueryVariables = Exact$1<{
|
|
|
40056
40069
|
type ArticlesQueryResponse = {
|
|
40057
40070
|
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
40058
40071
|
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
40059
|
-
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
|
|
40060
|
-
tags
|
|
40072
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'publishedAt' | 'author'> & {
|
|
40073
|
+
tags?: Maybe$1<Array<Maybe$1<Pick<Tag$1, 'name'>>>>;
|
|
40061
40074
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
40062
40075
|
blogs?: Maybe$1<{
|
|
40063
40076
|
edges: Array<{
|
|
@@ -40081,27 +40094,22 @@ type BlogsQueryVariables = Exact$1<{
|
|
|
40081
40094
|
articlesOrderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
40082
40095
|
}>;
|
|
40083
40096
|
type BlogsQueryResponse = {
|
|
40084
|
-
blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
|
|
40085
|
-
edges: Array<Pick<BlogEdge$1, 'cursor'> & {
|
|
40086
|
-
node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
40087
|
-
articles?: Maybe$1<Pick<ArticleConnection$1, 'totalCount'> & {
|
|
40088
|
-
edges: Array<Pick<ArticleEdge$1, 'cursor'> & {
|
|
40089
|
-
node?: Maybe$1<Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | '
|
|
40090
|
-
tags
|
|
40097
|
+
blogs?: Maybe$1<(Pick<BlogConnection$1, 'totalCount'> & {
|
|
40098
|
+
edges: Array<(Pick<BlogEdge$1, 'cursor'> & {
|
|
40099
|
+
node?: Maybe$1<(Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
40100
|
+
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
40101
|
+
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
40102
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'publishedAt' | 'author'> & {
|
|
40103
|
+
tags?: Maybe$1<Array<Maybe$1<Pick<Tag$1, 'name'>>>>;
|
|
40091
40104
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
40092
|
-
|
|
40093
|
-
|
|
40094
|
-
|
|
40095
|
-
|
|
40096
|
-
|
|
40097
|
-
|
|
40098
|
-
}>;
|
|
40099
|
-
}>;
|
|
40100
|
-
}>;
|
|
40101
|
-
}>;
|
|
40102
|
-
}>;
|
|
40105
|
+
media?: Maybe$1<Pick<Media$1, 'width' | 'src' | 'height'>>;
|
|
40106
|
+
})>;
|
|
40107
|
+
})>;
|
|
40108
|
+
})>;
|
|
40109
|
+
})>;
|
|
40110
|
+
})>;
|
|
40103
40111
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
40104
|
-
}>;
|
|
40112
|
+
})>;
|
|
40105
40113
|
};
|
|
40106
40114
|
|
|
40107
40115
|
declare const useArticlesQuery: (variables: ArticlesQueryVariables | null, options?: SWRConfiguration<ArticlesQueryResponse>) => swr__internal.SWRResponse<ArticlesQueryResponse, any, Partial<swr__internal.PublicConfiguration<ArticlesQueryResponse, any, (arg: ["query/articles", any]) => swr__internal.FetcherResponse<ArticlesQueryResponse>>> | undefined>;
|