reedo types
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import type { Team, TeamInvite } from '@/types/models';
|
||||
|
||||
export type TeamEditPageProps = {
|
||||
team: Team;
|
||||
};
|
||||
|
||||
export type TeamShowPageProps = {
|
||||
team: Team;
|
||||
canManageTeam: boolean;
|
||||
teamInvites?: TeamInvite[];
|
||||
};
|
||||
|
||||
export type TeamIndexPageProps = {
|
||||
teams: Team[];
|
||||
};
|
||||
@@ -1,16 +0,0 @@
|
||||
export type TeamSlugProps = {
|
||||
name: string;
|
||||
ignoredSlug?: string;
|
||||
error?: string;
|
||||
};
|
||||
|
||||
export type TeamSlugRequest = {
|
||||
name: string;
|
||||
ignored_slug: string | null;
|
||||
};
|
||||
|
||||
export type TeamSlugResponse = {
|
||||
name: string;
|
||||
slug: string;
|
||||
taken: boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user