rename trailer to contributor

This commit is contained in:
Sebastian Sdorra
2020-06-10 11:08:11 +02:00
parent 53fc01b0ba
commit acc3306450
20 changed files with 180 additions and 172 deletions

View File

@@ -36,7 +36,7 @@ export type Changeset = Collection & {
date: Date;
author: Person;
description: string;
trailers: Trailer[];
contributors: Contributor[];
_links: Links;
_embedded: {
tags?: Tag[];
@@ -45,9 +45,9 @@ export type Changeset = Collection & {
};
};
export type Trailer = {
export type Contributor = {
person: Person;
trailerType: string;
type: string;
};
export type ParentChangeset = {

View File

@@ -34,7 +34,7 @@ export { RepositoryType, RepositoryTypeCollection } from "./RepositoryTypes";
export { Branch, BranchRequest } from "./Branches";
export { Changeset, Person, Trailer, ParentChangeset } from "./Changesets";
export { Changeset, Person, Contributor, ParentChangeset } from "./Changesets";
export { Tag } from "./Tags";