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: { shownData: {
uprn: string; uprn: string;
building_id: number; building_id: number;
status?: string,
description?: string; description?: string;
planning_application_link?: string; planning_application_link?: string;
registered_with_local_authority_date?: string; registered_with_local_authority_date?: string;

View File

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