record status as an available property

This commit is contained in:
Mateusz Konieczny 2022-11-05 09:11:25 +01:00
parent adbe79727a
commit 15be5cce40
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ interface PlanningDataOfficialDataEntryProps {
shownData: {
uprn: string;
building_id: number;
status?: string,
description?: string;
planning_application_link?: string;
registered_with_local_authority_date?: string;

View File

@ -176,8 +176,8 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
category: Category.Location,
title: "PLANNING DATA",
tooltip: "PLANNING DATA",
example: [{uprn: "", building_id: 1, "data_source": ""},
{uprn: "", building_id: 1, "data_source": "", decision_date: "", description: "", planning_application_link: "", registered_with_local_authority_date: "", last_synced_date: "", data_source_link: ""},
example: [{uprn: "", building_id: 1, data_source: ""},
{uprn: "", building_id: 1, data_source: "", status: "", decision_date: "", description: "", planning_application_link: "", registered_with_local_authority_date: "", last_synced_date: "", data_source_link: ""},
],
},