mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
The projection these were generated from predated the compute migration, so they described /v1/visor — which the API serves at zero paths now. No /v1/visor path survives here.
51 lines
1.9 KiB
Swift
51 lines
1.9 KiB
Swift
//
|
|
// BlueprintCounts.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct BlueprintCounts: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Principles is how many spine archetypes the playbook carries (64 in the shipped corpus). */
|
|
public var principles: Int64?
|
|
/** Sections is how many phases the journey has. */
|
|
public var sections: Int64?
|
|
/** Steps is how many checklist items the playbook holds, DISABLED ONES INCLUDED — this counts the authored document, not the journey an org runs, so it is normally larger than the `total` on a progress view. */
|
|
public var steps: Int64?
|
|
/** Strategies is how many tactics the corpus holds, again counting disabled ones. */
|
|
public var strategies: Int64?
|
|
/** Templates is how many reusable prompts the playbook carries. */
|
|
public var templates: Int64?
|
|
|
|
public init(principles: Int64? = nil, sections: Int64? = nil, steps: Int64? = nil, strategies: Int64? = nil, templates: Int64? = nil) {
|
|
self.principles = principles
|
|
self.sections = sections
|
|
self.steps = steps
|
|
self.strategies = strategies
|
|
self.templates = templates
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case principles
|
|
case sections
|
|
case steps
|
|
case strategies
|
|
case templates
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(principles, forKey: .principles)
|
|
try container.encodeIfPresent(sections, forKey: .sections)
|
|
try container.encodeIfPresent(steps, forKey: .steps)
|
|
try container.encodeIfPresent(strategies, forKey: .strategies)
|
|
try container.encodeIfPresent(templates, forKey: .templates)
|
|
}
|
|
}
|
|
|