Skip to content

Commit

Permalink
test: Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nikcio committed Dec 30, 2024
1 parent 717feb3 commit ab3b710
Show file tree
Hide file tree
Showing 37 changed files with 74 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "The current user is not authorized to access this resource.",
"locations": [
{
"line": 9,
"line": 10,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,8 @@ type MarkdownEditorCulture implements IMarkdownEditorCulture {
type MediaItem {
"Gets the url of a media item."
url(urlMode: UrlMode! propertyAlias: String! = "umbracoFile"): String
"Gets the parent of the media item."
parent: MediaItem
"Gets the properties of the media item."
properties: TypedProperties!
"Gets the url segment of the media item."
Expand All @@ -995,8 +997,6 @@ type MediaItem {
templateId: Int
"Gets the date the media item was last updated."
updateDate: DateTime
"Gets the parent of the media item."
parent: MediaItem
}

"Represents a media picker item."
Expand Down Expand Up @@ -1066,6 +1066,8 @@ type MemberGroupPickerEditorCulture implements IMemberGroupPickerEditorCulture {
}

type MemberItem {
"Gets the parent of the member item."
parent: MemberItem
"Gets the properties of the member item."
properties: TypedProperties!
"Gets the name of a member item."
Expand All @@ -1078,8 +1080,6 @@ type MemberItem {
templateId: Int
"Gets the date the member item was last updated."
updateDate: DateTime
"Gets the parent of the member item."
parent: MemberItem
}

"Represents a member picker."
Expand Down Expand Up @@ -1228,7 +1228,7 @@ type Query {
"Utility query. Gets a which claims are used by the registered queries."
utility_GetClaimGroups: [ClaimGroup!]!
"Gets a content item by a route."
contentByRoute("The route to fetch. Example '\/da\/frontpage\/'." route: String! "The base url for the request. Example: 'https:\/\/localhost:4000'. Default is the current domain" baseUrl: String! = "" "The context of the request." inContext: QueryContextInput): ContentItem @authorize(policy: "ContentByRouteQuery")
contentByRoute("The route to fetch. Example '\/da\/frontpage\/'." route: String! "The context of the request." inContext: QueryContextInput): ContentItem @authorize(policy: "ContentByRouteQuery")
"Gets all the content items by content type."
contentByContentType("The contentType to fetch." contentType: String! "How many items to include in a page. Defaults to 10." pageSize: Int! = 10 "The page number to fetch. Defaults to 1." page: Int! = 1 "The context of the request." inContext: QueryContextInput): PaginationOfContentItem! @authorize(policy: "ContentByContentTypeQuery")
"Gets all the content items at root level."
Expand Down Expand Up @@ -1439,6 +1439,8 @@ input QueryContextInput {
fallbacks: [PropertyFallback!]
"The segment to use on a property value."
segment: String
"The base URL of the request. Example: https:\/\/my-website.com. Used to return the correct URLs on content items"
baseUrl: String
}

"A claim for a token."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-culture.dk/",
"url": "https://site-culture.dk/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 9,
"line": 10,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 9,
"line": 10,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 9,
"line": 10,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contentAtRoot": {
"items": [
{
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-culture.dk/",
"url": "https://site-culture.dk/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contentByContentType": {
"items": [
{
"url": "http://site-1.com/homepage/",
"url": "https://site-1.com/homepage/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -222,7 +222,7 @@
"key": "ca69a30f-bf47-4acf-b31b-556c585d204b",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand All @@ -235,7 +235,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-1.com/page-1/",
"url": "https://site-1.com/page-1/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -607,8 +607,8 @@
"__typename": "DefaultProperty"
},
"richtext": {
"value": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"sourceValue": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"value": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"sourceValue": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"model": "RichText",
"__typename": "RichText"
},
Expand Down Expand Up @@ -898,7 +898,7 @@
"key": "3686dd5d-f689-4e3b-ace6-b6d4e8b06165",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand All @@ -911,7 +911,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-1.com/page-2/",
"url": "https://site-1.com/page-2/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -1097,7 +1097,7 @@
"key": "f578f70d-13f4-444a-baa7-a1a3c1bc1666",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand All @@ -1110,7 +1110,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-1.com/collection-of-pages/",
"url": "https://site-1.com/collection-of-pages/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -1294,7 +1294,7 @@
"key": "08f23909-4751-47e9-b2e8-88ca07598947",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand All @@ -1307,7 +1307,7 @@
"__typename": "ContentItem"
},
{
"url": "http://site-1.com/collection-of-pages/page-11/",
"url": "https://site-1.com/collection-of-pages/page-11/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -1493,7 +1493,7 @@
"key": "a719aa8a-2c24-4756-9f4c-d1f5a5b94075",
"templateId": null,
"parent": {
"url": "http://site-1.com/collection-of-pages/",
"url": "https://site-1.com/collection-of-pages/",
"properties": {
"blockGrid": {
"model": "BlockGrid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@
"__typename": "DefaultProperty"
},
"richtext": {
"value": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"sourceValue": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"value": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"sourceValue": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"model": "RichText",
"__typename": "RichText"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 10,
"line": 11,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 10,
"line": 11,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "Page must be greater than or equal to 1 (Parameter \u0027page\u0027)",
"locations": [
{
"line": 10,
"line": 11,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"message": "The value cannot be an empty string. (Parameter \u0027contentType\u0027)",
"locations": [
{
"line": 10,
"line": 11,
"column": 3
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contentByContentType": {
"items": [
{
"url": "http://site-1.com/homepage/",
"url": "https://site-1.com/homepage/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -222,7 +222,7 @@
"key": "ca69a30f-bf47-4acf-b31b-556c585d204b",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@
"__typename": "DefaultProperty"
},
"richtext": {
"value": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"sourceValue": "\u003Cp\u003EHere is some text\u003C/p\u003E",
"value": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"sourceValue": "\\u003Cp\\u003EHere is some text\\u003C/p\\u003E",
"model": "RichText",
"__typename": "RichText"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentByGuid": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentByGuid": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentByGuid": {
"url": "http://site-culture.dk/",
"url": "https://site-culture.dk/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentByGuid": {
"url": "http://site-1.com/collection-of-pages/",
"url": "https://site-1.com/collection-of-pages/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -185,7 +185,7 @@
"key": "08f23909-4751-47e9-b2e8-88ca07598947",
"templateId": null,
"parent": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"properties": {
"__typename": "EmptyPropertyType"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentByGuid": {
"url": "http://site-1.com/collection-of-pages/block-grid-page/",
"url": "https://site-1.com/collection-of-pages/block-grid-page/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down Expand Up @@ -264,7 +264,7 @@
"key": "ff3ef402-0e01-4043-b40f-85f71cc4e702",
"templateId": null,
"parent": {
"url": "http://site-1.com/collection-of-pages/",
"url": "https://site-1.com/collection-of-pages/",
"properties": {
"blockGrid": {
"model": "BlockGrid",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": {
"contentById": {
"url": "http://site-1.com/",
"url": "https://site-1.com/",
"redirect": null,
"statusCode": 200,
"properties": {
Expand Down
Loading

0 comments on commit ab3b710

Please sign in to comment.