[examples/openspending][m] - added loader + fetching from datapackage
- Also added an indexing example
This commit is contained in:
18
examples/openspending/lib/project.interface.ts
Normal file
18
examples/openspending/lib/project.interface.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { FiscalDataPackage, TabularDataResource } from "./datapackage.interface";
|
||||
|
||||
export interface Project {
|
||||
owner: { name: string; logo?: string }; // Info about the owner of the data repo
|
||||
repo: { name: string; logo?: string }; // Info about the the data repo
|
||||
files: TabularDataResource[];
|
||||
name: string;
|
||||
title?: string;
|
||||
author?: string;
|
||||
cityCode?: string;
|
||||
countryCode?: string;
|
||||
fiscalPeriod?: {
|
||||
start: string;
|
||||
end: string;
|
||||
};
|
||||
readme?: string;
|
||||
datapackage: FiscalDataPackage
|
||||
}
|
||||
Reference in New Issue
Block a user