fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -34,15 +34,42 @@ export type ContextReference = {
|
||||
version: number | string | null;
|
||||
sha256: string;
|
||||
fields: Record<string, string>;
|
||||
analysis?: {documented_sector?: string | null; documented_location?: string | null; [key:string]:unknown};
|
||||
analysis?: {
|
||||
documented_sector?: string | null;
|
||||
documented_location?: string | null;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
documents?: ContextDocument[];
|
||||
visibility?: 'private' | 'public';
|
||||
state?: string | null;
|
||||
};
|
||||
export type RequirementsAssessment = {version: string; fiscal_notice: string; requirements: {opportunity_key: string; opportunity_title: string; code: string; title: string; state: string; step: string; authority: string; documents: string[]; basis: string; source_url: string; decision: string}[]};
|
||||
export type RequirementsAssessment = {
|
||||
version: string;
|
||||
fiscal_notice: string;
|
||||
requirements: {
|
||||
opportunity_key: string;
|
||||
opportunity_title: string;
|
||||
code: string;
|
||||
title: string;
|
||||
state: string;
|
||||
step: string;
|
||||
authority: string;
|
||||
documents: string[];
|
||||
basis: string;
|
||||
source_url: string;
|
||||
decision: string;
|
||||
}[];
|
||||
};
|
||||
export type OpportunityChoice = {
|
||||
park?: ContextReference | null;
|
||||
portfolio_origins?: {id:string;title:string;kind:string;href:string;version:number;sha256:string}[];
|
||||
portfolio_origins?: {
|
||||
id: string;
|
||||
title: string;
|
||||
kind: string;
|
||||
href: string;
|
||||
version: number;
|
||||
sha256: string;
|
||||
}[];
|
||||
corridor_key?: string | null;
|
||||
corridor_name?: string | null;
|
||||
allowed_provinces?: import('@/components/investment-territory').TerritoryOption[];
|
||||
|
||||
Reference in New Issue
Block a user