feat: protect owner-only supply aggregates and record target CAE blocker
This commit is contained in:
@@ -33,18 +33,35 @@ export type ContextDocument = {
|
||||
download_url: string;
|
||||
};
|
||||
export type SupplyAggregate = {
|
||||
privacy_version?: number;
|
||||
privacy_policy?: string;
|
||||
privacy_notice?: string;
|
||||
source_summary?: {
|
||||
label: string;
|
||||
period: string;
|
||||
incomplete_periods: boolean;
|
||||
};
|
||||
filters?: {
|
||||
sector_id: number | null;
|
||||
activity_id: string | null;
|
||||
activity_label: string | null;
|
||||
division_code: string | null;
|
||||
};
|
||||
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;
|
||||
entities: number | null;
|
||||
repeated: number | null;
|
||||
uncertain: number | null;
|
||||
groups: {
|
||||
code: string;
|
||||
label: string;
|
||||
total: number;
|
||||
total: number | null;
|
||||
entities_band?: string;
|
||||
observations_band?: string;
|
||||
scope?: { id: string; name: string; level: string };
|
||||
first_year: string | null;
|
||||
last_year: string | null;
|
||||
}[];
|
||||
|
||||
Reference in New Issue
Block a user