Skip to content

Commit

Permalink
feat(docs): description of references/fields #604
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Feb 21, 2024
1 parent 31bb706 commit 5b02ca8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lapis2-docs/src/components/FieldsTable.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ const config = getConfig();
</thead>
<tbody>
{
config.schema.metadata.map((m) => (
config.schema.metadata.map((metadata) => (
<tr>
<td>{m.name}</td>
<td>{metadata.name}</td>
<td>
{m.type}
{m.name === config.schema.primaryKey && <> (primary key)</>}
{metadata.type}
{metadata.name === config.schema.primaryKey && <> (primary key)</>}
</td>
<td>
<i>TODO</i>
{(metadata.type === 'insertion' || metadata.type === 'aaInsertion') &&
'An artificial column that contains insertions'}
</td>
</tr>
))
Expand Down

0 comments on commit 5b02ca8

Please sign in to comment.