127 lines
2.9 KiB
TypeScript
127 lines
2.9 KiB
TypeScript
/**
|
|
* @generated SignedSource<<743c5a0c4d380bd05c0d8ccd7a664e58>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ReaderFragment } from 'relay-runtime';
|
|
export type DocumentStatus = "DRAFT" | "PUBLISHED";
|
|
export type DocumentType = "ISMS" | "OTHER" | "POLICY";
|
|
import { FragmentRefs } from "relay-runtime";
|
|
export type LinkedDocumentsCardFragment$data = {
|
|
readonly createdAt: any;
|
|
readonly documentType: DocumentType;
|
|
readonly id: string;
|
|
readonly title: string;
|
|
readonly versions: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly id: string;
|
|
readonly status: DocumentStatus;
|
|
};
|
|
}>;
|
|
};
|
|
readonly " $fragmentType": "LinkedDocumentsCardFragment";
|
|
};
|
|
export type LinkedDocumentsCardFragment$key = {
|
|
readonly " $data"?: LinkedDocumentsCardFragment$data;
|
|
readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">;
|
|
};
|
|
|
|
const node: ReaderFragment = (function(){
|
|
var v0 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"argumentDefinitions": [],
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "LinkedDocumentsCardFragment",
|
|
"selections": [
|
|
(v0/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "title",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "createdAt",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "documentType",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"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": [
|
|
(v0/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "status",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": "versions(first:1)"
|
|
}
|
|
],
|
|
"type": "Document",
|
|
"abstractKey": null
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "952e653849ce0b1b693de8d7e3086e3f";
|
|
|
|
export default node;
|