Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -32,6 +32,27 @@ export type ContextDocument = {
|
||||
opportunity_id: number;
|
||||
download_url: string;
|
||||
};
|
||||
export type SupplyAggregate = {
|
||||
context_revision: number;
|
||||
recorded_at: string;
|
||||
requested_territory: { id: string; name: string };
|
||||
scope: { id: string; name: string; level: string };
|
||||
broader_context: boolean;
|
||||
entities: number;
|
||||
repeated: number;
|
||||
uncertain: number;
|
||||
groups: {
|
||||
code: string;
|
||||
label: string;
|
||||
total: number;
|
||||
first_year: string | null;
|
||||
last_year: string | null;
|
||||
}[];
|
||||
truncated: boolean;
|
||||
coverage_unknown: boolean;
|
||||
limitations: string;
|
||||
interpretation: string;
|
||||
};
|
||||
export type ContextReference = {
|
||||
key: string;
|
||||
kind: string;
|
||||
@@ -92,6 +113,7 @@ export type OpportunityChoice = {
|
||||
source_sha256?: string | null;
|
||||
};
|
||||
export type DossierContext = {
|
||||
promoter_entity?: PromoterEntity;
|
||||
complements?: import('@/components/investment-complements').Complement[];
|
||||
requirements_assessment?: RequirementsAssessment;
|
||||
opportunity_choices?: OpportunityChoice[];
|
||||
@@ -115,6 +137,12 @@ export type DossierContext = {
|
||||
updated_at?: string;
|
||||
dependency_hash?: string;
|
||||
};
|
||||
export type PromoterEntity = {
|
||||
kind: 'company' | 'organization' | 'being_formed' | 'undetermined';
|
||||
id?: string | null;
|
||||
source_version?: number | null;
|
||||
snapshot?: Record<string, string | null>;
|
||||
};
|
||||
export type ContextView = {
|
||||
private_investment?: Preparation | null;
|
||||
preparation_documents?: PreparationDocument[];
|
||||
@@ -203,6 +231,9 @@ export async function contextApi<T>(
|
||||
}
|
||||
}
|
||||
export const contextFieldNames: Record<string, string> = {
|
||||
products_services: 'Actividade concreta e produto ou serviço',
|
||||
investment_budget_min: 'Orçamento previsto — mínimo',
|
||||
investment_budget_max: 'Orçamento previsto — máximo',
|
||||
investment_form: 'Tipo do investimento',
|
||||
investment_preparation: 'Preparação do pedido',
|
||||
investment_activity_scope: 'Natureza da actividade',
|
||||
|
||||
Reference in New Issue
Block a user