mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
Get links for repositories by namespaces from server
This commit is contained in:
@@ -39,12 +39,19 @@ export type RepositoryCreation = Repository & {
|
||||
contextEntries: { [key: string]: any };
|
||||
};
|
||||
|
||||
export type Namespace = {
|
||||
namespace: string;
|
||||
_links: Links;
|
||||
};
|
||||
|
||||
export type RepositoryCollection = PagedCollection & {
|
||||
_embedded: {
|
||||
repositories: Repository[] | string[];
|
||||
};
|
||||
};
|
||||
|
||||
export type NamespaceCollection = Namespace[];
|
||||
|
||||
export type RepositoryGroup = {
|
||||
name: string;
|
||||
repositories: Repository[];
|
||||
|
||||
@@ -29,7 +29,7 @@ export { Me } from "./Me";
|
||||
export { DisplayedUser, User } from "./User";
|
||||
export { Group, Member } from "./Group";
|
||||
|
||||
export { Repository, RepositoryCollection, RepositoryGroup, RepositoryCreation } from "./Repositories";
|
||||
export { Repository, RepositoryCollection, RepositoryGroup, RepositoryCreation, Namespace, NamespaceCollection } from "./Repositories";
|
||||
export { RepositoryType, RepositoryTypeCollection } from "./RepositoryTypes";
|
||||
|
||||
export { Branch, BranchRequest } from "./Branches";
|
||||
|
||||
Reference in New Issue
Block a user