Fix missing controls

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-06-30 09:56:49 +02:00
parent 234bb89def
commit 6ff1db832e
4 changed files with 28 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<5627e402cef1ec879c133d54980b26ab>>
* @generated SignedSource<<f1a5a3800adf762d96c4e257075a0f48>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -129,7 +129,15 @@ return {
{
"kind": "Literal",
"name": "first",
"value": 100
"value": 250
},
{
"kind": "Literal",
"name": "orderBy",
"value": {
"direction": "ASC",
"field": "SECTION_TITLE"
}
}
],
"concreteType": "ControlConnection",
@@ -181,7 +189,7 @@ return {
]
}
],
"storageKey": "controls(first:100)"
"storageKey": "controls(first:250,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})"
}
],
"type": "Framework",
@@ -193,12 +201,12 @@ return {
]
},
"params": {
"cacheID": "28ea34e7b455cffd5283428ef567963a",
"cacheID": "cf02a37946ff1ec0d7bb2b9a24f26c2a",
"id": null,
"metadata": {},
"name": "FrameworkGraphNodeQuery",
"operationKind": "query",
"text": "query FrameworkGraphNodeQuery(\n $frameworkId: ID!\n) {\n node(id: $frameworkId) {\n __typename\n ... on Framework {\n id\n name\n ...FrameworkDetailPageFragment\n }\n id\n }\n}\n\nfragment FrameworkDetailPageFragment on Framework {\n id\n name\n description\n controls(first: 100) {\n edges {\n node {\n id\n sectionTitle\n name\n }\n }\n }\n}\n"
"text": "query FrameworkGraphNodeQuery(\n $frameworkId: ID!\n) {\n node(id: $frameworkId) {\n __typename\n ... on Framework {\n id\n name\n ...FrameworkDetailPageFragment\n }\n id\n }\n}\n\nfragment FrameworkDetailPageFragment on Framework {\n id\n name\n description\n controls(first: 250, orderBy: {field: SECTION_TITLE, direction: ASC}) {\n edges {\n node {\n id\n sectionTitle\n name\n }\n }\n }\n}\n"
}
};
})();

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<9f3bb5320763a3026c5efad2a0fd88d2>>
* @generated SignedSource<<bfe74e681960002105d6995d91548400>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type OrderDirection = "ASC" | "DESC";
export type VendorOrderField = "NAME";
export type VendorOrderField = "CREATED_AT" | "NAME" | "UPDATED_AT";
export type VendorOrder = {
direction: OrderDirection;
field: VendorOrderField;

View File

@@ -39,7 +39,7 @@ const frameworkDetailFragment = graphql`
id
name
description
controls(first: 100) {
controls(first: 250, orderBy: { field: SECTION_TITLE, direction: ASC }) {
__id
edges {
node {

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<6b38711542a158ba9424c744d217bed5>>
* @generated SignedSource<<d3c93020e1d7d125fc2055a650dd62e3>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -67,7 +67,15 @@ return {
{
"kind": "Literal",
"name": "first",
"value": 100
"value": 250
},
{
"kind": "Literal",
"name": "orderBy",
"value": {
"direction": "ASC",
"field": "SECTION_TITLE"
}
}
],
"concreteType": "ControlConnection",
@@ -119,7 +127,7 @@ return {
]
}
],
"storageKey": "controls(first:100)"
"storageKey": "controls(first:250,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})"
}
],
"type": "Framework",
@@ -127,6 +135,6 @@ return {
};
})();
(node as any).hash = "e95f82575c72a8b95c87ecd3ffc676ed";
(node as any).hash = "ad59b1c61a01fdcb5afbf0ee920a46bb";
export default node;