build(protocol): refresh gateway secrets models

This commit is contained in:
Peter Steinberger
2026-05-17 10:07:52 +01:00
parent d66fe50a10
commit 9616aa6e5a

View File

@@ -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"
}
}