Implement Gitea user connection foundation

This commit is contained in:
2026-03-26 08:56:52 +01:00
parent ec5b531e5e
commit 5f52d050ee
23 changed files with 1206 additions and 1 deletions
@@ -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;
};
+6
View File
@@ -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;
};