Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Commit via running: make Sources/repos
  • Loading branch information
dependabot[bot] committed Jun 16, 2025
commit 99b6a78628048de3d6e74265da8c7f1070fb2660
46 changes: 37 additions & 9 deletions Sources/repos/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9029,6 +9029,30 @@ public enum Components {
public var webCommitSignoffRequired: Swift.Bool?
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
/// A container of undocumented properties.
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
/// Creates a new `CustomPropertiesPayload`.
///
/// - Parameters:
/// - additionalProperties: A container of undocumented properties.
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
self.additionalProperties = additionalProperties
}
public init(from decoder: any Decoder) throws {
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
}
public func encode(to encoder: any Encoder) throws {
try encoder.encodeAdditionalProperties(additionalProperties)
}
}
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
/// Creates a new `MinimalRepository`.
///
/// - Parameters:
Expand Down Expand Up @@ -9119,6 +9143,7 @@ public enum Components {
/// - allowForking:
/// - webCommitSignoffRequired:
/// - securityAndAnalysis:
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
public init(
id: Swift.Int64,
nodeId: Swift.String,
Expand Down Expand Up @@ -9206,7 +9231,8 @@ public enum Components {
watchers: Swift.Int? = nil,
allowForking: Swift.Bool? = nil,
webCommitSignoffRequired: Swift.Bool? = nil,
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
) {
self.id = id
self.nodeId = nodeId
Expand Down Expand Up @@ -9295,6 +9321,7 @@ public enum Components {
self.allowForking = allowForking
self.webCommitSignoffRequired = webCommitSignoffRequired
self.securityAndAnalysis = securityAndAnalysis
self.customProperties = customProperties
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -9384,6 +9411,7 @@ public enum Components {
case allowForking = "allow_forking"
case webCommitSignoffRequired = "web_commit_signoff_required"
case securityAndAnalysis = "security_and_analysis"
case customProperties = "custom_properties"
}
}
/// An object without any properties.
Expand Down Expand Up @@ -22799,7 +22827,7 @@ public enum Components {
public typealias RepositoryNameInQuery = Swift.String
/// The time period to filter by.
///
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
///
/// - Remark: Generated from `#/components/parameters/time-period`.
@frozen public enum TimePeriod: String, Codable, Hashable, Sendable, CaseIterable {
Expand All @@ -22812,7 +22840,7 @@ public enum Components {
///
/// - Remark: Generated from `#/components/parameters/actor-name-in-query`.
public typealias ActorNameInQuery = Swift.String
/// The rule results to filter on. When specified, only suites with this result will be returned.
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
///
/// - Remark: Generated from `#/components/parameters/rule-suite-result`.
@frozen public enum RuleSuiteResult: String, Codable, Hashable, Sendable, CaseIterable {
Expand Down Expand Up @@ -24594,7 +24622,7 @@ public enum Operations {
}
/// The time period to filter by.
///
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
///
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/time_period`.
public var timePeriod: Components.Parameters.TimePeriod?
Expand All @@ -24609,7 +24637,7 @@ public enum Operations {
case bypass = "bypass"
case all = "all"
}
/// The rule results to filter on. When specified, only suites with this result will be returned.
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
///
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/rule_suite_result`.
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
Expand All @@ -24628,7 +24656,7 @@ public enum Operations {
/// - repositoryName: The name of the repository to filter on.
/// - timePeriod: The time period to filter by.
/// - actorName: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
/// - ruleSuiteResult: The rule results to filter on. When specified, only suites with this result will be returned.
/// - ruleSuiteResult: The rule suite results to filter on. When specified, only suites with this result will be returned.
/// - perPage: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
public init(
Expand Down Expand Up @@ -58293,7 +58321,7 @@ public enum Operations {
}
/// The time period to filter by.
///
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
///
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/time_period`.
public var timePeriod: Components.Parameters.TimePeriod?
Expand All @@ -58308,7 +58336,7 @@ public enum Operations {
case bypass = "bypass"
case all = "all"
}
/// The rule results to filter on. When specified, only suites with this result will be returned.
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
///
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/rule_suite_result`.
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
Expand All @@ -58326,7 +58354,7 @@ public enum Operations {
/// - ref: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned.
/// - timePeriod: The time period to filter by.
/// - actorName: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
/// - ruleSuiteResult: The rule results to filter on. When specified, only suites with this result will be returned.
/// - ruleSuiteResult: The rule suite results to filter on. When specified, only suites with this result will be returned.
/// - perPage: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
public init(
Expand Down