elioria-sst-x
    Preparing search index...

    Class SupabaseOnboardingFlowRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByUser.

      Parameters

      • userId: string

        The userId value.

      Returns Promise<OnboardingFlow | null>

      The function result.

      Objective: In module packages/db/src/repositories/onboarding.repository.ts, retrieve data through findByUser.

      Behavior: Async; accepts userId; returns a value; invokes this.db .select() .from(onboardingFlows) .where(eq(onboardin.

    • Generated

      Updates data through updateStep.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • step: number

        The step value.

      • data: unknown

        The data value.

      Returns Promise<OnboardingFlow>

      The function result.

      Objective: In module packages/db/src/repositories/onboarding.repository.ts, change data through updateStep.

      Behavior: Async; accepts id and tenantId and step and data; returns a value; invokes this.db .select({ completedSteps: onboardingFlows.completedS.