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.