@platecms/delta-client 1.6.1 → 1.8.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 +11 -5
- package/package.json +2 -2
- package/src/__generated__/gql.ts +15 -9
- package/src/__generated__/graphql.ts +187 -141
- package/src/graphql/fragments/grid-placement.fragments.gql +0 -1
- package/src/graphql/fragments/related-asset.fragment.gql +9 -0
- package/src/graphql/path-parts/path-parts.query.gql +4 -1
- package/src/schema/index.spec.ts +1 -4
- package/src/schema/lib/schemas/array.ts +1 -0
- package/src/schema/lib/schemas/relatedContentItem.spec.ts +106 -1
- package/src/schema/lib/schemas/relatedContentItem.ts +23 -9
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ const articleSchema = schema.buildingBlock({
|
|
|
44
44
|
// Array of items
|
|
45
45
|
tags: schema.array(schema.tag()),
|
|
46
46
|
// For related content items
|
|
47
|
-
author: schema.
|
|
47
|
+
author: schema.relatedContentItem({
|
|
48
48
|
name: schema.string(),
|
|
49
49
|
email: schema.string(),
|
|
50
50
|
}),
|
|
@@ -85,14 +85,20 @@ const article = articleSchema.parse(buildingBlockFieldFulfillments);
|
|
|
85
85
|
|
|
86
86
|
#### Available Types
|
|
87
87
|
|
|
88
|
+
Root schemas
|
|
89
|
+
|
|
90
|
+
- **`schema.contentItem()`** - Content items structures
|
|
91
|
+
- **`schema.buildingBlock()`** - Building block structures
|
|
92
|
+
|
|
93
|
+
Chainable or seperate schemas from the root schemas
|
|
94
|
+
|
|
88
95
|
- **`schema.string()`** - String values
|
|
89
96
|
- **`schema.number()`** - Numeric values
|
|
90
97
|
- **`schema.boolean()`** - Boolean values
|
|
91
98
|
- **`schema.date()`** - Date values
|
|
92
99
|
- **`schema.asset()`** - Asset references
|
|
93
100
|
- **`schema.smartText()`** - Rich text content
|
|
94
|
-
- **`schema.
|
|
95
|
-
- **`schema.buildingBlock()`** - Building block structures
|
|
101
|
+
- **`schema.relatedContentItem()`** - Related content items
|
|
96
102
|
- **`schema.array()`** - Arrays of any schema
|
|
97
103
|
- **`schema.gridPlacement()`** - Grid layout placements
|
|
98
104
|
- **`schema.contentType()`** - Content type references
|
|
@@ -118,11 +124,11 @@ const tagsSchema = schema.array(
|
|
|
118
124
|
|
|
119
125
|
// Nested structures
|
|
120
126
|
const pageSchema = schema.buildingBlock({
|
|
121
|
-
hero: schema.
|
|
127
|
+
hero: schema.relatedContentItem({
|
|
122
128
|
title: schema.string(),
|
|
123
129
|
image: schema.asset(),
|
|
124
130
|
}),
|
|
125
|
-
sections: schema.array(schema.
|
|
131
|
+
sections: schema.array(schema.relatedContentItem({
|
|
126
132
|
type: schema.string(),
|
|
127
133
|
content: schema.smartText(),
|
|
128
134
|
})),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platecms/delta-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Utilities and functions to interact with the Delta CMS.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"src/**/*"
|
|
19
19
|
],
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@platecms/delta-cast": "1.
|
|
21
|
+
"@platecms/delta-cast": "1.8.0",
|
|
22
22
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
23
23
|
"graphql": "16.11.0",
|
|
24
24
|
"tslib": "2.8.1",
|
package/src/__generated__/gql.ts
CHANGED
|
@@ -17,7 +17,7 @@ type Documents = {
|
|
|
17
17
|
"query contentExperiences($paginate: PaginationOptionsInput!, $where: [ContentExperiencesFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n contentExperiences(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n pathPart {\n ...pathPartFragment\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n ...buildingBlockFieldFulfillmentFragment\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...comprehensiveContentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...comprehensiveContentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n }\n tags {\n ...tagFragment\n }\n }\n }\n }\n}": typeof types.ContentExperiencesDocument,
|
|
18
18
|
"query contentItems($paginate: PaginationOptionsInput!, $where: [ContentItemsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n contentItems(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...contentItemFragment\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n relatedContentItem {\n ...contentItemFragment\n contentValues {\n ...contentValueFragment\n }\n }\n }\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n tags {\n ...tagFragment\n }\n }\n }\n }\n}": typeof types.ContentItemsDocument,
|
|
19
19
|
"fragment assetFragment on Asset {\n _id: prn\n prn\n fileName\n fileSize\n mimeType\n url\n createdAt\n updatedAt\n}": typeof types.AssetFragmentFragmentDoc,
|
|
20
|
-
"fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n
|
|
20
|
+
"fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n ...relatedAssetFragment\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n ...relatedAssetFragment\n }\n }\n }\n createdAt\n updatedAt\n}": typeof types.BuildingBlockFieldFulfillmentFragmentFragmentDoc,
|
|
21
21
|
"fragment buildingBlockFieldFragment on BuildingBlockField {\n _id: prn\n prn\n slug\n title\n createdAt\n updatedAt\n}": typeof types.BuildingBlockFieldFragmentFragmentDoc,
|
|
22
22
|
"fragment buildingBlockFragment on BuildingBlock {\n _id: prn\n prn\n slug\n title\n preview {\n ...assetFragment\n }\n createdAt\n updatedAt\n}": typeof types.BuildingBlockFragmentFragmentDoc,
|
|
23
23
|
"fragment contentExperienceFragment on ContentExperience {\n _id: prn\n slug\n prn\n title\n createdAt\n updatedAt\n}": typeof types.ContentExperienceFragmentFragmentDoc,
|
|
@@ -26,17 +26,18 @@ type Documents = {
|
|
|
26
26
|
"fragment contentTypeFragment on ContentType {\n _id: prn\n prn\n name\n displayNameTemplate\n displayImageField {\n ...contentFieldFragment\n }\n createdAt\n updatedAt\n}": typeof types.ContentTypeFragmentFragmentDoc,
|
|
27
27
|
"fragment contentValueFragment on ContentValue {\n _id: prn\n prn\n primitiveValue\n interpolatedSmartText\n createdAt\n updatedAt\n}\n\nfragment comprehensiveContentValueFragment on ContentValue {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n }\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n }\n linkedContentType {\n ...contentTypeFragment\n }\n linkedTag {\n ...tagFragment\n }\n relatedContentItem {\n ...contentItemFragment\n }\n}": typeof types.ContentValueFragmentFragmentDoc,
|
|
28
28
|
"fragment experienceComponentFragment on ExperienceComponent {\n _id: prn\n prn\n stage\n name\n isDraft\n preview {\n ...assetFragment\n }\n isGlobal\n createdAt\n updatedAt\n}": typeof types.ExperienceComponentFragmentFragmentDoc,
|
|
29
|
-
"fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n
|
|
29
|
+
"fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n updatedAt\n createdAt\n}": typeof types.GridPlacementFragmentFragmentDoc,
|
|
30
30
|
"fragment pathPartFragment on PathPart {\n _id: prn\n prn\n slug\n path\n createdAt\n updatedAt\n}": typeof types.PathPartFragmentFragmentDoc,
|
|
31
|
+
"fragment relatedAssetFragment on ContentValue {\n relatedAssetFileName\n relatedAssetSize\n relatedAssetFileType\n relatedAsset {\n ...assetFragment\n }\n}": typeof types.RelatedAssetFragmentFragmentDoc,
|
|
31
32
|
"fragment tagFragment on Tag {\n _id: prn\n prn\n name\n path\n color\n visibility\n forceVisibilityOnDescendants\n stage\n amountOfChildren\n amountOfContentExperiences\n amountOfContentItems\n hasForcedVisibility\n nestingLevel\n createdAt\n updatedAt\n}": typeof types.TagFragmentFragmentDoc,
|
|
32
|
-
"query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}": typeof types.PathPartsDocument,
|
|
33
|
+
"query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}": typeof types.PathPartsDocument,
|
|
33
34
|
"query tags($paginate: PaginationOptionsInput!, $where: [TagsFilterInput!], $orderBy: OrderOptionsInput) {\n tags(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...tagFragment\n }\n }\n }\n}": typeof types.TagsDocument,
|
|
34
35
|
};
|
|
35
36
|
const documents: Documents = {
|
|
36
37
|
"query contentExperiences($paginate: PaginationOptionsInput!, $where: [ContentExperiencesFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n contentExperiences(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n pathPart {\n ...pathPartFragment\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n ...buildingBlockFieldFulfillmentFragment\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...comprehensiveContentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...comprehensiveContentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n }\n tags {\n ...tagFragment\n }\n }\n }\n }\n}": types.ContentExperiencesDocument,
|
|
37
38
|
"query contentItems($paginate: PaginationOptionsInput!, $where: [ContentItemsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n contentItems(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...contentItemFragment\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n relatedContentItem {\n ...contentItemFragment\n contentValues {\n ...contentValueFragment\n }\n }\n }\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n tags {\n ...tagFragment\n }\n }\n }\n }\n}": types.ContentItemsDocument,
|
|
38
39
|
"fragment assetFragment on Asset {\n _id: prn\n prn\n fileName\n fileSize\n mimeType\n url\n createdAt\n updatedAt\n}": types.AssetFragmentFragmentDoc,
|
|
39
|
-
"fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n
|
|
40
|
+
"fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n ...relatedAssetFragment\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n ...relatedAssetFragment\n }\n }\n }\n createdAt\n updatedAt\n}": types.BuildingBlockFieldFulfillmentFragmentFragmentDoc,
|
|
40
41
|
"fragment buildingBlockFieldFragment on BuildingBlockField {\n _id: prn\n prn\n slug\n title\n createdAt\n updatedAt\n}": types.BuildingBlockFieldFragmentFragmentDoc,
|
|
41
42
|
"fragment buildingBlockFragment on BuildingBlock {\n _id: prn\n prn\n slug\n title\n preview {\n ...assetFragment\n }\n createdAt\n updatedAt\n}": types.BuildingBlockFragmentFragmentDoc,
|
|
42
43
|
"fragment contentExperienceFragment on ContentExperience {\n _id: prn\n slug\n prn\n title\n createdAt\n updatedAt\n}": types.ContentExperienceFragmentFragmentDoc,
|
|
@@ -45,10 +46,11 @@ const documents: Documents = {
|
|
|
45
46
|
"fragment contentTypeFragment on ContentType {\n _id: prn\n prn\n name\n displayNameTemplate\n displayImageField {\n ...contentFieldFragment\n }\n createdAt\n updatedAt\n}": types.ContentTypeFragmentFragmentDoc,
|
|
46
47
|
"fragment contentValueFragment on ContentValue {\n _id: prn\n prn\n primitiveValue\n interpolatedSmartText\n createdAt\n updatedAt\n}\n\nfragment comprehensiveContentValueFragment on ContentValue {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n relatedAsset {\n ...assetFragment\n }\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n }\n linkedContentType {\n ...contentTypeFragment\n }\n linkedTag {\n ...tagFragment\n }\n relatedContentItem {\n ...contentItemFragment\n }\n}": types.ContentValueFragmentFragmentDoc,
|
|
47
48
|
"fragment experienceComponentFragment on ExperienceComponent {\n _id: prn\n prn\n stage\n name\n isDraft\n preview {\n ...assetFragment\n }\n isGlobal\n createdAt\n updatedAt\n}": types.ExperienceComponentFragmentFragmentDoc,
|
|
48
|
-
"fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n
|
|
49
|
+
"fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n updatedAt\n createdAt\n}": types.GridPlacementFragmentFragmentDoc,
|
|
49
50
|
"fragment pathPartFragment on PathPart {\n _id: prn\n prn\n slug\n path\n createdAt\n updatedAt\n}": types.PathPartFragmentFragmentDoc,
|
|
51
|
+
"fragment relatedAssetFragment on ContentValue {\n relatedAssetFileName\n relatedAssetSize\n relatedAssetFileType\n relatedAsset {\n ...assetFragment\n }\n}": types.RelatedAssetFragmentFragmentDoc,
|
|
50
52
|
"fragment tagFragment on Tag {\n _id: prn\n prn\n name\n path\n color\n visibility\n forceVisibilityOnDescendants\n stage\n amountOfChildren\n amountOfContentExperiences\n amountOfContentItems\n hasForcedVisibility\n nestingLevel\n createdAt\n updatedAt\n}": types.TagFragmentFragmentDoc,
|
|
51
|
-
"query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}": types.PathPartsDocument,
|
|
53
|
+
"query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}": types.PathPartsDocument,
|
|
52
54
|
"query tags($paginate: PaginationOptionsInput!, $where: [TagsFilterInput!], $orderBy: OrderOptionsInput) {\n tags(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...tagFragment\n }\n }\n }\n}": types.TagsDocument,
|
|
53
55
|
};
|
|
54
56
|
|
|
@@ -81,7 +83,7 @@ export function graphql(source: "fragment assetFragment on Asset {\n _id: prn\n
|
|
|
81
83
|
/**
|
|
82
84
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
83
85
|
*/
|
|
84
|
-
export function graphql(source: "fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n
|
|
86
|
+
export function graphql(source: "fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n ...relatedAssetFragment\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n ...relatedAssetFragment\n }\n }\n }\n createdAt\n updatedAt\n}"): (typeof documents)["fragment buildingBlockFieldFulfillmentFragment on BuildingBlockFieldFulfillment {\n _id: prn\n prn\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n ...relatedAssetFragment\n linkedPathPart {\n ...pathPartFragment\n }\n linkedGridPlacement {\n ...gridPlacementFragment\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n }\n }\n relatedContentItem {\n ...contentItemFragment\n contentType {\n ...contentTypeFragment\n contentFields {\n ...contentFieldFragment\n }\n }\n contentValues {\n ...contentValueFragment\n contentField {\n ...contentFieldFragment\n }\n ...relatedAssetFragment\n }\n }\n }\n createdAt\n updatedAt\n}"];
|
|
85
87
|
/**
|
|
86
88
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
87
89
|
*/
|
|
@@ -117,11 +119,15 @@ export function graphql(source: "fragment experienceComponentFragment on Experie
|
|
|
117
119
|
/**
|
|
118
120
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
119
121
|
*/
|
|
120
|
-
export function graphql(source: "fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n
|
|
122
|
+
export function graphql(source: "fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n updatedAt\n createdAt\n}"): (typeof documents)["fragment gridPlacementFragment on GridPlacement {\n _id: prn\n prn\n updatedAt\n createdAt\n}"];
|
|
121
123
|
/**
|
|
122
124
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
123
125
|
*/
|
|
124
126
|
export function graphql(source: "fragment pathPartFragment on PathPart {\n _id: prn\n prn\n slug\n path\n createdAt\n updatedAt\n}"): (typeof documents)["fragment pathPartFragment on PathPart {\n _id: prn\n prn\n slug\n path\n createdAt\n updatedAt\n}"];
|
|
127
|
+
/**
|
|
128
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
129
|
+
*/
|
|
130
|
+
export function graphql(source: "fragment relatedAssetFragment on ContentValue {\n relatedAssetFileName\n relatedAssetSize\n relatedAssetFileType\n relatedAsset {\n ...assetFragment\n }\n}"): (typeof documents)["fragment relatedAssetFragment on ContentValue {\n relatedAssetFileName\n relatedAssetSize\n relatedAssetFileType\n relatedAsset {\n ...assetFragment\n }\n}"];
|
|
125
131
|
/**
|
|
126
132
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
127
133
|
*/
|
|
@@ -129,7 +135,7 @@ export function graphql(source: "fragment tagFragment on Tag {\n _id: prn\n pr
|
|
|
129
135
|
/**
|
|
130
136
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
131
137
|
*/
|
|
132
|
-
export function graphql(source: "query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}"): (typeof documents)["query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}"];
|
|
138
|
+
export function graphql(source: "query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}"): (typeof documents)["query pathParts($paginate: PaginationOptionsInput!, $where: [PathPartsFilterInput!], $orderBy: OrderOptionsInput, $optionsList: [ProcessedAssetOptionsInput!]!) {\n pathParts(paginate: $paginate, where: $where, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n edges {\n cursor\n node {\n ...pathPartFragment\n contentExperience {\n ...contentExperienceFragment\n preview {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n experienceComponent {\n ...experienceComponentFragment\n buildingBlock {\n ...buildingBlockFragment\n }\n buildingBlockFieldFulfillments {\n buildingBlockField {\n ...buildingBlockFieldFragment\n }\n contentValue {\n ...contentValueFragment\n contentItem {\n prn\n }\n relatedAsset {\n ...assetFragment\n processedUrls(optionsList: $optionsList)\n }\n }\n }\n }\n }\n children {\n ...pathPartFragment\n }\n }\n }\n }\n}"];
|
|
133
139
|
/**
|
|
134
140
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
135
141
|
*/
|