diff --git a/.oxlintrc.json b/.oxlintrc.json index 2bcc05d..f9101b9 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -9,5 +9,8 @@ }, "options": { "typeAware": true + }, + "rules": { + "no-extra-boolean-cast": "off" } } diff --git a/precomputer/src/tasks/cluster.ts b/precomputer/src/tasks/cluster.ts index b985fc6..4f303e5 100644 --- a/precomputer/src/tasks/cluster.ts +++ b/precomputer/src/tasks/cluster.ts @@ -34,7 +34,23 @@ export const getClusterPackage = async ({ api, clusterNumber }: Props): Promise< rfcNumber, disposition, references: references.map((reference): ClusterDocumentCommon["references"][number] => { - return reference + const { + relationship, + draftName, + targetDraftName, + sourceRfcNumber, + targetRfcNumber, + targetDisposition + } = reference + + return { + relationship, + draftName, + targetDraftName, + sourceRfcNumber, + targetRfcNumber, + targetDisposition + } }), isReceived, isNormRef, diff --git a/website/app/components/DocumentDependenciesGraph.vue b/website/app/components/DocumentDependenciesGraph.vue index 1fa07d5..15cf24b 100644 --- a/website/app/components/DocumentDependenciesGraph.vue +++ b/website/app/components/DocumentDependenciesGraph.vue @@ -18,10 +18,17 @@
+ +
+ show debug +
+      {{ JSON.stringify(clusterGraphData, null, 2) }}
+    
+