@rr0/cms
Version:
RR0 Content Management System (CMS)
123 lines (122 loc) • 3.08 kB
TypeScript
import { Level2Date as EdtfDate } from "@rr0/time";
export type UrecatCaseHistoryRedaction = {
mainAuthor: string;
contributors: string;
reviewers: string;
editor: string;
};
export type UrecatCaseHistoryChange = {
version: string;
author: string;
dateTime: Date;
description: string;
};
export type UrecatCaseHistory = {
edition: UrecatCaseHistoryRedaction;
changeHistory: UrecatCaseHistoryChange[];
};
export declare enum UrecatCaseLightConditions {
Night = "Nuit",
NotReported = "Non rapport\u00E9"
}
export type UrecatWitness = {
name: string;
age?: string;
drawing?: boolean;
reactions?: string;
feelings?: string;
};
export type UrecatLocation = {
placeName: string;
country: string;
departmentOrState: string;
placeType?: string;
};
export type UrecatBasicBaseInfo = {
/**
* "URECAT-000448"
*/
caseNumber?: string;
sightingDate: EdtfDate;
firstReportTime?: Date | string;
reportDelay?: string;
testimonyOrigin?: string;
firstAllegedRecordBy?: string;
firstVerifiedRecordBy?: string;
firstAllegedRecordType?: string;
firstVerifiedRecordType?: string;
caseCreation?: Date;
caseUdpate?: Date;
location: UrecatLocation;
lightConditions?: UrecatCaseLightConditions;
ufoSighted?: boolean;
ufoArrivalSighted?: boolean;
ufoLeaveSighted?: boolean;
ufoEntityRelationship?: boolean;
witnesses: UrecatWitness[];
photographs?: boolean;
witnessApprovedDrawings?: boolean;
};
export type UrecatBasicEntityInfo = {
entityCount: number;
entityType: string;
entitySize: string;
entityClothing: string;
entityClothingColor: string;
entitySkinColor: string;
entityBodies: string;
entityHeads: string;
entityEyes: string;
entityMouths: string;
entityNoses: string;
entityFeet: string;
entityArms: string;
entityFingers: string;
entityFingersCount: number;
entityHairs: string;
entityVoices: string;
entityActions: string;
entityWitnessInteractions: string;
explanationCategory: string;
explanationConfidence: string;
};
export type UrecatBasicInfo = {
base: UrecatBasicBaseInfo;
entity?: UrecatBasicEntityInfo;
};
export type UrecatCaseAccount = {
ref: string;
author: string;
content: string;
reference: string;
};
export declare enum UrecatCaseIssueType {
Data = "Donn\u00E9es",
Ufology = "Ufologie"
}
export declare enum UrecatCaseIssueStatus {
Open = "Ouvert"
}
export type UrecatCaseIssue = {
id: number;
type: UrecatCaseIssueType;
time: Date;
reportedBy: string;
notedBy: string;
description: string;
proposal: string;
status: UrecatCaseIssueStatus;
};
export interface UrecatCase {
id: string;
time: EdtfDate;
url: string;
title: string;
summary?: string;
basicInfo: UrecatBasicInfo;
accounts?: UrecatCaseAccount[];
notes?: string;
issues?: UrecatCaseIssue[];
evaluation?: string;
history?: UrecatCaseHistory;
}