feat(schemas): add repository settings and user restore token fields
- Add allow_forking, allow_merge_commit, allow_rebase_merge, allow_squash_merge fields to repo schemas - Add delete_branch_on_merge field to repository models and schemas - Add has_issues, has_pull_requests, has_wiki, homepage fields to repo schemas - Add topics array field to repository schemas and models - Add restore_token_expires_at and restore_token_hash fields to user schemas - Remove UserAvatarResponse and UploadUserAvatarParams schemas completely - Update CreateRepoParams and UpdateRepoParams with new repository settings - Modify CreateTemplateParams and UpdateTemplateParams with notification template fields - Remove description from SetBranchProtectionParams schema - Delete App.css and auth.css files completely - Update App.tsx with routing migration notes
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { NotificationType } from './NotificationType';
|
||||
import type { Priority } from './Priority';
|
||||
import type { RepoBaseInfo } from './RepoBaseInfo';
|
||||
import type { TargetType } from './TargetType';
|
||||
import type { UserBaseInfo } from './UserBaseInfo';
|
||||
import type { WorkspaceBaseInfo } from './WorkspaceBaseInfo';
|
||||
export type ApiResponse_NotificationDetail = {
|
||||
data: {
|
||||
action_url?: string | null;
|
||||
actor?: (null | UserBaseInfo);
|
||||
body?: string | null;
|
||||
channel_id?: string | null;
|
||||
created_at: string;
|
||||
deleted_at?: string | null;
|
||||
dismissed_at?: string | null;
|
||||
id: string;
|
||||
issue_id?: string | null;
|
||||
message_id?: string | null;
|
||||
metadata: any;
|
||||
notification_type: NotificationType;
|
||||
priority: Priority;
|
||||
pull_request_id?: string | null;
|
||||
read_at?: string | null;
|
||||
repo?: (null | RepoBaseInfo);
|
||||
target_id?: string | null;
|
||||
target_type?: (null | TargetType);
|
||||
title: string;
|
||||
updated_at: string;
|
||||
user_id: string;
|
||||
workspace?: (null | WorkspaceBaseInfo);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user