559 lines
18 KiB
TypeScript
559 lines
18 KiB
TypeScript
/**
|
|
* @generated SignedSource<<46a922efef96e5c7d015bd0f27467bf3>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
import { FragmentRefs } from "relay-runtime";
|
|
export type TrustCenterGraphQuery$variables = {
|
|
organizationId: string;
|
|
};
|
|
export type TrustCenterGraphQuery$data = {
|
|
readonly organization: {
|
|
readonly audits?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly id: string;
|
|
readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAuditsCardFragment">;
|
|
};
|
|
}>;
|
|
};
|
|
readonly documents?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly id: string;
|
|
readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">;
|
|
};
|
|
}>;
|
|
};
|
|
readonly id?: string;
|
|
readonly name?: string;
|
|
readonly trustCenter?: {
|
|
readonly active: boolean;
|
|
readonly createdAt: any;
|
|
readonly id: string;
|
|
readonly slug: string;
|
|
readonly updatedAt: any;
|
|
} | null | undefined;
|
|
readonly vendors?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly id: string;
|
|
readonly " $fragmentSpreads": FragmentRefs<"TrustCenterVendorsCardFragment">;
|
|
};
|
|
}>;
|
|
};
|
|
};
|
|
};
|
|
export type TrustCenterGraphQuery = {
|
|
response: TrustCenterGraphQuery$data;
|
|
variables: TrustCenterGraphQuery$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "organizationId"
|
|
}
|
|
],
|
|
v1 = [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "id",
|
|
"variableName": "organizationId"
|
|
}
|
|
],
|
|
v2 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
v3 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
v4 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "createdAt",
|
|
"storageKey": null
|
|
},
|
|
v5 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "TrustCenter",
|
|
"kind": "LinkedField",
|
|
"name": "trustCenter",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "active",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "slug",
|
|
"storageKey": null
|
|
},
|
|
(v4/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "updatedAt",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
v6 = [
|
|
{
|
|
"kind": "Literal",
|
|
"name": "first",
|
|
"value": 100
|
|
}
|
|
],
|
|
v7 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "showOnTrustCenter",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "TrustCenterGraphQuery",
|
|
"selections": [
|
|
{
|
|
"alias": "organization",
|
|
"args": (v1/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
(v3/*: any*/),
|
|
(v5/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "DocumentConnection",
|
|
"kind": "LinkedField",
|
|
"name": "documents",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "DocumentEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Document",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"args": null,
|
|
"kind": "FragmentSpread",
|
|
"name": "TrustCenterDocumentsCardFragment"
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "documents(first:100)"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "AuditConnection",
|
|
"kind": "LinkedField",
|
|
"name": "audits",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "AuditEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Audit",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"args": null,
|
|
"kind": "FragmentSpread",
|
|
"name": "TrustCenterAuditsCardFragment"
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "audits(first:100)"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "VendorConnection",
|
|
"kind": "LinkedField",
|
|
"name": "vendors",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "VendorEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Vendor",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"args": null,
|
|
"kind": "FragmentSpread",
|
|
"name": "TrustCenterVendorsCardFragment"
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "vendors(first:100)"
|
|
}
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"type": "Query",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "TrustCenterGraphQuery",
|
|
"selections": [
|
|
{
|
|
"alias": "organization",
|
|
"args": (v1/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
},
|
|
(v2/*: any*/),
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
(v3/*: any*/),
|
|
(v5/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "DocumentConnection",
|
|
"kind": "LinkedField",
|
|
"name": "documents",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "DocumentEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Document",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "title",
|
|
"storageKey": null
|
|
},
|
|
(v4/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "documentType",
|
|
"storageKey": null
|
|
},
|
|
(v7/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": [
|
|
{
|
|
"kind": "Literal",
|
|
"name": "first",
|
|
"value": 1
|
|
}
|
|
],
|
|
"concreteType": "DocumentVersionConnection",
|
|
"kind": "LinkedField",
|
|
"name": "versions",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "DocumentVersionEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "DocumentVersion",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "status",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "versions(first:1)"
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "documents(first:100)"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "AuditConnection",
|
|
"kind": "LinkedField",
|
|
"name": "audits",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "AuditEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Audit",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Framework",
|
|
"kind": "LinkedField",
|
|
"name": "framework",
|
|
"plural": false,
|
|
"selections": [
|
|
(v3/*: any*/),
|
|
(v2/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "validFrom",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "validUntil",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "state",
|
|
"storageKey": null
|
|
},
|
|
(v7/*: any*/),
|
|
(v4/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "audits(first:100)"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "VendorConnection",
|
|
"kind": "LinkedField",
|
|
"name": "vendors",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "VendorEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Vendor",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
(v3/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "category",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "description",
|
|
"storageKey": null
|
|
},
|
|
(v7/*: any*/),
|
|
(v4/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "vendors(first:100)"
|
|
}
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "a22d734ee326d24f3f67ffecf4653b2f",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "TrustCenterGraphQuery",
|
|
"operationKind": "query",
|
|
"text": "query TrustCenterGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n name\n trustCenter {\n id\n active\n slug\n createdAt\n updatedAt\n }\n documents(first: 100) {\n edges {\n node {\n id\n ...TrustCenterDocumentsCardFragment\n }\n }\n }\n audits(first: 100) {\n edges {\n node {\n id\n ...TrustCenterAuditsCardFragment\n }\n }\n }\n vendors(first: 100) {\n edges {\n node {\n id\n ...TrustCenterVendorsCardFragment\n }\n }\n }\n }\n id\n }\n}\n\nfragment TrustCenterAuditsCardFragment on Audit {\n id\n framework {\n name\n id\n }\n validFrom\n validUntil\n state\n showOnTrustCenter\n createdAt\n}\n\nfragment TrustCenterDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n showOnTrustCenter\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n\nfragment TrustCenterVendorsCardFragment on Vendor {\n id\n name\n category\n description\n showOnTrustCenter\n createdAt\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "260529b3ca03240b07989f278bb7a539";
|
|
|
|
export default node;
|