diff --git a/backend/app/api/static/docs/docs.go b/backend/app/api/static/docs/docs.go index 8383e37..632b9e5 100644 --- a/backend/app/api/static/docs/docs.go +++ b/backend/app/api/static/docs/docs.go @@ -1925,6 +1925,9 @@ const docTemplate = `{ "date": { "type": "string" }, + "name": { + "type": "string" + }, "value": { "type": "number" } diff --git a/backend/app/api/static/docs/swagger.json b/backend/app/api/static/docs/swagger.json index 3ba718e..69ba931 100644 --- a/backend/app/api/static/docs/swagger.json +++ b/backend/app/api/static/docs/swagger.json @@ -1917,6 +1917,9 @@ "date": { "type": "string" }, + "name": { + "type": "string" + }, "value": { "type": "number" } diff --git a/backend/app/api/static/docs/swagger.yaml b/backend/app/api/static/docs/swagger.yaml index 658a9f3..802fdf8 100644 --- a/backend/app/api/static/docs/swagger.yaml +++ b/backend/app/api/static/docs/swagger.yaml @@ -448,6 +448,8 @@ definitions: properties: date: type: string + name: + type: string value: type: number type: object diff --git a/frontend/lib/api/types/data-contracts.ts b/frontend/lib/api/types/data-contracts.ts index 8799a19..09f10e7 100644 --- a/frontend/lib/api/types/data-contracts.ts +++ b/frontend/lib/api/types/data-contracts.ts @@ -279,6 +279,7 @@ export interface ValueOverTime { export interface ValueOverTimeEntry { date: string; + name: string; value: number; }