MCPcopy
hub / github.com/ory/kratos / ImageAttributes

Struct ImageAttributes

ui/node/attributes.go:136–163  ·  view source on GitHub ↗

ImageAttributes represents the attributes of an image node. swagger:model uiNodeImageAttributes

Source from the content-addressed store, hash-verified

134//
135// swagger:model uiNodeImageAttributes
136type ImageAttributes struct {
137 // The image's source URL.
138 //
139 // format: uri
140 // required: true
141 Source string `json:"src"`
142
143 // A unique identifier
144 //
145 // required: true
146 Identifier string `json:"id"`
147
148 // Width of the image
149 //
150 // required: true
151 Width int `json:"width"`
152
153 // Height of the image
154 //
155 // required: true
156 Height int `json:"height"`
157
158 // NodeType represents this node's types. It is a mirror of `node.type` and
159 // is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "img".
160 //
161 // required: true
162 NodeType UiNodeType `json:"node_type"`
163}
164
165// AnchorAttributes represents the attributes of an anchor node.
166//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected