mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
19 lines
451 B
Swift
19 lines
451 B
Swift
public struct TemplatesContext {
|
|
@usableFromInline
|
|
let templates: [TemplateName: Any]
|
|
@usableFromInline
|
|
let templateToType: [TemplateName: String]
|
|
@usableFromInline
|
|
var templateData: [String: Any]
|
|
|
|
init(
|
|
templates: [TemplateName: Any],
|
|
templateToType: [TemplateName: String],
|
|
templateData: [String: Any]
|
|
) {
|
|
self.templates = templates
|
|
self.templateToType = templateToType
|
|
self.templateData = templateData
|
|
}
|
|
}
|