@quadnix/octo/types
Index
Functions/Dependency
References
Services/State Management
Types
References
DiffAction
Re-exports DiffAction
ServiceType
Re-exports ServiceType
Services/State Management
ExternalResourceStateFile
inputs
Type declaration
[key string]: unknown
properties
Type declaration
[key string]: unknown
response
Type declaration
[key string]: string
ImportStateFile
imports.json: the sealed state of each app this one extends (extends:<index>) and each store it
reads (stores:<name>), as the last generate read them, so every later command of the run reads
the same.
Type declaration
[importKey string]: { modelState: ModelStateFile; resourceState: ResourceStateFile }
ModelStateFile
models.json: the model graph as it stands after the last commit.
data
userData
ResourceStateFile
resources-actual.json, the resource graph as it stands after the last commit, and
resources-old.json, the resource graph as intent described it on the last commit.
data
userData
Types
ModelSerializedOutput
The model graph as written to models.json.
nodeNamenames the base model an entry extends, and types itsmodelas that base model's schema. A model's own fields beyond it are not typed.modulesrecord inputs before references resolve.
anchors
dependencies
models
Type declaration
[context string]: { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N } | { className: string; model: BaseModelSchemas[N]; moduleId: string; nodeName: N }
modules
Type declaration
[moduleId string]: { className: string; inputs: {} }
overlays
ResourceSerializedOutput
The resource graph as written to resources-actual.json and resources-old.json.
createdByis the context of the model or overlay whose action created the resource.modelsrecord the context of every model and overlay whose action produced the resource.copiedResourcesholds a copy of every resource of another app that this app's resources stand on, such as a store's, and of their parents in turn, as this app last saw them. They rebuild this app's resources, and are never this app's own.
optionalcopiedResources
dependencies
resources
Type declaration
[context string]: { className: string; createdBy?: string; kind: external | terraform; models: string[]; moduleId: string; resource: ResourceSerializedSchema }
resource-state-<resourceId>.json, with each/of the id written as.: what an external resource's action made of it — the inputs it was given, the properties it was asked for, and the response it produced. It exists only between the action succeeding and thecommitthat folds it into the resource graph, and while it exists it is the truth about that resource.Services/State Management