Untitled

 avatar
unknown
plain_text
a year ago
651 B
4
Indexable
export type PlanetProviderType = {
  children: React.ReactNode,
};
export type TipoContexto = {
  resultadoApi: RetornoApi[],
};
export type RetornoApi = {
  name: string,
  rotation_period: string,
  orbital_period: string,
  diameter: string,
  climate: string,
  gravity: string,
  terrain: string,
  surface_water: string,
  population: string,
  films: string[],
  created: string,
  edited: string,
  url: string,
};

export type OpcoesOrdenacaoType = {
  ordem: string,
  direcao: string,
};

export type FiltroType = keyof RetornoApi;

export type TipoInfoForm = {
  nome: string,
  filtro: FiltroType,
  operador: string,
  valor: string,
};
Editor is loading...
Leave a Comment