Skip to content

Commit 006a235

Browse files
Commit via running: make Sources/security-advisories
1 parent 5a888de commit 006a235

File tree

1 file changed

+68
-2
lines changed

1 file changed

+68
-2
lines changed

Sources/security-advisories/Types.swift

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,6 +1924,35 @@ public enum Components {
19241924
///
19251925
/// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
19261926
public var anonymousAccessEnabled: Swift.Bool?
1927+
/// The status of the code search index for this repository
1928+
///
1929+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1930+
public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
1931+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
1932+
public var lexicalSearchOk: Swift.Bool?
1933+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
1934+
public var lexicalCommitSha: Swift.String?
1935+
/// Creates a new `CodeSearchIndexStatusPayload`.
1936+
///
1937+
/// - Parameters:
1938+
/// - lexicalSearchOk:
1939+
/// - lexicalCommitSha:
1940+
public init(
1941+
lexicalSearchOk: Swift.Bool? = nil,
1942+
lexicalCommitSha: Swift.String? = nil
1943+
) {
1944+
self.lexicalSearchOk = lexicalSearchOk
1945+
self.lexicalCommitSha = lexicalCommitSha
1946+
}
1947+
public enum CodingKeys: String, CodingKey {
1948+
case lexicalSearchOk = "lexical_search_ok"
1949+
case lexicalCommitSha = "lexical_commit_sha"
1950+
}
1951+
}
1952+
/// The status of the code search index for this repository
1953+
///
1954+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1955+
public var codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload?
19271956
/// Creates a new `Repository`.
19281957
///
19291958
/// - Parameters:
@@ -2022,6 +2051,7 @@ public enum Components {
20222051
/// - masterBranch:
20232052
/// - starredAt:
20242053
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
2054+
/// - codeSearchIndexStatus: The status of the code search index for this repository
20252055
public init(
20262056
id: Swift.Int64,
20272057
nodeId: Swift.String,
@@ -2117,7 +2147,8 @@ public enum Components {
21172147
watchers: Swift.Int,
21182148
masterBranch: Swift.String? = nil,
21192149
starredAt: Swift.String? = nil,
2120-
anonymousAccessEnabled: Swift.Bool? = nil
2150+
anonymousAccessEnabled: Swift.Bool? = nil,
2151+
codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload? = nil
21212152
) {
21222153
self.id = id
21232154
self.nodeId = nodeId
@@ -2214,6 +2245,7 @@ public enum Components {
22142245
self.masterBranch = masterBranch
22152246
self.starredAt = starredAt
22162247
self.anonymousAccessEnabled = anonymousAccessEnabled
2248+
self.codeSearchIndexStatus = codeSearchIndexStatus
22172249
}
22182250
public enum CodingKeys: String, CodingKey {
22192251
case id
@@ -2311,6 +2343,7 @@ public enum Components {
23112343
case masterBranch = "master_branch"
23122344
case starredAt = "starred_at"
23132345
case anonymousAccessEnabled = "anonymous_access_enabled"
2346+
case codeSearchIndexStatus = "code_search_index_status"
23142347
}
23152348
}
23162349
/// A GitHub repository.
@@ -3489,6 +3522,35 @@ public enum Components {
34893522
///
34903523
/// - Remark: Generated from `#/components/schemas/nullable-repository/anonymous_access_enabled`.
34913524
public var anonymousAccessEnabled: Swift.Bool?
3525+
/// The status of the code search index for this repository
3526+
///
3527+
/// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
3528+
public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
3529+
/// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_search_ok`.
3530+
public var lexicalSearchOk: Swift.Bool?
3531+
/// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_commit_sha`.
3532+
public var lexicalCommitSha: Swift.String?
3533+
/// Creates a new `CodeSearchIndexStatusPayload`.
3534+
///
3535+
/// - Parameters:
3536+
/// - lexicalSearchOk:
3537+
/// - lexicalCommitSha:
3538+
public init(
3539+
lexicalSearchOk: Swift.Bool? = nil,
3540+
lexicalCommitSha: Swift.String? = nil
3541+
) {
3542+
self.lexicalSearchOk = lexicalSearchOk
3543+
self.lexicalCommitSha = lexicalCommitSha
3544+
}
3545+
public enum CodingKeys: String, CodingKey {
3546+
case lexicalSearchOk = "lexical_search_ok"
3547+
case lexicalCommitSha = "lexical_commit_sha"
3548+
}
3549+
}
3550+
/// The status of the code search index for this repository
3551+
///
3552+
/// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
3553+
public var codeSearchIndexStatus: Components.Schemas.NullableRepository.CodeSearchIndexStatusPayload?
34923554
/// Creates a new `NullableRepository`.
34933555
///
34943556
/// - Parameters:
@@ -3587,6 +3649,7 @@ public enum Components {
35873649
/// - masterBranch:
35883650
/// - starredAt:
35893651
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
3652+
/// - codeSearchIndexStatus: The status of the code search index for this repository
35903653
public init(
35913654
id: Swift.Int64,
35923655
nodeId: Swift.String,
@@ -3682,7 +3745,8 @@ public enum Components {
36823745
watchers: Swift.Int,
36833746
masterBranch: Swift.String? = nil,
36843747
starredAt: Swift.String? = nil,
3685-
anonymousAccessEnabled: Swift.Bool? = nil
3748+
anonymousAccessEnabled: Swift.Bool? = nil,
3749+
codeSearchIndexStatus: Components.Schemas.NullableRepository.CodeSearchIndexStatusPayload? = nil
36863750
) {
36873751
self.id = id
36883752
self.nodeId = nodeId
@@ -3779,6 +3843,7 @@ public enum Components {
37793843
self.masterBranch = masterBranch
37803844
self.starredAt = starredAt
37813845
self.anonymousAccessEnabled = anonymousAccessEnabled
3846+
self.codeSearchIndexStatus = codeSearchIndexStatus
37823847
}
37833848
public enum CodingKeys: String, CodingKey {
37843849
case id
@@ -3876,6 +3941,7 @@ public enum Components {
38763941
case masterBranch = "master_branch"
38773942
case starredAt = "starred_at"
38783943
case anonymousAccessEnabled = "anonymous_access_enabled"
3944+
case codeSearchIndexStatus = "code_search_index_status"
38793945
}
38803946
}
38813947
/// Code of Conduct Simple

0 commit comments

Comments
 (0)