Implement Gitea user connection foundation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export type UserGitConnectionModel = {
|
||||
id: number;
|
||||
user_id: number;
|
||||
provider: string;
|
||||
provider_label: string;
|
||||
base_url: string;
|
||||
provider_user_id: string;
|
||||
account_login: string;
|
||||
account_name: string | null;
|
||||
created_at: string | null;
|
||||
updated_at: string | null;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -9,6 +9,7 @@ import type { TicketModel } from '@/types/models/ticket-model';
|
||||
import type { TicketPriorityModel } from '@/types/models/ticket-priority-model';
|
||||
import type { TicketTreeNodeModel } from '@/types/models/ticket-tree-node-model';
|
||||
import type { TicketTypeModel } from '@/types/models/ticket-type-model';
|
||||
import type { UserGitConnectionModel } from '@/types/models/user-git-connection-model';
|
||||
import type { UserModel } from '@/types/models/user-model';
|
||||
|
||||
export type AdminUsersPageProps = {
|
||||
@@ -100,3 +101,8 @@ export type ProjectTicketPageProps = {
|
||||
ticketTypes: TicketTypeModel[];
|
||||
users: UserModel[];
|
||||
};
|
||||
|
||||
export type SettingsGitConnectionsPageProps = {
|
||||
gitConnections: UserGitConnectionModel[];
|
||||
status?: string | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user