// Generated using Sourcery 1.9.2 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
func registerAllWidgetDecoders(in decoders: inout [String: WidgetRegistry.WidgetDecoder]) {
    HelpWidget.registerDecoder(in: &decoders)
    TextWidget.registerDecoder(in: &decoders)
    TimerWidget.registerDecoder(in: &decoders)
}

func registerAllDocumentation() {
    WidgetDocumentation.all.append(HelpWidget.documentation)
    WidgetDocumentation.all.append(TextWidget.documentation)
    WidgetDocumentation.all.append(TimerWidget.documentation)
}

extension HelpWidget {
    public static var documentation: WidgetDocumentation {
        WidgetDocumentation(
            name: "HelpWidget",
            kind: HelpWidget.kind,
            variables: [
                .init(
                    name: "tag",
                    type: "String?",
                    documentation: ["optional identifier of the help widget", "e.g. specyfing `help` would only show help documentation"],
                    defaultValue: ""
                ),
            ]
        )
    }
}
extension TextWidget {
    public static var documentation: WidgetDocumentation {
        WidgetDocumentation(
            name: "TextWidget",
            kind: TextWidget.kind,
            variables: [
                .init(
                    name: "text",
                    type: "String",
                    documentation: [],
                    defaultValue: ""
                ),
                .init(
                    name: "highlight",
                    type: "Bool",
                    documentation: [],
                    defaultValue: "false"
                ),
            ]
        )
    }
}
extension TimerWidget {
    public static var documentation: WidgetDocumentation {
        WidgetDocumentation(
            name: "TimerWidget",
            kind: TimerWidget.kind,
            variables: [
                .init(
                    name: "date",
                    type: "Date",
                    documentation: [],
                    defaultValue: ""
                ),
            ]
        )
    }
}
