pankod/refine

View on GitHub
packages/devtools-ui/src/interfaces/api.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type RaffleResponse =
  | {
      raffle: true;
      calendlyURL: string;
    }
  | {
      raffle: false;
    };

export type MeResponse = {
  company: string | null;
  createdAt: string;
  email: string;
  externalId: string | null;
  id: string;
  identityId: string;
  isActive: boolean;
  jobTitle: string | null;
  metadata: unknown | null;
  name: string | null;
  provider: string;
  updatedAt: string;
  userOrganizations: unknown[];
};

export type MeUpdateVariables = {
  name: string;
  company: string;
  jobTitle: string;
};

export type ProjectIdResponse = {
  projectId: string | null;
};