-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(types): update and add new dataset types
- Loading branch information
1 parent
b9987af
commit 748423f
Showing
3 changed files
with
86 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
export const ODS_DATASET_FIELD_TYPE = { | ||
TEXT: "text", | ||
INT : "int", | ||
DOUBLE : "double", | ||
BOOLEAN : "boolean", | ||
GEO_SHAPE : "geo_shape", | ||
DATETIME : "datetime", | ||
DATE : "date", | ||
IMAGE : "image", | ||
FILE : "file", | ||
JSON : "json", | ||
} as const; | ||
|
||
export const EXPORT_DATASET_FORMAT = { | ||
JSON: 'json', | ||
GEOJSON: 'geojson', | ||
SHP: 'shp', | ||
CSV: 'csv', | ||
XLSX: 'xlsx', | ||
KML: 'kml', | ||
JSONLD: 'jsonld', | ||
JSONL: 'jsonl', | ||
RDFXML: 'rdfxml', | ||
TURTLE: 'turtle', | ||
N3: 'n3', | ||
MVT: 'mvt', | ||
} as const; | ||
|
||
export const EXPORT_CATALOG_FORMAT = { | ||
CSV: 'csv', | ||
JSON: 'json', | ||
XLSX: 'xlsx', | ||
RDF: 'rdf', | ||
TTL: 'ttl', | ||
DATA_JSON: 'data.json', | ||
RSS: 'rss', | ||
DCAT: 'dcat', | ||
DCAT_AP_CH: 'dcat-ap-ch', | ||
DCAT_AP_IT: 'dcat-ap-it', | ||
DCAT_AP_DE: 'dcat-ap-de', | ||
DCAT_AP_SE: 'dcat-ap-se', | ||
DCAT_AP_SP: 'dcat-ap-sp', | ||
DCAT_AP_V1: 'dcat-ap-v1', | ||
DCAT_AP_BENAP: 'dcat_ap_benap', | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters