diff --git a/site/gatsby-site/i18n/locales/en/popovers.json b/site/gatsby-site/i18n/locales/en/popovers.json
index 290daa0db3..86e60d335f 100644
--- a/site/gatsby-site/i18n/locales/en/popovers.json
+++ b/site/gatsby-site/i18n/locales/en/popovers.json
@@ -79,6 +79,10 @@
"title": "Quiet",
"text": "Quiet reports are those that will not be published in the 'Latest Reports' section of the homepage. Quiet reports are used for reports that are useful for internal data but do not need to be promoted. If you are unsure, leave this field blank."
},
+ "implicated_systems": {
+ "title": "Implicated Systems",
+ "text": "The AI systems involved in the incident. If multiple, press “enter” to begin a new item."
+ },
"similarIncidentSearch": {
"title": "Search for similar incidents",
"text": "Search for a similar or dissimilar incident by typing an incident ID. If the resulting incident is similar click 'Yes', if it's dissimilar click 'No'. If you're not sure click 'Not sure'. Once selected, the incident will be added to the 'Manually-selected similar and dissimilar incidents' section of the form. Once added, if you want to remove it, click the 'Not Sure' button."
diff --git a/site/gatsby-site/i18n/locales/es/entities.json b/site/gatsby-site/i18n/locales/es/entities.json
index 313232db10..bb668d7b61 100644
--- a/site/gatsby-site/i18n/locales/es/entities.json
+++ b/site/gatsby-site/i18n/locales/es/entities.json
@@ -20,7 +20,9 @@
"{{count}} Report_plural": "{{count}} Reportes",
"Incidents involved as both Developer and Deployer": "Incidentes involucrados como desarrollador e implementador",
"Incidents Harmed By": "Afectado por Incidentes",
- "Alleged: <2>2> developed and deployed an AI system, which harmed <5>5>.": "Presunto: un sistema de IA desarrollado e implementado por <2>2>, perjudicó a <5>5>.",
+ "Alleged: <2>2> developed and deployed an AI system, which harmed <6>6>.": "Presunto: un sistema de IA desarrollado e implementado por <2>2>, perjudicó a <6>6>.",
+ "The AI implicated system is": "El sistema de IA implicado es",
+ "The AI implicated systems are": "Los sistemas de IA implicados son",
"Alleged: <1>1> developed an AI system deployed by <4>4>, which harmed <6>6>.": "Presunto: un sistema de IA desarrollado por <1>1> e implementado por <4>4>, perjudicó a <6>6>.",
"Entities involved in AI Incidents": "^Entities involved in AI Incidents",
"{{count}} Incident responses": "{{count}} respuestas de incidentes",
diff --git a/site/gatsby-site/i18n/locales/es/popovers.json b/site/gatsby-site/i18n/locales/es/popovers.json
index 106a717726..7a6f518847 100644
--- a/site/gatsby-site/i18n/locales/es/popovers.json
+++ b/site/gatsby-site/i18n/locales/es/popovers.json
@@ -79,6 +79,10 @@
"title": "¿Es un informe silencioso?",
"text": "Los informes silenciosos son aquellos que no se publicarán en la sección 'Últimos informes' de la página de inicio. Los informes silenciosos se utilizan para informes que son útiles para datos internos pero que no necesitan promocionarse. Si no está seguro, deje este campo en blanco."
},
+ "implicated_systems": {
+ "title": "Sistemas implicados",
+ "text": "Los sistemas de IA involucrados en el incidente. Si son múltiples, presione “enter” después del elemento para ingresar uno nuevo."
+ },
"similarIncidentSearch": {
"title": "Buscar incidentes similares",
"text": "Busque un incidente similar o diferente escribiendo un ID de incidente. Si el incidente resultante es similar, haga clic en 'Sí', si es diferente, haga clic en 'No'. Si no está seguro, haga clic en 'No estoy seguro'. Una vez seleccionado, el incidente se agregará a la sección del formulario 'Incidentes similares y diferentes seleccionados manualmente'. Una vez agregado, si desea eliminarlo, haga clic en el botón “No estoy seguro”."
diff --git a/site/gatsby-site/i18n/locales/es/submit.json b/site/gatsby-site/i18n/locales/es/submit.json
index 8a0911172b..37289145f7 100644
--- a/site/gatsby-site/i18n/locales/es/submit.json
+++ b/site/gatsby-site/i18n/locales/es/submit.json
@@ -62,5 +62,7 @@
"Submit a new incident report to the Artificial Intelligence Incident Database": "Enviar un nuevo informe de incidente a la Base de Datos de Incidentes de Inteligencia Artificial",
"Draft saved": "Borrador guardado",
"Saving as draft...": "Guardando como borrador...",
+ "Implicated Systems": "Sistemas Implicados",
+ "What systems were involved in the incident?": "¿Qué sistemas estuvieron involucrados en el incidente?",
"Please confirm you are ready to submit this report. Report details cannot be changed after submission.": "Por favor confirma que estás listo para enviar este informe. Los detalles del informe no se pueden cambiar después de la presentación."
}
diff --git a/site/gatsby-site/i18n/locales/es/translation.json b/site/gatsby-site/i18n/locales/es/translation.json
index 9e760d0ad2..0ce17ac5d5 100644
--- a/site/gatsby-site/i18n/locales/es/translation.json
+++ b/site/gatsby-site/i18n/locales/es/translation.json
@@ -564,6 +564,7 @@
"Redirecting...": "Redirigiendo",
"Random Incident": "Incidente aleatorio",
"Risk Checklists": "Control de Riesgos",
+ "Implicated Systems": "Sistemas Implicados",
"Manually-selected similar and dissimilar incidents": "Incidentes similares y disímiles seleccionados manualmente",
"Search similar/dissimilar Incident Id": "Buscar incidente similar/disímil por ID",
"Assigned similar/dissimilar incidents": "Incidentes similares/disímiles asignados",
diff --git a/site/gatsby-site/i18n/locales/es/validation.json b/site/gatsby-site/i18n/locales/es/validation.json
index 778cf63f7c..8b25ed4c09 100644
--- a/site/gatsby-site/i18n/locales/es/validation.json
+++ b/site/gatsby-site/i18n/locales/es/validation.json
@@ -34,5 +34,7 @@
"*Description is required": "*La descripción es obligatoria",
"*Incident Date is required": "*Fecha del incidente es obligatoria",
"*Incident Date required": "*Fecha del incidente es obligatoria",
- "*Incident ID(s) must be a number": "*El ID del incidente debe ser un número"
+ "*Incident ID(s) must be a number": "*El ID del incidente debe ser un número",
+ "Implicated Systems must have at least 3 characters": "Los sistemas implicados deben tener al menos 3 caracteres",
+ "Implicated Systems can't be longer than 200 characters": "Los sistemas implicados no pueden tener más de 200 caracteres"
}
diff --git a/site/gatsby-site/i18n/locales/fr/entities.json b/site/gatsby-site/i18n/locales/fr/entities.json
index 0ab08c7066..d780b45678 100644
--- a/site/gatsby-site/i18n/locales/fr/entities.json
+++ b/site/gatsby-site/i18n/locales/fr/entities.json
@@ -27,5 +27,7 @@
"Editing Entity": "Modification de l'entité",
"Back to Entity: {{name}}": "Retour à l'entité: {{name}}",
"Entity updated successfully.": "Entité mise à jour avec succès.",
- "Error updating Entity.": "Erreur lors de la mise à jour de l'entité."
+ "Error updating Entity.": "Erreur lors de la mise à jour de l'entité.",
+ "The AI implicated system is": "Le système d'IA impliqué est",
+ "The AI implicated systems are": "Les systèmes d'IA impliqués sont"
}
diff --git a/site/gatsby-site/i18n/locales/fr/popovers.json b/site/gatsby-site/i18n/locales/fr/popovers.json
index 99c4ea0da4..f76f03e07c 100644
--- a/site/gatsby-site/i18n/locales/fr/popovers.json
+++ b/site/gatsby-site/i18n/locales/fr/popovers.json
@@ -67,6 +67,10 @@
"title": "Est-ce un rapport silencieux ?",
"text": "Les rapports silencieux sont ceux qui ne seront pas publiés dans la section « Derniers rapports » de la page d'accueil. Les rapports silencieux sont utilisés pour les rapports utiles pour les données internes mais qui n'ont pas besoin d'être promus. Si vous n'êtes pas sûr, laissez ce champ vide."
},
+ "implicated_systems": {
+ "title": "Systèmes d'IA impliqués dans l'incident",
+ "text": "Si plusieurs, appuyez sur « entrée » pour commencer un nouvel élément"
+ },
"similarIncidentSearch": {
"title": "Rechercher des incidents similaires",
"text": "Recherchez un incident similaire ou différent en saisissant un ID d'incident. Si l'incident qui en résulte est similaire, cliquez sur « Oui », s'il est différent, cliquez sur « Non ». Si vous n'êtes pas sûr, cliquez sur « Pas sûr ». Une fois sélectionné, l'incident sera ajouté à la section « Incidents similaires et différents sélectionnés manuellement » du formulaire. Une fois ajouté, si vous souhaitez le supprimer, cliquez sur le bouton « Pas sûr »."
diff --git a/site/gatsby-site/i18n/locales/fr/submit.json b/site/gatsby-site/i18n/locales/fr/submit.json
index ea9ab12166..dc101887be 100644
--- a/site/gatsby-site/i18n/locales/fr/submit.json
+++ b/site/gatsby-site/i18n/locales/fr/submit.json
@@ -59,5 +59,7 @@
"Submit a new incident report to the Artificial Intelligence Incident Database.": "Soumettre un nouveau rapport d'incident à la base de données des incidents d'intelligence artificielle.",
"Draft saved": "Brouillon enregistré",
"Saving as draft...": "Enregistrement en tant que brouillon...",
+ "Implicated Systems": "Systèmes impliqués",
+ "What systems were involved in the incident?": "Quels systèmes étaient impliqués dans l'incident ?",
"Please confirm you are ready to submit this report. Report details cannot be changed after submission.": "Veuillez confirmer que vous êtes prêt à soumettre ce rapport. Les détails du rapport ne peuvent pas être modifiés après la soumission."
}
diff --git a/site/gatsby-site/i18n/locales/fr/translation.json b/site/gatsby-site/i18n/locales/fr/translation.json
index 4d17ab37f5..65cf363a35 100644
--- a/site/gatsby-site/i18n/locales/fr/translation.json
+++ b/site/gatsby-site/i18n/locales/fr/translation.json
@@ -551,6 +551,8 @@
"Random Incident": "Incident au hasard",
"Read the Source": "Lire la source",
"Risk Checklists": "Contrôle des risques",
+ "Implicated Systems": "Systèmes impliqués",
+ "and": "et",
"Manually-selected similar and dissimilar incidents": "Incidents similaires et dissemblables sélectionnés manuellement",
"Search similar/dissimilar Incident Id": "Rechercher un incident similaire/dissimilaire",
"Assigned similar/dissimilar incidents": "Incidents similaires/dissimilaires attribués",
diff --git a/site/gatsby-site/i18n/locales/fr/validation.json b/site/gatsby-site/i18n/locales/fr/validation.json
index 1701f0da92..75fb77e759 100644
--- a/site/gatsby-site/i18n/locales/fr/validation.json
+++ b/site/gatsby-site/i18n/locales/fr/validation.json
@@ -28,5 +28,7 @@
"*Description is required": "*La description est requise",
"*Incident Date is required": "*Date de l'incident requise",
"*Incident Date required": "*Date de l'incident requise",
- "*Incident ID(s) must be a number": "*L'ID de l'incident doit être un nombre"
+ "*Incident ID(s) must be a number": "*L'ID de l'incident doit être un nombre",
+ "Implicated Systems must have at least 3 characters": "Les systèmes impliqués doivent comporter au moins 3 caractères",
+ "Implicated Systems can't be longer than 200 characters": "Les systèmes impliqués ne peuvent pas comporter plus de 200 caractères"
}
diff --git a/site/gatsby-site/i18n/locales/ja/entities.json b/site/gatsby-site/i18n/locales/ja/entities.json
index 4f3e80aba2..2019b640ea 100644
--- a/site/gatsby-site/i18n/locales/ja/entities.json
+++ b/site/gatsby-site/i18n/locales/ja/entities.json
@@ -28,5 +28,7 @@
"Editing Entity": "組織の編集",
"Back to Entity: {{name}}": "組織に戻る: {{name}}",
"Entity updated successfully.": "組織が正常に更新されました。",
- "Error updating Entity.": "組織の更新中にエラーが発生しました。"
+ "Error updating Entity.": "組織の更新中にエラーが発生しました。",
+ "The AI implicated system is": "関連するAIシステムは です",
+ "The AI implicated systems are": "関連するAIシステムは です"
}
diff --git a/site/gatsby-site/i18n/locales/ja/popovers.json b/site/gatsby-site/i18n/locales/ja/popovers.json
index 31a75349c9..bcfc303c7f 100644
--- a/site/gatsby-site/i18n/locales/ja/popovers.json
+++ b/site/gatsby-site/i18n/locales/ja/popovers.json
@@ -75,6 +75,10 @@
"title": "あなたです!",
"text": "現在ログイン中なのでこの投稿は自動的にあなたのアカウントに関連づけられます。匿名で投稿するには、ブラウザウィンドウを匿名モードで開いて投稿してください。"
},
+ "implicated_systems": {
+ "title": "インシデントに関与したAIシステム",
+ "text": "複数ある場合は、新しい項目を入力するためにEnterキーを押してください"
+ },
"similarIncidentSearch": {
"title": "類似の事件を検索",
"text": "インシデント ID を入力して、類似または非類似のインシデントを検索します。結果のインシデントが類似している場合は「はい」をクリックし、非類似の場合は「いいえ」をクリックします。不明な場合は「不明」をクリックします。選択すると、インシデントはフォームの「手動で選択された類似および非類似のインシデント」セクションに追加されます。追加した後で削除したい場合は、「わからない」ボタンをクリックします。"
diff --git a/site/gatsby-site/i18n/locales/ja/submit.json b/site/gatsby-site/i18n/locales/ja/submit.json
index 1602798113..be5758583e 100644
--- a/site/gatsby-site/i18n/locales/ja/submit.json
+++ b/site/gatsby-site/i18n/locales/ja/submit.json
@@ -61,5 +61,7 @@
"Saving changes...": "変更を保存中...",
"Draft saved": "下書きが保存されました",
"Saving as draft...": "下書きとして保存中...",
+ "Implicated Systems": "関連システム",
+ "What systems were involved in the incident?": "このインシデントに関わるシステムは何ですか?",
"Please confirm you are ready to submit this report. Report details cannot be changed after submission.": "このレポートを送信する準備ができていることを確認してください。送信後にレポートの詳細を変更することはできません"
}
diff --git a/site/gatsby-site/i18n/locales/ja/validation.json b/site/gatsby-site/i18n/locales/ja/validation.json
index 9dcfd40b74..2f030128d5 100644
--- a/site/gatsby-site/i18n/locales/ja/validation.json
+++ b/site/gatsby-site/i18n/locales/ja/validation.json
@@ -13,5 +13,7 @@
"Please review report. Some data is missing.": "レポートを確認してください。足りない情報があります",
"Please review submission. Some data is missing.": "投稿を確認してください。足りない情報があります",
"Some data is missing.": "足りない情報があります",
- "Please review. Some data is missing.": "確認してください。足りない情報があります"
+ "Please review. Some data is missing.": "確認してください。足りない情報があります",
+ "Implicated Systems must have at least 3 characters": "関連システムは3文字以上でなければいけません",
+ "Implicated Systems can't be longer than 200 characters": "関連システムは200文字を超えることはできません"
}
diff --git a/site/gatsby-site/migrations/2024.07.25T14.51.08.set-implicated-systems.js b/site/gatsby-site/migrations/2024.07.25T14.51.08.set-implicated-systems.js
new file mode 100644
index 0000000000..c4437b2b9f
--- /dev/null
+++ b/site/gatsby-site/migrations/2024.07.25T14.51.08.set-implicated-systems.js
@@ -0,0 +1,77 @@
+const config = require('../config');
+/**
+ *
+ * @param {{context: {client: import('mongodb').MongoClient}}} context
+ */
+
+exports.up = async ({ context: { client } }) => {
+ await client.connect();
+
+ // New implicated_systems field on submissions and incidents collections from production db and history db
+
+ const submissionsCollection = client
+ .db(config.realm.production_db.db_name)
+ .collection('submissions');
+
+ const submissionsHistoryCollection = client
+ .db(config.realm.production_db.db_history_name)
+ .collection('submissions');
+
+ const incidentsCollection = client.db(config.realm.production_db.db_name).collection('incidents');
+
+ const incidentsHistoryCollection = client
+ .db(config.realm.production_db.db_history_name)
+ .collection('incidents');
+
+ const submissionsUpdates = await submissionsCollection.updateMany(
+ {},
+ {
+ $set: {
+ implicated_systems: [],
+ },
+ }
+ );
+
+ console.log(
+ `Updated ${submissionsUpdates.modifiedCount} submissions with new implicated_systems field`
+ );
+
+ const submissionsHistoryUpdates = await submissionsHistoryCollection.updateMany(
+ {},
+ {
+ $set: {
+ implicated_systems: [],
+ },
+ }
+ );
+
+ console.log(
+ `Updated ${submissionsHistoryUpdates.modifiedCount} submissions history with new created_at field`
+ );
+
+ const incidentsUpdates = await incidentsCollection.updateMany(
+ {},
+ {
+ $set: {
+ implicated_systems: [],
+ },
+ }
+ );
+
+ console.log(
+ `Updated ${incidentsUpdates.modifiedCount} incidents with new implicated_systems field`
+ );
+
+ const incidentsHistoryUpdates = await incidentsHistoryCollection.updateMany(
+ {},
+ {
+ $set: {
+ implicated_systems: [],
+ },
+ }
+ );
+
+ console.log(
+ `Updated ${incidentsHistoryUpdates.modifiedCount} incidents history with new created_at field`
+ );
+};
diff --git a/site/gatsby-site/page-creators/createEntitiesPages.js b/site/gatsby-site/page-creators/createEntitiesPages.js
index f4f34e782f..c570cd2be4 100644
--- a/site/gatsby-site/page-creators/createEntitiesPages.js
+++ b/site/gatsby-site/page-creators/createEntitiesPages.js
@@ -14,6 +14,7 @@ const createEntitiesPages = async (graphql, createPage) => {
Alleged_deployer_of_AI_system
Alleged_developer_of_AI_system
Alleged_harmed_or_nearly_harmed_parties
+ implicated_systems
reports {
report_number
}
@@ -55,6 +56,7 @@ const createEntitiesPages = async (graphql, createPage) => {
incidentsAsDeveloper: entity.incidentsAsDeveloper,
incidentsAsBoth: entity.incidentsAsBoth,
incidentsHarmedBy: entity.incidentsHarmedBy,
+ incidentsImplicatedSystems: entity.incidentsImplicatedSystems,
relatedEntities: entity.relatedEntities,
responses: entity.responses,
},
diff --git a/site/gatsby-site/playwright/e2e-full/apps/incidents.spec.ts b/site/gatsby-site/playwright/e2e-full/apps/incidents.spec.ts
index cb64eb2f85..90ba9bb04a 100644
--- a/site/gatsby-site/playwright/e2e-full/apps/incidents.spec.ts
+++ b/site/gatsby-site/playwright/e2e-full/apps/incidents.spec.ts
@@ -66,6 +66,69 @@ test.describe('Incidents App', () => {
});
});
+ test('Entities should link to entities page', async ({ page }) => {
+
+ await init();
+ await page.goto(url);
+
+ await page.waitForSelector('[data-testid="flowbite-toggleswitch-toggle"]');
+ await page.locator('[data-testid="flowbite-toggleswitch-toggle"]').click();
+
+ const { data: { incidents } } = await query({
+ query: gql`{
+ incidents {
+ incident_id
+ title
+ description
+ date
+ AllegedDeployerOfAISystem {
+ entity_id
+ name
+ }
+ AllegedDeveloperOfAISystem {
+ entity_id
+ name
+ }
+ AllegedHarmedOrNearlyHarmedParties {
+ entity_id
+ name
+ }
+ implicated_systems {
+ entity_id
+ name
+ }
+ }
+ }`
+ });
+
+ const rowLocator = page.locator('[data-cy="row"]').first();
+ const firstIncident = incidents[0];
+
+ for (const [index, deployer] of firstIncident.AllegedDeployerOfAISystem.entries()) {
+
+ const link = await rowLocator.locator('[data-cy="cell"]').nth(4).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
+ expect(link).toContain(`/entities/${deployer.entity_id}`);
+ }
+
+ for (const [index, developer] of firstIncident.AllegedDeveloperOfAISystem.entries()) {
+
+ const link = await rowLocator.locator('[data-cy="cell"]').nth(5).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
+ expect(link).toContain(`/entities/${developer.entity_id}`);
+ }
+
+ for (const [index, harmed] of firstIncident.AllegedHarmedOrNearlyHarmedParties.entries()) {
+
+ const link = await rowLocator.locator('[data-cy="cell"]').nth(6).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
+ expect(link).toContain(`/entities/${harmed.entity_id}`);
+ }
+
+ for (const [index, implicated_system] of firstIncident.implicated_systems.entries()) {
+
+ const link = await rowLocator.locator('[data-cy="cell"]').nth(7).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
+ expect(link).toContain(`/entities/${implicated_system.entity_id}`);
+ }
+ });
+
test('Successfully assigns similar/dissimilar incidents to incident 3', async ({ page, login }) => {
await init();
@@ -123,56 +186,6 @@ test.describe('Incidents App', () => {
});
});
- test('Entities should link to entities page', async ({ page }) => {
-
- await page.goto(url);
-
- await page.waitForSelector('[data-testid="flowbite-toggleswitch-toggle"]');
- await page.locator('[data-testid="flowbite-toggleswitch-toggle"]').click();
-
- const incidents = await query({
- query: gql`{
- incidents {
- title
- description
- editor_dissimilar_incidents
- editor_similar_incidents
- AllegedDeployerOfAISystem {
- entity_id
- }
- AllegedDeveloperOfAISystem {
- entity_id
- }
- AllegedHarmedOrNearlyHarmedParties {
- entity_id
- }
- }
- }`
- });
-
- const firstIncident = incidents.data.incidents[0];
- const firstRow = page.locator('[data-cy="row"]').first();
-
- // AllegedDeployerOfAISystem
- for (const [index, deployer] of firstIncident.AllegedDeployerOfAISystem.entries()) {
- const link = await firstRow.locator('[data-cy=cell]').nth(4).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
- expect(link).toContain(`/entities/${deployer.entity_id}/`);
- }
-
- // AllegedDeveloperOfAISystem
- for (const [index, developer] of firstIncident.AllegedDeveloperOfAISystem.entries()) {
- const link = await firstRow.locator('[data-cy=cell]').nth(5).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
- expect(link).toContain(`/entities/${developer.entity_id}/`);
- }
-
- // AllegedHarmedOrNearlyHarmedParties
- for (const [index, harmed] of firstIncident.AllegedHarmedOrNearlyHarmedParties.entries()) {
- const link = await firstRow.locator('[data-cy=cell]').nth(6).locator('[data-cy="cell-entity-link"]').nth(index).getAttribute('href');
- expect(link).toContain(`/entities/${harmed.entity_id}/`);
- }
-
- });
-
test('Should display a list of live incidents', async ({ page }) => {
await init({
@@ -199,6 +212,9 @@ test.describe('Incidents App', () => {
AllegedHarmedOrNearlyHarmedParties {
name
}
+ implicated_systems {
+ name
+ }
}
}`
});
@@ -211,17 +227,19 @@ test.describe('Incidents App', () => {
const rowLocator = page.locator('[data-cy="row"]').first();
const firstIncident = incidents[0];
- await expect(rowLocator.locator('[data-cy="cell"]')).toHaveCount(7, { timeout: 10000 });
+ await expect(rowLocator.locator('[data-cy="cell"]')).toHaveCount(8);
await expect(rowLocator.locator('[data-cy="cell"]').nth(0)).toHaveText(`Incident ${firstIncident.incident_id}`);
await expect(rowLocator.locator('[data-cy="cell"]').nth(1)).toHaveText(firstIncident.title);
await expect(rowLocator.locator('[data-cy="cell"]').nth(2)).toHaveText(firstIncident.description);
- await expect(rowLocator.locator('[data-cy="cell"]').nth(3)).toHaveText(firstIncident.date);
+ // TODO: fix these
+ await expect(rowLocator.locator('[data-cy="cell"]').nth(3)).toHaveText(firstIncident.date);
await expect(rowLocator.locator('[data-cy="cell"]').nth(4)).toHaveText(firstIncident.AllegedDeployerOfAISystem.map((i: any) => i.name).join(', '));
await expect(rowLocator.locator('[data-cy="cell"]').nth(5)).toHaveText(firstIncident.AllegedDeveloperOfAISystem.map((i: any) => i.name).join(', '));
await expect(rowLocator.locator('[data-cy="cell"]').nth(6)).toHaveText(firstIncident.AllegedHarmedOrNearlyHarmedParties.map((i: any) => i.name).join(', '));
+ await expect(rowLocator.locator('[data-cy="cell"]').nth(7)).toHaveText(firstIncident.implicated_systems.map((i: any) => i.name).join(', '));
});
test('Should navigate to the last page, and the first page', async ({ page }) => {
diff --git a/site/gatsby-site/playwright/e2e-full/cite.spec.ts b/site/gatsby-site/playwright/e2e-full/cite.spec.ts
index dbf602ead2..b14aba546e 100644
--- a/site/gatsby-site/playwright/e2e-full/cite.spec.ts
+++ b/site/gatsby-site/playwright/e2e-full/cite.spec.ts
@@ -452,7 +452,7 @@ test.describe('Cite pages', () => {
test('Should show proper entities card text', async ({ page }) => {
await page.goto('/cite/3/');
await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText(
- 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.'
+ 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.The AI implicated system is Entity 1.'
);
});
diff --git a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts
index 1911d6b8f3..68e009764e 100644
--- a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts
+++ b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts
@@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => {
await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible();
await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText(
- 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.'
+ 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.The AI implicated system is Entity 1.'
);
await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2');
diff --git a/site/gatsby-site/playwright/e2e-full/incidents/new.spec.ts b/site/gatsby-site/playwright/e2e-full/incidents/new.spec.ts
index cb6b81cf93..c4840b6c44 100644
--- a/site/gatsby-site/playwright/e2e-full/incidents/new.spec.ts
+++ b/site/gatsby-site/playwright/e2e-full/incidents/new.spec.ts
@@ -32,6 +32,8 @@ test.describe('New Incident page', () => {
await page.keyboard.press('Enter');
await page.locator('[data-cy="alleged-harmed-or-nearly-harmed-parties-input"] input').first().fill('children');
await page.keyboard.press('Enter');
+ await page.locator('[data-cy="implicated-systems-input"] input').first().fill('children');
+ await page.keyboard.press('Enter');
await fillAutoComplete(page, '#input-editors', 'Joh', 'John Doe');
diff --git a/site/gatsby-site/playwright/e2e-full/pageCreators/createEntitiesPages.spec.ts b/site/gatsby-site/playwright/e2e-full/pageCreators/createEntitiesPages.spec.ts
index 7c937301d3..75113fe2a5 100644
--- a/site/gatsby-site/playwright/e2e-full/pageCreators/createEntitiesPages.spec.ts
+++ b/site/gatsby-site/playwright/e2e-full/pageCreators/createEntitiesPages.spec.ts
@@ -19,6 +19,7 @@ test.describe('createEntitiesPages', () => {
Alleged_developer_of_AI_system: ['ai-developer-1'],
Alleged_harmed_or_nearly_harmed_parties: ['party-1'],
reports: [{ report_number: 1 }, { report_number: 2 }],
+ implicated_systems: ['ai-deployer-1'],
},
{
incident_id: 2,
@@ -27,6 +28,7 @@ test.describe('createEntitiesPages', () => {
Alleged_developer_of_AI_system: ['ai-developer-1'],
Alleged_harmed_or_nearly_harmed_parties: ['party-1', 'party-2'],
reports: [{ report_number: 3 }],
+ implicated_systems: ['ai-deployer-1'],
},
{
incident_id: 3,
@@ -35,6 +37,7 @@ test.describe('createEntitiesPages', () => {
Alleged_developer_of_AI_system: ['ai-developer-2'],
Alleged_harmed_or_nearly_harmed_parties: ['party-2'],
reports: [{ report_number: 4 }, { report_number: 5 }],
+ implicated_systems: ['ai-deployer-1'],
},
{
incident_id: 4,
@@ -43,6 +46,7 @@ test.describe('createEntitiesPages', () => {
Alleged_developer_of_AI_system: ['ai-developer-1', 'ai-developer-2'],
Alleged_harmed_or_nearly_harmed_parties: ['party-3'],
reports: [{ report_number: 6 }, { report_number: 7 }, { report_number: 8 }],
+ implicated_systems: ['ai-deployer-1'],
},
],
},
diff --git a/site/gatsby-site/playwright/seeds/aiidprod/incidents.ts b/site/gatsby-site/playwright/seeds/aiidprod/incidents.ts
index dd360419ab..ecf90e2521 100644
--- a/site/gatsby-site/playwright/seeds/aiidprod/incidents.ts
+++ b/site/gatsby-site/playwright/seeds/aiidprod/incidents.ts
@@ -11,6 +11,7 @@ const incidents: DBIncident[] = [
"Alleged harmed or nearly harmed parties": ["entity-3"],
editors: ["user1"],
reports: [1],
+ implicated_systems: ["entity-1"],
// TODO: this aren't required but break the build if missing
editor_notes: "",
@@ -28,6 +29,7 @@ const incidents: DBIncident[] = [
"Alleged harmed or nearly harmed parties": ["entity-3"],
editors: ["user1"],
reports: [2],
+ implicated_systems: ["entity-1"],
// TODO: this aren't required but break the build if missing
editor_notes: "",
@@ -86,6 +88,7 @@ const incidents: DBIncident[] = [
},
// this field is currently present in the database but not mapped to any graphql fueld
// "created_at": 1407974400000
+ implicated_systems: ["entity-1"],
},
]
diff --git a/site/gatsby-site/playwright/seeds/aiidprod/submissions.ts b/site/gatsby-site/playwright/seeds/aiidprod/submissions.ts
index feaf3c03f9..2d2f5c20ca 100644
--- a/site/gatsby-site/playwright/seeds/aiidprod/submissions.ts
+++ b/site/gatsby-site/playwright/seeds/aiidprod/submissions.ts
@@ -24,6 +24,7 @@ const submissions: DBSubmission[] = [
title: "Sample title",
url: "http://example.com",
user: "user1",
+ implicated_systems: ["entity-1"],
incident_title: "Incident title",
incident_date: "2021-09-14",
editor_notes: "This is an editor note",
diff --git a/site/gatsby-site/playwright/seeds/history/incidentsHistory.ts b/site/gatsby-site/playwright/seeds/history/incidentsHistory.ts
index dca109f6bd..f9cdd58c5c 100644
--- a/site/gatsby-site/playwright/seeds/history/incidentsHistory.ts
+++ b/site/gatsby-site/playwright/seeds/history/incidentsHistory.ts
@@ -15,6 +15,7 @@ const items: DBIncidentHistory[] = [
"Alleged harmed or nearly harmed parties": [
"entity-3"
],
+ "implicated_systems": ["entity-1"],
"editors": [
"user1",
],
@@ -43,6 +44,7 @@ const items: DBIncidentHistory[] = [
"Alleged harmed or nearly harmed parties": [
"entity-3"
],
+ "implicated_systems": ["entity-1"],
"editors": [
"user1",
"619b47ea5eed5334edfa3bbc"
@@ -72,6 +74,7 @@ const items: DBIncidentHistory[] = [
"Alleged harmed or nearly harmed parties": [
"entity-3"
],
+ "implicated_systems": ["entity-1"],
"editors": [
"user1",
"619b47ea5eed5334edfa3bbc"
@@ -101,6 +104,7 @@ const items: DBIncidentHistory[] = [
"Alleged harmed or nearly harmed parties": [
"entity-3"
],
+ "implicated_systems": ["entity-1"],
"editors": [
"user1",
"619b47ea5eed5334edfa3bbc",
diff --git a/site/gatsby-site/server/emails/index.ts b/site/gatsby-site/server/emails/index.ts
index ec345f06b9..2da64d2381 100644
--- a/site/gatsby-site/server/emails/index.ts
+++ b/site/gatsby-site/server/emails/index.ts
@@ -19,6 +19,7 @@ interface SendEmailParams {
developers?: string;
deployers?: string;
entitiesHarmed?: string;
+ implicatedSystems?: string;
reportUrl?: string;
reportTitle?: string;
reportAuthor?: string;
@@ -69,7 +70,7 @@ export const sendEmail = async ({ recipients, subject, dynamicData, templateId }
}]
// We have to do this because MailerSend is escaping the placeholders containing html tags
- const html = replacePlaceholdersWithAllowedKeys(emailTemplateBody, dynamicData, ['developers', 'deployers', 'entitiesHarmed'])
+ const html = replacePlaceholdersWithAllowedKeys(emailTemplateBody, dynamicData, ['developers', 'deployers', 'entitiesHarmed', 'implicatedSystems'])
const emailParams = new EmailParams()
.setFrom({ email: config.NOTIFICATIONS_SENDER, name: config.NOTIFICATIONS_SENDER_NAME })
diff --git a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts
index 88bde38c10..4653d01702 100644
--- a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts
+++ b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts
@@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}
- Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}.
+ Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts
index da129d86ac..c033435c78 100644
--- a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts
+++ b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts
@@ -166,7 +166,7 @@ export default `{{incidentDescription}}
Incident Date: {{incidentDate}}
- Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}.
+ Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewIncident.ts b/site/gatsby-site/server/emails/templates/NewIncident.ts
index 048d962f2e..c49d028092 100644
--- a/site/gatsby-site/server/emails/templates/NewIncident.ts
+++ b/site/gatsby-site/server/emails/templates/NewIncident.ts
@@ -165,7 +165,7 @@ export default `{{incidentDescription}}
Incident Date: {{incidentDate}}
- Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}.
+ Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/fields/common.ts b/site/gatsby-site/server/fields/common.ts
index 52544de611..ec5f70bfc5 100644
--- a/site/gatsby-site/server/fields/common.ts
+++ b/site/gatsby-site/server/fields/common.ts
@@ -218,6 +218,7 @@ export const createNotificationsOnNewIncident = async (fullDocument: DBIncident,
'Alleged deployer of AI system',
'Alleged developer of AI system',
'Alleged harmed or nearly harmed parties',
+ 'implicated_systems'
];
const entities: string[] = [];
@@ -273,6 +274,7 @@ export function hasRelevantUpdates(before: DBIncident, after: DBIncident): boole
"editor_similar_incidents",
"flagged_dissimilar_incidents",
"nlp_similar_incidents",
+ "implicated_systems"
];
const hasMonitoredUpdates = monitoredFields.some((field) => {
@@ -328,6 +330,7 @@ export const createNotificationsOnUpdatedIncident = async (fullDocument: DBIncid
'Alleged deployer of AI system',
'Alleged developer of AI system',
'Alleged harmed or nearly harmed parties',
+ 'implicated_systems'
];
const entities: string[] = [];
diff --git a/site/gatsby-site/server/fields/submissions.ts b/site/gatsby-site/server/fields/submissions.ts
index e81cde431f..d9a2f253ce 100644
--- a/site/gatsby-site/server/fields/submissions.ts
+++ b/site/gatsby-site/server/fields/submissions.ts
@@ -105,6 +105,7 @@ export const mutationFields: GraphQLFieldConfigMap = {
nlp_similar_incidents: submission.nlp_similar_incidents || [],
editor_similar_incidents: submission.editor_similar_incidents || [],
editor_dissimilar_incidents: submission.editor_dissimilar_incidents || [],
+ implicated_systems: submission.implicated_systems || [],
editor_notes: submission.editor_notes ?? '',
flagged_dissimilar_incidents: [],
}
diff --git a/site/gatsby-site/server/generated/gql.ts b/site/gatsby-site/server/generated/gql.ts
index e0435f5730..c0028f6cad 100644
--- a/site/gatsby-site/server/generated/gql.ts
+++ b/site/gatsby-site/server/generated/gql.ts
@@ -20,17 +20,17 @@ const documents = {
"\n query FindEntities {\n entities {\n entity_id\n name\n }\n }\n": types.FindEntitiesDocument,
"\n query FindEntity($filter: EntityFilterType) {\n entity(filter: $filter) {\n entity_id\n name\n created_at\n date_modified\n }\n }\n": types.FindEntityDocument,
"\n mutation UpdateEntity($filter: EntityFilterType!, $update: EntityUpdateType!) {\n updateOneEntity(filter: $filter, update: $update) {\n entity_id\n }\n }\n": types.UpdateEntityDocument,
- "\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n": types.FindIncidentDocument,
- "\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n": types.FindIncidentsTableDocument,
- "\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n }\n }\n": types.FindIncidentEntitiesDocument,
- "\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n": types.FindIncidentsDocument,
+ "\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n": types.FindIncidentDocument,
+ "\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n": types.FindIncidentsTableDocument,
+ "\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n }\n }\n": types.FindIncidentEntitiesDocument,
+ "\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n": types.FindIncidentsDocument,
"\n query FindIncidentsTitles($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n }\n }\n": types.FindIncidentsTitlesDocument,
- "\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n": types.UpdateIncidentDocument,
+ "\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n": types.UpdateIncidentDocument,
"\n mutation UpdateIncidents($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateManyIncidents(filter: $filter, update: $update) {\n matchedCount\n modifiedCount\n }\n }\n": types.UpdateIncidentsDocument,
"\n mutation InsertIncident($data: IncidentInsertType!) {\n insertOneIncident(data: $data) {\n incident_id\n }\n }\n": types.InsertIncidentDocument,
"\n query FindLastIncident {\n incidents(sort: { incident_id: DESC }, pagination: { limit: 1, skip: 0 }) {\n incident_id\n }\n }\n": types.FindLastIncidentDocument,
- "\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n": types.FindIncidentFullDocument,
- "\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n": types.FindIncidentHistoryDocument,
+ "\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n": types.FindIncidentFullDocument,
+ "\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n implicated_systems\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n": types.FindIncidentHistoryDocument,
"\n mutation FlagIncidentSimilarity($incidentId: Int!, $dissimilarIds: [Int!]) {\n flagIncidentSimilarity(incidentId: $incidentId, dissimilarIds: $dissimilarIds) {\n incident_id\n flagged_dissimilar_incidents\n editors {\n userId\n }\n }\n }\n": types.FlagIncidentSimilarityDocument,
"\n query AllQuickAdd($filter: QuickaddFilterType!) {\n quickadds(filter: $filter) {\n _id\n date_submitted\n url\n source_domain\n }\n }\n": types.AllQuickAddDocument,
"\n mutation DeleteOneQuickAdd($filter: QuickaddFilterType) {\n deleteManyQuickadds(filter: $filter) {\n deletedCount\n }\n }\n": types.DeleteOneQuickAddDocument,
@@ -45,9 +45,9 @@ const documents = {
"\n query FindReportsTable($filter: ReportFilterType!) {\n reports(filter: $filter, sort: { report_number: DESC }) {\n _id\n submitters\n date_published\n date_downloaded\n date_submitted\n date_modified\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n editor_notes\n is_incident_report\n }\n }\n": types.FindReportsTableDocument,
"\n mutation FlagReport($report_number: Int!, $input: Boolean!) {\n flagReport(report_number: $report_number, input: $input) {\n report_number\n flag\n date_modified\n epoch_date_modified\n }\n }\n": types.FlagReportDocument,
"\n mutation DeleteSubmission($_id: ObjectId!) {\n deleteOneSubmission(filter: { _id: { EQ: $_id } }) {\n _id\n }\n }\n": types.DeleteSubmissionDocument,
- "\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n }\n }\n": types.FindSubmissionsDocument,
- "\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n }\n }\n": types.FindSubmissionDocument,
- "\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n }\n }\n": types.UpdateSubmissionDocument,
+ "\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n": types.FindSubmissionsDocument,
+ "\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n": types.FindSubmissionDocument,
+ "\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n implicated_systems {\n entity_id\n name\n }\n }\n }\n": types.UpdateSubmissionDocument,
"\n mutation InsertSubmission($data: SubmissionInsertType!) {\n insertOneSubmission(data: $data) {\n _id\n }\n }\n": types.InsertSubmissionDocument,
"\n mutation PromoteSubmission($input: PromoteSubmissionToReportInput!) {\n promoteSubmissionToReport(input: $input) {\n incident_ids\n report_number\n }\n }\n": types.PromoteSubmissionDocument,
"\n mutation UpsertSubscription($filter: SubscriptionFilterType!, $update: SubscriptionInsertType!) {\n upsertOneSubscription(filter: $filter, update: $update) {\n _id\n }\n }\n": types.UpsertSubscriptionDocument,
@@ -113,19 +113,19 @@ export function gql(source: "\n mutation UpdateEntity($filter: EntityFilterType
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"): (typeof documents)["\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"];
+export function gql(source: "\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"): (typeof documents)["\n query FindIncident($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n"];
+export function gql(source: "\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentsTable($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n reports {\n report_number\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n }\n }\n"];
+export function gql(source: "\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentEntities($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n"): (typeof documents)["\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n"];
+export function gql(source: "\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n"): (typeof documents)["\n query FindIncidents($filter: IncidentFilterType) {\n incidents(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
@@ -133,7 +133,7 @@ export function gql(source: "\n query FindIncidentsTitles($filter: IncidentFilt
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"): (typeof documents)["\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"];
+export function gql(source: "\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"): (typeof documents)["\n mutation UpdateIncident($filter: IncidentFilterType!, $update: IncidentUpdateType!) {\n updateOneIncident(filter: $filter, update: $update) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n report_number\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
@@ -149,11 +149,11 @@ export function gql(source: "\n query FindLastIncident {\n incidents(sort: {
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n"];
+export function gql(source: "\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentFull($filter: IncidentFilterType) {\n incident(filter: $filter) {\n incident_id\n title\n description\n editors {\n userId\n first_name\n last_name\n }\n date\n AllegedDeployerOfAISystem {\n entity_id\n name\n }\n AllegedDeveloperOfAISystem {\n entity_id\n name\n }\n AllegedHarmedOrNearlyHarmedParties {\n entity_id\n name\n }\n implicated_systems {\n entity_id\n name\n }\n nlp_similar_incidents {\n incident_id\n similarity\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n flagged_dissimilar_incidents\n reports {\n submitters\n date_published\n report_number\n title\n description\n url\n image_url\n cloudinary_id\n source_domain\n text\n authors\n epoch_date_submitted\n language\n tags\n inputs_outputs\n }\n embedding {\n from_reports\n vector\n }\n editor_notes\n epoch_date_modified\n tsne {\n x\n y\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n"];
+export function gql(source: "\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n implicated_systems\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n"): (typeof documents)["\n query FindIncidentHistory($filter: History_incidentFilterType) {\n history_incidents(filter: $filter, sort: {epoch_date_modified: DESC}) {\n incident_id\n AllegedDeployerOfAISystem\n AllegedDeveloperOfAISystem\n AllegedHarmedOrNearlyHarmedParties\n implicated_systems\n _id\n date\n description\n modifiedBy\n editor_dissimilar_incidents\n editor_notes\n editor_similar_incidents\n editors\n embedding {\n from_reports\n vector\n }\n epoch_date_modified\n flagged_dissimilar_incidents\n nlp_similar_incidents {\n incident_id\n similarity\n }\n reports\n title\n tsne {\n x\n y\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
@@ -213,15 +213,15 @@ export function gql(source: "\n mutation DeleteSubmission($_id: ObjectId!) {\n
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n }\n }\n"): (typeof documents)["\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n }\n }\n"];
+export function gql(source: "\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"): (typeof documents)["\n query FindSubmissions {\n submissions {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n plain_text\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n status\n user {\n userId\n }\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n }\n }\n"): (typeof documents)["\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n }\n }\n"];
+export function gql(source: "\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"): (typeof documents)["\n query FindSubmission($filter: SubmissionFilterType!) {\n submission(filter: $filter) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n status\n quiet\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
-export function gql(source: "\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n }\n }\n"): (typeof documents)["\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n }\n }\n"];
+export function gql(source: "\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateSubmission($filter: SubmissionFilterType!, $update: SubmissionUpdateType!) {\n updateOneSubmission(filter: $filter, update: $update) {\n _id\n cloudinary_id\n date_downloaded\n date_modified\n date_published\n date_submitted\n description\n image_url\n incident_date\n incident_ids\n incident_editors {\n first_name\n last_name\n userId\n }\n incident_title\n language\n source_domain\n text\n title\n authors\n submitters\n url\n editor_notes\n tags\n developers {\n entity_id\n name\n }\n deployers {\n entity_id\n name\n }\n harmed_parties {\n entity_id\n name\n }\n nlp_similar_incidents {\n similarity\n incident_id\n }\n editor_similar_incidents\n editor_dissimilar_incidents\n implicated_systems {\n entity_id\n name\n }\n }\n }\n"];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
diff --git a/site/gatsby-site/server/generated/graphql.ts b/site/gatsby-site/server/generated/graphql.ts
index 20d599fe8e..d2e5da2ed9 100644
--- a/site/gatsby-site/server/generated/graphql.ts
+++ b/site/gatsby-site/server/generated/graphql.ts
@@ -809,8 +809,10 @@ export type CreateVariantInputVariant = {
export type CreateVariantPayload = {
__typename?: 'CreateVariantPayload';
- incident_id?: Maybe;
- report_number?: Maybe;
+ /** The unique identifier for the incident. */
+ incident_id: Scalars['Int']['output'];
+ /** The unique report number associated with the incident. */
+ report_number: Scalars['Int']['output'];
};
/** Filter type for DateTime scalar */
@@ -1146,6 +1148,7 @@ export type History_Incident = {
embedding?: Maybe;
epoch_date_modified?: Maybe;
flagged_dissimilar_incidents?: Maybe>>;
+ implicated_systems?: Maybe>>;
incident_id: Scalars['Int']['output'];
modifiedBy?: Maybe;
nlp_similar_incidents?: Maybe>>;
@@ -1199,6 +1202,7 @@ export type History_IncidentFilterType = {
embedding?: InputMaybe;
epoch_date_modified?: InputMaybe;
flagged_dissimilar_incidents?: InputMaybe;
+ implicated_systems?: InputMaybe;
incident_id?: InputMaybe;
modifiedBy?: InputMaybe;
nlp_similar_incidents?: InputMaybe;
@@ -1522,6 +1526,7 @@ export type Incident = {
embedding?: Maybe;
epoch_date_modified?: Maybe;
flagged_dissimilar_incidents?: Maybe>>;
+ implicated_systems?: Maybe>>;
incident_id: Scalars['Int']['output'];
nlp_similar_incidents?: Maybe>>;
reports?: Maybe>>;
@@ -1628,6 +1633,7 @@ export type IncidentFilterType = {
embedding?: InputMaybe;
epoch_date_modified?: InputMaybe;
flagged_dissimilar_incidents?: InputMaybe;
+ implicated_systems?: InputMaybe;
incident_id?: InputMaybe;
nlp_similar_incidents?: InputMaybe;
reports?: InputMaybe;
@@ -1635,6 +1641,14 @@ export type IncidentFilterType = {
tsne?: InputMaybe;
};
+export type IncidentImplicatedSystemsRelationInput = {
+ link?: InputMaybe>>;
+};
+
+export type IncidentImplicated_SystemsRelationInput = {
+ link: Array>;
+};
+
export type IncidentInsertType = {
AllegedDeployerOfAISystem?: InputMaybe;
AllegedDeveloperOfAISystem?: InputMaybe;
@@ -1649,6 +1663,7 @@ export type IncidentInsertType = {
embedding?: InputMaybe;
epoch_date_modified?: InputMaybe;
flagged_dissimilar_incidents: Array>;
+ implicated_systems?: InputMaybe;
incident_id: Scalars['Int']['input'];
nlp_similar_incidents?: InputMaybe>>;
reports?: InputMaybe;
@@ -1829,6 +1844,7 @@ export type IncidentSetType = {
embedding?: InputMaybe;
epoch_date_modified?: InputMaybe;
flagged_dissimilar_incidents?: InputMaybe>>;
+ implicated_systems?: InputMaybe;
incident_id?: InputMaybe;
nlp_similar_incidents?: InputMaybe>>;
reports?: InputMaybe;
@@ -3332,12 +3348,6 @@ export type ReportSortType = {
url?: InputMaybe;
};
-export type ReportTranslation = {
- __typename?: 'ReportTranslation';
- text?: Maybe;
- title?: Maybe;
-};
-
export type ReportTranslations = {
__typename?: 'ReportTranslations';
text?: Maybe;
@@ -3379,6 +3389,7 @@ export type RisksPayloadPrecedent = {
embedding?: Maybe;
epoch_date_modified?: Maybe;
flagged_dissimilar_incidents?: Maybe>>;
+ implicated_systems?: Maybe>>;
incident_id?: Maybe;
nlp_similar_incidents?: Maybe>>;
reports?: Maybe>>;
@@ -3545,6 +3556,7 @@ export type Submission = {
epoch_date_modified?: Maybe;
harmed_parties?: Maybe>>;
image_url: Scalars['String']['output'];
+ implicated_systems?: Maybe>>;
incident_date?: Maybe;
incident_editors?: Maybe>>;
incident_ids?: Maybe>>;
@@ -3628,6 +3640,7 @@ export type SubmissionFilterType = {
epoch_date_modified?: InputMaybe;
harmed_parties?: InputMaybe;
image_url?: InputMaybe;
+ implicated_systems?: InputMaybe;
incident_date?: InputMaybe;
incident_editors?: InputMaybe;
incident_ids?: InputMaybe;
@@ -3650,6 +3663,10 @@ export type SubmissionHarmed_PartiesRelationInput = {
link: Array>;
};
+export type SubmissionImplicated_SystemsRelationInput = {
+ link: Array>;
+};
+
export type SubmissionIncident_EditorsRelationInput = {
link: Array>;
};
@@ -3672,6 +3689,7 @@ export type SubmissionInsertType = {
epoch_date_modified?: InputMaybe;
harmed_parties?: InputMaybe;
image_url: Scalars['String']['input'];
+ implicated_systems?: InputMaybe;
incident_date?: InputMaybe;
incident_editors?: InputMaybe;
incident_ids?: InputMaybe>>;
@@ -3751,6 +3769,7 @@ export type SubmissionSetType = {
epoch_date_modified?: InputMaybe;
harmed_parties?: InputMaybe;
image_url?: InputMaybe;
+ implicated_systems?: InputMaybe;
incident_date?: InputMaybe;
incident_editors?: InputMaybe;
incident_ids?: InputMaybe>>;
@@ -4476,9 +4495,9 @@ export type User = {
export type UserAdminDatum = {
__typename?: 'UserAdminDatum';
- creationDate?: Maybe;
- disabled?: Maybe;
- email?: Maybe;
+ creationDate: Scalars['DateTime']['output'];
+ disabled: Scalars['Boolean']['output'];
+ email: Scalars['String']['output'];
lastAuthenticationDate?: Maybe;
};
@@ -4623,28 +4642,28 @@ export type FindIncidentQueryVariables = Exact<{
}>;
-export type FindIncidentQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null };
+export type FindIncidentQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null };
export type FindIncidentsTableQueryVariables = Exact<{
filter?: InputMaybe;
}>;
-export type FindIncidentsTableQuery = { __typename?: 'Query', incidents?: Array<{ __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null } | null> | null };
+export type FindIncidentsTableQuery = { __typename?: 'Query', incidents?: Array<{ __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null } | null> | null };
export type FindIncidentEntitiesQueryVariables = Exact<{
filter?: InputMaybe;
}>;
-export type FindIncidentEntitiesQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null } | null };
+export type FindIncidentEntitiesQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null } | null };
export type FindIncidentsQueryVariables = Exact<{
filter?: InputMaybe;
}>;
-export type FindIncidentsQuery = { __typename?: 'Query', incidents?: Array<{ __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null> | null };
+export type FindIncidentsQuery = { __typename?: 'Query', incidents?: Array<{ __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null> | null };
export type FindIncidentsTitlesQueryVariables = Exact<{
filter?: InputMaybe;
@@ -4659,7 +4678,7 @@ export type UpdateIncidentMutationVariables = Exact<{
}>;
-export type UpdateIncidentMutation = { __typename?: 'Mutation', updateOneIncident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null };
+export type UpdateIncidentMutation = { __typename?: 'Mutation', updateOneIncident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', report_number: number } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null } | null };
export type UpdateIncidentsMutationVariables = Exact<{
filter: IncidentFilterType;
@@ -4686,14 +4705,14 @@ export type FindIncidentFullQueryVariables = Exact<{
}>;
-export type FindIncidentFullQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, epoch_date_modified?: number | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', submitters: Array, date_published: any, report_number: number, title: string, description?: string | null, url: string, image_url: string, cloudinary_id: string, source_domain: string, text: string, authors: Array, epoch_date_submitted: number, language: string, tags: Array, inputs_outputs?: Array | null } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null, tsne?: { __typename?: 'IncidentTsne', x?: number | null, y?: number | null } | null } | null };
+export type FindIncidentFullQuery = { __typename?: 'Query', incident?: { __typename?: 'Incident', incident_id: number, title: string, description?: string | null, date: string, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, flagged_dissimilar_incidents?: Array | null, editor_notes?: string | null, epoch_date_modified?: number | null, editors: Array<{ __typename?: 'User', userId: string, first_name?: string | null, last_name?: string | null } | null>, AllegedDeployerOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedDeveloperOfAISystem?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, AllegedHarmedOrNearlyHarmedParties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, reports?: Array<{ __typename?: 'Report', submitters: Array, date_published: any, report_number: number, title: string, description?: string | null, url: string, image_url: string, cloudinary_id: string, source_domain: string, text: string, authors: Array, epoch_date_submitted: number, language: string, tags: Array, inputs_outputs?: Array | null } | null> | null, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null, tsne?: { __typename?: 'IncidentTsne', x?: number | null, y?: number | null } | null } | null };
export type FindIncidentHistoryQueryVariables = Exact<{
filter?: InputMaybe;
}>;
-export type FindIncidentHistoryQuery = { __typename?: 'Query', history_incidents?: Array<{ __typename?: 'History_incident', incident_id: number, AllegedDeployerOfAISystem?: Array | null, AllegedDeveloperOfAISystem?: Array | null, AllegedHarmedOrNearlyHarmedParties?: Array | null, _id?: any | null, date: string, description?: string | null, modifiedBy?: string | null, editor_dissimilar_incidents?: Array | null, editor_notes?: string | null, editor_similar_incidents?: Array | null, editors: Array, epoch_date_modified?: number | null, flagged_dissimilar_incidents?: Array | null, reports: Array, title: string, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, tsne?: { __typename?: 'IncidentTsne', x?: number | null, y?: number | null } | null } | null> | null };
+export type FindIncidentHistoryQuery = { __typename?: 'Query', history_incidents?: Array<{ __typename?: 'History_incident', incident_id: number, AllegedDeployerOfAISystem?: Array | null, AllegedDeveloperOfAISystem?: Array | null, AllegedHarmedOrNearlyHarmedParties?: Array | null, implicated_systems?: Array | null, _id?: any | null, date: string, description?: string | null, modifiedBy?: string | null, editor_dissimilar_incidents?: Array | null, editor_notes?: string | null, editor_similar_incidents?: Array | null, editors: Array, epoch_date_modified?: number | null, flagged_dissimilar_incidents?: Array | null, reports: Array, title: string, embedding?: { __typename?: 'IncidentEmbedding', from_reports?: Array | null, vector?: Array | null } | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', incident_id?: number | null, similarity?: number | null } | null> | null, tsne?: { __typename?: 'IncidentTsne', x?: number | null, y?: number | null } | null } | null> | null };
export type FlagIncidentSimilarityMutationVariables = Exact<{
incidentId: Scalars['Int']['input'];
@@ -4799,14 +4818,14 @@ export type DeleteSubmissionMutation = { __typename?: 'Mutation', deleteOneSubmi
export type FindSubmissionsQueryVariables = Exact<{ [key: string]: never; }>;
-export type FindSubmissionsQuery = { __typename?: 'Query', submissions?: Array<{ __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, plain_text?: string | null, status?: string | null, quiet?: boolean | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, user?: { __typename?: 'User', userId: string } | null } | null> | null };
+export type FindSubmissionsQuery = { __typename?: 'Query', submissions?: Array<{ __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, plain_text?: string | null, status?: string | null, quiet?: boolean | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, user?: { __typename?: 'User', userId: string } | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null } | null> | null };
export type FindSubmissionQueryVariables = Exact<{
filter: SubmissionFilterType;
}>;
-export type FindSubmissionQuery = { __typename?: 'Query', submission?: { __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, status?: string | null, quiet?: boolean | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null } | null };
+export type FindSubmissionQuery = { __typename?: 'Query', submission?: { __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, status?: string | null, quiet?: boolean | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null } | null };
export type UpdateSubmissionMutationVariables = Exact<{
filter: SubmissionFilterType;
@@ -4814,7 +4833,7 @@ export type UpdateSubmissionMutationVariables = Exact<{
}>;
-export type UpdateSubmissionMutation = { __typename?: 'Mutation', updateOneSubmission?: { __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null } | null };
+export type UpdateSubmissionMutation = { __typename?: 'Mutation', updateOneSubmission?: { __typename?: 'Submission', _id?: any | null, cloudinary_id?: string | null, date_downloaded: string, date_modified: string, date_published: string, date_submitted: string, description?: string | null, image_url: string, incident_date?: string | null, incident_ids?: Array | null, incident_title?: string | null, language: string, source_domain: string, text: string, title: string, authors: Array, submitters: Array, url: string, editor_notes?: string | null, tags: Array, editor_similar_incidents?: Array | null, editor_dissimilar_incidents?: Array | null, incident_editors?: Array<{ __typename?: 'User', first_name?: string | null, last_name?: string | null, userId: string } | null> | null, developers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, deployers?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, harmed_parties?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null, nlp_similar_incidents?: Array<{ __typename?: 'IncidentNlp_similar_incident', similarity?: number | null, incident_id?: number | null } | null> | null, implicated_systems?: Array<{ __typename?: 'Entity', entity_id: string, name: string } | null> | null } | null };
export type InsertSubmissionMutationVariables = Exact<{
data: SubmissionInsertType;
@@ -4876,7 +4895,7 @@ export type FindUserQueryVariables = Exact<{
}>;
-export type FindUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', roles: Array, userId: string, first_name?: string | null, last_name?: string | null, adminData?: { __typename?: 'UserAdminDatum', email?: string | null, disabled?: boolean | null, creationDate?: any | null, lastAuthenticationDate?: any | null } | null } | null };
+export type FindUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', roles: Array, userId: string, first_name?: string | null, last_name?: string | null, adminData?: { __typename?: 'UserAdminDatum', email: string, disabled: boolean, creationDate: any, lastAuthenticationDate?: any | null } | null } | null };
export type FindUsersByRoleQueryVariables = Exact<{
role?: InputMaybe | Scalars['String']['input']>;
@@ -4926,7 +4945,7 @@ export type CreateVariantMutationVariables = Exact<{
}>;
-export type CreateVariantMutation = { __typename?: 'Mutation', createVariant?: { __typename?: 'CreateVariantPayload', incident_id?: number | null, report_number?: number | null } | null };
+export type CreateVariantMutation = { __typename?: 'Mutation', createVariant?: { __typename?: 'CreateVariantPayload', incident_id: number, report_number: number } | null };
export type UpdateVariantMutationVariables = Exact<{
filter: ReportFilterType;
@@ -4951,17 +4970,17 @@ export const UpsertEntityDocument = {"kind":"Document","definitions":[{"kind":"O
export const FindEntitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindEntities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode;
export const FindEntityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindEntity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"EntityFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"created_at"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}}]}}]}}]} as unknown as DocumentNode;
export const UpdateEntityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateEntity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EntityFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EntityUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneEntity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncident"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentsTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentsTable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentEntitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentEntities"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncident"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentsTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentsTable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentEntitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentEntities"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}}]}}]}}]} as unknown as DocumentNode;
export const FindIncidentsTitlesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentsTitles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}}]}}]} as unknown as DocumentNode;
-export const UpdateIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateIncident"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneIncident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}}]}}]}}]} as unknown as DocumentNode;
+export const UpdateIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateIncident"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneIncident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}}]}}]}}]} as unknown as DocumentNode;
export const UpdateIncidentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateIncidents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateManyIncidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"matchedCount"}},{"kind":"Field","name":{"kind":"Name","value":"modifiedCount"}}]}}]}}]} as unknown as DocumentNode;
export const InsertIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertIncident"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentInsertType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertOneIncident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}}]}}]} as unknown as DocumentNode;
export const FindLastIncidentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindLastIncident"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"incident_id"},"value":{"kind":"EnumValue","value":"DESC"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}},{"kind":"ObjectField","name":{"kind":"Name","value":"skip"},"value":{"kind":"IntValue","value":"0"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"report_number"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"inputs_outputs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"tsne"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]} as unknown as DocumentNode;
-export const FindIncidentHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentHistory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"History_incidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"history_incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"epoch_date_modified"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"}},{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"modifiedBy"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editors"}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reports"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"tsne"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"IncidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"reports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"report_number"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"inputs_outputs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"tsne"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindIncidentHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindIncidentHistory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"History_incidentFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"history_incidents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"epoch_date_modified"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeployerOfAISystem"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedDeveloperOfAISystem"}},{"kind":"Field","name":{"kind":"Name","value":"AllegedHarmedOrNearlyHarmedParties"}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"}},{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"modifiedBy"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editors"}},{"kind":"Field","name":{"kind":"Name","value":"embedding"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from_reports"}},{"kind":"Field","name":{"kind":"Name","value":"vector"}}]}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"similarity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reports"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"tsne"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]} as unknown as DocumentNode;
export const FlagIncidentSimilarityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"FlagIncidentSimilarity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"incidentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"dissimilarIds"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"flagIncidentSimilarity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"incidentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"incidentId"}}},{"kind":"Argument","name":{"kind":"Name","value":"dissimilarIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"dissimilarIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_id"}},{"kind":"Field","name":{"kind":"Name","value":"flagged_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}}]}}]}}]} as unknown as DocumentNode;
export const AllQuickAddDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllQuickAdd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"QuickaddFilterType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"quickadds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}}]}}]}}]} as unknown as DocumentNode;
export const DeleteOneQuickAddDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneQuickAdd"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"QuickaddFilterType"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteManyQuickadds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletedCount"}}]}}]}}]} as unknown as DocumentNode;
@@ -4976,9 +4995,9 @@ export const FindReportsDocument = {"kind":"Document","definitions":[{"kind":"Op
export const FindReportsTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindReportsTable"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ReportFilterType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reports"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"report_number"},"value":{"kind":"EnumValue","value":"DESC"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"report_number"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"inputs_outputs"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"is_incident_report"}}]}}]}}]} as unknown as DocumentNode;
export const FlagReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"FlagReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"report_number"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"flagReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"report_number"},"value":{"kind":"Variable","name":{"kind":"Name","value":"report_number"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"report_number"}},{"kind":"Field","name":{"kind":"Name","value":"flag"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"epoch_date_modified"}}]}}]}}]} as unknown as DocumentNode;
export const DeleteSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"_id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectId"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneSubmission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"_id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"EQ"},"value":{"kind":"Variable","name":{"kind":"Name","value":"_id"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}}]}}]}}]} as unknown as DocumentNode;
-export const FindSubmissionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindSubmissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"plain_text"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"quiet"}}]}}]}}]} as unknown as DocumentNode;
-export const FindSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionFilterType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"quiet"}}]}}]}}]} as unknown as DocumentNode;
-export const UpdateSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneSubmission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}}]}}]}}]} as unknown as DocumentNode;
+export const FindSubmissionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindSubmissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"plain_text"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"quiet"}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const FindSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionFilterType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"quiet"}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
+export const UpdateSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionUpdateType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneSubmission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"cloudinary_id"}},{"kind":"Field","name":{"kind":"Name","value":"date_downloaded"}},{"kind":"Field","name":{"kind":"Name","value":"date_modified"}},{"kind":"Field","name":{"kind":"Name","value":"date_published"}},{"kind":"Field","name":{"kind":"Name","value":"date_submitted"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"image_url"}},{"kind":"Field","name":{"kind":"Name","value":"incident_date"}},{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"incident_editors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"first_name"}},{"kind":"Field","name":{"kind":"Name","value":"last_name"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incident_title"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"source_domain"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"authors"}},{"kind":"Field","name":{"kind":"Name","value":"submitters"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"editor_notes"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"developers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"deployers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"harmed_parties"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nlp_similar_incidents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarity"}},{"kind":"Field","name":{"kind":"Name","value":"incident_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"editor_similar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"editor_dissimilar_incidents"}},{"kind":"Field","name":{"kind":"Name","value":"implicated_systems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
export const InsertSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"data"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubmissionInsertType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertOneSubmission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"Variable","name":{"kind":"Name","value":"data"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}}]}}]}}]} as unknown as DocumentNode;
export const PromoteSubmissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PromoteSubmission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PromoteSubmissionToReportInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promoteSubmissionToReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incident_ids"}},{"kind":"Field","name":{"kind":"Name","value":"report_number"}}]}}]}}]} as unknown as DocumentNode;
export const UpsertSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpsertSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionFilterType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"update"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SubscriptionInsertType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upsertOneSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"update"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}}]}}]}}]} as unknown as DocumentNode;
diff --git a/site/gatsby-site/server/interfaces.ts b/site/gatsby-site/server/interfaces.ts
index d4504f7969..ea48abd00f 100644
--- a/site/gatsby-site/server/interfaces.ts
+++ b/site/gatsby-site/server/interfaces.ts
@@ -3,50 +3,51 @@ import { Classification, Duplicate, Entity, Incident, Report, Submission, Subscr
import { IncomingMessage } from 'http';
export interface Context {
- user: {
- id: string,
- roles: string[],
- } | null,
- req: IncomingMessage,
- client: MongoClient,
+ user: {
+ id: string,
+ roles: string[],
+ } | null,
+ req: IncomingMessage,
+ client: MongoClient,
}
-export type DBIncident = Omit
- & { "Alleged deployer of AI system": string[], "Alleged developer of AI system": string[], "Alleged harmed or nearly harmed parties": string[] }
- & { reports: number[] }
- & { editors: string[] }
+export type DBIncident = Omit
+ & { "Alleged deployer of AI system": string[], "Alleged developer of AI system": string[], "Alleged harmed or nearly harmed parties": string[], implicated_systems: string[] }
+ & { reports: number[] }
+ & { editors: string[] }
-export type DBIncidentHistory = Omit
- & { "Alleged deployer of AI system": string[], "Alleged developer of AI system": string[], "Alleged harmed or nearly harmed parties": string[] };
+export type DBIncidentHistory = Omit
+ & { "Alleged deployer of AI system": string[], "Alleged developer of AI system": string[], "Alleged harmed or nearly harmed parties": string[], implicated_systems: string[] };
export type DBEntity = Entity;
export type DBDuplicate = Duplicate;
export type DBClassification = Omit
- & { incidents: number[] }
- & { reports: number[] }
+ & { incidents: number[] }
+ & { reports: number[] }
export type DBReport = Omit
- & { user: string }
+ & { user: string }
export type DBReportHistory = Omit;
export type DBUser = Omit;
-export type DBSubmission = Omit
- & { developers: string[] }
- & { deployers: string[] }
- & { harmed_parties: string[] }
- & { user: string }
- & { incident_editors: string[] }
+export type DBSubmission = Omit
+ & { developers: string[] }
+ & { deployers: string[] }
+ & { harmed_parties: string[] }
+ & { user: string }
+ & { incident_editors: string[] }
+ & { implicated_systems: string[] }
export type SubscriptionTypes = 'incident' | 'new-incidents' | 'entity' | 'submission-promoted';
export type DBSubscription = Omit
- & { entityId?: string, incident_id?: number, userId: string, type: SubscriptionTypes };
+ & { entityId?: string, incident_id?: number, userId: string, type: SubscriptionTypes };
export type NotificationTypes = 'new-report-incident' | 'incident-updated' | 'entity' | 'new-incidents' | 'submission-promoted'
-export type DBNotification = Omit & { userId?: string, type: NotificationTypes }
\ No newline at end of file
+export type DBNotification = Omit & { userId?: string, type: NotificationTypes }
diff --git a/site/gatsby-site/server/remoteTypeDefs.ts b/site/gatsby-site/server/remoteTypeDefs.ts
index 8e1aa81cd4..f3da6e0f3c 100644
--- a/site/gatsby-site/server/remoteTypeDefs.ts
+++ b/site/gatsby-site/server/remoteTypeDefs.ts
@@ -1,2585 +1,2470 @@
import gql from "graphql-tag";
export default gql`
-enum IncidentSortByInput {
- INCIDENT_ID_ASC
- DATE_ASC
- EDITOR_NOTES_ASC
- EPOCH_DATE_MODIFIED_ASC
- EPOCH_DATE_MODIFIED_DESC
- _ID_DESC
- DATE_DESC
- EDITOR_NOTES_DESC
- DESCRIPTION_DESC
- INCIDENT_ID_DESC
- TITLE_ASC
- _ID_ASC
- DESCRIPTION_ASC
- TITLE_DESC
-}
-
-type ChecklistRiskPrecedent {
- description: String
- incident_id: Int
- tags: [String]
- title: String
+type DefaultAdminUser {
+ message: String
+ status: Int
+ userId: String
}
-input History_reportInsertInput {
- text: String!
- title: String!
- user: String
- epoch_date_downloaded: Int!
- embedding: History_reportEmbeddingInsertInput
- cloudinary_id: String!
- date_downloaded: DateTime!
- quiet: Boolean
- epoch_date_submitted: Int!
- inputs_outputs: [String]
- flag: Boolean
- is_incident_report: Boolean
- _id: ObjectId
- source_domain: String!
- description: String
- submitters: [String]!
- tags: [String]!
- date_modified: DateTime!
- epoch_date_published: Int!
- authors: [String]!
- image_url: String!
- date_published: DateTime!
- language: String!
- plain_text: String!
- editor_notes: String
- modifiedBy: String
- epoch_date_modified: Int!
- date_submitted: DateTime!
- report_number: Int!
- url: String!
+input SubmissionEmbeddingQueryInput {
+ AND: [SubmissionEmbeddingQueryInput!]
+ from_text_hash_lt: String
+ from_text_hash_gte: String
+ vector_in: [Float]
+ from_text_hash_gt: String
+ from_text_hash_lte: String
+ OR: [SubmissionEmbeddingQueryInput!]
+ vector: [Float]
+ from_text_hash_nin: [String]
+ from_text_hash_ne: String
+ from_text_hash_in: [String]
+ vector_nin: [Float]
+ from_text_hash_exists: Boolean
+ vector_exists: Boolean
+ from_text_hash: String
}
-input CreateVariantInput {
- variant: CreateVariantInputVariant
- incidentId: Int
+input TaxaField_listComplete_fromQueryInput {
+ all_exists: Boolean
+ current_in: [String]
+ current_exists: Boolean
+ AND: [TaxaField_listComplete_fromQueryInput!]
+ all_in: [String]
+ current: [String]
+ OR: [TaxaField_listComplete_fromQueryInput!]
+ all: [String]
+ all_nin: [String]
+ current_nin: [String]
}
-type RisksPayloadPrecedentNlp_similar_incident {
+input ChecklistRiskPrecedentQueryInput {
+ description_in: [String]
+ incident_id_lt: Int
+ title: String
+ incident_id_lte: Int
+ incident_id_exists: Boolean
+ description_lte: String
+ description_lt: String
+ incident_id_ne: Int
+ incident_id_nin: [Int]
+ OR: [ChecklistRiskPrecedentQueryInput!]
+ incident_id_gt: Int
+ title_gt: String
+ title_ne: String
incident_id: Int
- similarity: Float
-}
-
-input UserQueryInput {
- _id_exists: Boolean
- last_name_in: [String]
- first_name_ne: String
- roles_nin: [String]
- last_name_lt: String
- last_name_gt: String
- first_name_lte: String
- last_name_nin: [String]
- userId: String
- _id_lt: ObjectId
- first_name_in: [String]
- _id_in: [ObjectId]
- userId_lte: String
- last_name_gte: String
- first_name: String
- userId_gte: String
- _id_gte: ObjectId
- first_name_exists: Boolean
- OR: [UserQueryInput!]
- roles_in: [String]
- roles: [String]
- userId_gt: String
- _id_nin: [ObjectId]
- last_name_lte: String
- userId_lt: String
- last_name_ne: String
- userId_nin: [String]
- userId_exists: Boolean
- first_name_nin: [String]
- first_name_gt: String
- _id: ObjectId
- _id_lte: ObjectId
- first_name_gte: String
- last_name: String
- last_name_exists: Boolean
- AND: [UserQueryInput!]
- userId_in: [String]
- userId_ne: String
- _id_gt: ObjectId
- _id_ne: ObjectId
- roles_exists: Boolean
- first_name_lt: String
+ title_nin: [String]
+ title_exists: Boolean
+ incident_id_gte: Int
+ description_exists: Boolean
+ tags_nin: [String]
+ title_lt: String
+ title_in: [String]
+ tags: [String]
+ title_lte: String
+ tags_exists: Boolean
+ description_ne: String
+ description_gte: String
+ description: String
+ description_nin: [String]
+ title_gte: String
+ AND: [ChecklistRiskPrecedentQueryInput!]
+ tags_in: [String]
+ description_gt: String
+ incident_id_in: [Int]
}
-enum EntitySortByInput {
- DATE_MODIFIED_DESC
+enum ChecklistSortByInput {
+ DATE_UPDATED_DESC
+ ENTITY_ID_ASC
+ OWNER_ID_ASC
+ ID_DESC
NAME_ASC
_ID_ASC
- CREATED_AT_DESC
- DATE_MODIFIED_ASC
+ DATE_CREATED_ASC
+ ID_ASC
+ DATE_CREATED_DESC
+ DATE_UPDATED_ASC
ENTITY_ID_DESC
NAME_DESC
+ OWNER_ID_DESC
_ID_DESC
- CREATED_AT_ASC
- ENTITY_ID_ASC
+ ABOUT_ASC
+ ABOUT_DESC
}
-input TaxaField_listComplete_fromQueryInput {
- current: [String]
- current_exists: Boolean
- current_nin: [String]
- all: [String]
- all_exists: Boolean
- all_in: [String]
- AND: [TaxaField_listComplete_fromQueryInput!]
- OR: [TaxaField_listComplete_fromQueryInput!]
- all_nin: [String]
- current_in: [String]
+input IncidentAllegedDeveloperOfAISystemRelationInput {
+ link: [String]
+ create: [EntityInsertInput]
}
-type TaxaField_listItem_fieldComplete_from {
- all: [String]
- current: [String]
- entities: Boolean
+input IncidentImplicatedSystemsRelationInput {
+ link: [String]
+ create: [EntityInsertInput]
}
-type DefaultAdminUser {
- message: String
- status: Int
- userId: String
+input ClassificationAttributeInsertInput {
+ short_name: String
+ value_json: String
}
-input NotificationInsertInput {
- userId: NotificationUserIdRelationInput
- _id: ObjectId
+input ChecklistRiskPrecedentUpdateInput {
+ description: String
incident_id: Int
- processed: Boolean
- sentDate: DateTime
- type: String
-}
-
-input NotificationUserIdRelationInput {
- create: UserInsertInput
- link: String
+ title: String
+ incident_id_inc: Int
+ incident_id_unset: Boolean
+ tags_unset: Boolean
+ tags: [String]
+ title_unset: Boolean
+ description_unset: Boolean
}
-type History_incidentNlp_similar_incident {
+type SubmissionNlp_similar_incident {
incident_id: Int
similarity: Float
}
-input ReportInsertInput {
- plain_text: String!
- report_number: Int!
- epoch_date_submitted: Int!
- quiet: Boolean
- epoch_date_published: Int!
- source_domain: String!
- _id: ObjectId
- inputs_outputs: [String]
- date_submitted: DateTime!
- flag: Boolean
- image_url: String!
- description: String
- embedding: ReportEmbeddingInsertInput
- user: ReportUserRelationInput
- text: String!
- date_modified: DateTime!
- submitters: [String]!
- is_incident_report: Boolean
- cloudinary_id: String!
- url: String!
- tags: [String]!
- title: String!
- date_downloaded: DateTime!
- epoch_date_modified: Int!
- editor_notes: String
- date_published: DateTime!
- authors: [String]!
- epoch_date_downloaded: Int!
- language: String!
-}
-
-type Subscription {
- _id: ObjectId
- entityId: Entity
- incident_id: Incident
- type: String!
- userId: User!
+input ReportEmbeddingQueryInput {
+ from_text_hash_lte: String
+ vector_in: [Float]
+ AND: [ReportEmbeddingQueryInput!]
+ from_text_hash_nin: [String]
+ vector: [Float]
+ from_text_hash_in: [String]
+ vector_nin: [Float]
+ vector_exists: Boolean
+ OR: [ReportEmbeddingQueryInput!]
+ from_text_hash_gte: String
+ from_text_hash_gt: String
+ from_text_hash: String
+ from_text_hash_lt: String
+ from_text_hash_ne: String
+ from_text_hash_exists: Boolean
}
-type Mutation {
- createDefaultAdminUser(input: CreateDefaultAdminUserInput): DefaultAdminUser
- createVariant(input: CreateVariantInput): CreateVariantPayload
- deleteManyCandidates(query: CandidateQueryInput): DeleteManyPayload
- deleteManyChecklists(query: ChecklistQueryInput): DeleteManyPayload
- deleteManyClassifications(query: ClassificationQueryInput): DeleteManyPayload
- deleteManyDuplicates(query: DuplicateQueryInput): DeleteManyPayload
- deleteManyEntities(query: EntityQueryInput): DeleteManyPayload
- deleteManyHistory_incidents(query: History_incidentQueryInput): DeleteManyPayload
- deleteManyHistory_reports(query: History_reportQueryInput): DeleteManyPayload
- deleteManyIncidents(query: IncidentQueryInput): DeleteManyPayload
- deleteManyNotifications(query: NotificationQueryInput): DeleteManyPayload
- deleteManyQuickadds(query: QuickaddQueryInput): DeleteManyPayload
- deleteManyReports(query: ReportQueryInput): DeleteManyPayload
- deleteManySubmissions(query: SubmissionQueryInput): DeleteManyPayload
- deleteManySubscriptions(query: SubscriptionQueryInput): DeleteManyPayload
- deleteManyTaxas(query: TaxaQueryInput): DeleteManyPayload
- deleteManyUsers(query: UserQueryInput): DeleteManyPayload
- deleteOneCandidate(query: CandidateQueryInput!): Candidate
- deleteOneChecklist(query: ChecklistQueryInput!): Checklist
- deleteOneClassification(query: ClassificationQueryInput!): Classification
- deleteOneDuplicate(query: DuplicateQueryInput!): Duplicate
- deleteOneEntity(query: EntityQueryInput!): Entity
- deleteOneHistory_incident(query: History_incidentQueryInput!): History_incident
- deleteOneHistory_report(query: History_reportQueryInput!): History_report
- deleteOneIncident(query: IncidentQueryInput!): Incident
- deleteOneNotification(query: NotificationQueryInput!): Notification
- deleteOneQuickadd(query: QuickaddQueryInput!): Quickadd
- deleteOneReport(query: ReportQueryInput!): Report
- deleteOneSubmission(query: SubmissionQueryInput!): Submission
- deleteOneSubscription(query: SubscriptionQueryInput!): Subscription
- deleteOneTaxa(query: TaxaQueryInput!): Taxa
- deleteOneUser(query: UserQueryInput!): User
- getUser(input: GetUserInput): AppUser
- insertManyCandidates(data: [CandidateInsertInput!]!): InsertManyPayload
- insertManyChecklists(data: [ChecklistInsertInput!]!): InsertManyPayload
- insertManyClassifications(data: [ClassificationInsertInput!]!): InsertManyPayload
- insertManyDuplicates(data: [DuplicateInsertInput!]!): InsertManyPayload
- insertManyEntities(data: [EntityInsertInput!]!): InsertManyPayload
- insertManyHistory_incidents(data: [History_incidentInsertInput!]!): InsertManyPayload
- insertManyHistory_reports(data: [History_reportInsertInput!]!): InsertManyPayload
- insertManyIncidents(data: [IncidentInsertInput!]!): InsertManyPayload
- insertManyNotifications(data: [NotificationInsertInput!]!): InsertManyPayload
- insertManyQuickadds(data: [QuickaddInsertInput!]!): InsertManyPayload
- insertManyReports(data: [ReportInsertInput!]!): InsertManyPayload
- insertManySubmissions(data: [SubmissionInsertInput!]!): InsertManyPayload
- insertManySubscriptions(data: [SubscriptionInsertInput!]!): InsertManyPayload
- insertManyTaxas(data: [TaxaInsertInput!]!): InsertManyPayload
- insertManyUsers(data: [UserInsertInput!]!): InsertManyPayload
- insertOneCandidate(data: CandidateInsertInput!): Candidate
- insertOneChecklist(data: ChecklistInsertInput!): Checklist
- insertOneClassification(data: ClassificationInsertInput!): Classification
- insertOneDuplicate(data: DuplicateInsertInput!): Duplicate
- insertOneEntity(data: EntityInsertInput!): Entity
- insertOneHistory_incident(data: History_incidentInsertInput!): History_incident
- insertOneHistory_report(data: History_reportInsertInput!): History_report
- insertOneIncident(data: IncidentInsertInput!): Incident
- insertOneNotification(data: NotificationInsertInput!): Notification
- insertOneQuickadd(data: QuickaddInsertInput!): Quickadd
- insertOneReport(data: ReportInsertInput!): Report
- insertOneSubmission(data: SubmissionInsertInput!): Submission
- insertOneSubscription(data: SubscriptionInsertInput!): Subscription
- insertOneTaxa(data: TaxaInsertInput!): Taxa
- insertOneUser(data: UserInsertInput!): User
- linkReportsToIncidents(input: LinkReportsToIncidentsInput): [Incident]
- logIncidentHistory(input: History_incidentInsertInput): LogIncidentHistoryPayload
- logReportHistory(input: History_reportInsertInput): LogReportHistoryPayload
- processNotifications: Int
- promoteSubmissionToReport(input: PromoteSubmissionToReportInput): PromoteSubmissionToReportPayload
- replaceOneCandidate(data: CandidateInsertInput!, query: CandidateQueryInput): Candidate
- replaceOneChecklist(query: ChecklistQueryInput, data: ChecklistInsertInput!): Checklist
- replaceOneClassification(query: ClassificationQueryInput, data: ClassificationInsertInput!): Classification
- replaceOneDuplicate(query: DuplicateQueryInput, data: DuplicateInsertInput!): Duplicate
- replaceOneEntity(query: EntityQueryInput, data: EntityInsertInput!): Entity
- replaceOneHistory_incident(query: History_incidentQueryInput, data: History_incidentInsertInput!): History_incident
- replaceOneHistory_report(query: History_reportQueryInput, data: History_reportInsertInput!): History_report
- replaceOneIncident(query: IncidentQueryInput, data: IncidentInsertInput!): Incident
- replaceOneNotification(query: NotificationQueryInput, data: NotificationInsertInput!): Notification
- replaceOneQuickadd(query: QuickaddQueryInput, data: QuickaddInsertInput!): Quickadd
- replaceOneReport(query: ReportQueryInput, data: ReportInsertInput!): Report
- replaceOneSubmission(query: SubmissionQueryInput, data: SubmissionInsertInput!): Submission
- replaceOneSubscription(query: SubscriptionQueryInput, data: SubscriptionInsertInput!): Subscription
- replaceOneTaxa(query: TaxaQueryInput, data: TaxaInsertInput!): Taxa
- replaceOneUser(query: UserQueryInput, data: UserInsertInput!): User
- updateManyCandidates(query: CandidateQueryInput, set: CandidateUpdateInput!): UpdateManyPayload
- updateManyChecklists(query: ChecklistQueryInput, set: ChecklistUpdateInput!): UpdateManyPayload
- updateManyClassifications(set: ClassificationUpdateInput!, query: ClassificationQueryInput): UpdateManyPayload
- updateManyDuplicates(query: DuplicateQueryInput, set: DuplicateUpdateInput!): UpdateManyPayload
- updateManyEntities(query: EntityQueryInput, set: EntityUpdateInput!): UpdateManyPayload
- updateManyHistory_incidents(set: History_incidentUpdateInput!, query: History_incidentQueryInput): UpdateManyPayload
- updateManyHistory_reports(query: History_reportQueryInput, set: History_reportUpdateInput!): UpdateManyPayload
- updateManyIncidents(query: IncidentQueryInput, set: IncidentUpdateInput!): UpdateManyPayload
- updateManyNotifications(query: NotificationQueryInput, set: NotificationUpdateInput!): UpdateManyPayload
- updateManyQuickadds(query: QuickaddQueryInput, set: QuickaddUpdateInput!): UpdateManyPayload
- updateManyReports(query: ReportQueryInput, set: ReportUpdateInput!): UpdateManyPayload
- updateManySubmissions(query: SubmissionQueryInput, set: SubmissionUpdateInput!): UpdateManyPayload
- updateManySubscriptions(query: SubscriptionQueryInput, set: SubscriptionUpdateInput!): UpdateManyPayload
- updateManyTaxas(query: TaxaQueryInput, set: TaxaUpdateInput!): UpdateManyPayload
- updateManyUsers(set: UserUpdateInput!, query: UserQueryInput): UpdateManyPayload
- updateOneCandidate(query: CandidateQueryInput, set: CandidateUpdateInput!): Candidate
- updateOneChecklist(query: ChecklistQueryInput, set: ChecklistUpdateInput!): Checklist
- updateOneClassification(set: ClassificationUpdateInput!, query: ClassificationQueryInput): Classification
- updateOneDuplicate(query: DuplicateQueryInput, set: DuplicateUpdateInput!): Duplicate
- updateOneEntity(query: EntityQueryInput, set: EntityUpdateInput!): Entity
- updateOneHistory_incident(query: History_incidentQueryInput, set: History_incidentUpdateInput!): History_incident
- updateOneHistory_report(query: History_reportQueryInput, set: History_reportUpdateInput!): History_report
- updateOneIncident(query: IncidentQueryInput, set: IncidentUpdateInput!): Incident
- updateOneNotification(set: NotificationUpdateInput!, query: NotificationQueryInput): Notification
- updateOneQuickadd(set: QuickaddUpdateInput!, query: QuickaddQueryInput): Quickadd
- updateOneReport(query: ReportQueryInput, set: ReportUpdateInput!): Report
- updateOneReportTranslation(input: UpdateOneReportTranslationInput): Report
- updateOneSubmission(query: SubmissionQueryInput, set: SubmissionUpdateInput!): Submission
- updateOneSubscription(query: SubscriptionQueryInput, set: SubscriptionUpdateInput!): Subscription
- updateOneTaxa(query: TaxaQueryInput, set: TaxaUpdateInput!): Taxa
- updateOneUser(query: UserQueryInput, set: UserUpdateInput!): User
- upsertOneCandidate(query: CandidateQueryInput, data: CandidateInsertInput!): Candidate
- upsertOneChecklist(query: ChecklistQueryInput, data: ChecklistInsertInput!): Checklist
- upsertOneClassification(data: ClassificationInsertInput!, query: ClassificationQueryInput): Classification
- upsertOneDuplicate(query: DuplicateQueryInput, data: DuplicateInsertInput!): Duplicate
- upsertOneEntity(query: EntityQueryInput, data: EntityInsertInput!): Entity
- upsertOneHistory_incident(query: History_incidentQueryInput, data: History_incidentInsertInput!): History_incident
- upsertOneHistory_report(query: History_reportQueryInput, data: History_reportInsertInput!): History_report
- upsertOneIncident(query: IncidentQueryInput, data: IncidentInsertInput!): Incident
- upsertOneNotification(query: NotificationQueryInput, data: NotificationInsertInput!): Notification
- upsertOneQuickadd(query: QuickaddQueryInput, data: QuickaddInsertInput!): Quickadd
- upsertOneReport(query: ReportQueryInput, data: ReportInsertInput!): Report
- upsertOneSubmission(data: SubmissionInsertInput!, query: SubmissionQueryInput): Submission
- upsertOneSubscription(query: SubscriptionQueryInput, data: SubscriptionInsertInput!): Subscription
- upsertOneTaxa(query: TaxaQueryInput, data: TaxaInsertInput!): Taxa
- upsertOneUser(query: UserQueryInput, data: UserInsertInput!): User
+input SubscriptionUserIdRelationInput {
+ create: UserInsertInput
+ link: String
}
-input ClassificationInsertInput {
- reports: ClassificationReportsRelationInput!
+input IncidentUpdateInput {
+ flagged_dissimilar_incidents_unset: Boolean
+ AllegedDeployerOfAISystem: IncidentAllegedDeployerOfAISystemRelationInput
+ description_unset: Boolean
+ _id_unset: Boolean
+ editor_notes: String
_id: ObjectId
- attributes: [ClassificationAttributeInsertInput]
- incidents: ClassificationIncidentsRelationInput!
- namespace: String!
- notes: String
- publish: Boolean
-}
-
-input ReportEmbeddingUpdateInput {
- from_text_hash_unset: Boolean
- vector: [Float]
- vector_unset: Boolean
- from_text_hash: String
+ editor_notes_unset: Boolean
+ epoch_date_modified: Int
+ embedding: IncidentEmbeddingUpdateInput
+ editors: IncidentEditorsRelationInput
+ editor_similar_incidents: [Int]
+ AllegedDeployerOfAISystem_unset: Boolean
+ epoch_date_modified_unset: Boolean
+ embedding_unset: Boolean
+ date_unset: Boolean
+ tsne_unset: Boolean
+ nlp_similar_incidents: [IncidentNlp_similar_incidentUpdateInput]
+ epoch_date_modified_inc: Int
+ description: String
+ title: String
+ flagged_dissimilar_incidents: [Int]
+ date: String
+ incident_id_inc: Int
+ AllegedDeveloperOfAISystem: IncidentAllegedDeveloperOfAISystemRelationInput
+ AllegedHarmedOrNearlyHarmedParties: IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput
+ tsne: IncidentTsneUpdateInput
+ nlp_similar_incidents_unset: Boolean
+ editors_unset: Boolean
+ reports_unset: Boolean
+ incident_id: Int
+ title_unset: Boolean
+ reports: IncidentReportsRelationInput
+ editor_dissimilar_incidents: [Int]
+ editor_dissimilar_incidents_unset: Boolean
+ incident_id_unset: Boolean
+ editor_similar_incidents_unset: Boolean
+ AllegedHarmedOrNearlyHarmedParties_unset: Boolean
+ AllegedDeveloperOfAISystem_unset: Boolean
+ implicated_systems: IncidentImplicatedSystemsRelationInput
}
-enum NotificationSortByInput {
+enum IncidentSortByInput {
+ DESCRIPTION_ASC
+ EPOCH_DATE_MODIFIED_ASC
+ EPOCH_DATE_MODIFIED_DESC
_ID_ASC
- _ID_DESC
+ DATE_DESC
+ DESCRIPTION_DESC
INCIDENT_ID_ASC
- SENTDATE_DESC
- TYPE_ASC
- TYPE_DESC
- INCIDENT_ID_DESC
- SENTDATE_ASC
- USERID_ASC
- USERID_DESC
-}
-
-enum CandidateSortByInput {
- SIMILARITY_ASC
- SOURCE_DOMAIN_ASC
- TEXT_DESC
- _ID_DESC
- DATE_PUBLISHED_ASC
- DATE_PUBLISHED_DESC
- IMAGE_URL_ASC
- LANGUAGE_DESC
- URL_ASC
- URL_DESC
- EPOCH_DATE_DOWNLOADED_ASC
- EPOCH_DATE_PUBLISHED_ASC
- EPOCH_DATE_PUBLISHED_DESC
- LANGUAGE_ASC
- TITLE_DESC
- _ID_ASC
- DATE_DOWNLOADED_DESC
- PLAIN_TEXT_ASC
- TEXT_ASC
TITLE_ASC
- SOURCE_DOMAIN_DESC
- DATE_DOWNLOADED_ASC
- EPOCH_DATE_DOWNLOADED_DESC
- IMAGE_URL_DESC
- PLAIN_TEXT_DESC
- SIMILARITY_DESC
-}
-
-type RisksPayloadPrecedentEmbedding {
- from_reports: [Int]
- vector: [Float]
+ DATE_ASC
+ EDITOR_NOTES_DESC
+ TITLE_DESC
+ _ID_DESC
+ EDITOR_NOTES_ASC
+ INCIDENT_ID_DESC
}
-input ClassificationQueryInput {
- publish_ne: Boolean
- incidents_nin: [IncidentQueryInput]
- namespace_in: [String]
- notes_exists: Boolean
- reports_nin: [ReportQueryInput]
- OR: [ClassificationQueryInput!]
- attributes_in: [ClassificationAttributeQueryInput]
- notes: String
+input SubmissionUpdateInput {
+ language_unset: Boolean
+ harmed_parties: SubmissionHarmed_partiesRelationInput
+ embedding: SubmissionEmbeddingUpdateInput
+ incident_editors_unset: Boolean
+ nlp_similar_incidents_unset: Boolean
+ editor_similar_incidents: [Int]
+ description_unset: Boolean
+ deployers: SubmissionDeployersRelationInput
+ source_domain_unset: Boolean
+ tags: [String]
+ authors_unset: Boolean
+ date_modified_unset: Boolean
+ user: SubmissionUserRelationInput
+ _id_unset: Boolean
+ editor_notes: String
+ plain_text: String
+ title_unset: Boolean
+ url_unset: Boolean
+ editor_similar_incidents_unset: Boolean
+ editor_notes_unset: Boolean
+ cloudinary_id_unset: Boolean
+ text: String
+ date_downloaded_unset: Boolean
+ submitters: [String]
+ editor_dissimilar_incidents: [Int]
+ developers: SubmissionDevelopersRelationInput
+ date_submitted: String
+ title: String
+ status: String
+ authors: [String]
+ incident_title: String
+ date_modified: String
+ date_downloaded: String
+ language: String
+ plain_text_unset: Boolean
_id: ObjectId
- AND: [ClassificationQueryInput!]
- attributes_nin: [ClassificationAttributeQueryInput]
- notes_nin: [String]
- _id_in: [ObjectId]
- notes_lt: String
- namespace_ne: String
- incidents_in: [IncidentQueryInput]
- incidents_exists: Boolean
- reports: [ReportQueryInput]
- namespace: String
- _id_lt: ObjectId
- _id_ne: ObjectId
- namespace_nin: [String]
- namespace_lte: String
- notes_in: [String]
- namespace_gte: String
- _id_gt: ObjectId
- _id_gte: ObjectId
- notes_lte: String
- attributes_exists: Boolean
- incidents: [IncidentQueryInput]
- notes_gt: String
- notes_ne: String
- reports_exists: Boolean
- notes_gte: String
- publish_exists: Boolean
- namespace_exists: Boolean
- reports_in: [ReportQueryInput]
- _id_nin: [ObjectId]
- attributes: [ClassificationAttributeQueryInput]
- publish: Boolean
- namespace_gt: String
- _id_exists: Boolean
- _id_lte: ObjectId
- namespace_lt: String
+ harmed_parties_unset: Boolean
+ date_published_unset: Boolean
+ incident_ids: [Int]
+ submitters_unset: Boolean
+ user_unset: Boolean
+ developers_unset: Boolean
+ status_unset: Boolean
+ date_published: String
+ tags_unset: Boolean
+ incident_title_unset: Boolean
+ embedding_unset: Boolean
+ incident_ids_unset: Boolean
+ url: String
+ editor_dissimilar_incidents_unset: Boolean
+ incident_date: String
+ image_url: String
+ quiet_unset: Boolean
+ description: String
+ epoch_date_modified_unset: Boolean
+ cloudinary_id: String
+ source_domain: String
+ incident_editors: SubmissionIncident_editorsRelationInput
+ incident_date_unset: Boolean
+ epoch_date_modified: Int
+ text_unset: Boolean
+ date_submitted_unset: Boolean
+ epoch_date_modified_inc: Int
+ image_url_unset: Boolean
+ nlp_similar_incidents: [SubmissionNlp_similar_incidentUpdateInput]
+ quiet: Boolean
+ deployers_unset: Boolean
}
-input EntityUpdateInput {
- created_at: DateTime
- date_modified: DateTime
- date_modified_unset: Boolean
- _id: ObjectId
- _id_unset: Boolean
- created_at_unset: Boolean
- entity_id: String
- entity_id_unset: Boolean
- name: String
- name_unset: Boolean
+input SubmissionNlp_similar_incidentUpdateInput {
+ similarity_inc: Float
+ similarity_unset: Boolean
+ incident_id: Int
+ incident_id_inc: Int
+ incident_id_unset: Boolean
+ similarity: Float
}
-input History_reportEmbeddingInsertInput {
- from_text_hash: String
- vector: [Float]
+input CandidateUpdateInput {
+ matching_entities_unset: Boolean
+ similarity_unset: Boolean
+ text: String
+ classification_similarity: [CandidateClassification_similarityUpdateInput]
+ language: String
+ match: Boolean
+ _id_unset: Boolean
+ embedding_unset: Boolean
+ authors: [String]
+ epoch_date_published_unset: Boolean
+ matching_keywords_unset: Boolean
+ date_downloaded: String
+ source_domain_unset: Boolean
+ embedding: CandidateEmbeddingUpdateInput
+ matching_harm_keywords_unset: Boolean
+ classification_similarity_unset: Boolean
+ title: String
+ plain_text: String
+ text_unset: Boolean
+ similarity: Float
+ similarity_inc: Float
+ dismissed_unset: Boolean
+ title_unset: Boolean
+ image_url_unset: Boolean
+ epoch_date_downloaded_unset: Boolean
+ date_downloaded_unset: Boolean
+ epoch_date_downloaded: Int
+ matching_harm_keywords: [String]
+ dismissed: Boolean
+ matching_keywords: [String]
+ plain_text_unset: Boolean
+ authors_unset: Boolean
+ source_domain: String
+ url: String
+ epoch_date_published: Int
+ url_unset: Boolean
+ date_published: String
+ epoch_date_published_inc: Int
+ language_unset: Boolean
+ date_published_unset: Boolean
+ match_unset: Boolean
+ epoch_date_downloaded_inc: Int
+ matching_entities: [String]
+ image_url: String
+ _id: ObjectId
}
-input History_incidentEmbeddingInsertInput {
- from_reports: [Int]
- vector: [Float]
+input TaxaField_listItem_fieldComplete_fromInsertInput {
+ entities: Boolean
+ all: [String]
+ current: [String]
}
-input ChecklistUpdateInput {
- risks_unset: Boolean
+input EntityUpdateInput {
+ date_modified: DateTime
+ entity_id: String
+ created_at: DateTime
+ date_modified_unset: Boolean
+ entity_id_unset: Boolean
+ name_unset: Boolean
_id: ObjectId
_id_unset: Boolean
- date_updated_unset: Boolean
- name_unset: Boolean
- date_created: DateTime
- tags_goals: [String]
- tags_methods_unset: Boolean
- entity_id_unset: Boolean
name: String
- owner_id: String
- tags_methods: [String]
- id_unset: Boolean
- entity_id: String
- owner_id_unset: Boolean
- risks: [ChecklistRiskUpdateInput]
- tags_other: [String]
- about: String
- tags_goals_unset: Boolean
- tags_other_unset: Boolean
- date_created_unset: Boolean
- date_updated: DateTime
- id: String
- about_unset: Boolean
-}
-
-type TaxaField_listComplete_from {
- all: [String]
- current: [String]
+ created_at_unset: Boolean
}
-type Quickadd {
+input DuplicateQueryInput {
+ _id_nin: [ObjectId]
+ true_incident_number_lt: Int
+ true_incident_number_gt: Int
+ true_incident_number_lte: Int
+ _id_ne: ObjectId
+ _id_gte: ObjectId
+ _id_exists: Boolean
+ true_incident_number_exists: Boolean
+ true_incident_number_ne: Int
+ true_incident_number_in: [Int]
+ duplicate_incident_number_lt: Int
+ duplicate_incident_number: Int
+ duplicate_incident_number_lte: Int
+ true_incident_number_gte: Int
+ duplicate_incident_number_ne: Int
+ true_incident_number: Int
_id: ObjectId
- date_submitted: String!
- incident_id: Long
- source_domain: String
- url: String!
+ duplicate_incident_number_exists: Boolean
+ true_incident_number_nin: [Int]
+ _id_lte: ObjectId
+ duplicate_incident_number_gt: Int
+ duplicate_incident_number_gte: Int
+ duplicate_incident_number_nin: [Int]
+ _id_in: [ObjectId]
+ _id_lt: ObjectId
+ OR: [DuplicateQueryInput!]
+ AND: [DuplicateQueryInput!]
+ _id_gt: ObjectId
+ duplicate_incident_number_in: [Int]
}
input CandidateEmbeddingQueryInput {
- vector_in: [Float]
OR: [CandidateEmbeddingQueryInput!]
- from_text_hash_nin: [String]
+ from_text_hash_gt: String
vector_exists: Boolean
- from_text_hash: String
- from_text_hash_exists: Boolean
- from_text_hash_lte: String
- from_text_hash_in: [String]
- vector: [Float]
- vector_nin: [Float]
+ AND: [CandidateEmbeddingQueryInput!]
from_text_hash_gte: String
- from_text_hash_gt: String
from_text_hash_ne: String
- AND: [CandidateEmbeddingQueryInput!]
+ from_text_hash_nin: [String]
from_text_hash_lt: String
-}
-
-input IncidentEmbeddingQueryInput {
- from_reports: [Int]
- from_reports_in: [Int]
- vector: [Float]
vector_nin: [Float]
+ vector: [Float]
+ from_text_hash: String
+ from_text_hash_lte: String
+ from_text_hash_exists: Boolean
vector_in: [Float]
- AND: [IncidentEmbeddingQueryInput!]
- from_reports_nin: [Int]
- from_reports_exists: Boolean
- vector_exists: Boolean
- OR: [IncidentEmbeddingQueryInput!]
+ from_text_hash_in: [String]
}
-input SubscriptionUserIdRelationInput {
- create: UserInsertInput
+input SubscriptionInsertInput {
+ _id: ObjectId
+ entityId: SubscriptionEntityIdRelationInput
+ incident_id: SubscriptionIncident_idRelationInput
+ type: String!
+ userId: SubscriptionUserIdRelationInput!
+}
+
+input SubscriptionEntityIdRelationInput {
link: String
+ create: EntityInsertInput
}
-input TaxaField_listItem_fieldComplete_fromInsertInput {
- entities: Boolean
- all: [String]
- current: [String]
+input CandidateEmbeddingInsertInput {
+ vector: [Float]
+ from_text_hash: String
}
-input History_incidentTsneQueryInput {
- x_gte: Float
- y_exists: Boolean
- AND: [History_incidentTsneQueryInput!]
- x_exists: Boolean
- x_in: [Float]
- y_in: [Float]
+input IncidentTsneInsertInput {
x: Float
- x_ne: Float
- x_gt: Float
- y_ne: Float
- x_lte: Float
- y_nin: [Float]
y: Float
- y_lt: Float
- x_lt: Float
- y_gt: Float
- y_gte: Float
- y_lte: Float
- OR: [History_incidentTsneQueryInput!]
- x_nin: [Float]
}
-input TaxaField_listItem_fieldInsertInput {
- mongo_type: String
- weight: Int
- field_number: String
+input TaxaField_listInsertInput {
permitted_values: [String]
- default: String
- instant_facet: Boolean
- short_description: String
- complete_from: TaxaField_listItem_fieldComplete_fromInsertInput
- public: Boolean
- display_type: String
- placeholder: String
- short_name: String
long_name: String
+ weight: Int
long_description: String
- required: Boolean
-}
-
-input SubscriptionQueryInput {
- _id_nin: [ObjectId]
- _id_gt: ObjectId
- type_exists: Boolean
- _id_ne: ObjectId
- type: String
- _id_gte: ObjectId
- _id_lt: ObjectId
- _id_exists: Boolean
- incident_id: IncidentQueryInput
- type_gt: String
- type_lt: String
- type_in: [String]
- entityId: EntityQueryInput
- type_nin: [String]
- incident_id_exists: Boolean
- type_ne: String
- AND: [SubscriptionQueryInput!]
- _id_in: [ObjectId]
- type_lte: String
- _id_lte: ObjectId
- userId: UserQueryInput
- userId_exists: Boolean
- type_gte: String
- OR: [SubscriptionQueryInput!]
- _id: ObjectId
- entityId_exists: Boolean
-}
-
-input ChecklistQueryInput {
- _id_lte: ObjectId
- about_gte: String
- id_ne: String
- risks_exists: Boolean
- owner_id_gte: String
- entity_id_gt: String
- date_created_gt: DateTime
- date_updated_nin: [DateTime]
- date_created_lte: DateTime
- tags_methods_exists: Boolean
- owner_id_lt: String
- AND: [ChecklistQueryInput!]
- risks_in: [ChecklistRiskQueryInput]
- tags_other_in: [String]
- about_exists: Boolean
- name_in: [String]
- entity_id_exists: Boolean
- owner_id: String
- _id_gt: ObjectId
- owner_id_in: [String]
- tags_other_exists: Boolean
- date_updated_ne: DateTime
- name_gte: String
- tags_methods_nin: [String]
- date_updated_exists: Boolean
- entity_id_nin: [String]
- date_updated_lte: DateTime
- owner_id_lte: String
- id: String
- id_gt: String
- date_updated: DateTime
- entity_id_lt: String
- date_created_in: [DateTime]
- _id_exists: Boolean
- date_created_exists: Boolean
- name_gt: String
- name_lt: String
- about_gt: String
- entity_id_ne: String
- tags_goals_exists: Boolean
- id_in: [String]
- owner_id_exists: Boolean
- tags_goals_in: [String]
- date_updated_gte: DateTime
- date_created: DateTime
- _id_nin: [ObjectId]
- date_created_lt: DateTime
- risks: [ChecklistRiskQueryInput]
- tags_goals: [String]
- about: String
- _id_ne: ObjectId
- tags_methods: [String]
- tags_methods_in: [String]
- tags_other_nin: [String]
- id_lte: String
- date_updated_in: [DateTime]
- id_exists: Boolean
- entity_id_in: [String]
- name_ne: String
- _id_gte: ObjectId
- owner_id_ne: String
- tags_other: [String]
- owner_id_gt: String
- date_updated_gt: DateTime
- risks_nin: [ChecklistRiskQueryInput]
- date_updated_lt: DateTime
- name_lte: String
- _id_lt: ObjectId
- id_gte: String
- id_lt: String
- entity_id_gte: String
- _id: ObjectId
- about_lte: String
- name: String
- date_created_gte: DateTime
- date_created_ne: DateTime
- name_nin: [String]
- about_in: [String]
- owner_id_nin: [String]
- about_ne: String
- about_nin: [String]
- entity_id: String
- date_created_nin: [DateTime]
- id_nin: [String]
- _id_in: [ObjectId]
- name_exists: Boolean
- entity_id_lte: String
- tags_goals_nin: [String]
- about_lt: String
- OR: [ChecklistQueryInput!]
-}
-
-type TaxaField_listItem_field {
- complete_from: TaxaField_listItem_fieldComplete_from
- default: String
display_type: String
field_number: String
- instant_facet: Boolean
- long_description: String
- long_name: String
+ required: Boolean
mongo_type: String
- permitted_values: [String]
placeholder: String
- public: Boolean
- required: Boolean
short_description: String
+ item_fields: TaxaField_listItem_fieldInsertInput
short_name: String
- weight: Int
+ default: String
+ complete_from: TaxaField_listComplete_fromInsertInput
+ hide_search: Boolean
+ instant_facet: Boolean
+ public: Boolean
}
-input NotificationUpdateInput {
- incident_id_unset: Boolean
- processed_unset: Boolean
- type: String
- incident_id: Int
- incident_id_inc: Int
- sentDate: DateTime
- type_unset: Boolean
- sentDate_unset: Boolean
- userId_unset: Boolean
- _id_unset: Boolean
- userId: NotificationUserIdRelationInput
+input ClassificationUpdateInput {
_id: ObjectId
- processed: Boolean
+ _id_unset: Boolean
+ incidents: ClassificationIncidentsRelationInput
+ publish_unset: Boolean
+ reports_unset: Boolean
+ attributes_unset: Boolean
+ publish: Boolean
+ attributes: [ClassificationAttributeUpdateInput]
+ namespace_unset: Boolean
+ notes: String
+ incidents_unset: Boolean
+ namespace: String
+ reports: ClassificationReportsRelationInput
+ notes_unset: Boolean
}
-type Incident {
- AllegedDeployerOfAISystem: [Entity]
- AllegedDeveloperOfAISystem: [Entity]
- AllegedHarmedOrNearlyHarmedParties: [Entity]
- _id: ObjectId
- date: String!
- description: String
- editor_dissimilar_incidents: [Int]
- editor_notes: String
- editor_similar_incidents: [Int]
- editors: [User]!
- embedding: IncidentEmbedding
- epoch_date_modified: Int
- flagged_dissimilar_incidents: [Int]
- incident_id: Int!
- nlp_similar_incidents: [IncidentNlp_similar_incident]
- reports: [Report]!
- title: String!
- tsne: IncidentTsne
+type IncidentNlp_similar_incident {
+ incident_id: Int
+ similarity: Float
}
-input History_incidentQueryInput {
- modifiedBy_in: [String]
- description_ne: String
- editors: [String]
- epoch_date_modified_ne: Int
- flagged_dissimilar_incidents_in: [Int]
- description_gte: String
- OR: [History_incidentQueryInput!]
- AllegedDeveloperOfAISystem: [String]
- incident_id: Int
- incident_id_exists: Boolean
- date_lt: String
- incident_id_nin: [Int]
- editor_notes: String
- modifiedBy_ne: String
- title_gt: String
- _id_ne: ObjectId
- _id_gte: ObjectId
- AllegedDeveloperOfAISystem_exists: Boolean
- AllegedHarmedOrNearlyHarmedParties_in: [String]
- editor_notes_in: [String]
- AllegedHarmedOrNearlyHarmedParties_exists: Boolean
- flagged_dissimilar_incidents_nin: [Int]
- title_lt: String
- title_ne: String
- editor_similar_incidents_nin: [Int]
- AllegedDeveloperOfAISystem_nin: [String]
- _id: ObjectId
- flagged_dissimilar_incidents_exists: Boolean
- epoch_date_modified_gte: Int
- _id_exists: Boolean
- editors_in: [String]
- modifiedBy: String
- editor_notes_exists: Boolean
- AllegedDeployerOfAISystem: [String]
- incident_id_ne: Int
- editor_dissimilar_incidents_in: [Int]
- date_in: [String]
- AllegedDeployerOfAISystem_exists: Boolean
- reports_in: [Int]
- description_lte: String
- _id_nin: [ObjectId]
- epoch_date_modified_exists: Boolean
- AllegedDeveloperOfAISystem_in: [String]
- nlp_similar_incidents_exists: Boolean
- editors_exists: Boolean
- AllegedHarmedOrNearlyHarmedParties_nin: [String]
- title_in: [String]
- incident_id_lt: Int
- description_gt: String
- nlp_similar_incidents: [History_incidentNlp_similar_incidentQueryInput]
- epoch_date_modified_in: [Int]
- description: String
- reports_nin: [Int]
- _id_in: [ObjectId]
- description_in: [String]
- editor_dissimilar_incidents: [Int]
- modifiedBy_lt: String
- editor_notes_lte: String
- incident_id_gte: Int
- title: String
- title_nin: [String]
- AllegedDeployerOfAISystem_in: [String]
- nlp_similar_incidents_nin: [History_incidentNlp_similar_incidentQueryInput]
- epoch_date_modified_lte: Int
- title_gte: String
- date_ne: String
- editor_similar_incidents_exists: Boolean
- incident_id_in: [Int]
- _id_lte: ObjectId
- reports: [Int]
- incident_id_lte: Int
- epoch_date_modified_lt: Int
- date_gte: String
- editor_dissimilar_incidents_nin: [Int]
- editor_similar_incidents_in: [Int]
- title_lte: String
- date: String
- date_exists: Boolean
- modifiedBy_gt: String
- editor_notes_lt: String
- editor_similar_incidents: [Int]
- _id_lt: ObjectId
- epoch_date_modified_nin: [Int]
- embedding: History_incidentEmbeddingQueryInput
- AND: [History_incidentQueryInput!]
- flagged_dissimilar_incidents: [Int]
- incident_id_gt: Int
- editor_notes_ne: String
- modifiedBy_lte: String
- modifiedBy_exists: Boolean
- modifiedBy_nin: [String]
- _id_gt: ObjectId
- date_gt: String
- editor_notes_nin: [String]
- tsne_exists: Boolean
- date_lte: String
- epoch_date_modified_gt: Int
- editors_nin: [String]
- title_exists: Boolean
- reports_exists: Boolean
- AllegedDeployerOfAISystem_nin: [String]
- editor_notes_gt: String
- AllegedHarmedOrNearlyHarmedParties: [String]
- description_lt: String
- embedding_exists: Boolean
- nlp_similar_incidents_in: [History_incidentNlp_similar_incidentQueryInput]
- tsne: History_incidentTsneQueryInput
- epoch_date_modified: Int
- date_nin: [String]
- description_exists: Boolean
- description_nin: [String]
- editor_notes_gte: String
- editor_dissimilar_incidents_exists: Boolean
- modifiedBy_gte: String
+input History_incidentEmbeddingQueryInput {
+ from_reports: [Int]
+ vector: [Float]
+ from_reports_nin: [Int]
+ from_reports_exists: Boolean
+ AND: [History_incidentEmbeddingQueryInput!]
+ OR: [History_incidentEmbeddingQueryInput!]
+ from_reports_in: [Int]
+ vector_nin: [Float]
+ vector_exists: Boolean
+ vector_in: [Float]
}
-input RisksInput {
- tags: [String]
+type InsertManyPayload {
+ insertedIds: [ObjectId]!
}
-input QuickaddInsertInput {
- source_domain: String
- url: String!
+input QuickaddUpdateInput {
+ source_domain_unset: Boolean
_id: ObjectId
- date_submitted: String!
+ url_unset: Boolean
+ _id_unset: Boolean
+ url: String
+ date_submitted_unset: Boolean
+ incident_id_unset: Boolean
+ source_domain: String
+ date_submitted: String
incident_id: Long
}
-input History_reportEmbeddingQueryInput {
- AND: [History_reportEmbeddingQueryInput!]
- vector_in: [Float]
- vector_exists: Boolean
- from_text_hash_in: [String]
- from_text_hash_ne: String
- from_text_hash: String
- OR: [History_reportEmbeddingQueryInput!]
- from_text_hash_gt: String
- from_text_hash_lt: String
- from_text_hash_gte: String
- from_text_hash_nin: [String]
- from_text_hash_lte: String
- vector_nin: [Float]
- vector: [Float]
- from_text_hash_exists: Boolean
+input DuplicateInsertInput {
+ duplicate_incident_number: Int
+ true_incident_number: Int
+ _id: ObjectId
}
-type IncidentTsne {
- x: Float
- y: Float
+enum ClassificationSortByInput {
+ NAMESPACE_DESC
+ NOTES_ASC
+ NOTES_DESC
+ _ID_ASC
+ _ID_DESC
+ NAMESPACE_ASC
}
-input IncidentAllegedDeployerOfAISystemRelationInput {
- link: [String]
- create: [EntityInsertInput]
+input ChecklistRiskPrecedentInsertInput {
+ description: String
+ incident_id: Int
+ tags: [String]
+ title: String
}
-input SubmissionIncident_editorsRelationInput {
- link: [String]
- create: [UserInsertInput]
+input History_incidentTsneInsertInput {
+ x: Float
+ y: Float
}
-input ChecklistRiskPrecedentInsertInput {
- title: String
- description: String
+input IncidentNlp_similar_incidentInsertInput {
incident_id: Int
- tags: [String]
+ similarity: Float
}
-input QuickaddUpdateInput {
- _id_unset: Boolean
+input History_incidentUpdateInput {
+ title: String
+ date_unset: Boolean
+ embedding_unset: Boolean
+ epoch_date_modified_unset: Boolean
+ modifiedBy: String
+ AllegedHarmedOrNearlyHarmedParties: [String]
+ title_unset: Boolean
+ AllegedDeployerOfAISystem_unset: Boolean
+ AllegedDeveloperOfAISystem: [String]
+ implicated_systems_unset: Boolean
+ editors: [String]
+ description_unset: Boolean
+ flagged_dissimilar_incidents: [Int]
incident_id_unset: Boolean
- source_domain_unset: Boolean
- url: String
- url_unset: Boolean
+ editor_dissimilar_incidents: [Int]
+ editors_unset: Boolean
+ reports: [Int]
_id: ObjectId
- date_submitted: String
- date_submitted_unset: Boolean
- incident_id: Long
- source_domain: String
+ nlp_similar_incidents_unset: Boolean
+ tsne_unset: Boolean
+ editor_notes_unset: Boolean
+ date: String
+ incident_id_inc: Int
+ incident_id: Int
+ editor_similar_incidents: [Int]
+ editor_similar_incidents_unset: Boolean
+ reports_unset: Boolean
+ _id_unset: Boolean
+ epoch_date_modified_inc: Int
+ AllegedDeveloperOfAISystem_unset: Boolean
+ epoch_date_modified: Int
+ AllegedDeployerOfAISystem: [String]
+ description: String
+ editor_notes: String
+ modifiedBy_unset: Boolean
+ nlp_similar_incidents: [History_incidentNlp_similar_incidentUpdateInput]
+ editor_dissimilar_incidents_unset: Boolean
+ embedding: History_incidentEmbeddingUpdateInput
+ tsne: History_incidentTsneUpdateInput
+ flagged_dissimilar_incidents_unset: Boolean
+ AllegedHarmedOrNearlyHarmedParties_unset: Boolean
+ implicated_systems: [String]
}
-input TaxaField_listItem_fieldComplete_fromQueryInput {
- all_nin: [String]
- current_in: [String]
- entities_exists: Boolean
- AND: [TaxaField_listItem_fieldComplete_fromQueryInput!]
- OR: [TaxaField_listItem_fieldComplete_fromQueryInput!]
- all_in: [String]
- current: [String]
- entities: Boolean
- all_exists: Boolean
- current_exists: Boolean
- all: [String]
- current_nin: [String]
- entities_ne: Boolean
-}
-
-type IncidentEmbedding {
- from_reports: [Int]
- vector: [Float]
+input ReportUpdateInput {
+ date_modified_unset: Boolean
+ flag_unset: Boolean
+ user: ReportUserRelationInput
+ date_submitted: DateTime
+ _id: ObjectId
+ editor_notes_unset: Boolean
+ epoch_date_published: Int
+ description: String
+ report_number_inc: Int
+ cloudinary_id_unset: Boolean
+ inputs_outputs: [String]
+ authors: [String]
+ url: String
+ epoch_date_modified_unset: Boolean
+ plain_text_unset: Boolean
+ epoch_date_published_inc: Int
+ epoch_date_submitted_unset: Boolean
+ language_unset: Boolean
+ date_modified: DateTime
+ url_unset: Boolean
+ epoch_date_submitted_inc: Int
+ cloudinary_id: String
+ submitters_unset: Boolean
+ image_url: String
+ embedding: ReportEmbeddingUpdateInput
+ text: String
+ tags: [String]
+ text_unset: Boolean
+ image_url_unset: Boolean
+ date_published: DateTime
+ is_incident_report: Boolean
+ language: String
+ is_incident_report_unset: Boolean
+ date_published_unset: Boolean
+ quiet: Boolean
+ plain_text: String
+ submitters: [String]
+ description_unset: Boolean
+ report_number_unset: Boolean
+ embedding_unset: Boolean
+ epoch_date_downloaded: Int
+ epoch_date_submitted: Int
+ inputs_outputs_unset: Boolean
+ user_unset: Boolean
+ epoch_date_published_unset: Boolean
+ quiet_unset: Boolean
+ report_number: Int
+ title: String
+ date_downloaded_unset: Boolean
+ date_downloaded: DateTime
+ source_domain_unset: Boolean
+ epoch_date_downloaded_inc: Int
+ source_domain: String
+ tags_unset: Boolean
+ epoch_date_modified: Int
+ editor_notes: String
+ title_unset: Boolean
+ flag: Boolean
+ authors_unset: Boolean
+ _id_unset: Boolean
+ epoch_date_modified_inc: Int
+ date_submitted_unset: Boolean
+ epoch_date_downloaded_unset: Boolean
}
-input DuplicateQueryInput {
- true_incident_number_exists: Boolean
- duplicate_incident_number_lte: Int
- true_incident_number_gt: Int
- true_incident_number_lte: Int
+input History_incidentQueryInput {
+ editor_similar_incidents_exists: Boolean
+ AllegedDeployerOfAISystem: [String]
+ description_ne: String
+ title_gte: String
+ _id_gt: ObjectId
+ modifiedBy_nin: [String]
+ title_in: [String]
+ date: String
+ editor_dissimilar_incidents_in: [Int]
+ editor_notes_ne: String
+ title_ne: String
+ editor_similar_incidents_in: [Int]
+ _id_in: [ObjectId]
+ incident_id_exists: Boolean
+ editor_notes_lte: String
+ AllegedHarmedOrNearlyHarmedParties_in: [String]
+ editor_dissimilar_incidents: [Int]
+ implicated_systems_nin: [String]
+ description_gte: String
+ date_gt: String
+ epoch_date_modified: Int
+ modifiedBy_gt: String
+ tsne: History_incidentTsneQueryInput
+ flagged_dissimilar_incidents_in: [Int]
+ tsne_exists: Boolean
+ flagged_dissimilar_incidents_exists: Boolean
+ editor_notes_exists: Boolean
+ implicated_systems: [String]
+ editor_similar_incidents: [Int]
+ epoch_date_modified_exists: Boolean
+ description: String
+ epoch_date_modified_lte: Int
+ AllegedDeveloperOfAISystem_exists: Boolean
+ title_nin: [String]
+ implicated_systems_in: [String]
+ modifiedBy_exists: Boolean
+ date_in: [String]
+ epoch_date_modified_in: [Int]
+ title_exists: Boolean
+ incident_id_lte: Int
_id_ne: ObjectId
- true_incident_number_in: [Int]
- _id_exists: Boolean
- true_incident_number_lt: Int
- true_incident_number_nin: [Int]
- AND: [DuplicateQueryInput!]
- _id_nin: [ObjectId]
- true_incident_number: Int
- _id_gte: ObjectId
- duplicate_incident_number_gt: Int
_id_lt: ObjectId
- duplicate_incident_number_gte: Int
- duplicate_incident_number_nin: [Int]
- _id_in: [ObjectId]
- true_incident_number_ne: Int
+ implicated_systems_exists: Boolean
+ date_gte: String
+ AllegedHarmedOrNearlyHarmedParties: [String]
+ description_in: [String]
+ AllegedDeployerOfAISystem_exists: Boolean
+ editors_exists: Boolean
+ description_nin: [String]
+ editor_notes_gt: String
+ reports_nin: [Int]
+ description_gt: String
+ epoch_date_modified_ne: Int
+ flagged_dissimilar_incidents: [Int]
+ incident_id_lt: Int
+ embedding_exists: Boolean
+ _id: ObjectId
+ incident_id_gt: Int
+ description_lte: String
+ AllegedDeveloperOfAISystem_in: [String]
+ nlp_similar_incidents: [History_incidentNlp_similar_incidentQueryInput]
+ editor_dissimilar_incidents_nin: [Int]
_id_lte: ObjectId
- duplicate_incident_number_lt: Int
- duplicate_incident_number_ne: Int
+ date_lt: String
+ incident_id_in: [Int]
+ title_lte: String
+ incident_id_nin: [Int]
+ editor_notes_in: [String]
+ _id_nin: [ObjectId]
+ epoch_date_modified_gt: Int
+ reports_exists: Boolean
+ title: String
+ incident_id: Int
+ _id_gte: ObjectId
+ AllegedDeployerOfAISystem_in: [String]
+ modifiedBy_gte: String
+ nlp_similar_incidents_exists: Boolean
+ flagged_dissimilar_incidents_nin: [Int]
+ date_ne: String
+ modifiedBy_ne: String
+ AND: [History_incidentQueryInput!]
+ nlp_similar_incidents_nin: [History_incidentNlp_similar_incidentQueryInput]
+ editor_notes: String
+ editor_notes_gte: String
+ AllegedDeployerOfAISystem_nin: [String]
+ title_gt: String
+ modifiedBy_in: [String]
+ incident_id_ne: Int
+ OR: [History_incidentQueryInput!]
+ editor_dissimilar_incidents_exists: Boolean
+ editors: [String]
+ epoch_date_modified_nin: [Int]
+ AllegedHarmedOrNearlyHarmedParties_exists: Boolean
+ date_nin: [String]
+ reports: [Int]
+ editors_nin: [String]
+ editor_notes_lt: String
+ embedding: History_incidentEmbeddingQueryInput
+ date_exists: Boolean
+ editor_similar_incidents_nin: [Int]
+ editor_notes_nin: [String]
+ _id_exists: Boolean
+ reports_in: [Int]
+ nlp_similar_incidents_in: [History_incidentNlp_similar_incidentQueryInput]
+ description_exists: Boolean
+ description_lt: String
+ AllegedHarmedOrNearlyHarmedParties_nin: [String]
+ epoch_date_modified_gte: Int
+ editors_in: [String]
+ epoch_date_modified_lt: Int
+ modifiedBy_lte: String
+ title_lt: String
+ modifiedBy_lt: String
+ date_lte: String
+ AllegedDeveloperOfAISystem_nin: [String]
+ AllegedDeveloperOfAISystem: [String]
+ incident_id_gte: Int
+ modifiedBy: String
+}
+
+input SubscriptionUpdateInput {
+ _id_unset: Boolean
+ entityId_unset: Boolean
+ userId: SubscriptionUserIdRelationInput
+ userId_unset: Boolean
+ entityId: SubscriptionEntityIdRelationInput
+ incident_id: SubscriptionIncident_idRelationInput
+ incident_id_unset: Boolean
+ type: String
_id: ObjectId
- duplicate_incident_number_exists: Boolean
- _id_gt: ObjectId
- true_incident_number_gte: Int
- OR: [DuplicateQueryInput!]
- duplicate_incident_number: Int
- duplicate_incident_number_in: [Int]
+ type_unset: Boolean
}
-input IncidentTsneInsertInput {
- x: Float
- y: Float
+input ChecklistRiskUpdateInput {
+ likelihood_unset: Boolean
+ risk_notes: String
+ title: String
+ generated_unset: Boolean
+ severity_unset: Boolean
+ tags: [String]
+ generated: Boolean
+ touched: Boolean
+ tags_unset: Boolean
+ likelihood: String
+ risk_status_unset: Boolean
+ severity: String
+ title_unset: Boolean
+ precedents_unset: Boolean
+ risk_notes_unset: Boolean
+ touched_unset: Boolean
+ id_unset: Boolean
+ risk_status: String
+ id: String
+ precedents: [ChecklistRiskPrecedentUpdateInput]
}
-input IncidentTsneUpdateInput {
- y_unset: Boolean
- x: Float
- x_inc: Float
- x_unset: Boolean
- y: Float
- y_inc: Float
+input ClassificationAttributeQueryInput {
+ value_json_lt: String
+ value_json_in: [String]
+ short_name: String
+ short_name_nin: [String]
+ short_name_lte: String
+ value_json_nin: [String]
+ value_json_lte: String
+ AND: [ClassificationAttributeQueryInput!]
+ short_name_ne: String
+ value_json_ne: String
+ OR: [ClassificationAttributeQueryInput!]
+ value_json_gte: String
+ short_name_lt: String
+ value_json_gt: String
+ value_json_exists: Boolean
+ short_name_gte: String
+ value_json: String
+ short_name_gt: String
+ short_name_in: [String]
+ short_name_exists: Boolean
}
-type LogReportHistoryPayload {
- report_number: Int
+type Candidate {
+ _id: ObjectId
+ authors: [String]
+ classification_similarity: [CandidateClassification_similarity]
+ date_downloaded: String
+ date_published: String
+ dismissed: Boolean
+ embedding: CandidateEmbedding
+ epoch_date_downloaded: Int
+ epoch_date_published: Int
+ image_url: String
+ language: String
+ match: Boolean!
+ matching_entities: [String]
+ matching_harm_keywords: [String]
+ matching_keywords: [String]
+ plain_text: String
+ similarity: Float
+ source_domain: String
+ text: String
+ title: String
+ url: String!
}
-input TaxaField_listInsertInput {
- mongo_type: String
- display_type: String
- hide_search: Boolean
- short_name: String
- permitted_values: [String]
- field_number: String
- item_fields: TaxaField_listItem_fieldInsertInput
- default: String
- long_name: String
- long_description: String
- short_description: String
- instant_facet: Boolean
- public: Boolean
- weight: Int
- placeholder: String
- required: Boolean
- complete_from: TaxaField_listComplete_fromInsertInput
+type Subscription {
+ _id: ObjectId
+ entityId: Entity
+ incident_id: Incident
+ type: String!
+ userId: User!
}
-input TaxaDummy_fieldUpdateInput {
- field_number: String
- field_number_unset: Boolean
- short_name: String
- short_name_unset: Boolean
+enum NotificationSortByInput {
+ TYPE_ASC
+ USERID_ASC
+ USERID_DESC
+ _ID_DESC
+ INCIDENT_ID_ASC
+ INCIDENT_ID_DESC
+ SENTDATE_DESC
+ _ID_ASC
+ SENTDATE_ASC
+ TYPE_DESC
}
-type Entity {
+input QuickaddInsertInput {
_id: ObjectId
- created_at: DateTime
- date_modified: DateTime
- entity_id: String!
- name: String!
+ date_submitted: String!
+ incident_id: Long
+ source_domain: String
+ url: String!
}
-input ClassificationReportsRelationInput {
- create: [ReportInsertInput]
- link: [Int]
+input History_incidentNlp_similar_incidentInsertInput {
+ incident_id: Int
+ similarity: Float
}
-type UpdateManyPayload {
- matchedCount: Int!
- modifiedCount: Int!
+input ChecklistUpdateInput {
+ risks: [ChecklistRiskUpdateInput]
+ date_updated_unset: Boolean
+ id_unset: Boolean
+ tags_methods: [String]
+ entity_id: String
+ date_created: DateTime
+ date_updated: DateTime
+ owner_id_unset: Boolean
+ tags_methods_unset: Boolean
+ id: String
+ owner_id: String
+ _id_unset: Boolean
+ tags_goals: [String]
+ tags_other_unset: Boolean
+ about: String
+ risks_unset: Boolean
+ entity_id_unset: Boolean
+ date_created_unset: Boolean
+ tags_goals_unset: Boolean
+ tags_other: [String]
+ about_unset: Boolean
+ name_unset: Boolean
+ name: String
+ _id: ObjectId
}
-input EntityQueryInput {
- date_modified_in: [DateTime]
- created_at_nin: [DateTime]
- _id_in: [ObjectId]
- entity_id_exists: Boolean
+input NotificationQueryInput {
+ _id_gte: ObjectId
+ type: String
+ sentDate_exists: Boolean
+ incident_id_in: [Int]
+ processed_ne: Boolean
+ sentDate_gte: DateTime
+ type_in: [String]
+ sentDate_nin: [DateTime]
_id_ne: ObjectId
- name_exists: Boolean
- date_modified_ne: DateTime
- date_modified_gt: DateTime
- entity_id: String
- date_modified_nin: [DateTime]
- name: String
- OR: [EntityQueryInput!]
- entity_id_in: [String]
- entity_id_ne: String
- created_at_gte: DateTime
- AND: [EntityQueryInput!]
- _id_lt: ObjectId
- created_at_ne: DateTime
- date_modified_gte: DateTime
- name_gt: String
- name_in: [String]
- date_modified_exists: Boolean
- created_at_in: [DateTime]
+ processed: Boolean
+ type_exists: Boolean
+ AND: [NotificationQueryInput!]
+ incident_id_lt: Int
+ OR: [NotificationQueryInput!]
+ sentDate_lte: DateTime
+ incident_id_ne: Int
+ type_gt: String
+ incident_id_exists: Boolean
+ incident_id_gte: Int
+ userId_exists: Boolean
+ incident_id: Int
_id_lte: ObjectId
- entity_id_nin: [String]
- entity_id_gt: String
- name_lt: String
- date_modified_lte: DateTime
_id_gt: ObjectId
- _id: ObjectId
- entity_id_gte: String
- name_nin: [String]
- name_ne: String
- name_lte: String
- _id_nin: [ObjectId]
+ sentDate: DateTime
_id_exists: Boolean
- created_at_lte: DateTime
- date_modified: DateTime
- date_modified_lt: DateTime
- entity_id_lt: String
- created_at_gt: DateTime
- created_at_exists: Boolean
- entity_id_lte: String
- created_at: DateTime
- name_gte: String
- _id_gte: ObjectId
- created_at_lt: DateTime
+ incident_id_lte: Int
+ type_lt: String
+ incident_id_nin: [Int]
+ sentDate_gt: DateTime
+ type_gte: String
+ type_lte: String
+ processed_exists: Boolean
+ userId: UserQueryInput
+ sentDate_ne: DateTime
+ sentDate_lt: DateTime
+ _id_in: [ObjectId]
+ type_ne: String
+ _id_nin: [ObjectId]
+ _id: ObjectId
+ _id_lt: ObjectId
+ type_nin: [String]
+ incident_id_gt: Int
+ sentDate_in: [DateTime]
}
-type RisksPayloadPrecedent {
- AllegedDeployerOfAISystem: [String]
- AllegedDeveloperOfAISystem: [String]
- AllegedHarmedOrNearlyHarmedParties: [String]
+type TaxaField_listItem_fieldComplete_from {
+ all: [String]
+ current: [String]
+ entities: Boolean
+}
+
+input NotificationUpdateInput {
_id: ObjectId
- date: String
- description: String
- editor_dissimilar_incidents: [Int]
- editor_notes: String
- editor_similar_incidents: [Int]
- editors: [String]
- embedding: RisksPayloadPrecedentEmbedding
- epoch_date_modified: Int
- flagged_dissimilar_incidents: [Int]
+ incident_id_unset: Boolean
+ userId: NotificationUserIdRelationInput
+ processed: Boolean
+ processed_unset: Boolean
+ type: String
+ type_unset: Boolean
+ userId_unset: Boolean
incident_id: Int
- nlp_similar_incidents: [RisksPayloadPrecedentNlp_similar_incident]
- reports: [Int]
- tags: [String]
- title: String
- tsne: RisksPayloadPrecedentTsne
+ sentDate_unset: Boolean
+ _id_unset: Boolean
+ incident_id_inc: Int
+ sentDate: DateTime
}
-input CandidateClassification_similarityUpdateInput {
- similarity: Float
- similarity_inc: Float
- similarity_unset: Boolean
- classification: String
- classification_unset: Boolean
+input CandidateEmbeddingUpdateInput {
+ vector: [Float]
+ vector_unset: Boolean
+ from_text_hash: String
+ from_text_hash_unset: Boolean
}
-input TaxaDummy_fieldInsertInput {
+input History_reportInsertInput {
+ authors: [String]!
+ title: String!
+ date_published: DateTime!
+ epoch_date_submitted: Int!
+ flag: Boolean
+ submitters: [String]!
+ editor_notes: String
+ is_incident_report: Boolean
+ quiet: Boolean
+ tags: [String]!
+ text: String!
+ source_domain: String!
+ cloudinary_id: String!
+ epoch_date_downloaded: Int!
+ inputs_outputs: [String]
+ epoch_date_published: Int!
+ user: String
+ embedding: History_reportEmbeddingInsertInput
+ date_modified: DateTime!
+ plain_text: String!
+ report_number: Int!
+ date_submitted: DateTime!
+ image_url: String!
+ language: String!
+ description: String
+ epoch_date_modified: Int!
+ date_downloaded: DateTime!
+ _id: ObjectId
+ url: String!
+ modifiedBy: String
+}
+
+input SubmissionNlp_similar_incidentQueryInput {
+ incident_id_gt: Int
+ similarity_lte: Float
+ incident_id_lt: Int
+ similarity_exists: Boolean
+ incident_id_exists: Boolean
+ incident_id_gte: Int
+ incident_id: Int
+ similarity_ne: Float
+ incident_id_ne: Int
+ similarity: Float
+ similarity_gt: Float
+ similarity_lt: Float
+ OR: [SubmissionNlp_similar_incidentQueryInput!]
+ incident_id_in: [Int]
+ incident_id_lte: Int
+ incident_id_nin: [Int]
+ similarity_in: [Float]
+ similarity_gte: Float
+ similarity_nin: [Float]
+ AND: [SubmissionNlp_similar_incidentQueryInput!]
+}
+
+input TaxaField_listQueryInput {
+ field_number_gte: String
field_number: String
+ mongo_type_gte: String
+ mongo_type_lt: String
+ short_name_in: [String]
+ long_name_ne: String
+ weight_gte: Int
+ default_in: [String]
+ mongo_type_nin: [String]
+ required_exists: Boolean
+ short_description: String
+ default_gte: String
+ permitted_values_nin: [String]
+ long_name_nin: [String]
+ field_number_lt: String
+ weight_gt: Int
+ display_type_gt: String
+ long_description_lt: String
+ weight: Int
+ long_description_in: [String]
+ placeholder_nin: [String]
+ complete_from_exists: Boolean
+ display_type: String
+ placeholder_lte: String
+ display_type_exists: Boolean
+ long_description: String
+ weight_lt: Int
+ default_ne: String
+ public_exists: Boolean
+ short_description_nin: [String]
+ permitted_values_exists: Boolean
+ mongo_type_gt: String
+ long_description_ne: String
+ placeholder_lt: String
+ AND: [TaxaField_listQueryInput!]
+ required_ne: Boolean
+ required: Boolean
+ weight_in: [Int]
+ display_type_in: [String]
+ display_type_nin: [String]
+ short_name_lte: String
+ short_description_in: [String]
+ display_type_lt: String
+ field_number_lte: String
+ mongo_type: String
+ default_gt: String
+ placeholder_exists: Boolean
+ short_name_lt: String
+ long_description_lte: String
+ placeholder_ne: String
+ mongo_type_exists: Boolean
+ instant_facet_exists: Boolean
+ long_name_gte: String
+ short_name_nin: [String]
+ long_name_lt: String
+ mongo_type_lte: String
+ instant_facet_ne: Boolean
short_name: String
+ OR: [TaxaField_listQueryInput!]
+ placeholder_in: [String]
+ hide_search_exists: Boolean
+ long_name_in: [String]
+ default_lt: String
+ item_fields: TaxaField_listItem_fieldQueryInput
+ long_description_gt: String
+ placeholder: String
+ default_lte: String
+ long_description_nin: [String]
+ long_name_gt: String
+ mongo_type_in: [String]
+ short_description_gte: String
+ default: String
+ display_type_lte: String
+ long_name_exists: Boolean
+ hide_search_ne: Boolean
+ field_number_nin: [String]
+ long_name: String
+ permitted_values_in: [String]
+ weight_ne: Int
+ field_number_in: [String]
+ weight_nin: [Int]
+ short_description_lte: String
+ short_name_exists: Boolean
+ weight_lte: Int
+ short_description_ne: String
+ long_description_gte: String
+ field_number_ne: String
+ permitted_values: [String]
+ short_description_exists: Boolean
+ public_ne: Boolean
+ instant_facet: Boolean
+ short_name_ne: String
+ short_description_gt: String
+ default_nin: [String]
+ weight_exists: Boolean
+ complete_from: TaxaField_listComplete_fromQueryInput
+ hide_search: Boolean
+ short_name_gt: String
+ short_name_gte: String
+ public: Boolean
+ default_exists: Boolean
+ long_name_lte: String
+ placeholder_gte: String
+ display_type_ne: String
+ short_description_lt: String
+ item_fields_exists: Boolean
+ field_number_gt: String
+ display_type_gte: String
+ placeholder_gt: String
+ field_number_exists: Boolean
+ long_description_exists: Boolean
+ mongo_type_ne: String
}
-input CandidateQueryInput {
- _id_in: [ObjectId]
- matching_entities_in: [String]
- plain_text_exists: Boolean
- url_gte: String
- similarity_lt: Float
- matching_harm_keywords_exists: Boolean
- date_downloaded_nin: [String]
- epoch_date_downloaded_nin: [Int]
- image_url_gt: String
- language: String
- text_lt: String
- date_downloaded: String
- date_downloaded_lte: String
- epoch_date_downloaded_in: [Int]
- source_domain_nin: [String]
- date_downloaded_lt: String
- _id_gte: ObjectId
- language_gt: String
- match_ne: Boolean
- text: String
- title: String
- text_lte: String
+input History_incidentInsertInput {
+ tsne: History_incidentTsneInsertInput
+ incident_id: Int!
+ title: String!
+ AllegedDeveloperOfAISystem: [String]
+ _id: ObjectId
+ modifiedBy: String
+ editor_notes: String
+ description: String
+ editors: [String]!
+ AllegedDeployerOfAISystem: [String]
+ implicated_systems: [String]
+ date: String!
+ editor_similar_incidents: [Int]
+ nlp_similar_incidents: [History_incidentNlp_similar_incidentInsertInput]
+ AllegedHarmedOrNearlyHarmedParties: [String]
+ embedding: History_incidentEmbeddingInsertInput
+ epoch_date_modified: Int
+ flagged_dissimilar_incidents: [Int]
+ editor_dissimilar_incidents: [Int]
+ reports: [Int]!
+}
+
+input History_incidentEmbeddingInsertInput {
+ vector: [Float]
+ from_reports: [Int]
+}
+
+input SubscriptionIncident_idRelationInput {
+ create: IncidentInsertInput
+ link: Int
+}
+
+input TaxaField_listItem_fieldUpdateInput {
+ required_unset: Boolean
+ complete_from_unset: Boolean
+ instant_facet: Boolean
+ weight_inc: Int
+ long_description_unset: Boolean
+ short_name_unset: Boolean
+ display_type_unset: Boolean
+ short_description: String
+ short_name: String
+ permitted_values_unset: Boolean
+ public_unset: Boolean
+ mongo_type_unset: Boolean
+ long_name_unset: Boolean
+ short_description_unset: Boolean
+ mongo_type: String
+ placeholder_unset: Boolean
+ instant_facet_unset: Boolean
+ field_number_unset: Boolean
+ long_name: String
+ display_type: String
+ placeholder: String
+ public: Boolean
+ field_number: String
+ default_unset: Boolean
+ complete_from: TaxaField_listItem_fieldComplete_fromUpdateInput
+ weight_unset: Boolean
+ long_description: String
+ default: String
+ permitted_values: [String]
+ weight: Int
+ required: Boolean
+}
+
+input TaxaField_listComplete_fromUpdateInput {
+ all: [String]
+ all_unset: Boolean
+ current: [String]
+ current_unset: Boolean
+}
+
+input TaxaQueryInput {
+ namespace: String
+ namespace_gt: String
+ _id: ObjectId
_id_exists: Boolean
- matching_entities_exists: Boolean
- _id_nin: [ObjectId]
- date_downloaded_ne: String
- date_published: String
- date_downloaded_gt: String
- date_downloaded_exists: Boolean
+ weight_gt: Int
+ weight_ne: Int
+ namespace_in: [String]
+ namespace_nin: [String]
_id_ne: ObjectId
- title_nin: [String]
- date_published_exists: Boolean
- image_url_gte: String
- plain_text_lt: String
- epoch_date_published_nin: [Int]
+ dummy_fields_exists: Boolean
+ weight_exists: Boolean
+ namespace_gte: String
+ description_nin: [String]
+ field_list_in: [TaxaField_listQueryInput]
+ description_lt: String
+ _id_gte: ObjectId
+ namespace_ne: String
_id_gt: ObjectId
- title_lte: String
- authors_nin: [String]
- source_domain_exists: Boolean
- classification_similarity_exists: Boolean
- authors_exists: Boolean
- image_url_exists: Boolean
- url_nin: [String]
- source_domain_lt: String
- language_gte: String
- plain_text_in: [String]
- epoch_date_published_in: [Int]
+ complete_entities_exists: Boolean
+ weight_in: [Int]
_id_lte: ObjectId
- title_in: [String]
- epoch_date_downloaded_exists: Boolean
- match: Boolean
- plain_text: String
- source_domain_ne: String
+ description_gte: String
+ OR: [TaxaQueryInput!]
+ description_in: [String]
+ dummy_fields_nin: [TaxaDummy_fieldQueryInput]
+ field_list_exists: Boolean
+ description_exists: Boolean
+ dummy_fields: [TaxaDummy_fieldQueryInput]
+ description_ne: String
+ description_gt: String
+ _id_in: [ObjectId]
+ dummy_fields_in: [TaxaDummy_fieldQueryInput]
+ field_list_nin: [TaxaField_listQueryInput]
_id_lt: ObjectId
- classification_similarity_in: [CandidateClassification_similarityQueryInput]
- date_published_lte: String
- matching_keywords: [String]
- _id: ObjectId
- text_gt: String
- epoch_date_downloaded_ne: Int
- date_published_ne: String
- source_domain: String
- plain_text_ne: String
- title_gte: String
- epoch_date_downloaded_lte: Int
- matching_entities_nin: [String]
- language_nin: [String]
- AND: [CandidateQueryInput!]
- plain_text_nin: [String]
- url_ne: String
- source_domain_gt: String
- image_url_lte: String
- date_published_gte: String
- image_url_ne: String
- title_lt: String
- matching_harm_keywords_in: [String]
- epoch_date_downloaded_lt: Int
- authors: [String]
- text_gte: String
- url_lte: String
- similarity: Float
- epoch_date_published_gte: Int
- source_domain_gte: String
- date_downloaded_gte: String
+ namespace_lte: String
+ complete_entities_ne: Boolean
+ _id_nin: [ObjectId]
+ namespace_lt: String
+ AND: [TaxaQueryInput!]
+ complete_entities: Boolean
+ description: String
+ weight: Int
+ namespace_exists: Boolean
+ weight_lt: Int
+ weight_nin: [Int]
+ weight_lte: Int
+ weight_gte: Int
+ description_lte: String
+ field_list: [TaxaField_listQueryInput]
+}
+
+input CandidateClassification_similarityQueryInput {
+ classification_gte: String
+ similarity_in: [Float]
+ similarity_gt: Float
+ classification_lte: String
+ classification: String
+ classification_gt: String
+ similarity_lt: Float
similarity_nin: [Float]
- url_in: [String]
- source_domain_lte: String
- epoch_date_downloaded_gte: Int
+ similarity_exists: Boolean
similarity_gte: Float
- similarity_ne: Float
- date_downloaded_in: [String]
- matching_harm_keywords: [String]
- matching_harm_keywords_nin: [String]
- text_exists: Boolean
- dismissed: Boolean
- epoch_date_downloaded: Int
- epoch_date_published_exists: Boolean
- epoch_date_published: Int
- image_url: String
- image_url_in: [String]
- authors_in: [String]
- matching_entities: [String]
- matching_keywords_exists: Boolean
- epoch_date_published_lt: Int
- matching_keywords_nin: [String]
- date_published_in: [String]
- source_domain_in: [String]
- language_ne: String
- similarity_gt: Float
- plain_text_gte: String
- epoch_date_published_ne: Int
- epoch_date_downloaded_gt: Int
- embedding: CandidateEmbeddingQueryInput
- text_in: [String]
- epoch_date_published_gt: Int
+ OR: [CandidateClassification_similarityQueryInput!]
similarity_lte: Float
- match_exists: Boolean
- language_exists: Boolean
- text_ne: String
- plain_text_lte: String
- embedding_exists: Boolean
- date_published_nin: [String]
- image_url_nin: [String]
- language_in: [String]
- url: String
- date_published_lt: String
- date_published_gt: String
- similarity_exists: Boolean
- dismissed_exists: Boolean
- text_nin: [String]
- image_url_lt: String
- url_lt: String
- language_lt: String
- classification_similarity: [CandidateClassification_similarityQueryInput]
- matching_keywords_in: [String]
- epoch_date_published_lte: Int
- dismissed_ne: Boolean
- classification_similarity_nin: [CandidateClassification_similarityQueryInput]
- language_lte: String
- plain_text_gt: String
- OR: [CandidateQueryInput!]
- url_exists: Boolean
+ classification_ne: String
+ classification_lt: String
+ similarity_ne: Float
+ classification_nin: [String]
+ classification_in: [String]
+ AND: [CandidateClassification_similarityQueryInput!]
+ classification_exists: Boolean
+ similarity: Float
+}
+
+input ChecklistRiskQueryInput {
+ title_nin: [String]
+ id_ne: String
+ risk_notes_gte: String
+ risk_status_lte: String
+ generated: Boolean
+ touched: Boolean
+ severity_lt: String
+ AND: [ChecklistRiskQueryInput!]
+ severity: String
+ risk_status_in: [String]
+ severity_ne: String
+ touched_ne: Boolean
+ likelihood_in: [String]
+ risk_status_gt: String
+ risk_status_exists: Boolean
+ likelihood_gte: String
+ likelihood_lte: String
+ risk_status_gte: String
+ severity_exists: Boolean
+ likelihood: String
+ id_gt: String
+ risk_notes_exists: Boolean
+ id_in: [String]
+ risk_status_nin: [String]
+ severity_nin: [String]
+ likelihood_lt: String
+ severity_in: [String]
+ precedents_in: [ChecklistRiskPrecedentQueryInput]
+ generated_exists: Boolean
+ touched_exists: Boolean
+ likelihood_ne: String
+ id_nin: [String]
+ title_lt: String
+ id: String
+ likelihood_exists: Boolean
+ risk_notes: String
+ title_lte: String
+ generated_ne: Boolean
+ risk_notes_in: [String]
+ severity_lte: String
+ risk_notes_nin: [String]
+ title_in: [String]
title_ne: String
- similarity_in: [Float]
- url_gt: String
- title_exists: Boolean
+ risk_notes_ne: String
+ risk_notes_lt: String
+ tags: [String]
+ id_exists: Boolean
+ id_lte: String
+ OR: [ChecklistRiskQueryInput!]
+ severity_gt: String
+ risk_status: String
+ id_gte: String
title_gt: String
-}
-
-enum TaxaSortByInput {
- NAMESPACE_ASC
- NAMESPACE_DESC
- WEIGHT_ASC
- WEIGHT_DESC
- _ID_ASC
- _ID_DESC
- DESCRIPTION_ASC
- DESCRIPTION_DESC
-}
-
-input CandidateUpdateInput {
- classification_similarity_unset: Boolean
- source_domain_unset: Boolean
- epoch_date_published_unset: Boolean
- match_unset: Boolean
- matching_keywords_unset: Boolean
- matching_harm_keywords_unset: Boolean
- similarity_unset: Boolean
- _id: ObjectId
+ precedents_nin: [ChecklistRiskPrecedentQueryInput]
title: String
- similarity_inc: Float
- epoch_date_downloaded: Int
- language_unset: Boolean
- date_downloaded: String
- matching_keywords: [String]
- date_published_unset: Boolean
- authors_unset: Boolean
- authors: [String]
- matching_entities_unset: Boolean
- source_domain: String
- language: String
- title_unset: Boolean
- date_published: String
- plain_text: String
- dismissed_unset: Boolean
- embedding_unset: Boolean
- url: String
- text: String
- dismissed: Boolean
- plain_text_unset: Boolean
- match: Boolean
- matching_entities: [String]
- epoch_date_published_inc: Int
- similarity: Float
- date_downloaded_unset: Boolean
- epoch_date_downloaded_unset: Boolean
- matching_harm_keywords: [String]
- classification_similarity: [CandidateClassification_similarityUpdateInput]
- url_unset: Boolean
- image_url: String
- image_url_unset: Boolean
- text_unset: Boolean
- _id_unset: Boolean
- embedding: CandidateEmbeddingUpdateInput
- epoch_date_downloaded_inc: Int
- epoch_date_published: Int
+ risk_status_lt: String
+ risk_notes_gt: String
+ tags_exists: Boolean
+ title_exists: Boolean
+ risk_status_ne: String
+ risk_notes_lte: String
+ precedents_exists: Boolean
+ likelihood_gt: String
+ id_lt: String
+ tags_nin: [String]
+ severity_gte: String
+ tags_in: [String]
+ title_gte: String
+ precedents: [ChecklistRiskPrecedentQueryInput]
+ likelihood_nin: [String]
}
-input IncidentEmbeddingUpdateInput {
+type RisksPayloadPrecedentEmbedding {
from_reports: [Int]
- from_reports_unset: Boolean
vector: [Float]
- vector_unset: Boolean
}
-type ReportEmbedding {
- from_text_hash: String
- vector: [Float]
+input UserInsertInput {
+ _id: ObjectId
+ first_name: String
+ last_name: String
+ roles: [String]!
+ userId: String!
}
-enum ReportSortByInput {
- CLOUDINARY_ID_DESC
- EPOCH_DATE_PUBLISHED_DESC
- EPOCH_DATE_SUBMITTED_DESC
- IMAGE_URL_DESC
- LANGUAGE_ASC
- REPORT_NUMBER_DESC
- TEXT_ASC
- DATE_DOWNLOADED_ASC
- DATE_MODIFIED_ASC
- DATE_MODIFIED_DESC
- DATE_SUBMITTED_DESC
- EPOCH_DATE_DOWNLOADED_ASC
- IMAGE_URL_ASC
- LANGUAGE_DESC
- DATE_DOWNLOADED_DESC
- PLAIN_TEXT_DESC
- URL_DESC
- USER_ASC
- TITLE_ASC
- DATE_PUBLISHED_DESC
- DESCRIPTION_ASC
- EDITOR_NOTES_ASC
- EDITOR_NOTES_DESC
- EPOCH_DATE_MODIFIED_DESC
- EPOCH_DATE_SUBMITTED_ASC
- REPORT_NUMBER_ASC
- URL_ASC
- EPOCH_DATE_MODIFIED_ASC
- TEXT_DESC
- CLOUDINARY_ID_ASC
- DATE_SUBMITTED_ASC
- PLAIN_TEXT_ASC
- SOURCE_DOMAIN_ASC
- SOURCE_DOMAIN_DESC
- TITLE_DESC
- USER_DESC
- DATE_PUBLISHED_ASC
- DESCRIPTION_DESC
- EPOCH_DATE_DOWNLOADED_DESC
- EPOCH_DATE_PUBLISHED_ASC
- _ID_ASC
- _ID_DESC
+input ClassificationIncidentsRelationInput {
+ create: [IncidentInsertInput]
+ link: [Int]
+}
+
+input TaxaField_listItem_fieldComplete_fromUpdateInput {
+ all_unset: Boolean
+ current: [String]
+ current_unset: Boolean
+ entities: Boolean
+ entities_unset: Boolean
+ all: [String]
}
input History_reportQueryInput {
- _id_lt: ObjectId
- tags: [String]
- epoch_date_downloaded_ne: Int
- date_published_ne: DateTime
- date_published_exists: Boolean
- epoch_date_submitted_ne: Int
- epoch_date_published_lte: Int
- inputs_outputs_exists: Boolean
- cloudinary_id_in: [String]
- AND: [History_reportQueryInput!]
- cloudinary_id_lt: String
- epoch_date_modified_ne: Int
- editor_notes_nin: [String]
- epoch_date_modified_exists: Boolean
- url_gt: String
- image_url_lte: String
- epoch_date_downloaded_exists: Boolean
- embedding_exists: Boolean
- date_downloaded_gt: DateTime
text: String
- title: String
- epoch_date_modified_gte: Int
- epoch_date_submitted_lt: Int
- plain_text_gte: String
- date_downloaded_nin: [DateTime]
- epoch_date_modified_in: [Int]
- date_submitted_ne: DateTime
- epoch_date_downloaded_nin: [Int]
- source_domain: String
- user_ne: String
- image_url_nin: [String]
- _id_gte: ObjectId
- date_modified_exists: Boolean
- url_exists: Boolean
- user_gt: String
- modifiedBy_lt: String
- report_number_gt: Int
- date_downloaded_in: [DateTime]
- language_gt: String
- inputs_outputs_nin: [String]
- user_nin: [String]
- description_lt: String
- epoch_date_submitted_lte: Int
- epoch_date_published: Int
- editor_notes_ne: String
- _id_lte: ObjectId
- quiet_exists: Boolean
- date_published_lt: DateTime
- epoch_date_downloaded_gt: Int
- report_number_exists: Boolean
- source_domain_ne: String
- epoch_date_modified_gt: Int
- text_ne: String
- plain_text_ne: String
- title_lte: String
+ editor_notes_in: [String]
plain_text_nin: [String]
+ epoch_date_modified_lt: Int
+ date_published_gt: DateTime
+ _id_gt: ObjectId
+ plain_text_gt: String
cloudinary_id_lte: String
- source_domain_in: [String]
- date_submitted_lt: DateTime
- epoch_date_submitted: Int
- authors_exists: Boolean
- url_lt: String
- modifiedBy_gt: String
- title_nin: [String]
- image_url_exists: Boolean
+ epoch_date_modified_exists: Boolean
+ modifiedBy_ne: String
+ report_number_lte: Int
+ title_ne: String
+ epoch_date_published_lt: Int
+ modifiedBy_nin: [String]
language_nin: [String]
- source_domain_nin: [String]
date_modified_ne: DateTime
- text_nin: [String]
- modifiedBy_gte: String
+ description: String
+ plain_text: String
+ image_url: String
report_number_in: [Int]
- _id_ne: ObjectId
- date_submitted_exists: Boolean
- _id_gt: ObjectId
+ report_number_lt: Int
+ epoch_date_modified_gte: Int
+ editor_notes: String
cloudinary_id_gt: String
- user_lt: String
- date_published_lte: DateTime
- tags_in: [String]
- plain_text_lt: String
- source_domain_exists: Boolean
- date_submitted_gte: DateTime
- date_downloaded_ne: DateTime
- user_exists: Boolean
- url: String
- is_incident_report_exists: Boolean
- title_ne: String
+ title_gt: String
+ source_domain_gte: String
+ _id_lte: ObjectId
+ language_exists: Boolean
+ date_published_gte: DateTime
+ language_gt: String
+ date_modified_gt: DateTime
+ language_ne: String
+ title_lte: String
+ epoch_date_published_lte: Int
+ epoch_date_submitted_nin: [Int]
+ user_gt: String
+ report_number: Int
+ source_domain_gt: String
modifiedBy: String
- epoch_date_published_ne: Int
- user_gte: String
- submitters_nin: [String]
- OR: [History_reportQueryInput!]
- description_gte: String
- source_domain_gte: String
- _id_exists: Boolean
+ text_ne: String
text_lte: String
- authors_nin: [String]
- cloudinary_id_gte: String
- description_lte: String
- flag: Boolean
- date_modified_lte: DateTime
+ cloudinary_id_lt: String
cloudinary_id_ne: String
- date_submitted_in: [DateTime]
- submitters_in: [String]
- text_lt: String
- date_downloaded_lte: DateTime
- date_published_in: [DateTime]
- date_downloaded: DateTime
- report_number_gte: Int
- image_url: String
- description_ne: String
- language_in: [String]
- epoch_date_downloaded_lt: Int
- language: String
- description: String
- date_modified_gte: DateTime
- image_url_gte: String
- image_url_ne: String
- date_downloaded_exists: Boolean
- date_submitted_lte: DateTime
- epoch_date_published_exists: Boolean
- epoch_date_downloaded_gte: Int
+ epoch_date_submitted_lte: Int
+ _id: ObjectId
user: String
- date_published_gte: DateTime
+ report_number_nin: [Int]
+ date_modified_in: [DateTime]
+ description_lt: String
+ modifiedBy_lte: String
+ epoch_date_downloaded_exists: Boolean
+ description_ne: String
inputs_outputs_in: [String]
- quiet: Boolean
- language_lt: String
- url_in: [String]
- date_modified_lt: DateTime
- is_incident_report_ne: Boolean
- text_exists: Boolean
- epoch_date_modified_nin: [Int]
- language_gte: String
- date_downloaded_lt: DateTime
+ submitters: [String]
+ embedding_exists: Boolean
date_downloaded_gte: DateTime
- plain_text_gt: String
- epoch_date_submitted_gt: Int
- url_lte: String
- date_submitted_nin: [DateTime]
- text_in: [String]
- epoch_date_submitted_exists: Boolean
- report_number_lte: Int
- modifiedBy_ne: String
- is_incident_report: Boolean
- submitters_exists: Boolean
+ _id_in: [ObjectId]
+ image_url_in: [String]
+ authors_exists: Boolean
+ description_lte: String
+ image_url_lte: String
+ is_incident_report_exists: Boolean
+ description_gt: String
+ modifiedBy_gt: String
+ date_submitted_exists: Boolean
+ modifiedBy_exists: Boolean
+ report_number_gte: Int
+ submitters_in: [String]
+ date_submitted_lte: DateTime
+ epoch_date_modified_nin: [Int]
epoch_date_modified_lte: Int
- embedding: History_reportEmbeddingQueryInput
- editor_notes_gt: String
- quiet_ne: Boolean
- editor_notes_gte: String
- authors_in: [String]
- plain_text_lte: String
- editor_notes_exists: Boolean
- url_nin: [String]
- authors: [String]
- cloudinary_id: String
- report_number_nin: [Int]
- report_number_lt: Int
- url_ne: String
- title_gt: String
- plain_text: String
- epoch_date_published_gt: Int
- epoch_date_published_in: [Int]
text_gte: String
- flag_exists: Boolean
+ cloudinary_id_gte: String
+ source_domain_exists: Boolean
+ editor_notes_nin: [String]
+ modifiedBy_lt: String
+ date_published_in: [DateTime]
+ title_in: [String]
+ epoch_date_modified_in: [Int]
+ title: String
+ epoch_date_downloaded_in: [Int]
+ date_downloaded_ne: DateTime
+ date_published_exists: Boolean
+ modifiedBy_gte: String
+ image_url_exists: Boolean
+ date_downloaded_in: [DateTime]
+ epoch_date_submitted_lt: Int
+ text_lt: String
+ cloudinary_id_nin: [String]
+ date_submitted: DateTime
+ epoch_date_submitted_ne: Int
+ image_url_gt: String
+ epoch_date_modified: Int
+ source_domain_ne: String
+ epoch_date_downloaded: Int
+ user_ne: String
+ epoch_date_downloaded_lte: Int
+ source_domain_in: [String]
+ date_published: DateTime
+ text_nin: [String]
report_number_ne: Int
- date_published_gt: DateTime
- source_domain_gt: String
- description_gt: String
- modifiedBy_in: [String]
- title_gte: String
+ source_domain_nin: [String]
+ description_gte: String
+ tags_exists: Boolean
+ date_modified_lte: DateTime
+ epoch_date_published_exists: Boolean
epoch_date_submitted_in: [Int]
- epoch_date_submitted_nin: [Int]
- date_submitted_gt: DateTime
- epoch_date_modified_lt: Int
- image_url_gt: String
- _id_in: [ObjectId]
+ _id_gte: ObjectId
+ epoch_date_published_ne: Int
+ url_lte: String
+ text_in: [String]
+ date_downloaded_lt: DateTime
+ report_number_exists: Boolean
+ url_exists: Boolean
+ AND: [History_reportQueryInput!]
+ _id_lt: ObjectId
+ submitters_nin: [String]
+ date_submitted_gte: DateTime
+ OR: [History_reportQueryInput!]
+ source_domain: String
+ modifiedBy_in: [String]
+ date_downloaded_exists: Boolean
+ date_modified_exists: Boolean
+ epoch_date_published_in: [Int]
plain_text_exists: Boolean
- language_exists: Boolean
+ language_gte: String
editor_notes_lte: String
- epoch_date_published_lt: Int
- date_published_nin: [DateTime]
- modifiedBy_nin: [String]
- epoch_date_downloaded_lte: Int
- title_lt: String
- editor_notes_lt: String
- url_gte: String
- modifiedBy_lte: String
- report_number: Int
- date_submitted: DateTime
+ description_in: [String]
+ language_in: [String]
+ url_ne: String
+ date_published_lte: DateTime
+ tags: [String]
+ epoch_date_submitted_gte: Int
+ flag_exists: Boolean
+ is_incident_report_ne: Boolean
+ url_gt: String
+ epoch_date_downloaded_gte: Int
+ inputs_outputs: [String]
+ language_lt: String
+ date_modified_nin: [DateTime]
+ editor_notes_exists: Boolean
+ epoch_date_published_gt: Int
+ date_modified_gte: DateTime
+ language_lte: String
source_domain_lte: String
- date_modified_gt: DateTime
- description_exists: Boolean
+ cloudinary_id_in: [String]
+ image_url_lt: String
+ url_nin: [String]
+ tags_in: [String]
+ url_lt: String
+ epoch_date_published: Int
+ inputs_outputs_nin: [String]
+ editor_notes_gte: String
+ user_exists: Boolean
+ url: String
+ date_modified: DateTime
+ user_in: [String]
+ authors: [String]
+ plain_text_gte: String
+ language: String
+ date_published_lt: DateTime
+ epoch_date_modified_gt: Int
+ submitters_exists: Boolean
_id_nin: [ObjectId]
- text_gt: String
- epoch_date_published_nin: [Int]
- description_in: [String]
+ url_gte: String
+ epoch_date_published_gte: Int
+ date_downloaded_gt: DateTime
description_nin: [String]
- editor_notes_in: [String]
- date_published: DateTime
- flag_ne: Boolean
- source_domain_lt: String
- title_in: [String]
- epoch_date_modified: Int
+ plain_text_ne: String
+ inputs_outputs_exists: Boolean
+ quiet_exists: Boolean
+ user_lt: String
+ authors_in: [String]
+ date_submitted_lt: DateTime
+ image_url_gte: String
+ title_lt: String
+ quiet_ne: Boolean
+ title_gte: String
plain_text_in: [String]
- epoch_date_published_gte: Int
- image_url_lt: String
- cloudinary_id_exists: Boolean
- editor_notes: String
- user_in: [String]
- tags_exists: Boolean
+ date_submitted_in: [DateTime]
+ epoch_date_downloaded_ne: Int
+ cloudinary_id: String
+ source_domain_lt: String
+ tags_nin: [String]
+ epoch_date_submitted: Int
+ plain_text_lte: String
+ image_url_nin: [String]
user_lte: String
- inputs_outputs: [String]
- epoch_date_downloaded_in: [Int]
- date_modified_nin: [DateTime]
- cloudinary_id_nin: [String]
- date_modified: DateTime
+ epoch_date_published_nin: [Int]
+ image_url_ne: String
+ date_published_nin: [DateTime]
+ cloudinary_id_exists: Boolean
+ quiet: Boolean
+ title_nin: [String]
+ _id_ne: ObjectId
+ date_downloaded: DateTime
+ epoch_date_downloaded_gt: Int
+ text_exists: Boolean
+ epoch_date_submitted_gt: Int
+ editor_notes_lt: String
+ url_in: [String]
title_exists: Boolean
- modifiedBy_exists: Boolean
- epoch_date_submitted_gte: Int
- language_lte: String
- date_modified_in: [DateTime]
+ user_nin: [String]
+ _id_exists: Boolean
+ text_gt: String
+ user_gte: String
+ epoch_date_downloaded_lt: Int
+ date_submitted_nin: [DateTime]
+ flag: Boolean
+ epoch_date_downloaded_nin: [Int]
+ description_exists: Boolean
+ date_submitted_ne: DateTime
+ is_incident_report: Boolean
+ plain_text_lt: String
+ editor_notes_gt: String
+ date_downloaded_nin: [DateTime]
+ embedding: History_reportEmbeddingQueryInput
+ date_submitted_gt: DateTime
+ report_number_gt: Int
+ authors_nin: [String]
+ editor_notes_ne: String
+ flag_ne: Boolean
+ epoch_date_modified_ne: Int
+ date_modified_lt: DateTime
+ date_published_ne: DateTime
+ date_downloaded_lte: DateTime
+ epoch_date_submitted_exists: Boolean
+}
+
+type TaxaDummy_field {
+ field_number: String
+ short_name: String
+}
+
+type TaxaField_listItem_field {
+ complete_from: TaxaField_listItem_fieldComplete_from
+ default: String
+ display_type: String
+ field_number: String
+ instant_facet: Boolean
+ long_description: String
+ long_name: String
+ mongo_type: String
+ permitted_values: [String]
+ placeholder: String
+ public: Boolean
+ required: Boolean
+ short_description: String
+ short_name: String
+ weight: Int
+}
+
+type TaxaField_list {
+ complete_from: TaxaField_listComplete_from
+ default: String
+ display_type: String
+ field_number: String
+ hide_search: Boolean
+ instant_facet: Boolean
+ item_fields: TaxaField_listItem_field
+ long_description: String
+ long_name: String
+ mongo_type: String
+ permitted_values: [String]
+ placeholder: String
+ public: Boolean
+ required: Boolean
+ short_description: String
+ short_name: String
+ weight: Int
+}
+
+input ClassificationQueryInput {
+ notes_gte: String
+ reports_nin: [ReportQueryInput]
_id: ObjectId
- submitters: [String]
- epoch_date_downloaded: Int
- tags_nin: [String]
- image_url_in: [String]
- language_ne: String
+ namespace_gte: String
+ notes_exists: Boolean
+ attributes_in: [ClassificationAttributeQueryInput]
+ publish_ne: Boolean
+ namespace: String
+ namespace_nin: [String]
+ incidents_nin: [IncidentQueryInput]
+ _id_gte: ObjectId
+ notes: String
+ AND: [ClassificationQueryInput!]
+ _id_gt: ObjectId
+ publish: Boolean
+ attributes: [ClassificationAttributeQueryInput]
+ reports_in: [ReportQueryInput]
+ _id_in: [ObjectId]
+ notes_lt: String
+ _id_exists: Boolean
+ namespace_lte: String
+ _id_lte: ObjectId
+ _id_ne: ObjectId
+ incidents: [IncidentQueryInput]
+ OR: [ClassificationQueryInput!]
+ incidents_in: [IncidentQueryInput]
+ incidents_exists: Boolean
+ notes_ne: String
+ notes_nin: [String]
+ notes_gt: String
+ attributes_exists: Boolean
+ namespace_in: [String]
+ namespace_exists: Boolean
+ notes_in: [String]
+ namespace_ne: String
+ publish_exists: Boolean
+ namespace_gt: String
+ reports_exists: Boolean
+ _id_nin: [ObjectId]
+ reports: [ReportQueryInput]
+ _id_lt: ObjectId
+ namespace_lt: String
+ notes_lte: String
+ attributes_nin: [ClassificationAttributeQueryInput]
}
-input IncidentInsertInput {
- title: String!
- editor_notes: String
- editor_dissimilar_incidents: [Int]
- tsne: IncidentTsneInsertInput
- description: String
- AllegedHarmedOrNearlyHarmedParties: IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput
- nlp_similar_incidents: [IncidentNlp_similar_incidentInsertInput]
- editors: IncidentEditorsRelationInput!
- reports: IncidentReportsRelationInput!
- flagged_dissimilar_incidents: [Int]
- editor_similar_incidents: [Int]
- AllegedDeveloperOfAISystem: IncidentAllegedDeveloperOfAISystemRelationInput
+input DuplicateUpdateInput {
_id: ObjectId
- epoch_date_modified: Int
- embedding: IncidentEmbeddingInsertInput
- incident_id: Int!
- AllegedDeployerOfAISystem: IncidentAllegedDeployerOfAISystemRelationInput
- date: String!
+ _id_unset: Boolean
+ duplicate_incident_number: Int
+ duplicate_incident_number_inc: Int
+ duplicate_incident_number_unset: Boolean
+ true_incident_number: Int
+ true_incident_number_inc: Int
+ true_incident_number_unset: Boolean
}
-input IncidentEditorsRelationInput {
- create: [UserInsertInput]
- link: [String]
+input TaxaInsertInput {
+ description: String
+ dummy_fields: [TaxaDummy_fieldInsertInput]
+ field_list: [TaxaField_listInsertInput]
+ namespace: String
+ weight: Int
+ _id: ObjectId
+ complete_entities: Boolean
}
-type ReportTranslation {
- text: String
- title: String
+type IncidentTsne {
+ x: Float
+ y: Float
}
-enum SubscriptionSortByInput {
- TYPE_ASC
- TYPE_DESC
- USERID_ASC
+enum QuickaddSortByInput {
+ SOURCE_DOMAIN_ASC
+ SOURCE_DOMAIN_DESC
+ URL_DESC
_ID_ASC
- ENTITYID_ASC
- ENTITYID_DESC
- USERID_DESC
_ID_DESC
+ DATE_SUBMITTED_DESC
INCIDENT_ID_ASC
INCIDENT_ID_DESC
+ DATE_SUBMITTED_ASC
+ URL_ASC
}
-enum ChecklistSortByInput {
- DATE_CREATED_DESC
- ID_DESC
- NAME_DESC
+enum History_reportSortByInput {
+ DATE_SUBMITTED_ASC
+ DATE_SUBMITTED_DESC
+ DESCRIPTION_DESC
+ MODIFIEDBY_ASC
+ MODIFIEDBY_DESC
+ DATE_MODIFIED_ASC
+ EPOCH_DATE_SUBMITTED_DESC
+ IMAGE_URL_ASC
+ LANGUAGE_ASC
+ PLAIN_TEXT_DESC
+ URL_DESC
_ID_DESC
- ABOUT_DESC
- ENTITY_ID_ASC
- ENTITY_ID_DESC
- ID_ASC
- _ID_ASC
- DATE_UPDATED_ASC
- DATE_UPDATED_DESC
- OWNER_ID_ASC
- OWNER_ID_DESC
- ABOUT_ASC
- DATE_CREATED_ASC
- NAME_ASC
-}
-
-input IncidentNlp_similar_incidentUpdateInput {
- similarity_unset: Boolean
- incident_id: Int
- incident_id_inc: Int
- incident_id_unset: Boolean
- similarity: Float
- similarity_inc: Float
-}
-
-input CandidateEmbeddingUpdateInput {
- vector_unset: Boolean
- from_text_hash: String
- from_text_hash_unset: Boolean
- vector: [Float]
-}
-
-input IncidentTsneQueryInput {
- y_gte: Float
- x_nin: [Float]
- y_nin: [Float]
- x_in: [Float]
- x_ne: Float
- x_gt: Float
- y_in: [Float]
- OR: [IncidentTsneQueryInput!]
- y_lt: Float
- x: Float
- y_exists: Boolean
- y: Float
- y_lte: Float
- x_gte: Float
- x_lt: Float
- y_gt: Float
- y_ne: Float
- x_exists: Boolean
- x_lte: Float
- AND: [IncidentTsneQueryInput!]
+ DATE_DOWNLOADED_ASC
+ EPOCH_DATE_PUBLISHED_ASC
+ EPOCH_DATE_PUBLISHED_DESC
+ REPORT_NUMBER_DESC
+ EPOCH_DATE_DOWNLOADED_ASC
+ PLAIN_TEXT_ASC
+ SOURCE_DOMAIN_ASC
+ TEXT_DESC
+ CLOUDINARY_ID_DESC
+ DATE_PUBLISHED_DESC
+ IMAGE_URL_DESC
+ REPORT_NUMBER_ASC
+ TITLE_ASC
+ TITLE_DESC
+ CLOUDINARY_ID_ASC
+ DATE_DOWNLOADED_DESC
+ DATE_PUBLISHED_ASC
+ EDITOR_NOTES_DESC
+ EPOCH_DATE_DOWNLOADED_DESC
+ EPOCH_DATE_MODIFIED_DESC
+ EPOCH_DATE_SUBMITTED_ASC
+ DESCRIPTION_ASC
+ EPOCH_DATE_MODIFIED_ASC
+ LANGUAGE_DESC
+ SOURCE_DOMAIN_DESC
+ URL_ASC
+ USER_ASC
+ _ID_ASC
+ DATE_MODIFIED_DESC
+ EDITOR_NOTES_ASC
+ TEXT_ASC
+ USER_DESC
}
-input ChecklistRiskPrecedentQueryInput {
- title_nin: [String]
- description_lt: String
- title_gt: String
- description: String
- incident_id_lt: Int
- incident_id_gt: Int
- description_in: [String]
- title_exists: Boolean
- tags_exists: Boolean
- title_lte: String
- title_ne: String
- description_lte: String
- incident_id_lte: Int
+input ChecklistRiskInsertInput {
+ severity: String
title: String
- description_gt: String
- description_ne: String
- description_nin: [String]
- incident_id_gte: Int
- description_gte: String
- OR: [ChecklistRiskPrecedentQueryInput!]
+ id: String
+ generated: Boolean
+ risk_notes: String
+ risk_status: String
+ likelihood: String
+ precedents: [ChecklistRiskPrecedentInsertInput]
tags: [String]
- AND: [ChecklistRiskPrecedentQueryInput!]
- incident_id_exists: Boolean
- tags_nin: [String]
- title_lt: String
- tags_in: [String]
- incident_id_in: [Int]
- incident_id_ne: Int
- incident_id: Int
- incident_id_nin: [Int]
- title_in: [String]
- description_exists: Boolean
- title_gte: String
-}
-
-input History_incidentNlp_similar_incidentQueryInput {
- OR: [History_incidentNlp_similar_incidentQueryInput!]
- incident_id_lte: Int
- incident_id_in: [Int]
- similarity_gt: Float
- incident_id_gte: Int
- similarity_nin: [Float]
- incident_id_lt: Int
- similarity_lte: Float
- similarity: Float
- incident_id_gt: Int
- similarity_lt: Float
- similarity_ne: Float
- similarity_in: [Float]
- incident_id_exists: Boolean
- similarity_gte: Float
- incident_id: Int
- incident_id_ne: Int
- similarity_exists: Boolean
- AND: [History_incidentNlp_similar_incidentQueryInput!]
- incident_id_nin: [Int]
+ touched: Boolean
}
-type History_incidentTsne {
+input History_incidentTsneUpdateInput {
+ y_inc: Float
+ y_unset: Boolean
x: Float
+ x_inc: Float
+ x_unset: Boolean
y: Float
}
-input History_incidentNlp_similar_incidentUpdateInput {
- similarity_inc: Float
- similarity_unset: Boolean
- incident_id: Int
- incident_id_inc: Int
- incident_id_unset: Boolean
- similarity: Float
-}
-
-input ChecklistInsertInput {
- about: String
- date_updated: DateTime
- id: String
- tags_other: [String]
- name: String
- risks: [ChecklistRiskInsertInput]
- tags_goals: [String]
- _id: ObjectId
- owner_id: String
- tags_methods: [String]
- date_created: DateTime
- entity_id: String
+type LogReportHistoryPayload {
+ report_number: Int
}
-input SubmissionEmbeddingQueryInput {
- from_text_hash_gt: String
- from_text_hash_ne: String
- vector_exists: Boolean
- from_text_hash: String
- from_text_hash_gte: String
- from_text_hash_lt: String
- from_text_hash_in: [String]
- from_text_hash_lte: String
- vector_nin: [Float]
- vector_in: [Float]
- OR: [SubmissionEmbeddingQueryInput!]
- from_text_hash_nin: [String]
- from_text_hash_exists: Boolean
- AND: [SubmissionEmbeddingQueryInput!]
- vector: [Float]
+input GetUserInput {
+ userId: ObjectId
}
-input IncidentEmbeddingInsertInput {
- from_reports: [Int]
- vector: [Float]
+input IncidentAllegedDeployerOfAISystemRelationInput {
+ link: [String]
+ create: [EntityInsertInput]
}
-input History_incidentNlp_similar_incidentInsertInput {
- incident_id: Int
- similarity: Float
+type Query {
+ candidate(query: CandidateQueryInput): Candidate
+ candidates(query: CandidateQueryInput, limit: Int = 100, sortBy: CandidateSortByInput): [Candidate]!
+ checklist(query: ChecklistQueryInput): Checklist
+ checklists(query: ChecklistQueryInput, limit: Int = 100, sortBy: ChecklistSortByInput): [Checklist]!
+ classification(query: ClassificationQueryInput): Classification
+ classifications(query: ClassificationQueryInput, limit: Int = 100, sortBy: ClassificationSortByInput): [Classification]!
+ duplicate(query: DuplicateQueryInput): Duplicate
+ duplicates(query: DuplicateQueryInput, limit: Int = 100, sortBy: DuplicateSortByInput): [Duplicate]!
+ entities(query: EntityQueryInput, limit: Int = 100, sortBy: EntitySortByInput): [Entity]!
+ entity(query: EntityQueryInput): Entity
+ history_incident(query: History_incidentQueryInput): History_incident
+ history_incidents(query: History_incidentQueryInput, limit: Int = 100, sortBy: History_incidentSortByInput): [History_incident]!
+ history_report(query: History_reportQueryInput): History_report
+ history_reports(limit: Int = 100, sortBy: History_reportSortByInput, query: History_reportQueryInput): [History_report]!
+ incident(query: IncidentQueryInput): Incident
+ incidents(query: IncidentQueryInput, limit: Int = 100, sortBy: IncidentSortByInput): [Incident]!
+ notification(query: NotificationQueryInput): Notification
+ notifications(query: NotificationQueryInput, limit: Int = 100, sortBy: NotificationSortByInput): [Notification]!
+ quickadd(query: QuickaddQueryInput): Quickadd
+ quickadds(query: QuickaddQueryInput, limit: Int = 100, sortBy: QuickaddSortByInput): [Quickadd]!
+ report(query: ReportQueryInput): Report
+ reports(query: ReportQueryInput, limit: Int = 100, sortBy: ReportSortByInput): [Report]!
+ risks(input: RisksInput): [RisksPayloadItem]
+ submission(query: SubmissionQueryInput): Submission
+ submissions(limit: Int = 100, sortBy: SubmissionSortByInput, query: SubmissionQueryInput): [Submission]!
+ subscription(query: SubscriptionQueryInput): Subscription
+ subscriptions(query: SubscriptionQueryInput, limit: Int = 100, sortBy: SubscriptionSortByInput): [Subscription]!
+ taxa(query: TaxaQueryInput): Taxa
+ taxas(query: TaxaQueryInput, limit: Int = 100, sortBy: TaxaSortByInput): [Taxa]!
+ user(query: UserQueryInput): User
+ users(query: UserQueryInput, limit: Int = 100, sortBy: UserSortByInput): [User]!
}
-input TaxaField_listQueryInput {
- display_type_in: [String]
- short_name_lt: String
+input TaxaField_listItem_fieldQueryInput {
+ default_in: [String]
+ display_type_ne: String
+ display_type_lte: String
+ field_number_lte: String
short_description_gt: String
- required_exists: Boolean
- mongo_type: String
- AND: [TaxaField_listQueryInput!]
- field_number_ne: String
- placeholder_lte: String
- long_name_lt: String
- weight_lte: Int
+ required_ne: Boolean
+ weight_lt: Int
default_lte: String
- long_name_gt: String
+ mongo_type_lt: String
display_type_nin: [String]
- weight_ne: Int
- instant_facet_ne: Boolean
- short_description_exists: Boolean
+ weight_gt: Int
+ field_number_nin: [String]
+ display_type: String
+ long_description_in: [String]
+ mongo_type_exists: Boolean
+ placeholder_gte: String
+ default_ne: String
+ default_lt: String
+ placeholder_ne: String
+ placeholder_gt: String
+ short_name: String
+ long_description_exists: Boolean
+ field_number_in: [String]
+ instant_facet_exists: Boolean
field_number_gte: String
+ long_description_nin: [String]
+ long_description_lte: String
+ short_name_lte: String
field_number_exists: Boolean
- permitted_values_nin: [String]
- weight_nin: [Int]
+ short_description_gte: String
+ placeholder_lt: String
+ long_name_gte: String
+ mongo_type: String
+ display_type_lt: String
+ default_nin: [String]
+ mongo_type_ne: String
+ short_name_lt: String
+ long_name_exists: Boolean
+ mongo_type_lte: String
+ OR: [TaxaField_listItem_fieldQueryInput!]
+ long_name_lte: String
+ weight_gte: Int
+ default_exists: Boolean
+ default_gte: String
+ display_type_gte: String
+ instant_facet: Boolean
+ field_number_ne: String
+ long_name_ne: String
+ default_gt: String
+ permitted_values: [String]
+ long_description_ne: String
+ public: Boolean
+ mongo_type_nin: [String]
+ default: String
+ short_name_gt: String
+ weight: Int
+ short_name_exists: Boolean
+ long_description_gt: String
+ long_name_nin: [String]
+ long_description_gte: String
+ public_exists: Boolean
+ long_description: String
+ required: Boolean
placeholder: String
- short_name_gte: String
+ display_type_exists: Boolean
mongo_type_in: [String]
- item_fields: TaxaField_listItem_fieldQueryInput
- instant_facet_exists: Boolean
+ weight_exists: Boolean
+ weight_nin: [Int]
+ placeholder_lte: String
+ short_description_exists: Boolean
+ long_name_gt: String
weight_in: [Int]
- placeholder_nin: [String]
- long_description_in: [String]
- required_ne: Boolean
+ short_description: String
mongo_type_gt: String
- default_in: [String]
- display_type_ne: String
+ instant_facet_ne: Boolean
+ field_number_lt: String
short_name_ne: String
- public_exists: Boolean
- long_name_exists: Boolean
- instant_facet: Boolean
- hide_search_ne: Boolean
- short_description_gte: String
- short_name: String
- field_number_lte: String
- long_description_nin: [String]
- long_name_gte: String
+ long_name: String
short_name_nin: [String]
- weight_gt: Int
- public: Boolean
- OR: [TaxaField_listQueryInput!]
- long_description_ne: String
- field_number_in: [String]
- weight_lt: Int
- short_description_lt: String
- long_description_gt: String
- short_name_exists: Boolean
- default_ne: String
- weight_gte: Int
- long_description_exists: Boolean
- default: String
+ AND: [TaxaField_listItem_fieldQueryInput!]
+ long_name_in: [String]
+ placeholder_in: [String]
+ field_number_gt: String
+ long_description_lt: String
short_description_ne: String
- long_description: String
- default_gte: String
- long_description_lte: String
- permitted_values_exists: Boolean
- short_description_nin: [String]
- default_exists: Boolean
- short_description_lte: String
- complete_from: TaxaField_listComplete_fromQueryInput
- permitted_values_in: [String]
+ placeholder_nin: [String]
+ complete_from_exists: Boolean
+ short_description_lt: String
mongo_type_gte: String
- long_name_ne: String
- mongo_type_lte: String
- placeholder_ne: String
- placeholder_exists: Boolean
- field_number_gt: String
- long_description_gte: String
- placeholder_gt: String
- permitted_values: [String]
+ weight_ne: Int
+ short_description_nin: [String]
+ display_type_in: [String]
short_description_in: [String]
- long_description_lt: String
public_ne: Boolean
- default_lt: String
- default_nin: [String]
- placeholder_in: [String]
- long_name_in: [String]
- display_type_lte: String
- weight_exists: Boolean
- item_fields_exists: Boolean
- display_type_lt: String
- mongo_type_lt: String
- default_gt: String
- display_type_exists: Boolean
- placeholder_gte: String
- short_name_gt: String
- field_number_nin: [String]
- display_type_gte: String
- display_type: String
- field_number_lt: String
- complete_from_exists: Boolean
- long_name_lte: String
- short_name_lte: String
- long_name_nin: [String]
- long_name: String
- required: Boolean
+ complete_from: TaxaField_listItem_fieldComplete_fromQueryInput
+ long_name_lt: String
+ required_exists: Boolean
+ permitted_values_nin: [String]
+ permitted_values_exists: Boolean
+ weight_lte: Int
+ short_name_gte: String
short_name_in: [String]
- field_number: String
+ permitted_values_in: [String]
+ short_description_lte: String
display_type_gt: String
- weight: Int
- hide_search: Boolean
- mongo_type_nin: [String]
- mongo_type_exists: Boolean
- placeholder_lt: String
- short_description: String
- hide_search_exists: Boolean
- mongo_type_ne: String
-}
-
-input UserInsertInput {
- userId: String!
- _id: ObjectId
- first_name: String
- last_name: String
- roles: [String]!
-}
-
-input IncidentNlp_similar_incidentInsertInput {
- incident_id: Int
- similarity: Float
-}
-
-input ClassificationAttributeUpdateInput {
- value_json_unset: Boolean
- short_name: String
- short_name_unset: Boolean
- value_json: String
-}
-
-input SubmissionUpdateInput {
- plain_text_unset: Boolean
- plain_text: String
- developers_unset: Boolean
- date_published: String
- description_unset: Boolean
- incident_title_unset: Boolean
- user_unset: Boolean
- embedding_unset: Boolean
- image_url_unset: Boolean
- date_downloaded: String
- editor_dissimilar_incidents: [Int]
- cloudinary_id: String
- editor_similar_incidents_unset: Boolean
- date_modified_unset: Boolean
- language: String
- nlp_similar_incidents_unset: Boolean
- incident_editors_unset: Boolean
- date_downloaded_unset: Boolean
- status: String
- embedding: SubmissionEmbeddingUpdateInput
- url: String
- editor_similar_incidents: [Int]
- source_domain: String
- text_unset: Boolean
- harmed_parties_unset: Boolean
- url_unset: Boolean
- _id: ObjectId
- title: String
- authors: [String]
- authors_unset: Boolean
- cloudinary_id_unset: Boolean
- language_unset: Boolean
- status_unset: Boolean
- developers: SubmissionDevelopersRelationInput
- user: SubmissionUserRelationInput
- title_unset: Boolean
- incident_date_unset: Boolean
- source_domain_unset: Boolean
- submitters: [String]
- incident_editors: SubmissionIncident_editorsRelationInput
- editor_notes: String
- deployers: SubmissionDeployersRelationInput
- incident_ids: [Int]
- incident_ids_unset: Boolean
- epoch_date_modified: Int
- editor_dissimilar_incidents_unset: Boolean
- epoch_date_modified_inc: Int
- tags_unset: Boolean
- editor_notes_unset: Boolean
- epoch_date_modified_unset: Boolean
- submitters_unset: Boolean
- date_submitted: String
- deployers_unset: Boolean
- image_url: String
- date_published_unset: Boolean
- incident_date: String
- date_submitted_unset: Boolean
- nlp_similar_incidents: [SubmissionNlp_similar_incidentUpdateInput]
- text: String
- incident_title: String
- date_modified: String
- quiet: Boolean
- description: String
- tags: [String]
- quiet_unset: Boolean
- harmed_parties: SubmissionHarmed_partiesRelationInput
- _id_unset: Boolean
-}
-
-enum DuplicateSortByInput {
- DUPLICATE_INCIDENT_NUMBER_ASC
- DUPLICATE_INCIDENT_NUMBER_DESC
- TRUE_INCIDENT_NUMBER_ASC
- TRUE_INCIDENT_NUMBER_DESC
- _ID_ASC
- _ID_DESC
-}
-
-input CandidateClassification_similarityQueryInput {
- classification_lt: String
- similarity_gt: Float
- OR: [CandidateClassification_similarityQueryInput!]
- classification_ne: String
- similarity_in: [Float]
- similarity_exists: Boolean
- classification_lte: String
- classification_gt: String
- classification_in: [String]
- similarity: Float
- similarity_lte: Float
- classification_gte: String
- similarity_nin: [Float]
- classification_exists: Boolean
- similarity_lt: Float
- similarity_gte: Float
- AND: [CandidateClassification_similarityQueryInput!]
- classification: String
- classification_nin: [String]
- similarity_ne: Float
+ field_number: String
+ placeholder_exists: Boolean
}
input ReportQueryInput {
- title_exists: Boolean
- report_number_in: [Int]
- flag: Boolean
- epoch_date_submitted_nin: [Int]
- report_number: Int
- date_submitted_nin: [DateTime]
source_domain_exists: Boolean
- url_lte: String
+ cloudinary_id_exists: Boolean
+ image_url_gt: String
+ text: String
+ date_downloaded_ne: DateTime
+ plain_text_ne: String
+ date_downloaded_gte: DateTime
+ title_gt: String
+ date_published_gte: DateTime
+ date_submitted: DateTime
+ image_url_lte: String
+ _id_ne: ObjectId
+ epoch_date_downloaded: Int
+ report_number_gte: Int
+ source_domain_gt: String
+ date_downloaded_gt: DateTime
+ language_in: [String]
+ user_exists: Boolean
+ date_published_lte: DateTime
+ language_lte: String
+ url_in: [String]
+ epoch_date_published_gte: Int
+ epoch_date_published_exists: Boolean
+ inputs_outputs: [String]
+ epoch_date_downloaded_gte: Int
+ language_gte: String
+ epoch_date_submitted_nin: [Int]
+ date_modified_gte: DateTime
+ epoch_date_submitted_lt: Int
+ date_submitted_in: [DateTime]
+ epoch_date_published_lte: Int
+ inputs_outputs_nin: [String]
date_published: DateTime
- text: String
+ date_published_nin: [DateTime]
+ submitters_in: [String]
embedding: ReportEmbeddingQueryInput
- language_gt: String
- language_lte: String
- epoch_date_published_exists: Boolean
- date_downloaded_lt: DateTime
- flag_ne: Boolean
- cloudinary_id_gt: String
- tags_exists: Boolean
- date_modified_lt: DateTime
- _id_nin: [ObjectId]
- editor_notes_ne: String
- date_submitted_lt: DateTime
- _id_gte: ObjectId
+ report_number_nin: [Int]
+ plain_text_lt: String
+ source_domain: String
+ date_submitted_lte: DateTime
+ date_published_ne: DateTime
+ url_exists: Boolean
+ epoch_date_modified_gte: Int
+ epoch_date_submitted_exists: Boolean
+ quiet_ne: Boolean
+ source_domain_lt: String
+ submitters_nin: [String]
+ title_nin: [String]
+ cloudinary_id_lt: String
+ editor_notes_gt: String
+ language_lt: String
+ description_nin: [String]
+ epoch_date_submitted_ne: Int
+ date_modified_in: [DateTime]
+ language: String
+ submitters_exists: Boolean
_id: ObjectId
- epoch_date_downloaded_gt: Int
- epoch_date_published_in: [Int]
+ url: String
+ text_in: [String]
+ epoch_date_modified: Int
+ quiet: Boolean
+ url_gte: String
+ date_downloaded_lte: DateTime
epoch_date_published_lt: Int
- authors_exists: Boolean
+ language_nin: [String]
+ quiet_exists: Boolean
+ date_submitted_gt: DateTime
+ epoch_date_downloaded_nin: [Int]
+ url_gt: String
+ report_number_exists: Boolean
+ cloudinary_id_lte: String
+ source_domain_gte: String
+ editor_notes_gte: String
+ epoch_date_submitted_lte: Int
+ is_incident_report: Boolean
+ plain_text_exists: Boolean
+ url_lt: String
+ submitters: [String]
+ date_published_lt: DateTime
epoch_date_published: Int
- date_published_ne: DateTime
- text_exists: Boolean
- date_modified_gt: DateTime
- inputs_outputs_in: [String]
+ description_lte: String
+ language_exists: Boolean
+ editor_notes: String
+ tags_exists: Boolean
+ _id_gt: ObjectId
+ date_submitted_nin: [DateTime]
+ cloudinary_id_nin: [String]
+ plain_text_gt: String
epoch_date_submitted: Int
- date_modified_gte: DateTime
- image_url_lte: String
- epoch_date_submitted_exists: Boolean
description: String
- epoch_date_downloaded_gte: Int
+ flag_ne: Boolean
+ title_lt: String
+ title_ne: String
+ date_submitted_ne: DateTime
+ editor_notes_lt: String
+ date_submitted_lt: DateTime
+ tags_in: [String]
+ report_number_in: [Int]
+ flag_exists: Boolean
+ cloudinary_id_gte: String
+ AND: [ReportQueryInput!]
+ epoch_date_submitted_gte: Int
+ date_modified_lte: DateTime
epoch_date_downloaded_lte: Int
- image_url_exists: Boolean
+ epoch_date_published_nin: [Int]
+ image_url_nin: [String]
+ date_modified_gt: DateTime
+ url_ne: String
+ report_number_lte: Int
+ image_url_lt: String
+ user: UserQueryInput
+ authors_exists: Boolean
+ date_modified_lt: DateTime
+ date_modified: DateTime
+ plain_text: String
+ tags_nin: [String]
+ editor_notes_exists: Boolean
+ epoch_date_downloaded_exists: Boolean
+ _id_lte: ObjectId
+ date_published_gt: DateTime
+ epoch_date_submitted_gt: Int
+ epoch_date_submitted_in: [Int]
+ date_downloaded_in: [DateTime]
+ date_submitted_exists: Boolean
+ cloudinary_id_in: [String]
+ date_modified_nin: [DateTime]
+ _id_in: [ObjectId]
+ date_downloaded_lt: DateTime
+ plain_text_in: [String]
text_gt: String
+ text_exists: Boolean
+ epoch_date_modified_in: [Int]
+ epoch_date_published_gt: Int
+ title: String
+ description_in: [String]
+ description_ne: String
+ date_modified_exists: Boolean
+ text_nin: [String]
+ epoch_date_downloaded_gt: Int
image_url_in: [String]
- epoch_date_modified_nin: [Int]
- epoch_date_downloaded_exists: Boolean
- date_downloaded: DateTime
- epoch_date_modified_lte: Int
- title_gte: String
- date_downloaded_gte: DateTime
+ source_domain_lte: String
+ authors: [String]
image_url_ne: String
- tags_in: [String]
- language_lt: String
- title: String
+ cloudinary_id: String
+ image_url_gte: String
+ date_downloaded_exists: Boolean
+ url_lte: String
+ epoch_date_modified_lte: Int
+ epoch_date_modified_nin: [Int]
+ text_ne: String
+ epoch_date_published_in: [Int]
+ epoch_date_modified_lt: Int
epoch_date_modified_ne: Int
- editor_notes_exists: Boolean
- report_number_gte: Int
- editor_notes_lte: String
- date_published_gt: DateTime
+ date_submitted_gte: DateTime
+ _id_exists: Boolean
+ language_gt: String
epoch_date_published_ne: Int
- epoch_date_submitted_lte: Int
- epoch_date_downloaded: Int
- language_exists: Boolean
- title_nin: [String]
- source_domain_gte: String
- source_domain_lte: String
- date_modified_in: [DateTime]
- epoch_date_modified: Int
- cloudinary_id_lte: String
- _id_lte: ObjectId
- cloudinary_id_nin: [String]
- epoch_date_modified_gte: Int
- url_gt: String
description_gt: String
+ image_url: String
+ is_incident_report_exists: Boolean
+ report_number_ne: Int
+ flag: Boolean
+ title_in: [String]
+ plain_text_lte: String
+ tags: [String]
+ date_published_in: [DateTime]
url_nin: [String]
- report_number_lt: Int
- text_gte: String
- inputs_outputs_nin: [String]
- report_number_gt: Int
- user: UserQueryInput
- source_domain_nin: [String]
- OR: [ReportQueryInput!]
+ date_published_exists: Boolean
+ plain_text_gte: String
+ report_number: Int
+ editor_notes_ne: String
+ epoch_date_modified_exists: Boolean
authors_in: [String]
- epoch_date_submitted_ne: Int
- editor_notes_in: [String]
- editor_notes_lt: String
- cloudinary_id_lt: String
- report_number_lte: Int
- epoch_date_published_gt: Int
- tags: [String]
- user_exists: Boolean
- language_in: [String]
+ image_url_exists: Boolean
+ editor_notes_lte: String
+ language_ne: String
+ description_gte: String
+ OR: [ReportQueryInput!]
+ text_lte: String
embedding_exists: Boolean
- submitters_nin: [String]
- title_lte: String
- submitters: [String]
- plain_text_gt: String
- plain_text_lte: String
- date_published_in: [DateTime]
- cloudinary_id: String
- tags_nin: [String]
- editor_notes_gte: String
- date_modified: DateTime
- title_ne: String
- date_submitted_gte: DateTime
- date_submitted_gt: DateTime
- date_downloaded_nin: [DateTime]
- language_nin: [String]
+ date_downloaded: DateTime
+ text_gte: String
_id_lt: ObjectId
- report_number_ne: Int
- date_submitted_ne: DateTime
- image_url_lt: String
- url_lt: String
- date_submitted_exists: Boolean
- plain_text_nin: [String]
- _id_in: [ObjectId]
- epoch_date_modified_lt: Int
- report_number_exists: Boolean
- flag_exists: Boolean
- epoch_date_downloaded_nin: [Int]
- inputs_outputs_exists: Boolean
- image_url: String
- description_in: [String]
+ editor_notes_in: [String]
+ date_downloaded_nin: [DateTime]
+ _id_nin: [ObjectId]
source_domain_in: [String]
- url_ne: String
- _id_gt: ObjectId
- epoch_date_modified_gt: Int
- text_lt: String
- description_gte: String
- date_downloaded_ne: DateTime
- plain_text: String
- cloudinary_id_in: [String]
- epoch_date_published_gte: Int
+ source_domain_nin: [String]
+ report_number_lt: Int
+ title_lte: String
+ cloudinary_id_gt: String
+ source_domain_ne: String
+ inputs_outputs_exists: Boolean
+ title_gte: String
description_exists: Boolean
- date_downloaded_exists: Boolean
- plain_text_in: [String]
- url_exists: Boolean
- plain_text_ne: String
- epoch_date_published_nin: [Int]
- report_number_nin: [Int]
+ description_lt: String
+ epoch_date_downloaded_in: [Int]
+ text_lt: String
+ plain_text_nin: [String]
+ title_exists: Boolean
epoch_date_downloaded_lt: Int
- editor_notes: String
- quiet: Boolean
- cloudinary_id_exists: Boolean
- epoch_date_downloaded_ne: Int
- url: String
- image_url_gte: String
- plain_text_exists: Boolean
- language_ne: String
- epoch_date_submitted_in: [Int]
- editor_notes_gt: String
- is_incident_report_ne: Boolean
- date_submitted_lte: DateTime
- text_in: [String]
- plain_text_lt: String
- image_url_gt: String
- date_submitted: DateTime
- title_in: [String]
- _id_ne: ObjectId
- date_submitted_in: [DateTime]
- submitters_exists: Boolean
date_modified_ne: DateTime
- epoch_date_submitted_lt: Int
- date_downloaded_lte: DateTime
- description_ne: String
- submitters_in: [String]
- text_lte: String
- language_gte: String
- date_downloaded_gt: DateTime
- AND: [ReportQueryInput!]
- _id_exists: Boolean
- source_domain_gt: String
- epoch_date_downloaded_in: [Int]
- date_published_gte: DateTime
- date_downloaded_in: [DateTime]
- description_lte: String
- title_gt: String
- title_lt: String
- epoch_date_modified_exists: Boolean
- epoch_date_submitted_gt: Int
- inputs_outputs: [String]
- cloudinary_id_gte: String
- epoch_date_submitted_gte: Int
- image_url_nin: [String]
- date_published_lte: DateTime
- text_nin: [String]
- url_gte: String
authors_nin: [String]
- is_incident_report: Boolean
- is_incident_report_exists: Boolean
- date_modified_lte: DateTime
- description_nin: [String]
- date_modified_nin: [DateTime]
- source_domain_lt: String
+ inputs_outputs_in: [String]
cloudinary_id_ne: String
- date_modified_exists: Boolean
- url_in: [String]
- source_domain_ne: String
+ _id_gte: ObjectId
editor_notes_nin: [String]
- source_domain: String
- description_lt: String
- date_published_exists: Boolean
- quiet_exists: Boolean
- language: String
- quiet_ne: Boolean
- epoch_date_modified_in: [Int]
- plain_text_gte: String
- text_ne: String
- epoch_date_published_lte: Int
- date_published_nin: [DateTime]
- date_published_lt: DateTime
- authors: [String]
-}
-
-input CreateVariantInputVariant {
- date_published: String
- inputs_outputs: [String]
- submitters: [String]
- text: String
+ report_number_gt: Int
+ is_incident_report_ne: Boolean
+ epoch_date_modified_gt: Int
+ epoch_date_downloaded_ne: Int
}
-input History_reportEmbeddingUpdateInput {
- from_text_hash: String
- from_text_hash_unset: Boolean
+type IncidentEmbedding {
+ from_reports: [Int]
vector: [Float]
- vector_unset: Boolean
-}
-
-input TaxaUpdateInput {
- description: String
- description_unset: Boolean
- field_list: [TaxaField_listUpdateInput]
- weight: Int
- weight_inc: Int
- _id_unset: Boolean
- field_list_unset: Boolean
- _id: ObjectId
- dummy_fields_unset: Boolean
- complete_entities_unset: Boolean
- weight_unset: Boolean
- namespace: String
- complete_entities: Boolean
- namespace_unset: Boolean
- dummy_fields: [TaxaDummy_fieldUpdateInput]
-}
-
-type Report {
- _id: ObjectId
- authors: [String]!
- cloudinary_id: String!
- date_downloaded: DateTime!
- date_modified: DateTime!
- date_published: DateTime!
- date_submitted: DateTime!
- description: String
- editor_notes: String
- embedding: ReportEmbedding
- epoch_date_downloaded: Int!
- epoch_date_modified: Int!
- epoch_date_published: Int!
- epoch_date_submitted: Int!
- flag: Boolean
- image_url: String!
- inputs_outputs: [String]
- is_incident_report: Boolean
- language: String!
- plain_text: String!
- quiet: Boolean
- report_number: Int!
- source_domain: String!
- submitters: [String]!
- tags: [String]!
- text: String!
- title: String!
- translations(input: String): ReportTranslation
- url: String!
- user: User
-}
-
-input TaxaField_listItem_fieldQueryInput {
- short_name_gt: String
- long_name_gt: String
- weight_exists: Boolean
- weight_lte: Int
- field_number_gte: String
- field_number_exists: Boolean
- long_name_exists: Boolean
- required_exists: Boolean
- short_name_exists: Boolean
- weight: Int
- field_number_gt: String
- mongo_type_ne: String
- default_gte: String
- long_description_lte: String
- short_name_gte: String
- mongo_type_lt: String
- field_number_in: [String]
- long_name_in: [String]
- long_description_gte: String
- long_name_lt: String
- short_description_lt: String
- required_ne: Boolean
- public_ne: Boolean
- display_type_exists: Boolean
- default_exists: Boolean
- long_description_exists: Boolean
- placeholder_gte: String
- weight_gte: Int
- short_name_ne: String
- public: Boolean
- long_name_lte: String
- complete_from_exists: Boolean
- long_description_ne: String
- weight_in: [Int]
- short_name_nin: [String]
- display_type_ne: String
- complete_from: TaxaField_listItem_fieldComplete_fromQueryInput
- default_in: [String]
- long_description: String
- long_name: String
- display_type_lt: String
- permitted_values_in: [String]
- mongo_type_lte: String
- long_name_ne: String
- OR: [TaxaField_listItem_fieldQueryInput!]
- short_description_ne: String
- display_type_lte: String
- short_description: String
- instant_facet_ne: Boolean
- field_number: String
- field_number_ne: String
- default_lte: String
- display_type_nin: [String]
- public_exists: Boolean
- weight_nin: [Int]
- field_number_lte: String
- short_name: String
- instant_facet: Boolean
- short_name_in: [String]
- display_type: String
- default_nin: [String]
- placeholder_lte: String
- placeholder_gt: String
- default: String
- mongo_type: String
- long_name_gte: String
- short_description_gte: String
- short_description_lte: String
- placeholder_exists: Boolean
- long_description_in: [String]
- default_lt: String
- weight_lt: Int
- permitted_values_exists: Boolean
- mongo_type_in: [String]
- placeholder_lt: String
- mongo_type_nin: [String]
- long_description_lt: String
- field_number_lt: String
- permitted_values_nin: [String]
- default_ne: String
- short_description_gt: String
- short_description_nin: [String]
- display_type_gte: String
- weight_ne: Int
- short_name_lte: String
- AND: [TaxaField_listItem_fieldQueryInput!]
- mongo_type_exists: Boolean
- field_number_nin: [String]
- permitted_values: [String]
- placeholder_in: [String]
- weight_gt: Int
- short_description_exists: Boolean
- short_name_lt: String
- placeholder: String
- long_description_gt: String
- short_description_in: [String]
- long_name_nin: [String]
- mongo_type_gt: String
- display_type_gt: String
- placeholder_ne: String
- long_description_nin: [String]
- required: Boolean
- instant_facet_exists: Boolean
- default_gt: String
- mongo_type_gte: String
- display_type_in: [String]
- placeholder_nin: [String]
}
-input History_incidentTsneInsertInput {
- x: Float
- y: Float
+type ChecklistRiskPrecedent {
+ description: String
+ incident_id: Int
+ tags: [String]
+ title: String
}
-input GetUserInput {
- userId: ObjectId
+input IncidentReportsRelationInput {
+ create: [ReportInsertInput]
+ link: [Int]
}
-type AppUser {
- email: String
+input IncidentEmbeddingInsertInput {
+ vector: [Float]
+ from_reports: [Int]
}
-input ChecklistRiskInsertInput {
- generated: Boolean
- id: String
- likelihood: String
- risk_status: String
- touched: Boolean
- risk_notes: String
- severity: String
- tags: [String]
+input CandidateInsertInput {
+ embedding: CandidateEmbeddingInsertInput
+ plain_text: String
+ language: String
+ classification_similarity: [CandidateClassification_similarityInsertInput]
+ epoch_date_published: Int
+ match: Boolean!
+ authors: [String]
+ date_published: String
+ image_url: String
+ text: String
+ matching_harm_keywords: [String]
+ url: String!
title: String
- precedents: [ChecklistRiskPrecedentInsertInput]
+ dismissed: Boolean
+ _id: ObjectId
+ source_domain: String
+ similarity: Float
+ date_downloaded: String
+ matching_keywords: [String]
+ epoch_date_downloaded: Int
+ matching_entities: [String]
}
-input History_incidentTsneUpdateInput {
- x_inc: Float
- x_unset: Boolean
- y: Float
- y_inc: Float
- y_unset: Boolean
- x: Float
+input TaxaUpdateInput {
+ weight_inc: Int
+ _id: ObjectId
+ complete_entities: Boolean
+ weight_unset: Boolean
+ _id_unset: Boolean
+ description: String
+ weight: Int
+ dummy_fields_unset: Boolean
+ field_list: [TaxaField_listUpdateInput]
+ namespace: String
+ description_unset: Boolean
+ dummy_fields: [TaxaDummy_fieldUpdateInput]
+ namespace_unset: Boolean
+ complete_entities_unset: Boolean
+ field_list_unset: Boolean
}
-type SubmissionNlp_similar_incident {
+input ReportEmbeddingUpdateInput {
+ from_text_hash: String
+ from_text_hash_unset: Boolean
+ vector: [Float]
+ vector_unset: Boolean
+}
+
+input UserQueryInput {
+ last_name_exists: Boolean
+ userId_nin: [String]
+ _id_in: [ObjectId]
+ first_name_in: [String]
+ roles_in: [String]
+ AND: [UserQueryInput!]
+ last_name_gte: String
+ last_name_nin: [String]
+ first_name_lt: String
+ _id_gte: ObjectId
+ OR: [UserQueryInput!]
+ last_name_ne: String
+ _id_nin: [ObjectId]
+ first_name_nin: [String]
+ userId_exists: Boolean
+ _id_gt: ObjectId
+ last_name_lt: String
+ userId_lte: String
+ userId_ne: String
+ last_name: String
+ last_name_lte: String
+ roles: [String]
+ _id_lt: ObjectId
+ first_name: String
+ last_name_gt: String
+ first_name_exists: Boolean
+ first_name_gt: String
+ userId_gte: String
+ roles_exists: Boolean
+ userId_in: [String]
+ userId: String
+ userId_gt: String
+ last_name_in: [String]
+ _id_exists: Boolean
+ first_name_gte: String
+ first_name_lte: String
+ first_name_ne: String
+ userId_lt: String
+ _id_ne: ObjectId
+ _id_lte: ObjectId
+ roles_nin: [String]
+ _id: ObjectId
+}
+
+enum History_incidentSortByInput {
+ _ID_ASC
+ _ID_DESC
+ EDITOR_NOTES_ASC
+ EDITOR_NOTES_DESC
+ EPOCH_DATE_MODIFIED_DESC
+ MODIFIEDBY_DESC
+ MODIFIEDBY_ASC
+ DATE_DESC
+ DESCRIPTION_DESC
+ INCIDENT_ID_ASC
+ INCIDENT_ID_DESC
+ DATE_ASC
+ DESCRIPTION_ASC
+ EPOCH_DATE_MODIFIED_ASC
+ TITLE_ASC
+ TITLE_DESC
+}
+
+type RisksPayloadPrecedent {
+ AllegedDeployerOfAISystem: [String]
+ AllegedDeveloperOfAISystem: [String]
+ AllegedHarmedOrNearlyHarmedParties: [String]
+ _id: ObjectId
+ date: String
+ description: String
+ editor_dissimilar_incidents: [Int]
+ editor_notes: String
+ editor_similar_incidents: [Int]
+ editors: [String]
+ embedding: RisksPayloadPrecedentEmbedding
+ epoch_date_modified: Int
+ flagged_dissimilar_incidents: [Int]
+ implicated_systems: [String]
incident_id: Int
- similarity: Float
+ nlp_similar_incidents: [RisksPayloadPrecedentNlp_similar_incident]
+ reports: [Int]
+ tags: [String]
+ title: String
+ tsne: RisksPayloadPrecedentTsne
}
-type Checklist {
+input IncidentEmbeddingUpdateInput {
+ from_reports: [Int]
+ from_reports_unset: Boolean
+ vector: [Float]
+ vector_unset: Boolean
+}
+
+input ClassificationInsertInput {
+ incidents: ClassificationIncidentsRelationInput!
+ namespace: String!
+ notes: String
+ publish: Boolean
+ reports: ClassificationReportsRelationInput!
_id: ObjectId
- about: String
- date_created: DateTime
- date_updated: DateTime
- entity_id: String
- id: String
- name: String
- owner_id: String
- risks: [ChecklistRisk]
- tags_goals: [String]
- tags_methods: [String]
- tags_other: [String]
+ attributes: [ClassificationAttributeInsertInput]
+}
+
+type History_reportEmbedding {
+ from_text_hash: String
+ vector: [Float]
+}
+
+input TaxaDummy_fieldQueryInput {
+ field_number_nin: [String]
+ short_name: String
+ OR: [TaxaDummy_fieldQueryInput!]
+ short_name_in: [String]
+ short_name_ne: String
+ AND: [TaxaDummy_fieldQueryInput!]
+ short_name_gte: String
+ short_name_exists: Boolean
+ field_number_lte: String
+ field_number_exists: Boolean
+ field_number_ne: String
+ field_number_in: [String]
+ short_name_nin: [String]
+ short_name_lt: String
+ field_number_lt: String
+ short_name_gt: String
+ field_number_gte: String
+ short_name_lte: String
+ field_number: String
+ field_number_gt: String
+}
+
+enum SubmissionSortByInput {
+ SOURCE_DOMAIN_ASC
+ STATUS_DESC
+ CLOUDINARY_ID_DESC
+ DATE_DOWNLOADED_ASC
+ IMAGE_URL_DESC
+ INCIDENT_TITLE_ASC
+ _ID_DESC
+ DATE_SUBMITTED_DESC
+ SOURCE_DOMAIN_DESC
+ TEXT_ASC
+ TEXT_DESC
+ DATE_PUBLISHED_ASC
+ DESCRIPTION_DESC
+ EPOCH_DATE_MODIFIED_DESC
+ LANGUAGE_ASC
+ PLAIN_TEXT_ASC
+ USER_ASC
+ USER_DESC
+ DATE_DOWNLOADED_DESC
+ EDITOR_NOTES_DESC
+ INCIDENT_DATE_ASC
+ INCIDENT_DATE_DESC
+ INCIDENT_TITLE_DESC
+ PLAIN_TEXT_DESC
+ DATE_MODIFIED_ASC
+ DATE_SUBMITTED_ASC
+ EDITOR_NOTES_ASC
+ IMAGE_URL_ASC
+ DATE_PUBLISHED_DESC
+ TITLE_ASC
+ _ID_ASC
+ DESCRIPTION_ASC
+ EPOCH_DATE_MODIFIED_ASC
+ LANGUAGE_DESC
+ URL_ASC
+ URL_DESC
+ CLOUDINARY_ID_ASC
+ DATE_MODIFIED_DESC
+ STATUS_ASC
+ TITLE_DESC
+}
+
+type RisksPayloadPrecedentNlp_similar_incident {
+ incident_id: Int
+ similarity: Float
}
input EntityInsertInput {
- created_at: DateTime
date_modified: DateTime
entity_id: String!
name: String!
_id: ObjectId
+ created_at: DateTime
}
-input CandidateClassification_similarityInsertInput {
- classification: String
- similarity: Float
-}
-
-input TaxaInsertInput {
- weight: Int
- _id: ObjectId
- complete_entities: Boolean
- description: String
- dummy_fields: [TaxaDummy_fieldInsertInput]
- field_list: [TaxaField_listInsertInput]
- namespace: String
+input IncidentEditorsRelationInput {
+ link: [String]
+ create: [UserInsertInput]
}
-scalar ObjectId
-
-type History_report {
+type Report {
_id: ObjectId
authors: [String]!
cloudinary_id: String!
@@ -2589,7 +2474,7 @@ type History_report {
date_submitted: DateTime!
description: String
editor_notes: String
- embedding: History_reportEmbedding
+ embedding: ReportEmbedding
epoch_date_downloaded: Int!
epoch_date_modified: Int!
epoch_date_published: Int!
@@ -2599,7 +2484,6 @@ type History_report {
inputs_outputs: [String]
is_incident_report: Boolean
language: String!
- modifiedBy: String
plain_text: String!
quiet: Boolean
report_number: Int!
@@ -2609,56 +2493,209 @@ type History_report {
text: String!
title: String!
url: String!
- user: String
+ user: User
}
-input DuplicateInsertInput {
+type ReportEmbedding {
+ from_text_hash: String
+ vector: [Float]
+}
+
+type History_incident {
+ AllegedDeployerOfAISystem: [String]
+ AllegedDeveloperOfAISystem: [String]
+ AllegedHarmedOrNearlyHarmedParties: [String]
_id: ObjectId
- duplicate_incident_number: Int
- true_incident_number: Int
+ date: String!
+ description: String
+ editor_dissimilar_incidents: [Int]
+ editor_notes: String
+ editor_similar_incidents: [Int]
+ editors: [String]!
+ embedding: History_incidentEmbedding
+ epoch_date_modified: Int
+ flagged_dissimilar_incidents: [Int]
+ implicated_systems: [String]
+ incident_id: Int!
+ modifiedBy: String
+ nlp_similar_incidents: [History_incidentNlp_similar_incident]
+ reports: [Int]!
+ title: String!
+ tsne: History_incidentTsne
}
-input CandidateInsertInput {
- dismissed: Boolean
- similarity: Float
- matching_harm_keywords: [String]
- url: String!
+type History_incidentEmbedding {
+ from_reports: [Int]
+ vector: [Float]
+}
+
+enum EntitySortByInput {
+ _ID_ASC
+ ENTITY_ID_ASC
+ NAME_ASC
+ NAME_DESC
+ _ID_DESC
+ CREATED_AT_ASC
+ CREATED_AT_DESC
+ DATE_MODIFIED_ASC
+ DATE_MODIFIED_DESC
+ ENTITY_ID_DESC
+}
+
+input ChecklistQueryInput {
+ OR: [ChecklistQueryInput!]
+ about_exists: Boolean
+ name_gt: String
+ date_updated_ne: DateTime
+ about_ne: String
+ name_exists: Boolean
+ date_updated_nin: [DateTime]
+ date_created_gt: DateTime
+ tags_goals_in: [String]
+ date_updated_gte: DateTime
+ about_lt: String
+ entity_id_gte: String
+ _id_exists: Boolean
_id: ObjectId
- date_downloaded: String
- match: Boolean!
- title: String
- source_domain: String
- language: String
- classification_similarity: [CandidateClassification_similarityInsertInput]
- authors: [String]
- embedding: CandidateEmbeddingInsertInput
- date_published: String
- text: String
- image_url: String
- epoch_date_downloaded: Int
- plain_text: String
- matching_entities: [String]
- matching_keywords: [String]
- epoch_date_published: Int
+ about_nin: [String]
+ date_created_lt: DateTime
+ tags_methods: [String]
+ tags_methods_in: [String]
+ id: String
+ id_in: [String]
+ owner_id_gte: String
+ tags_methods_nin: [String]
+ about_gt: String
+ tags_goals_nin: [String]
+ name_nin: [String]
+ id_gt: String
+ tags_goals_exists: Boolean
+ date_updated_exists: Boolean
+ risks_nin: [ChecklistRiskQueryInput]
+ owner_id_lte: String
+ date_created_in: [DateTime]
+ name_lt: String
+ date_created_exists: Boolean
+ tags_other_exists: Boolean
+ risks_exists: Boolean
+ id_lte: String
+ date_updated_in: [DateTime]
+ id_ne: String
+ owner_id_nin: [String]
+ date_created_lte: DateTime
+ name_ne: String
+ about: String
+ entity_id_lte: String
+ owner_id_ne: String
+ date_updated_lt: DateTime
+ tags_other: [String]
+ id_lt: String
+ AND: [ChecklistQueryInput!]
+ entity_id: String
+ name_gte: String
+ date_updated_lte: DateTime
+ _id_gte: ObjectId
+ date_updated: DateTime
+ name_lte: String
+ owner_id_in: [String]
+ tags_methods_exists: Boolean
+ about_in: [String]
+ owner_id_exists: Boolean
+ _id_gt: ObjectId
+ entity_id_ne: String
+ date_updated_gt: DateTime
+ _id_nin: [ObjectId]
+ _id_ne: ObjectId
+ date_created: DateTime
+ _id_in: [ObjectId]
+ owner_id: String
+ owner_id_gt: String
+ about_gte: String
+ tags_goals: [String]
+ name_in: [String]
+ date_created_nin: [DateTime]
+ entity_id_in: [String]
+ entity_id_nin: [String]
+ about_lte: String
+ name: String
+ id_nin: [String]
+ entity_id_lt: String
+ owner_id_lt: String
+ date_created_gte: DateTime
+ id_gte: String
+ tags_other_nin: [String]
+ _id_lte: ObjectId
+ tags_other_in: [String]
+ risks: [ChecklistRiskQueryInput]
+ entity_id_gt: String
+ date_created_ne: DateTime
+ _id_lt: ObjectId
+ risks_in: [ChecklistRiskQueryInput]
+ entity_id_exists: Boolean
+ id_exists: Boolean
}
-enum History_incidentSortByInput {
- EDITOR_NOTES_DESC
- TITLE_DESC
- DESCRIPTION_ASC
- EDITOR_NOTES_ASC
- INCIDENT_ID_DESC
- MODIFIEDBY_DESC
- INCIDENT_ID_ASC
+enum CandidateSortByInput {
+ IMAGE_URL_DESC
+ SOURCE_DOMAIN_ASC
+ DATE_PUBLISHED_ASC
+ DATE_PUBLISHED_DESC
+ EPOCH_DATE_PUBLISHED_DESC
+ LANGUAGE_DESC
+ PLAIN_TEXT_ASC
+ PLAIN_TEXT_DESC
+ TEXT_ASC
+ TEXT_DESC
+ DATE_DOWNLOADED_ASC
+ EPOCH_DATE_DOWNLOADED_ASC
+ EPOCH_DATE_DOWNLOADED_DESC
TITLE_ASC
- DATE_ASC
- DESCRIPTION_DESC
- DATE_DESC
- EPOCH_DATE_MODIFIED_ASC
- EPOCH_DATE_MODIFIED_DESC
- MODIFIEDBY_ASC
+ URL_ASC
+ SOURCE_DOMAIN_DESC
+ TITLE_DESC
_ID_ASC
+ IMAGE_URL_ASC
+ LANGUAGE_ASC
+ SIMILARITY_ASC
+ SIMILARITY_DESC
+ URL_DESC
_ID_DESC
+ DATE_DOWNLOADED_DESC
+ EPOCH_DATE_PUBLISHED_ASC
+}
+
+type Quickadd {
+ _id: ObjectId
+ date_submitted: String!
+ incident_id: Long
+ source_domain: String
+ url: String!
+}
+
+type Duplicate {
+ _id: ObjectId
+ duplicate_incident_number: Int
+ true_incident_number: Int
+}
+
+input ChecklistInsertInput {
+ id: String
+ name: String
+ _id: ObjectId
+ entity_id: String
+ tags_other: [String]
+ date_created: DateTime
+ about: String
+ owner_id: String
+ tags_goals: [String]
+ tags_methods: [String]
+ risks: [ChecklistRiskInsertInput]
+ date_updated: DateTime
+}
+
+input CandidateClassification_similarityInsertInput {
+ similarity: Float
+ classification: String
}
input CreateDefaultAdminUserInput {
@@ -2666,1353 +2703,1402 @@ input CreateDefaultAdminUserInput {
password: String
}
-input QuickaddQueryInput {
- date_submitted_lt: String
- date_submitted_ne: String
- OR: [QuickaddQueryInput!]
- _id_gt: ObjectId
- source_domain_gte: String
- date_submitted_gte: String
- date_submitted_lte: String
- source_domain_lt: String
- incident_id_nin: [Long]
- date_submitted_gt: String
- source_domain_in: [String]
- url: String
- url_lte: String
- incident_id_gt: Long
- _id_lt: ObjectId
- url_in: [String]
- incident_id_lte: Long
- source_domain_exists: Boolean
- date_submitted_in: [String]
- url_gte: String
- date_submitted_nin: [String]
- source_domain_ne: String
- source_domain_gt: String
- url_exists: Boolean
- url_nin: [String]
- _id_nin: [ObjectId]
- _id_in: [ObjectId]
- date_submitted_exists: Boolean
- incident_id_in: [Long]
- source_domain_nin: [String]
- AND: [QuickaddQueryInput!]
- _id_gte: ObjectId
- _id: ObjectId
- incident_id_exists: Boolean
- date_submitted: String
- url_ne: String
- incident_id: Long
- incident_id_ne: Long
- incident_id_lt: Long
- source_domain_lte: String
- _id_ne: ObjectId
- url_lt: String
- incident_id_gte: Long
- url_gt: String
- _id_exists: Boolean
- source_domain: String
- _id_lte: ObjectId
+type AppUser {
+ email: String
}
-type DeleteManyPayload {
- deletedCount: Int!
+type UpdateManyPayload {
+ matchedCount: Int!
+ modifiedCount: Int!
}
-input DuplicateUpdateInput {
- true_incident_number_inc: Int
- true_incident_number_unset: Boolean
- _id: ObjectId
- _id_unset: Boolean
- duplicate_incident_number: Int
- duplicate_incident_number_inc: Int
- duplicate_incident_number_unset: Boolean
- true_incident_number: Int
+input NotificationUserIdRelationInput {
+ create: UserInsertInput
+ link: String
}
-input IncidentNlp_similar_incidentQueryInput {
- incident_id_in: [Int]
- similarity_lt: Float
- incident_id_lt: Int
- similarity_in: [Float]
- similarity_gt: Float
- similarity_nin: [Float]
- AND: [IncidentNlp_similar_incidentQueryInput!]
- OR: [IncidentNlp_similar_incidentQueryInput!]
+input History_reportEmbeddingUpdateInput {
+ from_text_hash_unset: Boolean
+ vector: [Float]
+ vector_unset: Boolean
+ from_text_hash: String
+}
+
+input IncidentQueryInput {
+ description_lt: String
+ description_lte: String
+ epoch_date_modified_lte: Int
incident_id: Int
- similarity_lte: Float
- similarity_exists: Boolean
- incident_id_gt: Int
- similarity: Float
+ editor_notes_in: [String]
+ tsne_exists: Boolean
+ editor_similar_incidents_nin: [Int]
+ date_exists: Boolean
+ description_ne: String
+ editors_exists: Boolean
+ editor_notes_lte: String
+ date_in: [String]
+ _id_gte: ObjectId
+ editor_dissimilar_incidents_exists: Boolean
+ flagged_dissimilar_incidents: [Int]
+ editor_similar_incidents_exists: Boolean
+ incident_id_nin: [Int]
+ editor_notes_gt: String
+ embedding: IncidentEmbeddingQueryInput
+ epoch_date_modified_nin: [Int]
+ title_in: [String]
+ reports_exists: Boolean
+ title_gt: String
+ tsne: IncidentTsneQueryInput
+ AllegedDeveloperOfAISystem_in: [EntityQueryInput]
+ nlp_similar_incidents_in: [IncidentNlp_similar_incidentQueryInput]
+ editor_dissimilar_incidents_in: [Int]
+ title_nin: [String]
+ epoch_date_modified: Int
+ editor_similar_incidents: [Int]
+ AllegedDeployerOfAISystem_nin: [EntityQueryInput]
+ reports: [ReportQueryInput]
+ embedding_exists: Boolean
+ editor_dissimilar_incidents: [Int]
+ incident_id_in: [Int]
incident_id_exists: Boolean
+ nlp_similar_incidents: [IncidentNlp_similar_incidentQueryInput]
+ AllegedDeployerOfAISystem_in: [EntityQueryInput]
+ _id: ObjectId
+ date: String
incident_id_ne: Int
- incident_id_nin: [Int]
- similarity_gte: Float
- similarity_ne: Float
+ AllegedHarmedOrNearlyHarmedParties: [EntityQueryInput]
+ title_lte: String
+ incident_id_lt: Int
+ nlp_similar_incidents_nin: [IncidentNlp_similar_incidentQueryInput]
+ AllegedDeveloperOfAISystem: [EntityQueryInput]
+ epoch_date_modified_in: [Int]
+ editors_in: [UserQueryInput]
+ description: String
+ AND: [IncidentQueryInput!]
+ editors: [UserQueryInput]
+ description_gte: String
+ date_gte: String
+ editor_notes: String
+ _id_lte: ObjectId
+ AllegedDeployerOfAISystem: [EntityQueryInput]
+ AllegedDeployerOfAISystem_exists: Boolean
incident_id_lte: Int
+ date_lte: String
+ editors_nin: [UserQueryInput]
+ editor_notes_nin: [String]
+ epoch_date_modified_lt: Int
+ date_nin: [String]
+ flagged_dissimilar_incidents_nin: [Int]
+ nlp_similar_incidents_exists: Boolean
+ _id_lt: ObjectId
+ editor_dissimilar_incidents_nin: [Int]
+ reports_nin: [ReportQueryInput]
+ AllegedHarmedOrNearlyHarmedParties_nin: [EntityQueryInput]
+ title_lt: String
+ editor_notes_gte: String
+ _id_nin: [ObjectId]
+ AllegedHarmedOrNearlyHarmedParties_in: [EntityQueryInput]
+ epoch_date_modified_gte: Int
+ AllegedDeveloperOfAISystem_nin: [EntityQueryInput]
+ description_in: [String]
+ date_gt: String
+ title: String
+ editor_similar_incidents_in: [Int]
+ _id_gt: ObjectId
incident_id_gte: Int
+ date_ne: String
+ AllegedDeveloperOfAISystem_exists: Boolean
+ flagged_dissimilar_incidents_exists: Boolean
+ description_exists: Boolean
+ title_gte: String
+ epoch_date_modified_gt: Int
+ date_lt: String
+ title_exists: Boolean
+ editor_notes_exists: Boolean
+ OR: [IncidentQueryInput!]
+ epoch_date_modified_exists: Boolean
+ reports_in: [ReportQueryInput]
+ epoch_date_modified_ne: Int
+ title_ne: String
+ description_nin: [String]
+ flagged_dissimilar_incidents_in: [Int]
+ description_gt: String
+ AllegedHarmedOrNearlyHarmedParties_exists: Boolean
+ _id_in: [ObjectId]
+ incident_id_gt: Int
+ _id_ne: ObjectId
+ editor_notes_lt: String
+ editor_notes_ne: String
+ _id_exists: Boolean
+ implicated_systems: [EntityQueryInput]
+}
+
+enum DuplicateSortByInput {
+ _ID_ASC
+ _ID_DESC
+ DUPLICATE_INCIDENT_NUMBER_ASC
+ DUPLICATE_INCIDENT_NUMBER_DESC
+ TRUE_INCIDENT_NUMBER_ASC
+ TRUE_INCIDENT_NUMBER_DESC
+}
+
+enum ReportSortByInput {
+ DATE_DOWNLOADED_ASC
+ DESCRIPTION_DESC
+ REPORT_NUMBER_DESC
+ TITLE_DESC
+ IMAGE_URL_ASC
+ IMAGE_URL_DESC
+ LANGUAGE_ASC
+ LANGUAGE_DESC
+ PLAIN_TEXT_DESC
+ REPORT_NUMBER_ASC
+ SOURCE_DOMAIN_ASC
+ URL_DESC
+ _ID_ASC
+ CLOUDINARY_ID_ASC
+ DATE_DOWNLOADED_DESC
+ DATE_PUBLISHED_ASC
+ DATE_PUBLISHED_DESC
+ DATE_SUBMITTED_DESC
+ TITLE_ASC
+ DATE_SUBMITTED_ASC
+ DESCRIPTION_ASC
+ EPOCH_DATE_DOWNLOADED_ASC
+ TEXT_ASC
+ PLAIN_TEXT_ASC
+ TEXT_DESC
+ USER_ASC
+ _ID_DESC
+ DATE_MODIFIED_DESC
+ EPOCH_DATE_MODIFIED_DESC
+ EPOCH_DATE_SUBMITTED_ASC
+ SOURCE_DOMAIN_DESC
+ URL_ASC
+ CLOUDINARY_ID_DESC
+ EDITOR_NOTES_ASC
+ EPOCH_DATE_MODIFIED_ASC
+ EPOCH_DATE_PUBLISHED_DESC
+ EPOCH_DATE_SUBMITTED_DESC
+ USER_DESC
+ DATE_MODIFIED_ASC
+ EDITOR_NOTES_DESC
+ EPOCH_DATE_DOWNLOADED_DESC
+ EPOCH_DATE_PUBLISHED_ASC
+}
+
+type DeleteManyPayload {
+ deletedCount: Int!
}
-type IncidentNlp_similar_incident {
- incident_id: Int
- similarity: Float
+input IncidentTsneUpdateInput {
+ y_inc: Float
+ y_unset: Boolean
+ x: Float
+ x_unset: Boolean
+ x_inc: Float
+ y: Float
}
-input IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput {
+input SubmissionDevelopersRelationInput {
create: [EntityInsertInput]
link: [String]
}
-input SubscriptionInsertInput {
- incident_id: SubscriptionIncident_idRelationInput
- type: String!
- userId: SubscriptionUserIdRelationInput!
- _id: ObjectId
- entityId: SubscriptionEntityIdRelationInput
-}
-
-type History_incident {
- AllegedDeployerOfAISystem: [String]
- AllegedDeveloperOfAISystem: [String]
- AllegedHarmedOrNearlyHarmedParties: [String]
+type User {
_id: ObjectId
- date: String!
- description: String
- editor_dissimilar_incidents: [Int]
- editor_notes: String
- editor_similar_incidents: [Int]
- editors: [String]!
- embedding: History_incidentEmbedding
- epoch_date_modified: Int
- flagged_dissimilar_incidents: [Int]
- incident_id: Int!
- modifiedBy: String
- nlp_similar_incidents: [History_incidentNlp_similar_incident]
- reports: [Int]!
- title: String!
- tsne: History_incidentTsne
+ first_name: String
+ last_name: String
+ roles: [String]!
+ userId: String!
}
-input TaxaDummy_fieldQueryInput {
- field_number: String
- OR: [TaxaDummy_fieldQueryInput!]
- field_number_gte: String
- short_name_lte: String
- field_number_ne: String
- field_number_lte: String
- short_name_gte: String
- short_name_lt: String
- field_number_gt: String
- short_name_gt: String
- field_number_nin: [String]
- field_number_exists: Boolean
- field_number_lt: String
- short_name_exists: Boolean
- AND: [TaxaDummy_fieldQueryInput!]
- short_name_ne: String
- short_name_nin: [String]
- short_name: String
- short_name_in: [String]
- field_number_in: [String]
+input History_reportEmbeddingQueryInput {
+ from_text_hash_nin: [String]
+ from_text_hash_in: [String]
+ from_text_hash_exists: Boolean
+ from_text_hash_gt: String
+ from_text_hash_gte: String
+ from_text_hash_ne: String
+ vector: [Float]
+ from_text_hash_lte: String
+ vector_nin: [Float]
+ vector_exists: Boolean
+ OR: [History_reportEmbeddingQueryInput!]
+ vector_in: [Float]
+ from_text_hash_lt: String
+ AND: [History_reportEmbeddingQueryInput!]
+ from_text_hash: String
}
-type Taxa {
+type History_report {
_id: ObjectId
- complete_entities: Boolean
+ authors: [String]!
+ cloudinary_id: String!
+ date_downloaded: DateTime!
+ date_modified: DateTime!
+ date_published: DateTime!
+ date_submitted: DateTime!
description: String
- dummy_fields: [TaxaDummy_field]
- field_list: [TaxaField_list]
- namespace: String
- weight: Int
-}
-
-input History_reportUpdateInput {
- description_unset: Boolean
- tags: [String]
- date_submitted: DateTime
- report_number_inc: Int
- url: String
- title: String
- text: String
+ editor_notes: String
+ embedding: History_reportEmbedding
+ epoch_date_downloaded: Int!
+ epoch_date_modified: Int!
+ epoch_date_published: Int!
+ epoch_date_submitted: Int!
+ flag: Boolean
+ image_url: String!
+ inputs_outputs: [String]
is_incident_report: Boolean
- date_downloaded: DateTime
- embedding_unset: Boolean
- epoch_date_downloaded_inc: Int
- tags_unset: Boolean
+ language: String!
modifiedBy: String
- source_domain: String
+ plain_text: String!
quiet: Boolean
- language: String
- epoch_date_downloaded_unset: Boolean
- report_number_unset: Boolean
- epoch_date_published: Int
- plain_text: String
- cloudinary_id: String
- epoch_date_modified_unset: Boolean
- is_incident_report_unset: Boolean
- source_domain_unset: Boolean
- submitters: [String]
- epoch_date_modified: Int
- flag: Boolean
- date_published: DateTime
- epoch_date_downloaded: Int
+ report_number: Int!
+ source_domain: String!
+ submitters: [String]!
+ tags: [String]!
+ text: String!
+ title: String!
+ url: String!
user: String
- date_published_unset: Boolean
- _id: ObjectId
- embedding: History_reportEmbeddingUpdateInput
- date_downloaded_unset: Boolean
- editor_notes_unset: Boolean
- flag_unset: Boolean
- authors: [String]
- plain_text_unset: Boolean
- date_submitted_unset: Boolean
- epoch_date_published_inc: Int
- epoch_date_submitted: Int
- modifiedBy_unset: Boolean
- _id_unset: Boolean
- epoch_date_modified_inc: Int
- quiet_unset: Boolean
- submitters_unset: Boolean
- image_url: String
- text_unset: Boolean
- authors_unset: Boolean
- cloudinary_id_unset: Boolean
- epoch_date_published_unset: Boolean
- url_unset: Boolean
- date_modified_unset: Boolean
- epoch_date_submitted_unset: Boolean
- inputs_outputs_unset: Boolean
- description: String
- user_unset: Boolean
- language_unset: Boolean
- title_unset: Boolean
- inputs_outputs: [String]
- epoch_date_submitted_inc: Int
- editor_notes: String
- report_number: Int
- date_modified: DateTime
- image_url_unset: Boolean
}
-type Classification {
- _id: ObjectId
- attributes: [ClassificationAttribute]
- incidents: [Incident]!
- namespace: String!
- notes: String
- publish: Boolean
- reports: [Report]!
+enum TaxaSortByInput {
+ _ID_ASC
+ _ID_DESC
+ DESCRIPTION_ASC
+ DESCRIPTION_DESC
+ NAMESPACE_ASC
+ NAMESPACE_DESC
+ WEIGHT_ASC
+ WEIGHT_DESC
}
-type InsertManyPayload {
- insertedIds: [ObjectId]!
+input IncidentTsneQueryInput {
+ y_ne: Float
+ y_lt: Float
+ y: Float
+ y_in: [Float]
+ x_ne: Float
+ x_lt: Float
+ x_in: [Float]
+ x: Float
+ y_lte: Float
+ y_gte: Float
+ AND: [IncidentTsneQueryInput!]
+ x_gt: Float
+ x_lte: Float
+ y_exists: Boolean
+ OR: [IncidentTsneQueryInput!]
+ x_gte: Float
+ x_exists: Boolean
+ x_nin: [Float]
+ y_gt: Float
+ y_nin: [Float]
}
-input ReportUpdateInput {
- url_unset: Boolean
- date_downloaded_unset: Boolean
- epoch_date_downloaded_unset: Boolean
- date_downloaded: DateTime
- epoch_date_submitted: Int
- _id: ObjectId
- cloudinary_id_unset: Boolean
- cloudinary_id: String
- text_unset: Boolean
- date_published_unset: Boolean
- url: String
- epoch_date_modified_unset: Boolean
- epoch_date_modified_inc: Int
- date_modified_unset: Boolean
- image_url_unset: Boolean
- authors_unset: Boolean
- epoch_date_modified: Int
- is_incident_report_unset: Boolean
- tags: [String]
+input CandidateQueryInput {
+ matching_entities_exists: Boolean
+ epoch_date_published_gt: Int
+ image_url_exists: Boolean
+ text_ne: String
+ _id_nin: [ObjectId]
+ language_lte: String
+ source_domain_in: [String]
+ image_url: String
+ text_lt: String
+ title_nin: [String]
+ image_url_lte: String
+ _id_lte: ObjectId
+ date_published_in: [String]
+ source_domain_lte: String
+ date_downloaded_gt: String
+ _id_gte: ObjectId
+ text_nin: [String]
+ title_lte: String
+ classification_similarity_exists: Boolean
+ dismissed_ne: Boolean
+ plain_text_lte: String
+ embedding: CandidateEmbeddingQueryInput
+ language_exists: Boolean
+ plain_text_lt: String
+ similarity_gte: Float
+ epoch_date_downloaded_ne: Int
+ title_lt: String
+ epoch_date_published_nin: [Int]
+ matching_keywords_nin: [String]
+ authors_exists: Boolean
+ title_ne: String
+ classification_similarity_nin: [CandidateClassification_similarityQueryInput]
+ dismissed_exists: Boolean
+ matching_harm_keywords_exists: Boolean
+ classification_similarity: [CandidateClassification_similarityQueryInput]
+ source_domain_exists: Boolean
epoch_date_published: Int
- title_unset: Boolean
- _id_unset: Boolean
- flag: Boolean
- plain_text: String
- date_modified: DateTime
+ matching_entities: [String]
+ epoch_date_downloaded_nin: [Int]
+ authors_in: [String]
+ source_domain_ne: String
+ source_domain_lt: String
+ similarity: Float
+ language_nin: [String]
+ match_exists: Boolean
+ language_ne: String
+ date_downloaded_lt: String
+ date_downloaded_ne: String
+ OR: [CandidateQueryInput!]
epoch_date_downloaded: Int
- epoch_date_submitted_unset: Boolean
- is_incident_report: Boolean
- date_published: DateTime
- description_unset: Boolean
- date_submitted: DateTime
- epoch_date_published_unset: Boolean
+ similarity_lt: Float
+ url_in: [String]
+ date_downloaded_nin: [String]
+ _id_gt: ObjectId
+ image_url_ne: String
+ text_exists: Boolean
+ text_gt: String
authors: [String]
- editor_notes_unset: Boolean
- inputs_outputs_unset: Boolean
- embedding_unset: Boolean
- user_unset: Boolean
- report_number: Int
- report_number_inc: Int
- language: String
- inputs_outputs: [String]
+ language_in: [String]
+ title_exists: Boolean
+ url_exists: Boolean
+ date_published_exists: Boolean
+ text_lte: String
+ title_gte: String
+ url: String
text: String
- user: ReportUserRelationInput
- submitters_unset: Boolean
- tags_unset: Boolean
- embedding: ReportEmbeddingUpdateInput
- source_domain: String
- submitters: [String]
- quiet_unset: Boolean
- report_number_unset: Boolean
- quiet: Boolean
- date_submitted_unset: Boolean
- plain_text_unset: Boolean
- epoch_date_downloaded_inc: Int
- image_url: String
- language_unset: Boolean
- epoch_date_submitted_inc: Int
- description: String
- source_domain_unset: Boolean
- epoch_date_published_inc: Int
- flag_unset: Boolean
- editor_notes: String
- title: String
-}
-
-input UserUpdateInput {
- roles_unset: Boolean
- userId: String
- _id_unset: Boolean
- userId_unset: Boolean
+ similarity_gt: Float
+ plain_text_in: [String]
+ epoch_date_published_lt: Int
+ classification_similarity_in: [CandidateClassification_similarityQueryInput]
+ date_published_lte: String
+ language: String
+ date_downloaded_gte: String
+ date_downloaded_in: [String]
+ epoch_date_downloaded_lte: Int
+ date_published_nin: [String]
+ matching_harm_keywords: [String]
+ language_lt: String
+ url_ne: String
+ epoch_date_published_gte: Int
+ source_domain_nin: [String]
+ matching_harm_keywords_nin: [String]
+ date_published_gte: String
+ epoch_date_downloaded_lt: Int
+ _id_exists: Boolean
+ date_published: String
+ matching_keywords_in: [String]
_id: ObjectId
- first_name: String
- first_name_unset: Boolean
- last_name: String
- last_name_unset: Boolean
- roles: [String]
-}
-
-type Query {
- candidate(query: CandidateQueryInput): Candidate
- candidates(sortBy: CandidateSortByInput, query: CandidateQueryInput, limit: Int = 100): [Candidate]!
- checklist(query: ChecklistQueryInput): Checklist
- checklists(limit: Int = 100, sortBy: ChecklistSortByInput, query: ChecklistQueryInput): [Checklist]!
- classification(query: ClassificationQueryInput): Classification
- classifications(sortBy: ClassificationSortByInput, query: ClassificationQueryInput, limit: Int = 100): [Classification]!
- duplicate(query: DuplicateQueryInput): Duplicate
- duplicates(query: DuplicateQueryInput, limit: Int = 100, sortBy: DuplicateSortByInput): [Duplicate]!
- entities(query: EntityQueryInput, limit: Int = 100, sortBy: EntitySortByInput): [Entity]!
- entity(query: EntityQueryInput): Entity
- history_incident(query: History_incidentQueryInput): History_incident
- history_incidents(query: History_incidentQueryInput, limit: Int = 100, sortBy: History_incidentSortByInput): [History_incident]!
- history_report(query: History_reportQueryInput): History_report
- history_reports(sortBy: History_reportSortByInput, query: History_reportQueryInput, limit: Int = 100): [History_report]!
- incident(query: IncidentQueryInput): Incident
- incidents(query: IncidentQueryInput, limit: Int = 100, sortBy: IncidentSortByInput): [Incident]!
- notification(query: NotificationQueryInput): Notification
- notifications(query: NotificationQueryInput, limit: Int = 100, sortBy: NotificationSortByInput): [Notification]!
- quickadd(query: QuickaddQueryInput): Quickadd
- quickadds(query: QuickaddQueryInput, limit: Int = 100, sortBy: QuickaddSortByInput): [Quickadd]!
- report(query: ReportQueryInput): Report
- reports(query: ReportQueryInput, limit: Int = 100, sortBy: ReportSortByInput): [Report]!
- risks(input: RisksInput): [RisksPayloadItem]
- submission(query: SubmissionQueryInput): Submission
- submissions(limit: Int = 100, sortBy: SubmissionSortByInput, query: SubmissionQueryInput): [Submission]!
- subscription(query: SubscriptionQueryInput): Subscription
- subscriptions(sortBy: SubscriptionSortByInput, query: SubscriptionQueryInput, limit: Int = 100): [Subscription]!
- taxa(query: TaxaQueryInput): Taxa
- taxas(limit: Int = 100, sortBy: TaxaSortByInput, query: TaxaQueryInput): [Taxa]!
- user(query: UserQueryInput): User
- users(query: UserQueryInput, limit: Int = 100, sortBy: UserSortByInput): [User]!
+ url_lte: String
+ url_gt: String
+ epoch_date_downloaded_in: [Int]
+ language_gt: String
+ url_nin: [String]
+ matching_harm_keywords_in: [String]
+ plain_text_exists: Boolean
+ epoch_date_downloaded_exists: Boolean
+ embedding_exists: Boolean
+ plain_text: String
+ epoch_date_downloaded_gt: Int
+ similarity_nin: [Float]
+ image_url_gt: String
+ title_in: [String]
+ source_domain_gt: String
+ epoch_date_published_in: [Int]
+ matching_entities_nin: [String]
+ date_downloaded_lte: String
+ similarity_in: [Float]
+ language_gte: String
+ url_gte: String
+ match_ne: Boolean
+ matching_keywords_exists: Boolean
+ image_url_gte: String
+ text_gte: String
+ plain_text_gte: String
+ _id_lt: ObjectId
+ image_url_nin: [String]
+ title: String
+ date_downloaded_exists: Boolean
+ title_gt: String
+ authors_nin: [String]
+ source_domain_gte: String
+ date_downloaded: String
+ similarity_ne: Float
+ date_published_ne: String
+ match: Boolean
+ text_in: [String]
+ similarity_lte: Float
+ plain_text_nin: [String]
+ image_url_in: [String]
+ date_published_lt: String
+ dismissed: Boolean
+ matching_keywords: [String]
+ source_domain: String
+ epoch_date_downloaded_gte: Int
+ _id_in: [ObjectId]
+ epoch_date_published_ne: Int
+ matching_entities_in: [String]
+ epoch_date_published_lte: Int
+ image_url_lt: String
+ _id_ne: ObjectId
+ plain_text_ne: String
+ AND: [CandidateQueryInput!]
+ url_lt: String
+ epoch_date_published_exists: Boolean
+ plain_text_gt: String
+ similarity_exists: Boolean
+ date_published_gt: String
}
-input ReportEmbeddingQueryInput {
- vector_in: [Float]
- AND: [ReportEmbeddingQueryInput!]
- from_text_hash_lte: String
- from_text_hash_lt: String
- from_text_hash_gte: String
- vector: [Float]
- vector_exists: Boolean
- from_text_hash: String
- from_text_hash_nin: [String]
- from_text_hash_gt: String
- from_text_hash_exists: Boolean
- from_text_hash_in: [String]
- vector_nin: [Float]
- OR: [ReportEmbeddingQueryInput!]
- from_text_hash_ne: String
+enum SubscriptionSortByInput {
+ _ID_DESC
+ ENTITYID_ASC
+ INCIDENT_ID_DESC
+ USERID_ASC
+ USERID_DESC
+ _ID_ASC
+ ENTITYID_DESC
+ INCIDENT_ID_ASC
+ TYPE_ASC
+ TYPE_DESC
}
-input SubmissionNlp_similar_incidentUpdateInput {
+input IncidentNlp_similar_incidentUpdateInput {
incident_id: Int
- incident_id_unset: Boolean
incident_id_inc: Int
+ incident_id_unset: Boolean
similarity: Float
- similarity_inc: Float
similarity_unset: Boolean
+ similarity_inc: Float
+}
+
+input TaxaField_listItem_fieldInsertInput {
+ long_description: String
+ mongo_type: String
+ short_name: String
+ display_type: String
+ instant_facet: Boolean
+ required: Boolean
+ field_number: String
+ complete_from: TaxaField_listItem_fieldComplete_fromInsertInput
+ placeholder: String
+ long_name: String
+ public: Boolean
+ permitted_values: [String]
+ short_description: String
+ default: String
+ weight: Int
}
-input SubmissionEmbeddingInsertInput {
- from_text_hash: String
- vector: [Float]
+input TaxaField_listUpdateInput {
+ hide_search_unset: Boolean
+ placeholder_unset: Boolean
+ placeholder: String
+ long_description_unset: Boolean
+ item_fields: TaxaField_listItem_fieldUpdateInput
+ short_name: String
+ hide_search: Boolean
+ long_name: String
+ mongo_type: String
+ public_unset: Boolean
+ short_description: String
+ instant_facet: Boolean
+ long_description: String
+ weight_inc: Int
+ complete_from: TaxaField_listComplete_fromUpdateInput
+ field_number: String
+ field_number_unset: Boolean
+ required: Boolean
+ display_type: String
+ complete_from_unset: Boolean
+ long_name_unset: Boolean
+ mongo_type_unset: Boolean
+ weight_unset: Boolean
+ short_name_unset: Boolean
+ required_unset: Boolean
+ default: String
+ default_unset: Boolean
+ instant_facet_unset: Boolean
+ weight: Int
+ display_type_unset: Boolean
+ permitted_values_unset: Boolean
+ short_description_unset: Boolean
+ item_fields_unset: Boolean
+ permitted_values: [String]
+ public: Boolean
}
-type UserAdminDatum {
- creationDate: DateTime
- disabled: Boolean
- email: String
- lastAuthenticationDate: DateTime
+input ClassificationAttributeUpdateInput {
+ short_name: String
+ short_name_unset: Boolean
+ value_json: String
+ value_json_unset: Boolean
}
-enum ClassificationSortByInput {
- NOTES_DESC
- _ID_ASC
- _ID_DESC
- NAMESPACE_ASC
- NAMESPACE_DESC
- NOTES_ASC
+scalar ObjectId
+
+input TaxaField_listItem_fieldComplete_fromQueryInput {
+ entities_exists: Boolean
+ current_nin: [String]
+ entities: Boolean
+ current: [String]
+ current_in: [String]
+ entities_ne: Boolean
+ OR: [TaxaField_listItem_fieldComplete_fromQueryInput!]
+ AND: [TaxaField_listItem_fieldComplete_fromQueryInput!]
+ all: [String]
+ all_nin: [String]
+ all_exists: Boolean
+ all_in: [String]
+ current_exists: Boolean
}
-type PromoteSubmissionToReportPayload {
- incident_ids: [Int]
- report_number: Int
+input ClassificationReportsRelationInput {
+ link: [Int]
+ create: [ReportInsertInput]
}
-input ClassificationAttributeInsertInput {
+input TaxaDummy_fieldUpdateInput {
+ short_name_unset: Boolean
+ field_number: String
+ field_number_unset: Boolean
short_name: String
- value_json: String
}
-input History_incidentUpdateInput {
+input SubmissionIncident_editorsRelationInput {
+ create: [UserInsertInput]
+ link: [String]
+}
+
+type Submission {
+ _id: ObjectId
+ authors: [String]!
+ cloudinary_id: String
+ date_downloaded: String!
+ date_modified: String!
+ date_published: String!
+ date_submitted: String!
+ deployers: [Entity]
+ description: String
+ developers: [Entity]
+ editor_dissimilar_incidents: [Int]
editor_notes: String
- modifiedBy: String
- title: String
- embedding_unset: Boolean
editor_similar_incidents: [Int]
- title_unset: Boolean
- tsne: History_incidentTsneUpdateInput
- editor_dissimilar_incidents: [Int]
- _id: ObjectId
- _id_unset: Boolean
- AllegedDeployerOfAISystem_unset: Boolean
- reports_unset: Boolean
- epoch_date_modified_unset: Boolean
- modifiedBy_unset: Boolean
- editor_dissimilar_incidents_unset: Boolean
- editors: [String]
- AllegedDeployerOfAISystem: [String]
- AllegedDeveloperOfAISystem: [String]
- AllegedHarmedOrNearlyHarmedParties: [String]
- editors_unset: Boolean
- AllegedHarmedOrNearlyHarmedParties_unset: Boolean
- editor_similar_incidents_unset: Boolean
- date_unset: Boolean
- date: String
- epoch_date_modified_inc: Int
- description_unset: Boolean
- incident_id_unset: Boolean
- nlp_similar_incidents: [History_incidentNlp_similar_incidentUpdateInput]
- flagged_dissimilar_incidents: [Int]
- incident_id: Int
- reports: [Int]
- editor_notes_unset: Boolean
- tsne_unset: Boolean
- flagged_dissimilar_incidents_unset: Boolean
- embedding: History_incidentEmbeddingUpdateInput
- incident_id_inc: Int
+ embedding: SubmissionEmbedding
epoch_date_modified: Int
- nlp_similar_incidents_unset: Boolean
- AllegedDeveloperOfAISystem_unset: Boolean
- description: String
+ harmed_parties: [Entity]
+ image_url: String!
+ incident_date: String
+ incident_editors: [User]
+ incident_ids: [Int]
+ incident_title: String
+ language: String!
+ nlp_similar_incidents: [SubmissionNlp_similar_incident]
+ plain_text: String
+ quiet: Boolean
+ source_domain: String!
+ status: String
+ submitters: [String]!
+ tags: [String]!
+ text: String!
+ title: String!
+ url: String!
+ user: User
}
-scalar DateTime
-
-type User {
+type Entity {
_id: ObjectId
- adminData: UserAdminDatum
- first_name: String
- last_name: String
- roles: [String]!
- userId: String!
-}
-
-type CandidateEmbedding {
- from_text_hash: String
- vector: [Float]
-}
-
-type SubmissionEmbedding {
- from_text_hash: String
- vector: [Float]
-}
-
-type History_reportEmbedding {
- from_text_hash: String
- vector: [Float]
-}
-
-input SubmissionEmbeddingUpdateInput {
- from_text_hash_unset: Boolean
- vector: [Float]
- vector_unset: Boolean
- from_text_hash: String
+ created_at: DateTime
+ date_modified: DateTime
+ entity_id: String!
+ name: String!
}
-type TaxaField_list {
- complete_from: TaxaField_listComplete_from
- default: String
- display_type: String
- field_number: String
- hide_search: Boolean
- instant_facet: Boolean
- item_fields: TaxaField_listItem_field
- long_description: String
- long_name: String
- mongo_type: String
- permitted_values: [String]
- placeholder: String
- public: Boolean
- required: Boolean
- short_description: String
- short_name: String
+type Taxa {
+ _id: ObjectId
+ complete_entities: Boolean
+ description: String
+ dummy_fields: [TaxaDummy_field]
+ field_list: [TaxaField_list]
+ namespace: String
weight: Int
}
-enum QuickaddSortByInput {
- INCIDENT_ID_DESC
- SOURCE_DOMAIN_DESC
- URL_ASC
- URL_DESC
- _ID_DESC
- DATE_SUBMITTED_ASC
- INCIDENT_ID_ASC
- SOURCE_DOMAIN_ASC
- _ID_ASC
- DATE_SUBMITTED_DESC
-}
-
-input TaxaField_listItem_fieldComplete_fromUpdateInput {
+type TaxaField_listComplete_from {
all: [String]
- all_unset: Boolean
current: [String]
- current_unset: Boolean
- entities: Boolean
- entities_unset: Boolean
}
-type LogIncidentHistoryPayload {
- incident_id: Int
+type Incident {
+ AllegedDeployerOfAISystem: [Entity]
+ AllegedDeveloperOfAISystem: [Entity]
+ AllegedHarmedOrNearlyHarmedParties: [Entity]
+ implicated_systems: [Entity]
+ _id: ObjectId
+ date: String!
+ description: String
+ editor_dissimilar_incidents: [Int]
+ editor_notes: String
+ editor_similar_incidents: [Int]
+ editors: [User]!
+ embedding: IncidentEmbedding
+ epoch_date_modified: Int
+ flagged_dissimilar_incidents: [Int]
+ incident_id: Int!
+ nlp_similar_incidents: [IncidentNlp_similar_incident]
+ reports: [Report]!
+ title: String!
+ tsne: IncidentTsne
+}
+
+type ClassificationAttribute {
+ short_name: String
+ value_json: String
}
-input ClassificationUpdateInput {
- notes_unset: Boolean
- attributes: [ClassificationAttributeUpdateInput]
- reports_unset: Boolean
- incidents: ClassificationIncidentsRelationInput
- publish: Boolean
- incidents_unset: Boolean
- _id: ObjectId
- namespace: String
- _id_unset: Boolean
- attributes_unset: Boolean
- namespace_unset: Boolean
- reports: ClassificationReportsRelationInput
- notes: String
- publish_unset: Boolean
+scalar Long
+
+input History_incidentEmbeddingUpdateInput {
+ vector_unset: Boolean
+ from_reports: [Int]
+ from_reports_unset: Boolean
+ vector: [Float]
}
-input SubmissionHarmed_partiesRelationInput {
- link: [String]
- create: [EntityInsertInput]
+input History_incidentNlp_similar_incidentUpdateInput {
+ incident_id: Int
+ incident_id_inc: Int
+ incident_id_unset: Boolean
+ similarity: Float
+ similarity_inc: Float
+ similarity_unset: Boolean
}
input TaxaField_listComplete_fromInsertInput {
- all: [String]
current: [String]
+ all: [String]
}
-input IncidentUpdateInput {
- date: String
- AllegedDeployerOfAISystem: IncidentAllegedDeployerOfAISystemRelationInput
- AllegedDeveloperOfAISystem_unset: Boolean
- description_unset: Boolean
+input IncidentInsertInput {
editor_notes: String
- title: String
- editor_similar_incidents_unset: Boolean
_id: ObjectId
- editors_unset: Boolean
- epoch_date_modified_inc: Int
- description: String
- _id_unset: Boolean
- editor_notes_unset: Boolean
- reports_unset: Boolean
- AllegedDeployerOfAISystem_unset: Boolean
- editors: IncidentEditorsRelationInput
- reports: IncidentReportsRelationInput
- date_unset: Boolean
- incident_id_unset: Boolean
- AllegedDeveloperOfAISystem: IncidentAllegedDeveloperOfAISystemRelationInput
- embedding_unset: Boolean
+ nlp_similar_incidents: [IncidentNlp_similar_incidentInsertInput]
+ date: String!
flagged_dissimilar_incidents: [Int]
+ epoch_date_modified: Int
editor_dissimilar_incidents: [Int]
- tsne: IncidentTsneUpdateInput
- AllegedHarmedOrNearlyHarmedParties: IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput
- tsne_unset: Boolean
- embedding: IncidentEmbeddingUpdateInput
- epoch_date_modified_unset: Boolean
- incident_id_inc: Int
- nlp_similar_incidents_unset: Boolean
- editor_dissimilar_incidents_unset: Boolean
- AllegedHarmedOrNearlyHarmedParties_unset: Boolean
editor_similar_incidents: [Int]
- epoch_date_modified: Int
- incident_id: Int
- flagged_dissimilar_incidents_unset: Boolean
- nlp_similar_incidents: [IncidentNlp_similar_incidentUpdateInput]
- title_unset: Boolean
-}
-
-input SubmissionDevelopersRelationInput {
- link: [String]
- create: [EntityInsertInput]
-}
-
-type CandidateClassification_similarity {
- classification: String
- similarity: Float
+ reports: IncidentReportsRelationInput!
+ tsne: IncidentTsneInsertInput
+ AllegedDeveloperOfAISystem: IncidentAllegedDeveloperOfAISystemRelationInput
+ title: String!
+ AllegedHarmedOrNearlyHarmedParties: IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput
+ editors: IncidentEditorsRelationInput!
+ incident_id: Int!
+ embedding: IncidentEmbeddingInsertInput
+ AllegedDeployerOfAISystem: IncidentAllegedDeployerOfAISystemRelationInput
+ description: String
+ implicated_systems: IncidentImplicatedSystemsRelationInput
}
-enum SubmissionSortByInput {
- DATE_SUBMITTED_DESC
- EDITOR_NOTES_ASC
- URL_DESC
- TEXT_DESC
- _ID_DESC
- INCIDENT_DATE_DESC
- INCIDENT_TITLE_DESC
- LANGUAGE_ASC
- TEXT_ASC
- STATUS_DESC
- DATE_DOWNLOADED_DESC
- DESCRIPTION_ASC
- IMAGE_URL_ASC
- SOURCE_DOMAIN_DESC
- STATUS_ASC
- LANGUAGE_DESC
- CLOUDINARY_ID_ASC
- DATE_DOWNLOADED_ASC
- DATE_MODIFIED_ASC
- DATE_PUBLISHED_ASC
- IMAGE_URL_DESC
- EPOCH_DATE_MODIFIED_ASC
- TITLE_DESC
- USER_DESC
- DATE_MODIFIED_DESC
- INCIDENT_TITLE_ASC
- URL_ASC
- USER_ASC
- DESCRIPTION_DESC
- EPOCH_DATE_MODIFIED_DESC
- INCIDENT_DATE_ASC
- PLAIN_TEXT_DESC
- SOURCE_DOMAIN_ASC
- PLAIN_TEXT_ASC
- TITLE_ASC
- _ID_ASC
- CLOUDINARY_ID_DESC
- DATE_PUBLISHED_DESC
- DATE_SUBMITTED_ASC
- EDITOR_NOTES_DESC
+type Notification {
+ _id: ObjectId
+ incident_id: Int
+ processed: Boolean
+ sentDate: DateTime
+ type: String
+ userId: User
}
-input ChecklistRiskQueryInput {
- precedents_nin: [ChecklistRiskPrecedentQueryInput]
- touched: Boolean
- risk_status_lte: String
- risk_status_in: [String]
- id_lte: String
- risk_status_gt: String
- likelihood_gt: String
- risk_notes_in: [String]
- id_in: [String]
- title_in: [String]
- risk_status_ne: String
- likelihood_gte: String
- generated: Boolean
- likelihood_in: [String]
- tags_nin: [String]
- title_gte: String
- severity_exists: Boolean
- severity_ne: String
- title_nin: [String]
- id_gt: String
- precedents_exists: Boolean
- generated_ne: Boolean
- severity_gt: String
- likelihood_nin: [String]
- likelihood_exists: Boolean
- id_ne: String
- title_lt: String
- title_lte: String
- id_lt: String
- risk_status_nin: [String]
- severity_nin: [String]
- touched_exists: Boolean
- risk_notes_exists: Boolean
- title_ne: String
- likelihood_lt: String
- id_gte: String
- title_exists: Boolean
- AND: [ChecklistRiskQueryInput!]
- title_gt: String
- severity_gte: String
- risk_notes_gt: String
- title: String
- precedents_in: [ChecklistRiskPrecedentQueryInput]
- severity_lt: String
- tags_in: [String]
- generated_exists: Boolean
- likelihood: String
- risk_status_lt: String
- risk_status_gte: String
- severity_lte: String
- risk_notes_nin: [String]
- tags_exists: Boolean
- OR: [ChecklistRiskQueryInput!]
- risk_notes_ne: String
- risk_notes_lt: String
- tags: [String]
- risk_notes_gte: String
- touched_ne: Boolean
- severity: String
- severity_in: [String]
- likelihood_ne: String
- risk_notes_lte: String
- id: String
- risk_status: String
- likelihood_lte: String
- risk_notes: String
- precedents: [ChecklistRiskPrecedentQueryInput]
- id_nin: [String]
- id_exists: Boolean
- risk_status_exists: Boolean
+input IncidentEmbeddingQueryInput {
+ vector_exists: Boolean
+ from_reports_exists: Boolean
+ vector_in: [Float]
+ vector_nin: [Float]
+ OR: [IncidentEmbeddingQueryInput!]
+ from_reports: [Int]
+ from_reports_in: [Int]
+ AND: [IncidentEmbeddingQueryInput!]
+ from_reports_nin: [Int]
+ vector: [Float]
}
-type RisksPayloadItem {
- precedents: [RisksPayloadPrecedent]
- tag: String
- tags: [String]
- title: String
+type Classification {
+ _id: ObjectId
+ attributes: [ClassificationAttribute]
+ incidents: [Incident]!
+ namespace: String!
+ notes: String
+ publish: Boolean
+ reports: [Report]!
}
-type RisksPayloadPrecedentTsne {
+type History_incidentTsne {
x: Float
y: Float
}
-input TaxaField_listComplete_fromUpdateInput {
- all_unset: Boolean
- current: [String]
- current_unset: Boolean
- all: [String]
-}
-
-input SubmissionNlp_similar_incidentInsertInput {
- similarity: Float
- incident_id: Int
+type Checklist {
+ _id: ObjectId
+ about: String
+ date_created: DateTime
+ date_updated: DateTime
+ entity_id: String
+ id: String
+ name: String
+ owner_id: String
+ risks: [ChecklistRisk]
+ tags_goals: [String]
+ tags_methods: [String]
+ tags_other: [String]
}
-input LinkReportsToIncidentsInput {
- report_numbers: [Int]
- incident_ids: [Int]
+type ChecklistRisk {
+ generated: Boolean
+ id: String
+ likelihood: String
+ precedents: [ChecklistRiskPrecedent]
+ risk_notes: String
+ risk_status: String
+ severity: String
+ tags: [String]
+ title: String
+ touched: Boolean
}
-scalar Long
-
-type ClassificationAttribute {
- short_name: String
- value_json: String
+input SubmissionHarmed_partiesRelationInput {
+ create: [EntityInsertInput]
+ link: [String]
}
-input IncidentAllegedDeveloperOfAISystemRelationInput {
- link: [String]
- create: [EntityInsertInput]
+input SubmissionEmbeddingUpdateInput {
+ vector_unset: Boolean
+ from_text_hash: String
+ from_text_hash_unset: Boolean
+ vector: [Float]
}
-input NotificationQueryInput {
+input NotificationInsertInput {
+ _id: ObjectId
incident_id: Int
- type_in: [String]
- _id_ne: ObjectId
- type_lt: String
- type_nin: [String]
- sentDate: DateTime
- sentDate_exists: Boolean
- type_ne: String
- type_gt: String
- incident_id_lt: Int
- incident_id_gte: Int
- sentDate_lte: DateTime
processed: Boolean
- type_exists: Boolean
- _id_gte: ObjectId
- _id_lte: ObjectId
- sentDate_lt: DateTime
- incident_id_ne: Int
- _id: ObjectId
- sentDate_ne: DateTime
- _id_exists: Boolean
- sentDate_in: [DateTime]
- incident_id_exists: Boolean
- processed_exists: Boolean
- sentDate_gte: DateTime
- type_lte: String
- _id_gt: ObjectId
- sentDate_gt: DateTime
- userId: UserQueryInput
- sentDate_nin: [DateTime]
- _id_in: [ObjectId]
- _id_lt: ObjectId
- userId_exists: Boolean
- OR: [NotificationQueryInput!]
- incident_id_nin: [Int]
- _id_nin: [ObjectId]
- AND: [NotificationQueryInput!]
- incident_id_lte: Int
- incident_id_gt: Int
- processed_ne: Boolean
- type_gte: String
+ sentDate: DateTime
type: String
- incident_id_in: [Int]
+ userId: NotificationUserIdRelationInput
}
-input IncidentQueryInput {
- AllegedDeveloperOfAISystem_in: [EntityQueryInput]
- embedding: IncidentEmbeddingQueryInput
- AllegedHarmedOrNearlyHarmedParties_in: [EntityQueryInput]
- _id_in: [ObjectId]
- AllegedDeployerOfAISystem: [EntityQueryInput]
- editor_notes: String
- AND: [IncidentQueryInput!]
- _id_gte: ObjectId
- nlp_similar_incidents: [IncidentNlp_similar_incidentQueryInput]
- date: String
- title_in: [String]
- editor_notes_nin: [String]
- editor_similar_incidents_exists: Boolean
- reports_nin: [ReportQueryInput]
- editor_notes_lt: String
- epoch_date_modified_nin: [Int]
- AllegedDeveloperOfAISystem_exists: Boolean
- AllegedHarmedOrNearlyHarmedParties_exists: Boolean
- description_ne: String
- editor_dissimilar_incidents_in: [Int]
- epoch_date_modified_gte: Int
- incident_id_lte: Int
- editor_dissimilar_incidents_exists: Boolean
- incident_id_nin: [Int]
- editor_notes_exists: Boolean
- AllegedDeployerOfAISystem_nin: [EntityQueryInput]
- title_lt: String
- AllegedDeveloperOfAISystem: [EntityQueryInput]
- description_lt: String
- epoch_date_modified_lt: Int
- date_in: [String]
- flagged_dissimilar_incidents_exists: Boolean
- incident_id_ne: Int
- _id_lte: ObjectId
- date_nin: [String]
- incident_id: Int
- editor_similar_incidents: [Int]
- date_lte: String
- editor_dissimilar_incidents: [Int]
- incident_id_lt: Int
- reports: [ReportQueryInput]
- tsne_exists: Boolean
- date_gte: String
- reports_exists: Boolean
- _id_lt: ObjectId
- date_lt: String
- title: String
- AllegedDeveloperOfAISystem_nin: [EntityQueryInput]
- editor_notes_gte: String
- editor_similar_incidents_nin: [Int]
- description_in: [String]
- incident_id_gte: Int
- _id_ne: ObjectId
- incident_id_gt: Int
- description_exists: Boolean
- epoch_date_modified_lte: Int
- epoch_date_modified: Int
- date_gt: String
- title_gte: String
- date_ne: String
- incident_id_in: [Int]
- date_exists: Boolean
- _id_exists: Boolean
- nlp_similar_incidents_in: [IncidentNlp_similar_incidentQueryInput]
- _id_gt: ObjectId
- title_gt: String
- incident_id_exists: Boolean
- description_gte: String
- title_lte: String
- epoch_date_modified_gt: Int
- title_exists: Boolean
- flagged_dissimilar_incidents: [Int]
- flagged_dissimilar_incidents_nin: [Int]
- editor_notes_lte: String
- AllegedHarmedOrNearlyHarmedParties: [EntityQueryInput]
+input History_reportUpdateInput {
+ epoch_date_downloaded: Int
+ date_submitted_unset: Boolean
+ embedding: History_reportEmbeddingUpdateInput
+ date_submitted: DateTime
description: String
- description_gt: String
- editor_similar_incidents_in: [Int]
- description_nin: [String]
- embedding_exists: Boolean
- description_lte: String
- epoch_date_modified_ne: Int
- editors_nin: [UserQueryInput]
- flagged_dissimilar_incidents_in: [Int]
- editor_notes_in: [String]
- editors_exists: Boolean
- OR: [IncidentQueryInput!]
- title_nin: [String]
- nlp_similar_incidents_nin: [IncidentNlp_similar_incidentQueryInput]
- editor_notes_gt: String
- editors: [UserQueryInput]
- AllegedHarmedOrNearlyHarmedParties_nin: [EntityQueryInput]
- epoch_date_modified_in: [Int]
- editors_in: [UserQueryInput]
- tsne: IncidentTsneQueryInput
- title_ne: String
- AllegedDeployerOfAISystem_in: [EntityQueryInput]
- _id_nin: [ObjectId]
- nlp_similar_incidents_exists: Boolean
+ title_unset: Boolean
+ _id_unset: Boolean
+ epoch_date_submitted_unset: Boolean
+ is_incident_report: Boolean
_id: ObjectId
- editor_dissimilar_incidents_nin: [Int]
- reports_in: [ReportQueryInput]
- AllegedDeployerOfAISystem_exists: Boolean
- editor_notes_ne: String
- epoch_date_modified_exists: Boolean
-}
-
-input History_incidentEmbeddingQueryInput {
- vector: [Float]
- vector_in: [Float]
- vector_exists: Boolean
- OR: [History_incidentEmbeddingQueryInput!]
- from_reports_exists: Boolean
- AND: [History_incidentEmbeddingQueryInput!]
- from_reports: [Int]
- from_reports_in: [Int]
- from_reports_nin: [Int]
- vector_nin: [Float]
+ quiet: Boolean
+ url: String
+ epoch_date_published_unset: Boolean
+ user_unset: Boolean
+ date_modified_unset: Boolean
+ is_incident_report_unset: Boolean
+ date_modified: DateTime
+ modifiedBy_unset: Boolean
+ epoch_date_submitted_inc: Int
+ date_downloaded_unset: Boolean
+ report_number: Int
+ source_domain: String
+ flag: Boolean
+ tags_unset: Boolean
+ text: String
+ report_number_unset: Boolean
+ tags: [String]
+ source_domain_unset: Boolean
+ authors: [String]
+ image_url: String
+ submitters: [String]
+ epoch_date_modified: Int
+ language: String
+ date_published_unset: Boolean
+ description_unset: Boolean
+ submitters_unset: Boolean
+ editor_notes_unset: Boolean
+ language_unset: Boolean
+ text_unset: Boolean
+ embedding_unset: Boolean
+ authors_unset: Boolean
+ editor_notes: String
+ title: String
+ epoch_date_modified_unset: Boolean
+ user: String
+ flag_unset: Boolean
+ epoch_date_submitted: Int
+ date_downloaded: DateTime
+ image_url_unset: Boolean
+ cloudinary_id_unset: Boolean
+ modifiedBy: String
+ epoch_date_downloaded_inc: Int
+ epoch_date_published: Int
+ url_unset: Boolean
+ inputs_outputs_unset: Boolean
+ quiet_unset: Boolean
+ cloudinary_id: String
+ plain_text: String
+ epoch_date_published_inc: Int
+ epoch_date_downloaded_unset: Boolean
+ plain_text_unset: Boolean
+ report_number_inc: Int
+ epoch_date_modified_inc: Int
+ inputs_outputs: [String]
+ date_published: DateTime
}
-input IncidentReportsRelationInput {
- create: [ReportInsertInput]
- link: [Int]
+input History_incidentNlp_similar_incidentQueryInput {
+ similarity_lt: Float
+ incident_id_nin: [Int]
+ AND: [History_incidentNlp_similar_incidentQueryInput!]
+ incident_id_gt: Int
+ similarity_gt: Float
+ incident_id_ne: Int
+ similarity_exists: Boolean
+ incident_id_lte: Int
+ incident_id_in: [Int]
+ incident_id_lt: Int
+ similarity_gte: Float
+ similarity_in: [Float]
+ similarity_ne: Float
+ similarity_lte: Float
+ similarity: Float
+ similarity_nin: [Float]
+ OR: [History_incidentNlp_similar_incidentQueryInput!]
+ incident_id: Int
+ incident_id_exists: Boolean
+ incident_id_gte: Int
}
-type Submission {
+input ReportInsertInput {
+ description: String
+ tags: [String]!
+ text: String!
+ submitters: [String]!
+ image_url: String!
+ is_incident_report: Boolean
+ source_domain: String!
+ url: String!
+ cloudinary_id: String!
+ embedding: ReportEmbeddingInsertInput
_id: ObjectId
+ date_submitted: DateTime!
authors: [String]!
- cloudinary_id: String
- date_downloaded: String!
- date_modified: String!
- date_published: String!
- date_submitted: String!
- deployers: [Entity]
- description: String
- developers: [Entity]
- editor_dissimilar_incidents: [Int]
+ date_downloaded: DateTime!
editor_notes: String
- editor_similar_incidents: [Int]
- embedding: SubmissionEmbedding
- epoch_date_modified: Int
- harmed_parties: [Entity]
- image_url: String!
- incident_date: String
- incident_editors: [User]
- incident_ids: [Int]
- incident_title: String
- language: String!
- nlp_similar_incidents: [SubmissionNlp_similar_incident]
- plain_text: String
+ epoch_date_submitted: Int!
+ date_modified: DateTime!
+ epoch_date_modified: Int!
quiet: Boolean
- source_domain: String!
- status: String
- submitters: [String]!
- tags: [String]!
- text: String!
+ plain_text: String!
title: String!
- url: String!
- user: User
-}
-
-input ClassificationIncidentsRelationInput {
- create: [IncidentInsertInput]
- link: [Int]
+ language: String!
+ user: ReportUserRelationInput
+ epoch_date_downloaded: Int!
+ inputs_outputs: [String]
+ date_published: DateTime!
+ report_number: Int!
+ epoch_date_published: Int!
+ flag: Boolean
}
-input CandidateEmbeddingInsertInput {
- from_text_hash: String
- vector: [Float]
+input TaxaDummy_fieldInsertInput {
+ short_name: String
+ field_number: String
}
-input ChecklistRiskPrecedentUpdateInput {
- title: String
- title_unset: Boolean
- description: String
- incident_id_unset: Boolean
- tags: [String]
- tags_unset: Boolean
+input IncidentNlp_similar_incidentQueryInput {
+ similarity_lte: Float
+ similarity_nin: [Float]
+ similarity_ne: Float
incident_id: Int
- incident_id_inc: Int
- description_unset: Boolean
+ incident_id_lte: Int
+ OR: [IncidentNlp_similar_incidentQueryInput!]
+ incident_id_gt: Int
+ incident_id_gte: Int
+ similarity_in: [Float]
+ similarity_gt: Float
+ similarity_lt: Float
+ incident_id_nin: [Int]
+ similarity_exists: Boolean
+ incident_id_exists: Boolean
+ incident_id_lt: Int
+ incident_id_in: [Int]
+ incident_id_ne: Int
+ similarity: Float
+ AND: [IncidentNlp_similar_incidentQueryInput!]
+ similarity_gte: Float
}
-type CreateVariantPayload {
- incident_id: Int
- report_number: Int
+input QuickaddQueryInput {
+ incident_id: Long
+ url_exists: Boolean
+ date_submitted_lte: String
+ incident_id_lt: Long
+ source_domain_gt: String
+ date_submitted: String
+ AND: [QuickaddQueryInput!]
+ incident_id_ne: Long
+ url_gt: String
+ source_domain_lt: String
+ url_lt: String
+ date_submitted_nin: [String]
+ incident_id_nin: [Long]
+ _id_gte: ObjectId
+ OR: [QuickaddQueryInput!]
+ _id_lt: ObjectId
+ incident_id_in: [Long]
+ date_submitted_in: [String]
+ incident_id_gte: Long
+ date_submitted_ne: String
+ _id_ne: ObjectId
+ _id_gt: ObjectId
+ url: String
+ _id_exists: Boolean
+ date_submitted_gte: String
+ source_domain_ne: String
+ url_lte: String
+ date_submitted_lt: String
+ source_domain_in: [String]
+ source_domain: String
+ _id_nin: [ObjectId]
+ source_domain_exists: Boolean
+ date_submitted_exists: Boolean
+ source_domain_lte: String
+ source_domain_gte: String
+ incident_id_lte: Long
+ source_domain_nin: [String]
+ _id: ObjectId
+ date_submitted_gt: String
+ url_in: [String]
+ _id_in: [ObjectId]
+ incident_id_exists: Boolean
+ incident_id_gt: Long
+ url_ne: String
+ _id_lte: ObjectId
+ url_gte: String
+ url_nin: [String]
}
-input History_incidentEmbeddingUpdateInput {
- vector: [Float]
- vector_unset: Boolean
- from_reports: [Int]
- from_reports_unset: Boolean
+type History_incidentNlp_similar_incident {
+ incident_id: Int
+ similarity: Float
}
-input PromoteSubmissionToReportInput {
- is_incident_report: Boolean
- submission_id: ObjectId
- incident_ids: [Int]
+type CandidateClassification_similarity {
+ classification: String
+ similarity: Float
}
-input SubmissionNlp_similar_incidentQueryInput {
- AND: [SubmissionNlp_similar_incidentQueryInput!]
- incident_id_lte: Int
- similarity_ne: Float
- incident_id_in: [Int]
- incident_id: Int
+input SubscriptionQueryInput {
+ entityId_exists: Boolean
+ type_gte: String
+ type: String
+ _id_lt: ObjectId
+ _id_exists: Boolean
+ _id_in: [ObjectId]
+ type_lte: String
+ userId: UserQueryInput
+ type_lt: String
+ entityId: EntityQueryInput
+ incident_id: IncidentQueryInput
+ _id_lte: ObjectId
+ type_gt: String
+ OR: [SubscriptionQueryInput!]
+ type_exists: Boolean
+ _id_gte: ObjectId
+ _id_gt: ObjectId
+ type_ne: String
+ type_in: [String]
+ AND: [SubscriptionQueryInput!]
+ _id_nin: [ObjectId]
+ userId_exists: Boolean
incident_id_exists: Boolean
- incident_id_lt: Int
- similarity_lt: Float
- similarity_in: [Float]
- similarity_lte: Float
- similarity: Float
- incident_id_gte: Int
- similarity_nin: [Float]
- OR: [SubmissionNlp_similar_incidentQueryInput!]
- incident_id_ne: Int
- similarity_exists: Boolean
- similarity_gte: Float
- similarity_gt: Float
- incident_id_nin: [Int]
- incident_id_gt: Int
+ _id: ObjectId
+ _id_ne: ObjectId
+ type_nin: [String]
}
input SubmissionUserRelationInput {
- create: UserInsertInput
link: String
+ create: UserInsertInput
}
-input SubmissionDeployersRelationInput {
- create: [EntityInsertInput]
- link: [String]
+input CandidateClassification_similarityUpdateInput {
+ similarity: Float
+ similarity_inc: Float
+ similarity_unset: Boolean
+ classification: String
+ classification_unset: Boolean
}
-input SubmissionQueryInput {
- nlp_similar_incidents_in: [SubmissionNlp_similar_incidentQueryInput]
- nlp_similar_incidents_nin: [SubmissionNlp_similar_incidentQueryInput]
- deployers_exists: Boolean
- title: String
- status_gte: String
- incident_editors: [UserQueryInput]
- _id_gte: ObjectId
- OR: [SubmissionQueryInput!]
- incident_ids_exists: Boolean
- incident_date_ne: String
+type LogIncidentHistoryPayload {
+ incident_id: Int
+}
+
+input SubmissionQueryInput {
+ date_downloaded_lte: String
+ _id_lte: ObjectId
incident_title_lt: String
- date_downloaded_gt: String
- submitters_exists: Boolean
- status_exists: Boolean
- tags_nin: [String]
- date_published_lt: String
- language_gte: String
- epoch_date_modified_gte: Int
- date_downloaded_ne: String
- editor_dissimilar_incidents_in: [Int]
- editor_notes_lt: String
- editor_similar_incidents_in: [Int]
+ description_nin: [String]
+ cloudinary_id_gt: String
+ _id_exists: Boolean
+ epoch_date_modified_gt: Int
+ language_nin: [String]
+ date_published_exists: Boolean
+ incident_date_gt: String
+ url_ne: String
+ user: UserQueryInput
+ epoch_date_modified_ne: Int
+ developers: [EntityQueryInput]
+ incident_title_in: [String]
+ plain_text_gt: String
+ harmed_parties_exists: Boolean
+ date_submitted_lte: String
date_published: String
- plain_text_in: [String]
- quiet_ne: Boolean
- text_gte: String
- incident_title_ne: String
- title_gt: String
- date_modified_lt: String
- title_nin: [String]
- status_in: [String]
- editor_similar_incidents_exists: Boolean
- _id_lte: ObjectId
- status_nin: [String]
url_gt: String
- date_modified_exists: Boolean
- editor_notes_gte: String
- date_submitted_gte: String
- epoch_date_modified_nin: [Int]
- date_submitted_exists: Boolean
- _id_nin: [ObjectId]
- status_gt: String
- developers_exists: Boolean
- url_in: [String]
- embedding: SubmissionEmbeddingQueryInput
+ date_published_gte: String
+ submitters: [String]
+ incident_date_lte: String
+ editor_dissimilar_incidents_nin: [Int]
+ incident_title_exists: Boolean
+ date_downloaded_lt: String
+ text_ne: String
+ cloudinary_id_gte: String
+ text_exists: Boolean
+ source_domain_lte: String
+ editor_notes_ne: String
+ harmed_parties: [EntityQueryInput]
+ incident_date_nin: [String]
+ user_exists: Boolean
+ _id_gt: ObjectId
+ incident_title_nin: [String]
+ date_published_in: [String]
+ date_downloaded: String
+ status_nin: [String]
+ date_submitted_gt: String
+ url: String
+ nlp_similar_incidents: [SubmissionNlp_similar_incidentQueryInput]
+ _id: ObjectId
+ tags_nin: [String]
+ date_downloaded_nin: [String]
date_submitted_lt: String
- plain_text_gte: String
+ _id_lt: ObjectId
+ submitters_in: [String]
date_published_ne: String
- url_lte: String
- url_exists: Boolean
- date_modified_gte: String
- plain_text: String
source_domain_ne: String
- image_url_gte: String
- nlp_similar_incidents_exists: Boolean
- source_domain_gte: String
- incident_title_in: [String]
- date_downloaded_lte: String
- submitters: [String]
- date_modified_lte: String
- editor_dissimilar_incidents: [Int]
+ status_gte: String
+ url_nin: [String]
+ nlp_similar_incidents_nin: [SubmissionNlp_similar_incidentQueryInput]
+ description_exists: Boolean
+ incident_title_gte: String
date_submitted_ne: String
- incident_date_in: [String]
- language_lte: String
- quiet: Boolean
- editor_dissimilar_incidents_exists: Boolean
- description_lte: String
- text_ne: String
- editor_notes_lte: String
+ incident_date_exists: Boolean
+ _id_nin: [ObjectId]
+ date_modified_nin: [String]
+ incident_editors: [UserQueryInput]
+ title_ne: String
+ plain_text_nin: [String]
+ quiet_exists: Boolean
+ date_modified_exists: Boolean
+ image_url_ne: String
+ date_submitted: String
+ image_url_in: [String]
+ status_gt: String
+ status_lt: String
+ source_domain_nin: [String]
plain_text_lt: String
- incident_date_lt: String
- source_domain_exists: Boolean
- editor_notes_nin: [String]
- embedding_exists: Boolean
- _id: ObjectId
- nlp_similar_incidents: [SubmissionNlp_similar_incidentQueryInput]
- url: String
- editor_dissimilar_incidents_nin: [Int]
- _id_exists: Boolean
- status_ne: String
+ editor_notes_lt: String
+ incident_title_gt: String
+ date_modified_gt: String
+ date_modified_lt: String
image_url_gt: String
- source_domain_lte: String
+ language_gte: String
+ image_url_nin: [String]
+ url_exists: Boolean
+ text_gt: String
+ title_gte: String
language_in: [String]
- editor_notes_in: [String]
- source_domain_in: [String]
- epoch_date_modified_lt: Int
- plain_text_exists: Boolean
- AND: [SubmissionQueryInput!]
- incident_editors_exists: Boolean
- cloudinary_id: String
- source_domain_gt: String
- user_exists: Boolean
- epoch_date_modified_in: [Int]
- _id_in: [ObjectId]
- authors_nin: [String]
- plain_text_nin: [String]
- date_downloaded_gte: String
- image_url_lte: String
- date_published_nin: [String]
- cloudinary_id_nin: [String]
- deployers: [EntityQueryInput]
- developers_nin: [EntityQueryInput]
- date_published_in: [String]
- date_published_lte: String
- editor_notes_exists: Boolean
- incident_ids_nin: [Int]
- plain_text_ne: String
- url_lt: String
epoch_date_modified_exists: Boolean
- language_exists: Boolean
- image_url_ne: String
- plain_text_lte: String
- editor_notes_ne: String
+ date_modified_lte: String
+ epoch_date_modified_gte: Int
+ incident_date_gte: String
+ editor_notes_gt: String
epoch_date_modified_lte: Int
- description_exists: Boolean
- authors: [String]
- status_lt: String
- submitters_nin: [String]
- editor_similar_incidents: [Int]
- url_nin: [String]
- url_ne: String
- _id_ne: ObjectId
- plain_text_gt: String
- deployers_in: [EntityQueryInput]
- deployers_nin: [EntityQueryInput]
- text: String
- incident_title_exists: Boolean
- title_exists: Boolean
+ editor_notes: String
+ date_downloaded_gt: String
+ embedding: SubmissionEmbeddingQueryInput
+ quiet: Boolean
incident_title: String
- date_published_gte: String
- date_modified_ne: String
- editor_notes_gt: String
- authors_in: [String]
- text_lt: String
- incident_ids: [Int]
- incident_date_exists: Boolean
- epoch_date_modified_gt: Int
- developers: [EntityQueryInput]
- harmed_parties: [EntityQueryInput]
- image_url_nin: [String]
- incident_title_gte: String
- incident_title_nin: [String]
+ developers_exists: Boolean
+ incident_date_lt: String
+ plain_text_lte: String
+ language_ne: String
+ language_lt: String
+ image_url_lte: String
+ title_exists: Boolean
+ image_url_lt: String
+ source_domain: String
+ description: String
+ embedding_exists: Boolean
+ editor_notes_nin: [String]
+ incident_ids_in: [Int]
+ date_published_lt: String
+ date_published_gt: String
+ status_exists: Boolean
+ description_lt: String
tags_in: [String]
- text_nin: [String]
- date_modified_gt: String
- incident_title_lte: String
- text_lte: String
- editor_notes: String
- date_published_exists: Boolean
- description_gte: String
- status: String
- description_in: [String]
- language_gt: String
- cloudinary_id_exists: Boolean
- authors_exists: Boolean
- cloudinary_id_gt: String
- cloudinary_id_ne: String
- title_lt: String
- incident_title_gt: String
- incident_date: String
+ cloudinary_id: String
+ plain_text_gte: String
status_lte: String
- description_lt: String
- date_modified_nin: [String]
- tags: [String]
- image_url_in: [String]
- date_downloaded_in: [String]
- language_ne: String
- description_ne: String
- description_nin: [String]
+ developers_nin: [EntityQueryInput]
+ language: String
+ tags_exists: Boolean
+ deployers_in: [EntityQueryInput]
+ developers_in: [EntityQueryInput]
+ editor_similar_incidents_exists: Boolean
+ _id_in: [ObjectId]
+ url_in: [String]
+ _id_ne: ObjectId
+ incident_editors_in: [UserQueryInput]
+ nlp_similar_incidents_in: [SubmissionNlp_similar_incidentQueryInput]
harmed_parties_in: [EntityQueryInput]
- image_url: String
- tags_exists: Boolean
- harmed_parties_nin: [EntityQueryInput]
- cloudinary_id_gte: String
- text_in: [String]
- date_submitted: String
- epoch_date_modified: Int
- _id_gt: ObjectId
- text_gt: String
- date_downloaded_exists: Boolean
- date_modified: String
- submitters_in: [String]
- date_published_gt: String
+ description_in: [String]
+ submitters_nin: [String]
cloudinary_id_lt: String
- incident_date_lte: String
- date_submitted_gt: String
+ OR: [SubmissionQueryInput!]
+ description_lte: String
+ text_gte: String
+ plain_text_in: [String]
+ language_gt: String
+ cloudinary_id_exists: Boolean
+ description_gt: String
+ title: String
+ date_downloaded_gte: String
+ date_modified: String
+ editor_dissimilar_incidents_in: [Int]
+ authors_nin: [String]
+ incident_title_lte: String
+ epoch_date_modified_in: [Int]
+ date_modified_ne: String
+ editor_notes_in: [String]
+ plain_text_ne: String
+ date_downloaded_exists: Boolean
+ date_submitted_exists: Boolean
+ incident_title_ne: String
+ date_submitted_nin: [String]
+ _id_gte: ObjectId
+ date_submitted_in: [String]
+ nlp_similar_incidents_exists: Boolean
+ status_ne: String
+ incident_editors_nin: [UserQueryInput]
+ description_ne: String
+ epoch_date_modified_nin: [Int]
+ authors: [String]
+ cloudinary_id_nin: [String]
+ editor_notes_lte: String
+ epoch_date_modified_lt: Int
editor_similar_incidents_nin: [Int]
- incident_date_gte: String
- date_downloaded: String
+ title_lt: String
+ deployers_nin: [EntityQueryInput]
+ description_gte: String
+ text_nin: [String]
+ language_exists: Boolean
+ image_url: String
+ language_lte: String
+ editor_similar_incidents_in: [Int]
+ tags: [String]
+ incident_date_in: [String]
+ source_domain_lt: String
+ url_lt: String
+ cloudinary_id_ne: String
+ quiet_ne: Boolean
+ authors_in: [String]
+ title_nin: [String]
+ image_url_gte: String
+ source_domain_in: [String]
+ title_gt: String
date_modified_in: [String]
- epoch_date_modified_ne: Int
- source_domain: String
- language: String
- description: String
- text_exists: Boolean
- date_submitted_nin: [String]
- quiet_exists: Boolean
- date_downloaded_lt: String
+ plain_text_exists: Boolean
+ incident_ids_exists: Boolean
+ image_url_exists: Boolean
+ AND: [SubmissionQueryInput!]
+ authors_exists: Boolean
+ deployers_exists: Boolean
+ cloudinary_id_in: [String]
+ url_gte: String
+ date_published_nin: [String]
+ date_modified_gte: String
+ editor_dissimilar_incidents: [Int]
+ status: String
title_in: [String]
- user: UserQueryInput
- cloudinary_id_lte: String
- date_downloaded_nin: [String]
+ date_submitted_gte: String
+ editor_dissimilar_incidents_exists: Boolean
+ incident_ids: [Int]
+ text_lt: String
+ incident_editors_exists: Boolean
+ submitters_exists: Boolean
+ plain_text: String
+ editor_notes_gte: String
+ incident_date_ne: String
+ epoch_date_modified: Int
+ editor_similar_incidents: [Int]
+ incident_date: String
+ url_lte: String
+ date_published_lte: String
+ status_in: [String]
+ incident_ids_nin: [Int]
+ date_downloaded_ne: String
+ date_downloaded_in: [String]
+ text_lte: String
+ deployers: [EntityQueryInput]
+ source_domain_gte: String
+ text: String
+ source_domain_exists: Boolean
+ source_domain_gt: String
title_lte: String
- source_domain_nin: [String]
- incident_date_gt: String
- cloudinary_id_in: [String]
- title_ne: String
- title_gte: String
- source_domain_lt: String
+ editor_notes_exists: Boolean
+ text_in: [String]
+ cloudinary_id_lte: String
+ harmed_parties_nin: [EntityQueryInput]
+}
+
+input EntityQueryInput {
+ AND: [EntityQueryInput!]
+ _id_gt: ObjectId
+ created_at_gte: DateTime
+ name: String
+ entity_id_gte: String
+ _id_lte: ObjectId
+ created_at_lt: DateTime
+ date_modified_lt: DateTime
+ date_modified_lte: DateTime
+ name_in: [String]
+ date_modified_gte: DateTime
+ date_modified_in: [DateTime]
+ date_modified_nin: [DateTime]
+ name_lt: String
+ entity_id_lt: String
+ name_gt: String
+ created_at_in: [DateTime]
+ created_at_exists: Boolean
_id_lt: ObjectId
- image_url_lt: String
- language_nin: [String]
- harmed_parties_exists: Boolean
- date_submitted_lte: String
- incident_date_nin: [String]
- description_gt: String
- incident_editors_nin: [UserQueryInput]
- url_gte: String
- image_url_exists: Boolean
- incident_ids_in: [Int]
- developers_in: [EntityQueryInput]
- language_lt: String
- incident_editors_in: [UserQueryInput]
- date_submitted_in: [String]
+ entity_id_ne: String
+ OR: [EntityQueryInput!]
+ _id_gte: ObjectId
+ _id_ne: ObjectId
+ name_nin: [String]
+ name_ne: String
+ created_at: DateTime
+ entity_id_nin: [String]
+ name_gte: String
+ entity_id: String
+ name_lte: String
+ _id_exists: Boolean
+ date_modified: DateTime
+ created_at_lte: DateTime
+ _id: ObjectId
+ created_at_gt: DateTime
+ created_at_ne: DateTime
+ name_exists: Boolean
+ created_at_nin: [DateTime]
+ date_modified_exists: Boolean
+ entity_id_lte: String
+ entity_id_exists: Boolean
+ entity_id_gt: String
+ date_modified_ne: DateTime
+ date_modified_gt: DateTime
+ _id_in: [ObjectId]
+ _id_nin: [ObjectId]
+ entity_id_in: [String]
}
-enum History_reportSortByInput {
- _ID_DESC
- CLOUDINARY_ID_DESC
- DATE_PUBLISHED_ASC
- EDITOR_NOTES_DESC
- EPOCH_DATE_DOWNLOADED_DESC
- MODIFIEDBY_DESC
- DATE_PUBLISHED_DESC
- DESCRIPTION_ASC
- IMAGE_URL_ASC
- REPORT_NUMBER_DESC
- EPOCH_DATE_SUBMITTED_ASC
- LANGUAGE_ASC
- PLAIN_TEXT_DESC
- USER_DESC
- DATE_DOWNLOADED_DESC
- DATE_SUBMITTED_DESC
- EPOCH_DATE_MODIFIED_ASC
- MODIFIEDBY_ASC
- URL_ASC
- USER_ASC
- TITLE_ASC
- DATE_DOWNLOADED_ASC
- DATE_MODIFIED_DESC
- EPOCH_DATE_DOWNLOADED_ASC
- EPOCH_DATE_PUBLISHED_ASC
- EPOCH_DATE_SUBMITTED_DESC
- SOURCE_DOMAIN_ASC
- TEXT_DESC
- URL_DESC
- DATE_SUBMITTED_ASC
- EPOCH_DATE_PUBLISHED_DESC
- LANGUAGE_DESC
- TEXT_ASC
- TITLE_DESC
- PLAIN_TEXT_ASC
- _ID_ASC
- CLOUDINARY_ID_ASC
- DATE_MODIFIED_ASC
- DESCRIPTION_DESC
- EDITOR_NOTES_ASC
- EPOCH_DATE_MODIFIED_DESC
- IMAGE_URL_DESC
- REPORT_NUMBER_ASC
- SOURCE_DOMAIN_DESC
+type SubmissionEmbedding {
+ from_text_hash: String
+ vector: [Float]
+}
+
+type CandidateEmbedding {
+ from_text_hash: String
+ vector: [Float]
+}
+
+input RisksInput {
+ tags: [String]
+}
+
+type RisksPayloadItem {
+ precedents: [RisksPayloadPrecedent]
+ tag: String
+ tags: [String]
+ title: String
+}
+
+input SubmissionNlp_similar_incidentInsertInput {
+ similarity: Float
+ incident_id: Int
}
-input SubscriptionIncident_idRelationInput {
- link: Int
- create: IncidentInsertInput
+input History_incidentTsneQueryInput {
+ y_lt: Float
+ y_lte: Float
+ x_gte: Float
+ y_exists: Boolean
+ y_in: [Float]
+ x_ne: Float
+ y_gt: Float
+ y_ne: Float
+ x: Float
+ y_gte: Float
+ x_lt: Float
+ y: Float
+ x_in: [Float]
+ x_gt: Float
+ x_lte: Float
+ x_exists: Boolean
+ y_nin: [Float]
+ OR: [History_incidentTsneQueryInput!]
+ x_nin: [Float]
+ AND: [History_incidentTsneQueryInput!]
}
-type ChecklistRisk {
- generated: Boolean
- id: String
- likelihood: String
- precedents: [ChecklistRiskPrecedent]
- risk_notes: String
- risk_status: String
- severity: String
- tags: [String]
- title: String
- touched: Boolean
+type RisksPayloadPrecedentTsne {
+ x: Float
+ y: Float
}
-input SubscriptionEntityIdRelationInput {
- link: String
- create: EntityInsertInput
+input SubmissionEmbeddingInsertInput {
+ from_text_hash: String
+ vector: [Float]
+}
+
+input SubmissionDeployersRelationInput {
+ create: [EntityInsertInput]
+ link: [String]
+}
+
+input IncidentAllegedHarmedOrNearlyHarmedPartiesRelationInput {
+ link: [String]
+ create: [EntityInsertInput]
+}
+
+input UserUpdateInput {
+ userId: String
+ first_name: String
+ roles_unset: Boolean
+ _id: ObjectId
+ last_name: String
+ roles: [String]
+ userId_unset: Boolean
+ _id_unset: Boolean
+ last_name_unset: Boolean
+ first_name_unset: Boolean
}
enum UserSortByInput {
@@ -4026,311 +4112,196 @@ enum UserSortByInput {
USERID_DESC
}
-input TaxaQueryInput {
- namespace_lte: String
- OR: [TaxaQueryInput!]
- weight: Int
- description_ne: String
- _id_gte: ObjectId
- description_lte: String
- namespace_gt: String
- description_lt: String
- weight_gte: Int
- complete_entities_exists: Boolean
- _id_exists: Boolean
- _id_gt: ObjectId
- field_list: [TaxaField_listQueryInput]
- dummy_fields_nin: [TaxaDummy_fieldQueryInput]
- weight_ne: Int
- weight_lt: Int
- _id_in: [ObjectId]
- namespace_exists: Boolean
- description_nin: [String]
- namespace_ne: String
- field_list_nin: [TaxaField_listQueryInput]
- description: String
- _id_nin: [ObjectId]
- complete_entities: Boolean
- _id_lt: ObjectId
- weight_in: [Int]
- weight_lte: Int
- field_list_in: [TaxaField_listQueryInput]
- field_list_exists: Boolean
- namespace_in: [String]
- dummy_fields_in: [TaxaDummy_fieldQueryInput]
- weight_gt: Int
- weight_nin: [Int]
- namespace_nin: [String]
- _id_lte: ObjectId
- description_gte: String
- AND: [TaxaQueryInput!]
- description_exists: Boolean
- namespace_gte: String
- description_gt: String
- dummy_fields: [TaxaDummy_fieldQueryInput]
- namespace: String
- weight_exists: Boolean
- namespace_lt: String
- _id_ne: ObjectId
- description_in: [String]
- complete_entities_ne: Boolean
- _id: ObjectId
- dummy_fields_exists: Boolean
-}
-
-input ClassificationAttributeQueryInput {
- short_name_gt: String
- short_name_nin: [String]
- value_json_exists: Boolean
- AND: [ClassificationAttributeQueryInput!]
- OR: [ClassificationAttributeQueryInput!]
- short_name: String
- short_name_ne: String
- value_json_lte: String
- value_json_in: [String]
- value_json_gt: String
- value_json_gte: String
- value_json_lt: String
- value_json_nin: [String]
- short_name_lte: String
- short_name_lt: String
- short_name_gte: String
- value_json: String
- value_json_ne: String
- short_name_exists: Boolean
- short_name_in: [String]
-}
-
-input ChecklistRiskUpdateInput {
- precedents_unset: Boolean
- risk_notes: String
- risk_status: String
- touched_unset: Boolean
- likelihood_unset: Boolean
- risk_status_unset: Boolean
- tags_unset: Boolean
- title: String
- id_unset: Boolean
- precedents: [ChecklistRiskPrecedentUpdateInput]
- generated: Boolean
- id: String
- tags: [String]
- touched: Boolean
- likelihood: String
- severity: String
- risk_notes_unset: Boolean
- generated_unset: Boolean
- severity_unset: Boolean
- title_unset: Boolean
+type Mutation {
+ createDefaultAdminUser(input: CreateDefaultAdminUserInput): DefaultAdminUser
+ deleteManyCandidates(query: CandidateQueryInput): DeleteManyPayload
+ deleteManyChecklists(query: ChecklistQueryInput): DeleteManyPayload
+ deleteManyClassifications(query: ClassificationQueryInput): DeleteManyPayload
+ deleteManyDuplicates(query: DuplicateQueryInput): DeleteManyPayload
+ deleteManyEntities(query: EntityQueryInput): DeleteManyPayload
+ deleteManyHistory_incidents(query: History_incidentQueryInput): DeleteManyPayload
+ deleteManyHistory_reports(query: History_reportQueryInput): DeleteManyPayload
+ deleteManyIncidents(query: IncidentQueryInput): DeleteManyPayload
+ deleteManyNotifications(query: NotificationQueryInput): DeleteManyPayload
+ deleteManyQuickadds(query: QuickaddQueryInput): DeleteManyPayload
+ deleteManyReports(query: ReportQueryInput): DeleteManyPayload
+ deleteManySubmissions(query: SubmissionQueryInput): DeleteManyPayload
+ deleteManySubscriptions(query: SubscriptionQueryInput): DeleteManyPayload
+ deleteManyTaxas(query: TaxaQueryInput): DeleteManyPayload
+ deleteManyUsers(query: UserQueryInput): DeleteManyPayload
+ deleteOneCandidate(query: CandidateQueryInput!): Candidate
+ deleteOneChecklist(query: ChecklistQueryInput!): Checklist
+ deleteOneClassification(query: ClassificationQueryInput!): Classification
+ deleteOneDuplicate(query: DuplicateQueryInput!): Duplicate
+ deleteOneEntity(query: EntityQueryInput!): Entity
+ deleteOneHistory_incident(query: History_incidentQueryInput!): History_incident
+ deleteOneHistory_report(query: History_reportQueryInput!): History_report
+ deleteOneIncident(query: IncidentQueryInput!): Incident
+ deleteOneNotification(query: NotificationQueryInput!): Notification
+ deleteOneQuickadd(query: QuickaddQueryInput!): Quickadd
+ deleteOneReport(query: ReportQueryInput!): Report
+ deleteOneSubmission(query: SubmissionQueryInput!): Submission
+ deleteOneSubscription(query: SubscriptionQueryInput!): Subscription
+ deleteOneTaxa(query: TaxaQueryInput!): Taxa
+ deleteOneUser(query: UserQueryInput!): User
+ getUser(input: GetUserInput): AppUser
+ insertManyCandidates(data: [CandidateInsertInput!]!): InsertManyPayload
+ insertManyChecklists(data: [ChecklistInsertInput!]!): InsertManyPayload
+ insertManyClassifications(data: [ClassificationInsertInput!]!): InsertManyPayload
+ insertManyDuplicates(data: [DuplicateInsertInput!]!): InsertManyPayload
+ insertManyEntities(data: [EntityInsertInput!]!): InsertManyPayload
+ insertManyHistory_incidents(data: [History_incidentInsertInput!]!): InsertManyPayload
+ insertManyHistory_reports(data: [History_reportInsertInput!]!): InsertManyPayload
+ insertManyIncidents(data: [IncidentInsertInput!]!): InsertManyPayload
+ insertManyNotifications(data: [NotificationInsertInput!]!): InsertManyPayload
+ insertManyQuickadds(data: [QuickaddInsertInput!]!): InsertManyPayload
+ insertManyReports(data: [ReportInsertInput!]!): InsertManyPayload
+ insertManySubmissions(data: [SubmissionInsertInput!]!): InsertManyPayload
+ insertManySubscriptions(data: [SubscriptionInsertInput!]!): InsertManyPayload
+ insertManyTaxas(data: [TaxaInsertInput!]!): InsertManyPayload
+ insertManyUsers(data: [UserInsertInput!]!): InsertManyPayload
+ insertOneCandidate(data: CandidateInsertInput!): Candidate
+ insertOneChecklist(data: ChecklistInsertInput!): Checklist
+ insertOneClassification(data: ClassificationInsertInput!): Classification
+ insertOneDuplicate(data: DuplicateInsertInput!): Duplicate
+ insertOneEntity(data: EntityInsertInput!): Entity
+ insertOneHistory_incident(data: History_incidentInsertInput!): History_incident
+ insertOneHistory_report(data: History_reportInsertInput!): History_report
+ insertOneIncident(data: IncidentInsertInput!): Incident
+ insertOneNotification(data: NotificationInsertInput!): Notification
+ insertOneQuickadd(data: QuickaddInsertInput!): Quickadd
+ insertOneReport(data: ReportInsertInput!): Report
+ insertOneSubmission(data: SubmissionInsertInput!): Submission
+ insertOneSubscription(data: SubscriptionInsertInput!): Subscription
+ insertOneTaxa(data: TaxaInsertInput!): Taxa
+ insertOneUser(data: UserInsertInput!): User
+ logIncidentHistory(input: History_incidentInsertInput): LogIncidentHistoryPayload
+ logReportHistory(input: History_reportInsertInput): LogReportHistoryPayload
+ processNotifications: Int
+ promoteSubmissionToReport(input: PromoteSubmissionToReportInput): PromoteSubmissionToReportPayload
+ replaceOneCandidate(query: CandidateQueryInput, data: CandidateInsertInput!): Candidate
+ replaceOneChecklist(query: ChecklistQueryInput, data: ChecklistInsertInput!): Checklist
+ replaceOneClassification(query: ClassificationQueryInput, data: ClassificationInsertInput!): Classification
+ replaceOneDuplicate(data: DuplicateInsertInput!, query: DuplicateQueryInput): Duplicate
+ replaceOneEntity(query: EntityQueryInput, data: EntityInsertInput!): Entity
+ replaceOneHistory_incident(data: History_incidentInsertInput!, query: History_incidentQueryInput): History_incident
+ replaceOneHistory_report(data: History_reportInsertInput!, query: History_reportQueryInput): History_report
+ replaceOneIncident(data: IncidentInsertInput!, query: IncidentQueryInput): Incident
+ replaceOneNotification(query: NotificationQueryInput, data: NotificationInsertInput!): Notification
+ replaceOneQuickadd(query: QuickaddQueryInput, data: QuickaddInsertInput!): Quickadd
+ replaceOneReport(query: ReportQueryInput, data: ReportInsertInput!): Report
+ replaceOneSubmission(query: SubmissionQueryInput, data: SubmissionInsertInput!): Submission
+ replaceOneSubscription(query: SubscriptionQueryInput, data: SubscriptionInsertInput!): Subscription
+ replaceOneTaxa(query: TaxaQueryInput, data: TaxaInsertInput!): Taxa
+ replaceOneUser(query: UserQueryInput, data: UserInsertInput!): User
+ updateManyCandidates(query: CandidateQueryInput, set: CandidateUpdateInput!): UpdateManyPayload
+ updateManyChecklists(query: ChecklistQueryInput, set: ChecklistUpdateInput!): UpdateManyPayload
+ updateManyClassifications(query: ClassificationQueryInput, set: ClassificationUpdateInput!): UpdateManyPayload
+ updateManyDuplicates(query: DuplicateQueryInput, set: DuplicateUpdateInput!): UpdateManyPayload
+ updateManyEntities(query: EntityQueryInput, set: EntityUpdateInput!): UpdateManyPayload
+ updateManyHistory_incidents(query: History_incidentQueryInput, set: History_incidentUpdateInput!): UpdateManyPayload
+ updateManyHistory_reports(query: History_reportQueryInput, set: History_reportUpdateInput!): UpdateManyPayload
+ updateManyIncidents(query: IncidentQueryInput, set: IncidentUpdateInput!): UpdateManyPayload
+ updateManyNotifications(query: NotificationQueryInput, set: NotificationUpdateInput!): UpdateManyPayload
+ updateManyQuickadds(query: QuickaddQueryInput, set: QuickaddUpdateInput!): UpdateManyPayload
+ updateManyReports(query: ReportQueryInput, set: ReportUpdateInput!): UpdateManyPayload
+ updateManySubmissions(query: SubmissionQueryInput, set: SubmissionUpdateInput!): UpdateManyPayload
+ updateManySubscriptions(set: SubscriptionUpdateInput!, query: SubscriptionQueryInput): UpdateManyPayload
+ updateManyTaxas(query: TaxaQueryInput, set: TaxaUpdateInput!): UpdateManyPayload
+ updateManyUsers(query: UserQueryInput, set: UserUpdateInput!): UpdateManyPayload
+ updateOneCandidate(query: CandidateQueryInput, set: CandidateUpdateInput!): Candidate
+ updateOneChecklist(query: ChecklistQueryInput, set: ChecklistUpdateInput!): Checklist
+ updateOneClassification(query: ClassificationQueryInput, set: ClassificationUpdateInput!): Classification
+ updateOneDuplicate(query: DuplicateQueryInput, set: DuplicateUpdateInput!): Duplicate
+ updateOneEntity(query: EntityQueryInput, set: EntityUpdateInput!): Entity
+ updateOneHistory_incident(query: History_incidentQueryInput, set: History_incidentUpdateInput!): History_incident
+ updateOneHistory_report(query: History_reportQueryInput, set: History_reportUpdateInput!): History_report
+ updateOneIncident(query: IncidentQueryInput, set: IncidentUpdateInput!): Incident
+ updateOneNotification(query: NotificationQueryInput, set: NotificationUpdateInput!): Notification
+ updateOneQuickadd(query: QuickaddQueryInput, set: QuickaddUpdateInput!): Quickadd
+ updateOneReport(query: ReportQueryInput, set: ReportUpdateInput!): Report
+ updateOneSubmission(query: SubmissionQueryInput, set: SubmissionUpdateInput!): Submission
+ updateOneSubscription(query: SubscriptionQueryInput, set: SubscriptionUpdateInput!): Subscription
+ updateOneTaxa(query: TaxaQueryInput, set: TaxaUpdateInput!): Taxa
+ updateOneUser(query: UserQueryInput, set: UserUpdateInput!): User
+ upsertOneCandidate(query: CandidateQueryInput, data: CandidateInsertInput!): Candidate
+ upsertOneChecklist(query: ChecklistQueryInput, data: ChecklistInsertInput!): Checklist
+ upsertOneClassification(query: ClassificationQueryInput, data: ClassificationInsertInput!): Classification
+ upsertOneDuplicate(data: DuplicateInsertInput!, query: DuplicateQueryInput): Duplicate
+ upsertOneEntity(query: EntityQueryInput, data: EntityInsertInput!): Entity
+ upsertOneHistory_incident(query: History_incidentQueryInput, data: History_incidentInsertInput!): History_incident
+ upsertOneHistory_report(query: History_reportQueryInput, data: History_reportInsertInput!): History_report
+ upsertOneIncident(query: IncidentQueryInput, data: IncidentInsertInput!): Incident
+ upsertOneNotification(query: NotificationQueryInput, data: NotificationInsertInput!): Notification
+ upsertOneQuickadd(query: QuickaddQueryInput, data: QuickaddInsertInput!): Quickadd
+ upsertOneReport(query: ReportQueryInput, data: ReportInsertInput!): Report
+ upsertOneSubmission(query: SubmissionQueryInput, data: SubmissionInsertInput!): Submission
+ upsertOneSubscription(query: SubscriptionQueryInput, data: SubscriptionInsertInput!): Subscription
+ upsertOneTaxa(query: TaxaQueryInput, data: TaxaInsertInput!): Taxa
+ upsertOneUser(query: UserQueryInput, data: UserInsertInput!): User
}
-type Notification {
+input SubmissionInsertInput {
+ nlp_similar_incidents: [SubmissionNlp_similar_incidentInsertInput]
+ editor_similar_incidents: [Int]
+ source_domain: String!
+ text: String!
+ incident_editors: SubmissionIncident_editorsRelationInput
+ submitters: [String]!
+ cloudinary_id: String
+ editor_notes: String
+ plain_text: String
+ authors: [String]!
_id: ObjectId
- incident_id: Int
- processed: Boolean
- sentDate: DateTime
- type: String
- userId: User
-}
-
-type History_incidentEmbedding {
- from_reports: [Int]
- vector: [Float]
-}
-
-input TaxaField_listUpdateInput {
- long_name_unset: Boolean
- short_description_unset: Boolean
- short_name_unset: Boolean
- display_type_unset: Boolean
- long_name: String
- long_description: String
- item_fields_unset: Boolean
- permitted_values_unset: Boolean
- hide_search_unset: Boolean
- public_unset: Boolean
- required_unset: Boolean
- instant_facet_unset: Boolean
- placeholder: String
- weight: Int
- mongo_type: String
- permitted_values: [String]
- short_name: String
- complete_from: TaxaField_listComplete_fromUpdateInput
- item_fields: TaxaField_listItem_fieldUpdateInput
- default_unset: Boolean
- display_type: String
- mongo_type_unset: Boolean
- required: Boolean
- weight_unset: Boolean
- complete_from_unset: Boolean
- field_number: String
- public: Boolean
- long_description_unset: Boolean
- placeholder_unset: Boolean
- weight_inc: Int
- default: String
- hide_search: Boolean
- field_number_unset: Boolean
- short_description: String
- instant_facet: Boolean
-}
-
-input UpdateOneReportTranslationInput {
+ tags: [String]!
language: String!
- plain_text: String!
- report_number: Int!
- text: String!
+ editor_dissimilar_incidents: [Int]
+ date_published: String!
+ harmed_parties: SubmissionHarmed_partiesRelationInput
+ incident_title: String
+ url: String!
+ deployers: SubmissionDeployersRelationInput
+ image_url: String!
+ date_downloaded: String!
+ embedding: SubmissionEmbeddingInsertInput
+ user: SubmissionUserRelationInput
+ developers: SubmissionDevelopersRelationInput
+ epoch_date_modified: Int
+ incident_ids: [Int]
+ date_modified: String!
+ description: String
+ incident_date: String
+ quiet: Boolean
+ status: String
+ date_submitted: String!
title: String!
}
-input ReportEmbeddingInsertInput {
- vector: [Float]
- from_text_hash: String
-}
-
input ReportUserRelationInput {
create: UserInsertInput
link: String
}
-type Candidate {
- _id: ObjectId
- authors: [String]
- classification_similarity: [CandidateClassification_similarity]
- date_downloaded: String
- date_published: String
- dismissed: Boolean
- embedding: CandidateEmbedding
- epoch_date_downloaded: Int
- epoch_date_published: Int
- image_url: String
- language: String
- match: Boolean!
- matching_entities: [String]
- matching_harm_keywords: [String]
- matching_keywords: [String]
- plain_text: String
- similarity: Float
- source_domain: String
- text: String
- title: String
- url: String!
-}
-
-type Duplicate {
- _id: ObjectId
- duplicate_incident_number: Int
- true_incident_number: Int
-}
-
-type TaxaDummy_field {
- field_number: String
- short_name: String
-}
+scalar DateTime
-input TaxaField_listItem_fieldUpdateInput {
- placeholder_unset: Boolean
- long_name_unset: Boolean
- short_name_unset: Boolean
- instant_facet: Boolean
- long_description: String
- long_description_unset: Boolean
- public: Boolean
- mongo_type: String
- complete_from: TaxaField_listItem_fieldComplete_fromUpdateInput
- required_unset: Boolean
- weight_inc: Int
- complete_from_unset: Boolean
- default_unset: Boolean
- mongo_type_unset: Boolean
- default: String
- field_number: String
- public_unset: Boolean
- display_type: String
- long_name: String
- weight_unset: Boolean
- short_description_unset: Boolean
- short_name: String
- placeholder: String
- field_number_unset: Boolean
- permitted_values: [String]
- display_type_unset: Boolean
- required: Boolean
- weight: Int
- short_description: String
- permitted_values_unset: Boolean
- instant_facet_unset: Boolean
+input ReportEmbeddingInsertInput {
+ from_text_hash: String
+ vector: [Float]
}
-input History_incidentInsertInput {
- date: String!
- description: String
- AllegedDeveloperOfAISystem: [String]
- editor_dissimilar_incidents: [Int]
- flagged_dissimilar_incidents: [Int]
- editor_notes: String
- editor_similar_incidents: [Int]
- AllegedDeployerOfAISystem: [String]
- nlp_similar_incidents: [History_incidentNlp_similar_incidentInsertInput]
- modifiedBy: String
- tsne: History_incidentTsneInsertInput
- AllegedHarmedOrNearlyHarmedParties: [String]
- _id: ObjectId
- incident_id: Int!
- reports: [Int]!
- epoch_date_modified: Int
- embedding: History_incidentEmbeddingInsertInput
- editors: [String]!
- title: String!
+input PromoteSubmissionToReportInput {
+ incident_ids: [Int]
+ is_incident_report: Boolean
+ submission_id: ObjectId
}
-input SubmissionInsertInput {
- date_modified: String!
- nlp_similar_incidents: [SubmissionNlp_similar_incidentInsertInput]
- user: SubmissionUserRelationInput
- language: String!
- submitters: [String]!
- cloudinary_id: String
- date_published: String!
- source_domain: String!
- text: String!
- deployers: SubmissionDeployersRelationInput
- description: String
- _id: ObjectId
- image_url: String!
+type PromoteSubmissionToReportPayload {
incident_ids: [Int]
- harmed_parties: SubmissionHarmed_partiesRelationInput
- quiet: Boolean
- date_submitted: String!
- editor_similar_incidents: [Int]
- incident_date: String
- title: String!
- date_downloaded: String!
- embedding: SubmissionEmbeddingInsertInput
- authors: [String]!
- status: String
- url: String!
- epoch_date_modified: Int
- plain_text: String
- incident_editors: SubmissionIncident_editorsRelationInput
- editor_notes: String
- tags: [String]!
- editor_dissimilar_incidents: [Int]
- developers: SubmissionDevelopersRelationInput
- incident_title: String
+ report_number: Int
}
-input SubscriptionUpdateInput {
- entityId: SubscriptionEntityIdRelationInput
- userId_unset: Boolean
- _id: ObjectId
- incident_id: SubscriptionIncident_idRelationInput
- incident_id_unset: Boolean
- entityId_unset: Boolean
- type: String
- type_unset: Boolean
- _id_unset: Boolean
- userId: SubscriptionUserIdRelationInput
+input History_reportEmbeddingInsertInput {
+ from_text_hash: String
+ vector: [Float]
}
`;
diff --git a/site/gatsby-site/server/tests/fixtures/classifications.ts b/site/gatsby-site/server/tests/fixtures/classifications.ts
index 9cc04afb05..d54a88e55a 100644
--- a/site/gatsby-site/server/tests/fixtures/classifications.ts
+++ b/site/gatsby-site/server/tests/fixtures/classifications.ts
@@ -72,6 +72,7 @@ const incident1 = {
"Alleged deployer of AI system": [],
"Alleged developer of AI system": [],
"Alleged harmed or nearly harmed parties": [],
+ implicated_systems: [],
description: "Test description 1",
title: "Test Incident 1",
editors: [
diff --git a/site/gatsby-site/server/tests/fixtures/incidents.ts b/site/gatsby-site/server/tests/fixtures/incidents.ts
index 0347b63dc4..24e1579775 100644
--- a/site/gatsby-site/server/tests/fixtures/incidents.ts
+++ b/site/gatsby-site/server/tests/fixtures/incidents.ts
@@ -154,6 +154,7 @@ const incident1: DBIncident = {
"Alleged deployer of AI system": [],
"Alleged developer of AI system": [],
"Alleged harmed or nearly harmed parties": [],
+ implicated_systems: [],
description: "Test description 1",
title: "Test Incident 1",
editors: [
@@ -202,6 +203,7 @@ const incident2: DBIncident = {
"entity1"
],
"Alleged harmed or nearly harmed parties": [],
+ implicated_systems: [],
description: "Test description 2",
title: "Test Incident 2",
editors: [
@@ -283,6 +285,7 @@ const incident3: DBIncident = {
y: -0.6
},
reports: [2, 3],
+ implicated_systems: ['test system 1'],
editor_notes: "",
};
@@ -329,6 +332,9 @@ const fixture: Fixture