Circle V2 API Docs
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • options: DbRepoOptions

      Returns CasesRepo

    Properties

    supabase: SupabaseClient<Database>

    Methods

    • Parameters

      • patientId: number

      Returns Promise<
          {
              created_at: string;
              created_by: string
              | null;
              id: number;
              is_patient_case: boolean;
              patient_id: number | null;
              status: string | null;
              summary: string | null;
              title: string | null;
              updated_at: string | null;
          },
      >

    • Parameters

      • patientId: number

      Returns Promise<
          {
              created: boolean;
              patientCase: {
                  created_at: string;
                  created_by: string
                  | null;
                  id: number;
                  is_patient_case: boolean;
                  patient_id: number | null;
                  status: string | null;
                  summary: string | null;
                  title: string | null;
                  updated_at: string | null;
              };
          },
      >

    • Parameters

      • patientId: number

      Returns Promise<
          | {
              created_at: string;
              created_by: string
              | null;
              id: number;
              is_patient_case: boolean;
              patient_id: number | null;
              status: string | null;
              summary: string | null;
              title: string | null;
              updated_at: string | null;
          }
          | null,
      >

    • Parameters

      • patientId: number

      Returns Promise<
          {
              created_at: string;
              created_by: string
              | null;
              id: number;
              is_patient_case: boolean;
              patient_id: number | null;
              status: string | null;
              summary: string | null;
              title: string | null;
              updated_at: string | null;
          },
      >

    • Parameters

      • options: { supabase: SupabaseClient<Database> }

      Returns this