740 lines
24 KiB
TypeScript
740 lines
24 KiB
TypeScript
/**
|
|
* @generated SignedSource<<6d55d37aa2ddfae16f8fc829840113d4>>
|
|
* @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 customDomain?: {
|
|
readonly domain: string;
|
|
readonly id: string;
|
|
} | null | undefined;
|
|
readonly documents?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly id: string;
|
|
readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">;
|
|
};
|
|
}>;
|
|
};
|
|
readonly id?: string;
|
|
readonly name?: string;
|
|
readonly slackConnections?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly channel: string | null | undefined;
|
|
readonly channelId: string | null | undefined;
|
|
readonly createdAt: any;
|
|
readonly id: string;
|
|
readonly updatedAt: any;
|
|
};
|
|
}>;
|
|
};
|
|
readonly trustCenter?: {
|
|
readonly active: boolean;
|
|
readonly createdAt: any;
|
|
readonly id: string;
|
|
readonly ndaFileName: string | null | undefined;
|
|
readonly ndaFileUrl: string | null | undefined;
|
|
readonly references: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly createdAt: any;
|
|
readonly description: string;
|
|
readonly id: string;
|
|
readonly logoUrl: string;
|
|
readonly name: string;
|
|
readonly updatedAt: any;
|
|
readonly websiteUrl: 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,
|
|
"concreteType": "CustomDomain",
|
|
"kind": "LinkedField",
|
|
"name": "customDomain",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "domain",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
v5 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "createdAt",
|
|
"storageKey": null
|
|
},
|
|
v6 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "updatedAt",
|
|
"storageKey": null
|
|
},
|
|
v7 = {
|
|
"kind": "Literal",
|
|
"name": "first",
|
|
"value": 100
|
|
},
|
|
v8 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "description",
|
|
"storageKey": null
|
|
},
|
|
v9 = {
|
|
"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": "ndaFileName",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "ndaFileUrl",
|
|
"storageKey": null
|
|
},
|
|
(v5/*: any*/),
|
|
(v6/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": [
|
|
(v7/*: any*/),
|
|
{
|
|
"kind": "Literal",
|
|
"name": "orderBy",
|
|
"value": {
|
|
"direction": "DESC",
|
|
"field": "CREATED_AT"
|
|
}
|
|
}
|
|
],
|
|
"concreteType": "TrustCenterReferenceConnection",
|
|
"kind": "LinkedField",
|
|
"name": "references",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "TrustCenterReferenceEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "TrustCenterReference",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
(v3/*: any*/),
|
|
(v8/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "websiteUrl",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "logoUrl",
|
|
"storageKey": null
|
|
},
|
|
(v5/*: any*/),
|
|
(v6/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "references(first:100,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})"
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
v10 = [
|
|
(v7/*: any*/)
|
|
],
|
|
v11 = {
|
|
"alias": null,
|
|
"args": (v10/*: any*/),
|
|
"concreteType": "SlackConnectionConnection",
|
|
"kind": "LinkedField",
|
|
"name": "slackConnections",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "SlackConnectionEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "SlackConnection",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "channel",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "channelId",
|
|
"storageKey": null
|
|
},
|
|
(v5/*: any*/),
|
|
(v6/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "slackConnections(first:100)"
|
|
},
|
|
v12 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "trustCenterVisibility",
|
|
"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*/),
|
|
(v4/*: any*/),
|
|
(v9/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": (v10/*: 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": (v10/*: 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": (v10/*: 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)"
|
|
},
|
|
(v11/*: any*/)
|
|
],
|
|
"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*/),
|
|
(v4/*: any*/),
|
|
(v9/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": (v10/*: 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
|
|
},
|
|
(v5/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "documentType",
|
|
"storageKey": null
|
|
},
|
|
(v12/*: 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": (v10/*: 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*/),
|
|
(v3/*: 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
|
|
},
|
|
(v12/*: any*/),
|
|
(v5/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "audits(first:100)"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v10/*: 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
|
|
},
|
|
(v8/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "showOnTrustCenter",
|
|
"storageKey": null
|
|
},
|
|
(v5/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "vendors(first:100)"
|
|
},
|
|
(v11/*: any*/)
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "06cd2015e9fc2e65d35ae3153e587c58",
|
|
"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 customDomain {\n id\n domain\n }\n trustCenter {\n id\n active\n ndaFileName\n ndaFileUrl\n createdAt\n updatedAt\n references(first: 100, orderBy: {field: CREATED_AT, direction: DESC}) {\n edges {\n node {\n id\n name\n description\n websiteUrl\n logoUrl\n createdAt\n updatedAt\n }\n }\n }\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 slackConnections(first: 100) {\n edges {\n node {\n id\n channel\n channelId\n createdAt\n updatedAt\n }\n }\n }\n }\n id\n }\n}\n\nfragment TrustCenterAuditsCardFragment on Audit {\n id\n name\n framework {\n name\n id\n }\n validFrom\n validUntil\n state\n trustCenterVisibility\n createdAt\n}\n\nfragment TrustCenterDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n trustCenterVisibility\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 = "7ef9a5adc70dff604a149ea156e52edc";
|
|
|
|
export default node;
|