Skip to content

Commit ccffa01

Browse files
Commit via running: make Sources/search
1 parent e6ee068 commit ccffa01

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

Sources/search/Types.swift

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,35 @@ public enum Components {
12551255
///
12561256
/// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
12571257
public var anonymousAccessEnabled: Swift.Bool?
1258+
/// The status of the code search index for this repository
1259+
///
1260+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1261+
public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
1262+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
1263+
public var lexicalSearchOk: Swift.Bool?
1264+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
1265+
public var lexicalCommitSha: Swift.String?
1266+
/// Creates a new `CodeSearchIndexStatusPayload`.
1267+
///
1268+
/// - Parameters:
1269+
/// - lexicalSearchOk:
1270+
/// - lexicalCommitSha:
1271+
public init(
1272+
lexicalSearchOk: Swift.Bool? = nil,
1273+
lexicalCommitSha: Swift.String? = nil
1274+
) {
1275+
self.lexicalSearchOk = lexicalSearchOk
1276+
self.lexicalCommitSha = lexicalCommitSha
1277+
}
1278+
public enum CodingKeys: String, CodingKey {
1279+
case lexicalSearchOk = "lexical_search_ok"
1280+
case lexicalCommitSha = "lexical_commit_sha"
1281+
}
1282+
}
1283+
/// The status of the code search index for this repository
1284+
///
1285+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1286+
public var codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload?
12581287
/// Creates a new `Repository`.
12591288
///
12601289
/// - Parameters:
@@ -1353,6 +1382,7 @@ public enum Components {
13531382
/// - masterBranch:
13541383
/// - starredAt:
13551384
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
1385+
/// - codeSearchIndexStatus: The status of the code search index for this repository
13561386
public init(
13571387
id: Swift.Int64,
13581388
nodeId: Swift.String,
@@ -1448,7 +1478,8 @@ public enum Components {
14481478
watchers: Swift.Int,
14491479
masterBranch: Swift.String? = nil,
14501480
starredAt: Swift.String? = nil,
1451-
anonymousAccessEnabled: Swift.Bool? = nil
1481+
anonymousAccessEnabled: Swift.Bool? = nil,
1482+
codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload? = nil
14521483
) {
14531484
self.id = id
14541485
self.nodeId = nodeId
@@ -1545,6 +1576,7 @@ public enum Components {
15451576
self.masterBranch = masterBranch
15461577
self.starredAt = starredAt
15471578
self.anonymousAccessEnabled = anonymousAccessEnabled
1579+
self.codeSearchIndexStatus = codeSearchIndexStatus
15481580
}
15491581
public enum CodingKeys: String, CodingKey {
15501582
case id
@@ -1642,6 +1674,7 @@ public enum Components {
16421674
case masterBranch = "master_branch"
16431675
case starredAt = "starred_at"
16441676
case anonymousAccessEnabled = "anonymous_access_enabled"
1677+
case codeSearchIndexStatus = "code_search_index_status"
16451678
}
16461679
}
16471680
/// Code Of Conduct

0 commit comments

Comments
 (0)