Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GitHubAssignees.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function New-GithubAssignee
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory)]
[ValidateCount(1, 10)]
Expand Down Expand Up @@ -343,7 +343,7 @@ function Remove-GithubAssignee
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory)]
[string[]] $Assignee,
Expand Down
4 changes: 2 additions & 2 deletions GitHubComments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function Get-GitHubComment

[Parameter(Mandatory, ParameterSetName='IssueUri')]
[Parameter(Mandatory, ParameterSetName='IssueElements')]
[int] $Issue,
[int64] $Issue,

[Parameter(ParameterSetName='RepositoryUri')]
[Parameter(ParameterSetName='RepositoryElements')]
Expand Down Expand Up @@ -257,7 +257,7 @@ function New-GitHubComment
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory)]
[string] $Body,
Expand Down
4 changes: 2 additions & 2 deletions GitHubEvents.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ function Get-GitHubEvent

[Parameter(Mandatory, ParameterSetName='EventUri')]
[Parameter(Mandatory, ParameterSetName='EventElements')]
[int] $EventID,
[int64] $EventID,

[Parameter(Mandatory, ParameterSetName='IssueUri')]
[Parameter(Mandatory, ParameterSetName='IssueElements')]
[int] $Issue,
[int64] $Issue,

[string] $AccessToken,

Expand Down
14 changes: 7 additions & 7 deletions GitHubIssues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function Get-GitHubIssue
[ValidateSet('All', 'OwnedAndMember')]
[string] $RepositoryType = 'All',

[int] $Issue,
[int64] $Issue,

[switch] $IgnorePullRequests,

Expand Down Expand Up @@ -391,7 +391,7 @@ function Get-GitHubIssueTimeline
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[string] $AccessToken,

Expand Down Expand Up @@ -506,7 +506,7 @@ function New-GitHubIssue

[string[]] $Assignee,

[int] $Milestone,
[int64] $Milestone,

[string[]] $Label,

Expand Down Expand Up @@ -639,15 +639,15 @@ function Update-GitHubIssue
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[string] $Title,

[string] $Body,

[string[]] $Assignee,

[int] $Milestone,
[int64] $Milestone,

[string[]] $Label,

Expand Down Expand Up @@ -764,7 +764,7 @@ function Lock-GitHubIssue
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[ValidateSet('OffTopic', 'TooHeated', 'Resolved', 'Spam')]
[string] $Reason,
Expand Down Expand Up @@ -874,7 +874,7 @@ param(
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[string] $AccessToken,

Expand Down
10 changes: 5 additions & 5 deletions GitHubLabels.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ function Get-GitHubLabel

[Parameter(Mandatory, ParameterSetName='IssueUri')]
[Parameter(Mandatory, ParameterSetName='IssueElements')]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory, ParameterSetName='MilestoneUri')]
[Parameter(Mandatory, ParameterSetName='MilestoneElements')]
[int] $Milestone,
[int64] $Milestone,

[string] $AccessToken,

Expand Down Expand Up @@ -675,7 +675,7 @@ function Add-GitHubIssueLabel
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory)]
[Alias('LabelName')]
Expand Down Expand Up @@ -776,7 +776,7 @@ function Set-GitHubIssueLabel
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[Parameter(Mandatory)]
[Alias('LabelName')]
Expand Down Expand Up @@ -877,7 +877,7 @@ function Remove-GitHubIssueLabel
[string] $Uri,

[Parameter(Mandatory)]
[int] $Issue,
[int64] $Issue,

[ValidateNotNullOrEmpty()]
[Alias('LabelName')]
Expand Down
4 changes: 2 additions & 2 deletions GitHubMilestones.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function Get-GitHubMilestone

[Parameter(Mandatory, ParameterSetName='MilestoneUri')]
[Parameter(Mandatory, ParameterSetName='MilestoneElements')]
[int] $Milestone,
[int64] $Milestone,

[Parameter(ParameterSetName='RepositoryUri')]
[Parameter(ParameterSetName='RepositoryElements')]
Expand Down Expand Up @@ -350,7 +350,7 @@ function Set-GitHubMilestone

[Parameter(Mandatory, ParameterSetName='Uri')]
[Parameter(Mandatory, ParameterSetName='Elements')]
[int] $Milestone,
[int64] $Milestone,

[Parameter(Mandatory, ParameterSetName='Uri')]
[Parameter(Mandatory, ParameterSetName='Elements')]
Expand Down
4 changes: 2 additions & 2 deletions GitHubRepositories.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function New-GitHubRepository

[string] $LicenseTemplate,

[int] $TeamId,
[int64] $TeamId,

[switch] $Private,

Expand Down Expand Up @@ -1271,7 +1271,7 @@ function Move-GitHubRepositoryOwnership
[ValidateNotNullOrEmpty()]
[string] $NewOwnerName,

[int[]] $TeamId,
[int64[]] $TeamId,

[string] $AccessToken,

Expand Down
2 changes: 1 addition & 1 deletion GitHubTeams.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function Get-GitHubTeamMember
[Parameter(
Mandatory,
ParameterSetName='ID')]
[int] $TeamId,
[int64] $TeamId,

[string] $AccessToken,

Expand Down