Skip to content

Commit 223a197

Browse files
Commit via running: make Sources/migrations
1 parent 00b94ef commit 223a197

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

Sources/migrations/Types.swift

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,35 @@ public enum Components {
16281628
///
16291629
/// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
16301630
public var anonymousAccessEnabled: Swift.Bool?
1631+
/// The status of the code search index for this repository
1632+
///
1633+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1634+
public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
1635+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
1636+
public var lexicalSearchOk: Swift.Bool?
1637+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
1638+
public var lexicalCommitSha: Swift.String?
1639+
/// Creates a new `CodeSearchIndexStatusPayload`.
1640+
///
1641+
/// - Parameters:
1642+
/// - lexicalSearchOk:
1643+
/// - lexicalCommitSha:
1644+
public init(
1645+
lexicalSearchOk: Swift.Bool? = nil,
1646+
lexicalCommitSha: Swift.String? = nil
1647+
) {
1648+
self.lexicalSearchOk = lexicalSearchOk
1649+
self.lexicalCommitSha = lexicalCommitSha
1650+
}
1651+
public enum CodingKeys: String, CodingKey {
1652+
case lexicalSearchOk = "lexical_search_ok"
1653+
case lexicalCommitSha = "lexical_commit_sha"
1654+
}
1655+
}
1656+
/// The status of the code search index for this repository
1657+
///
1658+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1659+
public var codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload?
16311660
/// Creates a new `Repository`.
16321661
///
16331662
/// - Parameters:
@@ -1726,6 +1755,7 @@ public enum Components {
17261755
/// - masterBranch:
17271756
/// - starredAt:
17281757
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
1758+
/// - codeSearchIndexStatus: The status of the code search index for this repository
17291759
public init(
17301760
id: Swift.Int64,
17311761
nodeId: Swift.String,
@@ -1821,7 +1851,8 @@ public enum Components {
18211851
watchers: Swift.Int,
18221852
masterBranch: Swift.String? = nil,
18231853
starredAt: Swift.String? = nil,
1824-
anonymousAccessEnabled: Swift.Bool? = nil
1854+
anonymousAccessEnabled: Swift.Bool? = nil,
1855+
codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload? = nil
18251856
) {
18261857
self.id = id
18271858
self.nodeId = nodeId
@@ -1918,6 +1949,7 @@ public enum Components {
19181949
self.masterBranch = masterBranch
19191950
self.starredAt = starredAt
19201951
self.anonymousAccessEnabled = anonymousAccessEnabled
1952+
self.codeSearchIndexStatus = codeSearchIndexStatus
19211953
}
19221954
public enum CodingKeys: String, CodingKey {
19231955
case id
@@ -2015,6 +2047,7 @@ public enum Components {
20152047
case masterBranch = "master_branch"
20162048
case starredAt = "starred_at"
20172049
case anonymousAccessEnabled = "anonymous_access_enabled"
2050+
case codeSearchIndexStatus = "code_search_index_status"
20182051
}
20192052
}
20202053
/// Code Of Conduct

0 commit comments

Comments
 (0)