docs: document events reference (#9080)

- Remove old hidden reference files that document modules' events
- Add new events reference for workflow events
- Reference events reference in the main docs
This commit is contained in:
Shahed Nasser
2024-09-10 12:20:09 +00:00
committed by GitHub
parent 3fb2f10ccb
commit 4b663a4559
42 changed files with 843 additions and 3025 deletions
@@ -1,57 +0,0 @@
import { Table } from "docs-ui"
<Table>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Event Name</Table.HeaderCell>
<Table.HeaderCell>Description</Table.HeaderCell>
<Table.HeaderCell>Data Payload</Table.HeaderCell>
</Table.Row>
</Table.Header>
<Table.Body>
<Table.Row>
<Table.Cell>
`region.deleted`
</Table.Cell>
<Table.Cell>
Triggered when a region is deleted.
</Table.Cell>
<Table.Cell>
```ts blockStyle="inline"
{
// the ID of the deleted region
id,
}
```
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
`country.deleted`
</Table.Cell>
<Table.Cell>
Triggered when a country is deleted.
</Table.Cell>
<Table.Cell>
```ts blockStyle="inline"
{
// the ID of the deleted country
id,
}
```
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
@@ -1,17 +0,0 @@
import EventsTable from "./_events-table/page.mdx"
export const metadata = {
title: `Region Module Events Reference`,
}
# {metadata.title}
Find in this reference the list of events emitted by the Region Module.
<Note type="soon">
Events are still in development, so this reference will change in the future.
</Note>
<EventsTable />