From 5e5e8b344e8005ba3905eaa3113cf9e7d9177979 Mon Sep 17 00:00:00 2001 From: 0xandi Date: Tue, 10 Mar 2026 21:55:35 +0100 Subject: [PATCH] chore: fix terminology and add .claude to gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace "environmental" with "humanitarian" in API docs — CLEAR is a humanitarian crisis intelligence platform, not an environmental/climate tool. Also ignore /.claude to prevent AI tool configs and credentials leaking into version control. Made-with: Cursor --- .gitignore | 4 +++- src/docs/template.ts | 12 ++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 212846c..2f14ded 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,6 @@ dist .terraform.lock.hcl /src/generated/prisma -.DS_Store \ No newline at end of file +.DS_Store + +/.claude diff --git a/src/docs/template.ts b/src/docs/template.ts index 09471e5..0aa6fc0 100644 --- a/src/docs/template.ts +++ b/src/docs/template.ts @@ -24,11 +24,7 @@ function renderFieldRow(field: SchemaField): string { `; } -function renderOperationSection( - title: string, - id: string, - fields: SchemaField[], -): string { +function renderOperationSection(title: string, id: string, fields: SchemaField[]): string { if (!fields.length) return ""; return `

${escapeHtml(title)}

@@ -231,9 +227,9 @@ export function renderDocsPage(schema: SchemaData): string {

Docs › GET STARTED › Introduction

Introduction

-

Welcome to the CLEAR API — your gateway to environmental intelligence.

+

Welcome to the CLEAR API - your gateway to humanitarian intelligence.

-

The CLEAR API gives you programmatic access to environmental alerts, detection events, data sources, and geographic location data through a single GraphQL endpoint. Whether you’re building a monitoring dashboard, integrating alerts into your workflow, or analysing detection patterns, this API has you covered.

+

The CLEAR API gives you programmatic access to alerts, detection events, data sources, and geographic location data through a single GraphQL endpoint. Whether you’re building a monitoring dashboard, integrating alerts into your workflow, or analysing detection patterns, this API has you covered.

Everything here is accessible via GraphQL at /graphql. You send a query describing exactly the data you want, and you get back precisely that — nothing more, nothing less.

@@ -241,7 +237,7 @@ export function renderDocsPage(schema: SchemaData): string { - +
FeatureDescription
AlertsBrowse, filter, and inspect environmental alerts with severity levels and geographic scope.
AlertsBrowse, filter, and inspect humanitarian alerts with severity levels and geographic scope.
DetectionsAccess raw and processed detection events from multiple data sources with confidence scores.
Data SourcesDiscover the external data sources that feed into the platform (satellites, sensors, manual reports).
LocationsQuery a hierarchical geographic tree — countries, states, cities — and see what’s happening where.