fix: sync protocol outputs
This commit is contained in:
@@ -1472,70 +1472,6 @@ public struct CronAddParams: Codable, Sendable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct CronUpdateParams: Codable, Sendable {
|
|
||||||
public let id: String
|
|
||||||
public let patch: [String: AnyCodable]
|
|
||||||
|
|
||||||
public init(
|
|
||||||
id: String,
|
|
||||||
patch: [String: AnyCodable]
|
|
||||||
) {
|
|
||||||
self.id = id
|
|
||||||
self.patch = patch
|
|
||||||
}
|
|
||||||
private enum CodingKeys: String, CodingKey {
|
|
||||||
case id
|
|
||||||
case patch
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct CronRemoveParams: Codable, Sendable {
|
|
||||||
public let id: String
|
|
||||||
|
|
||||||
public init(
|
|
||||||
id: String
|
|
||||||
) {
|
|
||||||
self.id = id
|
|
||||||
}
|
|
||||||
private enum CodingKeys: String, CodingKey {
|
|
||||||
case id
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct CronRunParams: Codable, Sendable {
|
|
||||||
public let id: String
|
|
||||||
public let mode: AnyCodable?
|
|
||||||
|
|
||||||
public init(
|
|
||||||
id: String,
|
|
||||||
mode: AnyCodable?
|
|
||||||
) {
|
|
||||||
self.id = id
|
|
||||||
self.mode = mode
|
|
||||||
}
|
|
||||||
private enum CodingKeys: String, CodingKey {
|
|
||||||
case id
|
|
||||||
case mode
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct CronRunsParams: Codable, Sendable {
|
|
||||||
public let id: String
|
|
||||||
public let limit: Int?
|
|
||||||
|
|
||||||
public init(
|
|
||||||
id: String,
|
|
||||||
limit: Int?
|
|
||||||
) {
|
|
||||||
self.id = id
|
|
||||||
self.limit = limit
|
|
||||||
}
|
|
||||||
private enum CodingKeys: String, CodingKey {
|
|
||||||
case id
|
|
||||||
case limit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct CronRunLogEntry: Codable, Sendable {
|
public struct CronRunLogEntry: Codable, Sendable {
|
||||||
public let ts: Int
|
public let ts: Int
|
||||||
public let jobid: String
|
public let jobid: String
|
||||||
|
|||||||
Reference in New Issue
Block a user