mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
move Person type to ui-types
This commit is contained in:
@@ -25,15 +25,16 @@
|
||||
import { Collection, Links } from "./hal";
|
||||
import { Tag } from "./Tags";
|
||||
import { Branch } from "./Branches";
|
||||
import { Person } from "@scm-manager/ui-components/src/avatar/Avatar";
|
||||
|
||||
export type Person = {
|
||||
name: string;
|
||||
mail?: string;
|
||||
};
|
||||
|
||||
export type Changeset = Collection & {
|
||||
id: string;
|
||||
date: Date;
|
||||
author: {
|
||||
name: string;
|
||||
mail?: string;
|
||||
};
|
||||
author: Person;
|
||||
description: string;
|
||||
trailers: Trailer[];
|
||||
_links: Links;
|
||||
|
||||
@@ -29,16 +29,12 @@ export { Me } from "./Me";
|
||||
export { DisplayedUser, User } from "./User";
|
||||
export { Group, Member } from "./Group";
|
||||
|
||||
export {
|
||||
Repository,
|
||||
RepositoryCollection,
|
||||
RepositoryGroup
|
||||
} from "./Repositories";
|
||||
export { Repository, RepositoryCollection, RepositoryGroup } from "./Repositories";
|
||||
export { RepositoryType, RepositoryTypeCollection } from "./RepositoryTypes";
|
||||
|
||||
export { Branch, BranchRequest } from "./Branches";
|
||||
|
||||
export { Changeset } from "./Changesets";
|
||||
export { Changeset, Person, Trailer, ParentChangeset } from "./Changesets";
|
||||
|
||||
export { Tag } from "./Tags";
|
||||
|
||||
@@ -46,22 +42,13 @@ export { Config } from "./Config";
|
||||
|
||||
export { IndexResources } from "./IndexResources";
|
||||
|
||||
export {
|
||||
Permission,
|
||||
PermissionCreateEntry,
|
||||
PermissionCollection
|
||||
} from "./RepositoryPermissions";
|
||||
export { Permission, PermissionCreateEntry, PermissionCollection } from "./RepositoryPermissions";
|
||||
|
||||
export { SubRepository, File } from "./Sources";
|
||||
|
||||
export { SelectValue, AutocompleteObject } from "./Autocomplete";
|
||||
|
||||
export {
|
||||
Plugin,
|
||||
PluginCollection,
|
||||
PluginGroup,
|
||||
PendingPlugins
|
||||
} from "./Plugin";
|
||||
export { Plugin, PluginCollection, PluginGroup, PendingPlugins } from "./Plugin";
|
||||
|
||||
export { RepositoryRole } from "./RepositoryRole";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user