elioria-sst-x
    Preparing search index...

    Implements

    Index
    db: PostgresJsDatabase<packages/db/src/schema> & {}

    The db value.

    • Generated

      Returns the result of findAll.

      Returns Promise<NrRegistryEntry[]>

      The function result.

      Objective: In module packages/db/src/repositories/nr-registry.repository.ts, retrieve data through findAll.

      Behavior: Async; returns a value; invokes this.db .select(LIST_COLUMNS) .from(nrRegistry) .orderBy.

    • Generated

      Returns the result of findByCode.

      Parameters

      • code: string

        The code value.

      Returns Promise<NrRegistryEntry | null>

      The function result.

      Objective: In module packages/db/src/repositories/nr-registry.repository.ts, retrieve data through findByCode.

      Behavior: Async; accepts code; returns a value; invokes this.db .select() .from(nrRegistry) .where(eq(nrRegistry.nrC.

    • Generated

      Returns the result of getHistory.

      Parameters

      • code: string

        The code value.

      Returns Promise<NrVersionHistory[]>

      The function result.

      Objective: In module packages/db/src/repositories/nr-registry.repository.ts, retrieve data through getHistory.

      Behavior: Async; accepts code; returns a value; invokes this.db .select({ id: nrRegistry.id }) .from(nrRegistry) .wh.

    • Generated

      Executes markAsVerified.

      Parameters

      • code: string

        The code value.

      • userId: string

        The userId value.

      Returns Promise<void>

      The function result.

      Objective: In module packages/db/src/repositories/nr-registry.repository.ts, run markAsVerified.

      Behavior: Async; accepts code and userId; returns a value; invokes this.db .update(nrRegistry) .set({ lastVerifiedAt: new Date(.

    • Generated

      Executes update.

      Parameters

      • code: string

        The code value.

      • updateData: UpdateNrData

        The updateData value.

      • userId: string

        The userId value.

      Returns Promise<NrRegistryEntry>

      The function result.

      Objective: In module packages/db/src/repositories/nr-registry.repository.ts, run update.

      Behavior: Async; accepts code and updateData and userId; returns a value; invokes this.findByCode; may throw.

      When the function cannot complete normally.