(record: NewArtifactRecord)
| 26 | ) {} |
| 27 | |
| 28 | async create(record: NewArtifactRecord): Promise<ArtifactRecord> { |
| 29 | const [artifact] = await this.db.insert(artifactsTable).values(record).returning(); |
| 30 | return artifact; |
| 31 | } |
| 32 | |
| 33 | async listByRun( |
| 34 | runId: string, |