Skip to content

ScreenshotJob

reference
1 min readUpdated

Kind: Database Model

Source: atloria-monorepo/libs/database/prisma/schema.prisma

Fields

FieldTypeRequiredKey
idStringPK
projectIdString
urlsString[]
viewportString
browserString
statusString
progressInt
totalUrlsInt
capturedUrlsInt
failedUrlsInt
errorString-
screenshotsScreenshot[]
nameString-
descriptionString-
authConfigJson-
batchConfigJson-
itemsMetadataJson[]
currentStageString-
currentItemString-
stageProgressInt
organizationIdString
triggeredByString
createdAtDateTime
updatedAtDateTime
completedAtDateTime-

Diagram

mermaid
erDiagram
    ScreenshotJob {
        id String [PK]
        projectId String
        urls String[]
        viewport String
        browser String
        status String
        progress Int
        totalUrls Int
        capturedUrls Int
        failedUrls Int
        error String?
        screenshots Screenshot[]
        name String?
        description String?
        authConfig Json?
        batchConfig Json?
        itemsMetadata Json[]
        currentStage String?
        currentItem String?
        stageProgress Int
        organizationId String
        triggeredBy String
        createdAt DateTime
        updatedAt DateTime
        completedAt DateTime?
    }
    ScreenshotJob ||--|| Project : ""
    ScreenshotJob ||--|| Organization : ""
    ScreenshotJob ||--|| User : ""

Relationships

  • HAS_ONE → Project
  • HAS_ONE → Organization
  • HAS_ONE → User

Referenced By

  • User (HAS_ONE)
  • Screenshot (HAS_ONE)

Was this page helpful?

Download as PDF