mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 16:44:45 +00:00
build(protocol): refresh gateway secrets models
This commit is contained in:
@@ -1501,21 +1501,33 @@ public struct SecretsReloadParams: Codable, Sendable {}
|
||||
public struct SecretsResolveParams: Codable, Sendable {
|
||||
public let commandname: String
|
||||
public let targetids: [String]
|
||||
public let allowedpaths: [String]?
|
||||
public let forcedactivepaths: [String]?
|
||||
public let optionalactivepaths: [String]?
|
||||
public let provideroverrides: [String: AnyCodable]?
|
||||
|
||||
public init(
|
||||
commandname: String,
|
||||
targetids: [String],
|
||||
allowedpaths: [String]?,
|
||||
forcedactivepaths: [String]?,
|
||||
optionalactivepaths: [String]?,
|
||||
provideroverrides: [String: AnyCodable]?)
|
||||
{
|
||||
self.commandname = commandname
|
||||
self.targetids = targetids
|
||||
self.allowedpaths = allowedpaths
|
||||
self.forcedactivepaths = forcedactivepaths
|
||||
self.optionalactivepaths = optionalactivepaths
|
||||
self.provideroverrides = provideroverrides
|
||||
}
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case commandname = "commandName"
|
||||
case targetids = "targetIds"
|
||||
case allowedpaths = "allowedPaths"
|
||||
case forcedactivepaths = "forcedActivePaths"
|
||||
case optionalactivepaths = "optionalActivePaths"
|
||||
case provideroverrides = "providerOverrides"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user