Skip to content

Commit

Permalink
v14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Mar 11, 2025
1 parent eea4f32 commit 9b47333
Show file tree
Hide file tree
Showing 9 changed files with 297 additions and 282 deletions.
7 changes: 7 additions & 0 deletions dist/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ interface Contributor$1 {
}>;
admin_rights: string[];
role_id: number;
uuid?: string;
}

declare class Contributor extends BaseModel implements Contributor$1 {
Expand All @@ -567,6 +568,7 @@ declare class Contributor extends BaseModel implements Contributor$1 {
}>;
admin_rights: string[];
role_id: number;
uuid?: string;
}

type ContributorRights = "upload" | "activity" | "download" | "settings" | "create_branches" | "statistics" | "keys" | "screenshots" | "glossary" | "contributors" | "languages" | "tasks";
Expand Down Expand Up @@ -603,6 +605,7 @@ declare class Contributors extends BaseCollection<Contributor> {
list(request_params: ProjectWithPagination): Promise<PaginatedResult$1<Contributor>>;
create(contributor_params: ContributorCreateData | ContributorCreateData[], request_params: ProjectOnly): Promise<Contributor[]>;
get(contributor_id: string | number, request_params: ProjectOnly): Promise<Contributor>;
me(request_params: ProjectOnly): Promise<Contributor>;
update(contributor_id: string | number, contributor_params: ContributorUpdateData, request_params: ProjectOnly): Promise<Contributor>;
delete(contributor_id: string | number, request_params: ProjectOnly): Promise<ContributorDeleted>;
}
Expand Down Expand Up @@ -1268,6 +1271,7 @@ interface ProjectStatistics {
interface Project$1 {
project_id: string;
project_type: string;
uuid?: string;
name: string;
description: string;
created_at: string;
Expand Down Expand Up @@ -1408,6 +1412,7 @@ interface TeamUser$1 {
created_at: string;
created_at_timestamp: number;
role: string;
uuid?: string;
}

interface Team$1 {
Expand Down Expand Up @@ -2536,6 +2541,7 @@ declare class PermissionTemplates extends BaseCollection<PermissionTemplate> {
declare class Project extends BaseModel implements Project$1 {
project_id: string;
project_type: string;
uuid?: string;
name: string;
description: string;
created_at: string;
Expand Down Expand Up @@ -2765,6 +2771,7 @@ declare class TeamUser extends BaseModel implements TeamUser$1 {
created_at: string;
created_at_timestamp: number;
role: string;
uuid?: string;
}

declare class TeamUsers extends BaseCollection<TeamUser> {
Expand Down
3 changes: 3 additions & 0 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/additional_info/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 14.1.0 (11-Mar-2025)

* Added `uuid` fields to contrbiturs and projects for internal purposes
* Added `/me` endpoint (contributors) for internal purposes

## 14.0.0 (04-Mar-2025)

* Compile with Typescript 5.8.0
Expand Down
Loading

0 comments on commit 9b47333

Please sign in to comment.