Skip to content

Commit

Permalink
Include id as an optional addition for when using the accessLevel pro…
Browse files Browse the repository at this point in the history
…perty
  • Loading branch information
jdalrymple committed Aug 9, 2023
1 parent 78fe091 commit cc92558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/resources/ProtectedBranches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ export interface ProtectedBranchSchema extends Record<string, unknown> {
}

export type ProtectedBranchAllowOptions = OneOf<{
id: number;
userId: number;
groupId: number;
accessLevel: ProtectedBranchAccessLevel;
}>;

export type EditsProtectedBranchAllowOptions = {
_destroy?: boolean;
id?: number;
} & ProtectedBranchAllowOptions;

export type CreateProtectedBranchOptions = {
Expand Down

0 comments on commit cc92558

Please sign in to comment.