2023-04-24 11:03:36 +00:00
|
|
|
// ./contracts/enums.ts
|
|
|
|
|
|
|
|
export enum DatasetTypes {
|
2023-09-05 16:18:42 +00:00
|
|
|
analysisdata = 'Analysis',
|
|
|
|
measurementdata = 'Measurements',
|
|
|
|
monitoring = 'Monitoring',
|
|
|
|
remotesensing = 'Remote Sensing',
|
|
|
|
gis = 'GIS',
|
|
|
|
models = 'Models',
|
|
|
|
mixedtype = 'Mixed Type',
|
|
|
|
vocabulary = 'Vocabulary',
|
2023-04-24 11:03:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum ServerStates {
|
|
|
|
deleted = 'deleted',
|
|
|
|
inprogress = 'inprogress',
|
|
|
|
published = 'published',
|
|
|
|
released = 'released',
|
|
|
|
editor_accepted = 'editor_accepted',
|
|
|
|
approved = 'approved',
|
|
|
|
rejected_reviewer = 'rejected_reviewer',
|
|
|
|
rejected_editor = 'rejected_editor',
|
|
|
|
reviewed = 'reviewed',
|
|
|
|
}
|
|
|
|
|
|
|
|
// for table dataset_titles
|
|
|
|
export enum TitleTypes {
|
|
|
|
Main = 'Main',
|
|
|
|
Sub = 'Sub',
|
|
|
|
Alternative = 'Alternative',
|
|
|
|
Translated = 'Translated',
|
|
|
|
Other = 'Other',
|
|
|
|
}
|
|
|
|
|
|
|
|
// for table dataset_abstracts
|
|
|
|
export enum DescriptionTypes {
|
2023-07-28 15:08:20 +00:00
|
|
|
Abstract = 'Abstract',
|
|
|
|
Methods = 'Methods',
|
|
|
|
Series_information = 'Series_information',
|
|
|
|
Technical_info = 'Technical_info',
|
|
|
|
Translated = 'Translated',
|
|
|
|
Other = 'Other',
|
2023-04-24 11:03:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum PersonNameTypes {
|
|
|
|
Organizational = 'Organizational',
|
|
|
|
Personal = 'Personal',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum PersonRoles {
|
|
|
|
author = 'author',
|
|
|
|
contributor = 'contributor',
|
|
|
|
other = 'other',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum ContributorTypes {
|
2023-09-12 14:09:04 +00:00
|
|
|
ContactPerson = 'ContactPerson',
|
|
|
|
DataCollector = 'DataCollector',
|
|
|
|
DataCurator = 'DataCurator',
|
|
|
|
DataManager = 'DataManager',
|
2023-04-24 11:03:36 +00:00
|
|
|
Distributor = 'Distributor',
|
2023-09-12 14:09:04 +00:00
|
|
|
Editor = 'Editor',
|
|
|
|
HostingInstitution = 'HostingInstitution',
|
|
|
|
Producer = 'Producer',
|
|
|
|
ProjectLeader = 'ProjectLeader',
|
|
|
|
ProjectManager = 'ProjectManager',
|
|
|
|
ProjectMember = 'ProjectMember',
|
|
|
|
RegistrationAgency = 'RegistrationAgency',
|
|
|
|
RegistrationAuthority = 'RegistrationAuthority',
|
|
|
|
RelatedPerson = 'RelatedPerson',
|
|
|
|
Researcher = 'Researcher',
|
|
|
|
ResearchGroup = 'ResearchGroup',
|
|
|
|
RightsHolder = 'RightsHolder',
|
|
|
|
Sponsor = 'Sponsor',
|
|
|
|
Supervisor = 'Supervisor',
|
|
|
|
WorkPackageLeader = 'WorkPackageLeader',
|
|
|
|
Other = 'Other',
|
2023-04-24 11:03:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum SubjectTypes {
|
|
|
|
uncontrolled = 'uncontrolled',
|
2023-09-12 14:09:04 +00:00
|
|
|
geoera = 'GeoEra',
|
2023-04-24 11:03:36 +00:00
|
|
|
}
|
2023-08-01 15:06:51 +00:00
|
|
|
|
|
|
|
export enum ReferenceIdentifierTypes {
|
|
|
|
DOI = 'DOI',
|
|
|
|
Handle = 'Handle',
|
|
|
|
ISBN = 'ISBN',
|
|
|
|
ISSN = 'ISSN',
|
|
|
|
URL = 'URL',
|
|
|
|
URN = 'URN',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum RelationTypes {
|
|
|
|
IsSupplementTo = 'IsSupplementTo',
|
|
|
|
IsSupplementedBy = 'IsSupplementedBy',
|
|
|
|
IsContinuedBy = 'IsContinuedBy',
|
|
|
|
Continues = 'Continues',
|
|
|
|
IsNewVersionOf = 'IsNewVersionOf',
|
|
|
|
IsPartOf = 'IsPartOf',
|
|
|
|
HasPart = 'HasPart',
|
|
|
|
Compiles = 'Compiles',
|
|
|
|
IsVariantFormOf = 'IsVariantFormOf',
|
|
|
|
}
|
2023-09-11 14:10:37 +00:00
|
|
|
|
|
|
|
export enum IdentifierTypes {
|
|
|
|
doi = 'doi',
|
|
|
|
handle = 'handle',
|
|
|
|
isbn = 'isbn',
|
|
|
|
issn = 'issn',
|
|
|
|
url = 'url',
|
|
|
|
urn = 'urn',
|
|
|
|
}
|
2024-01-19 14:33:46 +00:00
|
|
|
|
|
|
|
export enum TotpState {
|
|
|
|
STATE_DISABLED = 0,
|
|
|
|
STATE_CREATED = 1,
|
|
|
|
STATE_ENABLED = 2,
|
|
|
|
}
|