sql/typed/models/issues.auto
The typed tables of the issues model, generated by IFC Data from the model. Do not edit: change the model and run bun tools/typed.ts --write.
The issues a repository keeps as code, as records
Source: commons/data/sql/typed/models/issues.auto.ts
0 of 24 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.
issues.IssueRowinterfaceno test imports itinterface IssueRow
One known weakness of a library or a module, as the code of the repository says it
| Member | Type | What it is |
|---|
issueId | string | What identifies the issue: its scope and number |
scope | string | The library or module it is of, by its path |
number | number | Its number within the scope |
slug | string | Its name in words joined by hyphens |
title | string | What it is, in a line |
summary | string | What is wrong and why it matters |
severity | "critical" | "high" | "low" | "medium" | How bad it is |
priority | "p_1" | "p_2" | "p_3" | When it is to be done |
size | "l" | "m" | "s" | "xl" | "xs" | How much work the fix is |
statusKind | "deferred" | "duplicate" | "fixed" | "in_progress" | "not_a_defect" | "open" | "wont_fix" | Where it is |
statusReason | string | null | Why, for a status that needs a reason |
statusProof | string | null | What shows it is done, for one that is fixed |
duplicateOf | number | null | The number of the issue it duplicates |
appliesToAll | boolean | Whether it is about every engine; where not, the engines are listed |
raised | string | The day it was raised |
contentHash | string | A hash of what the code says of it, so that a change is seen |
presence | "present" | "withdrawn" | Whether the code still has it |
syncedAt | Timestamp | When a synchronisation last wrote it |
issues.IssueInsertinterfaceno test imports itinterface IssueInsert
What an insert into issue takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueId | string | |
scope | string | |
number | number | |
slug | string | |
title | string | |
summary | string | |
severity | "critical" | "high" | "low" | "medium" | |
priority | "p_1" | "p_2" | "p_3" | |
size | "l" | "m" | "s" | "xl" | "xs" | |
statusKind | "deferred" | "duplicate" | "fixed" | "in_progress" | "not_a_defect" | "open" | "wont_fix" | |
statusReason? | string | null | |
statusProof? | string | null | |
duplicateOf? | number | null | |
appliesToAll | boolean | |
raised | string | |
contentHash | string | |
presence | "present" | "withdrawn" | |
syncedAt | Timestamp | |
issues.IssueKeytypeno test imports ittype IssueKey = { readonly issueId: string };
The key of a row of issue.
issues.issueconstno test imports itconst issue: Table<IssueRow, IssueInsert, "issue">
One known weakness of a library or a module, as the code of the repository says it
issues.IssueGoalRowinterfaceno test imports itinterface IssueGoalRow
A goal an issue is held against
| Member | Type | What it is |
|---|
issueGoalId | string | What identifies the a goal an issue is held against |
goal | "g_1" | "g_2" | "g_3" | "g_4" | "g_5" | "g_6" | "g_7" | "g_8" | The goal |
issueId | string | The issue it is of |
issues.IssueGoalInsertinterfaceno test imports itinterface IssueGoalInsert
What an insert into issue_goal takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueGoalId | string | |
goal | "g_1" | "g_2" | "g_3" | "g_4" | "g_5" | "g_6" | "g_7" | "g_8" | |
issueId | string | |
issues.IssueGoalKeytypeno test imports ittype IssueGoalKey = { readonly issueGoalId: string };
The key of a row of issue_goal.
issues.issueGoalconstno test imports itconst issueGoal: Table<IssueGoalRow, IssueGoalInsert, "issueGoal">
A goal an issue is held against
issues.IssueEngineRowinterfaceno test imports itinterface IssueEngineRow
An engine an issue is about
| Member | Type | What it is |
|---|
issueEngineId | string | What identifies the an engine an issue is about |
engine | string | The engine, as a dialect is named |
issueId | string | The issue it is of |
issues.IssueEngineInsertinterfaceno test imports itinterface IssueEngineInsert
What an insert into issue_engine takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueEngineId | string | |
engine | string | |
issueId | string | |
issues.IssueEngineKeytypeno test imports ittype IssueEngineKey = { readonly issueEngineId: string };
The key of a row of issue_engine.
issues.issueEngineconstno test imports itconst issueEngine: Table<IssueEngineRow, IssueEngineInsert, "issueEngine">
An engine an issue is about
issues.IssueEvidenceRowinterfaceno test imports itinterface IssueEvidenceRow
A piece of evidence of an issue
| Member | Type | What it is |
|---|
issueEvidenceId | string | What identifies the a piece of evidence of an issue |
position | number | Its place among the evidence |
kind | "commit" | "file" | "review" | "spec" | "test" | What kind |
reference | string | A sha, a test's file and title, a specification, a place in a file or a review |
issueId | string | The issue it is of |
issues.IssueEvidenceInsertinterfaceno test imports itinterface IssueEvidenceInsert
What an insert into issue_evidence takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueEvidenceId | string | |
position | number | |
kind | "commit" | "file" | "review" | "spec" | "test" | |
reference | string | |
issueId | string | |
type IssueEvidenceKey = { readonly issueEvidenceId: string };
The key of a row of issue_evidence.
issues.issueEvidenceconstno test imports itconst issueEvidence: Table<IssueEvidenceRow, IssueEvidenceInsert, "issueEvidence">
A piece of evidence of an issue
issues.IssueLinkRowinterfaceno test imports itinterface IssueLinkRow
How an issue is related to another of its scope
| Member | Type | What it is |
|---|
issueLinkId | string | What identifies the link |
kind | "blocks" | "caused_by" | "relates" | How they are related |
issueId | string | The issue |
targetIssueId | string | The issue it is related to |
issues.IssueLinkInsertinterfaceno test imports itinterface IssueLinkInsert
What an insert into issue_link takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueLinkId | string | |
kind | "blocks" | "caused_by" | "relates" | |
issueId | string | |
targetIssueId | string | |
issues.IssueLinkKeytypeno test imports ittype IssueLinkKey = { readonly issueLinkId: string };
The key of a row of issue_link.
issues.issueLinkconstno test imports itconst issueLink: Table<IssueLinkRow, IssueLinkInsert, "issueLink">
How an issue is related to another of its scope
issues.IssueSyncRowinterfaceno test imports itinterface IssueSyncRow
One synchronisation of the records with the code, kept as a ledger
| Member | Type | What it is |
|---|
issueSyncId | string | What identifies the synchronisation |
scope | string | The scope synchronised |
sourceHash | string | A hash of the issues of the code at the time |
ranAt | Timestamp | When it ran |
outcome | "synced" | "unchanged" | What it did |
inserted | number | How many records it added |
updated | number | How many it changed |
withdrawn | number | How many it marked as no longer in the code |
reopened | number | How many that were withdrawn it brought back |
issues.IssueSyncInsertinterfaceno test imports itinterface IssueSyncInsert
What an insert into issue_sync takes: what the database fills may be left out.
| Member | Type | What it is |
|---|
issueSyncId | string | |
scope | string | |
sourceHash | string | |
ranAt | Timestamp | |
outcome | "synced" | "unchanged" | |
inserted | number | |
updated | number | |
withdrawn | number | |
reopened | number | |
issues.IssueSyncKeytypeno test imports ittype IssueSyncKey = { readonly issueSyncId: string };
The key of a row of issue_sync.
issues.issueSyncconstno test imports itconst issueSync: Table<IssueSyncRow, IssueSyncInsert, "issueSync">
One synchronisation of the records with the code, kept as a ledger