Untitled
unknown
plain_text
2 years ago
651 B
7
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