ScriptAttributes represent script nodes which load javascript. swagger:model uiNodeScriptAttributes
| 214 | // |
| 215 | // swagger:model uiNodeScriptAttributes |
| 216 | type ScriptAttributes struct { |
| 217 | // The script source |
| 218 | // |
| 219 | // required: true |
| 220 | Source string `json:"src"` |
| 221 | |
| 222 | // The script async type |
| 223 | // |
| 224 | // required: true |
| 225 | Async bool `json:"async"` |
| 226 | |
| 227 | // The script referrer policy |
| 228 | // |
| 229 | // required: true |
| 230 | ReferrerPolicy string `json:"referrerpolicy"` |
| 231 | |
| 232 | // The script cross origin policy |
| 233 | // |
| 234 | // required: true |
| 235 | CrossOrigin string `json:"crossorigin"` |
| 236 | |
| 237 | // The script's integrity hash |
| 238 | // |
| 239 | // required: true |
| 240 | Integrity string `json:"integrity"` |
| 241 | |
| 242 | // The script MIME type |
| 243 | // |
| 244 | // required: true |
| 245 | Type string `json:"type"` |
| 246 | |
| 247 | // A unique identifier |
| 248 | // |
| 249 | // required: true |
| 250 | Identifier string `json:"id"` |
| 251 | |
| 252 | // Nonce for CSP |
| 253 | // |
| 254 | // A nonce you may want to use to improve your Content Security Policy. |
| 255 | // You do not have to use this value but if you want to improve your CSP |
| 256 | // policies you may use it. You can also choose to use your own nonce value! |
| 257 | // |
| 258 | // required: true |
| 259 | Nonce string `json:"nonce"` |
| 260 | |
| 261 | // NodeType represents this node's types. It is a mirror of `node.type` and |
| 262 | // is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "script". |
| 263 | // |
| 264 | // required: true |
| 265 | NodeType UiNodeType `json:"node_type"` |
| 266 | } |
| 267 | |
| 268 | // DivisionAttributes represent a division section. |
| 269 | // |
nothing calls this directly
no outgoing calls
no test coverage detected