Implement projects and project keys
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export type ProjectModel = {
|
||||
id: number;
|
||||
name: string;
|
||||
key: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -1,6 +1,15 @@
|
||||
import type { ProjectModel } from '@/types/models/project-model';
|
||||
import type { UserModel } from '@/types/models/user-model';
|
||||
|
||||
export type AdminUsersPageProps = {
|
||||
users: UserModel[];
|
||||
status?: string | null;
|
||||
};
|
||||
|
||||
export type ProjectsIndexPageProps = {
|
||||
projects: ProjectModel[];
|
||||
};
|
||||
|
||||
export type ProjectShowPageProps = {
|
||||
project: ProjectModel;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user