Publish agribusiness lot through scoped management and extend existing dossier for multiple opportunities
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -38,7 +38,22 @@ export type ContextReference = {
|
||||
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 OpportunityChoice = {
|
||||
activities?: string[];
|
||||
territory_path?: import('@/components/investment-territory').TerritoryOption[];
|
||||
confirm_location_change?: boolean;
|
||||
opportunity: ContextReference;
|
||||
territory: ContextReference | null;
|
||||
location_reason: string;
|
||||
location_state: string;
|
||||
coverage?: string | null;
|
||||
source?: string | null;
|
||||
source_sha256?: string | null;
|
||||
};
|
||||
export type DossierContext = {
|
||||
requirements_assessment?: RequirementsAssessment;
|
||||
opportunity_choices?: OpportunityChoice[];
|
||||
revision: number;
|
||||
selection: Partial<
|
||||
Record<
|
||||
@@ -79,6 +94,8 @@ export type ContextView = {
|
||||
notice: string;
|
||||
};
|
||||
export type ContextPlan = {
|
||||
requirements_assessment?: RequirementsAssessment;
|
||||
opportunity_choices?: OpportunityChoice[];
|
||||
private_investment?: { before: Preparation; after: Preparation } | null;
|
||||
preview_hash: string;
|
||||
version: number;
|
||||
|
||||
Reference in New Issue
Block a user