From 605aebfb8282e4041b4bedd3b9693181e375ad0c Mon Sep 17 00:00:00 2001 From: Kofo Okesola Date: Sat, 5 Oct 2024 04:58:51 +0100 Subject: [PATCH] added datasources --- apiconfig/apiconfig.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apiconfig/apiconfig.go b/apiconfig/apiconfig.go index c23d587..357f6d5 100644 --- a/apiconfig/apiconfig.go +++ b/apiconfig/apiconfig.go @@ -56,3 +56,9 @@ type ResponseConfig struct { Template string `json:"template"` Type string `json:"type"` } + +type DatasourceConfig struct { + ID string `json:"id"` + Config json.RawMessage `json:"config"` + Type string `json:"type"` +}