scripts/extensions/annotationsLibrary/src/interfaces.ts
import {IBaseRestApiResponse} from 'superdesk-api';
export interface IKnowledgeBaseItemBase {
name: string;
labels?: Array<string>;
language: string;
definition_text: string;
definition_html: string;
// http://cv.iptc.org/newscodes/cpnature/
cpnat_type: 'cpnat:abstract' | 'cpnat:event' | 'cpnat:geoArea'
| 'cpnat:object' | 'cpnat:organisation' | 'cpnat:person' | 'cpnat:poi';
}
export interface IKnowledgeBaseItem extends IKnowledgeBaseItemBase, IBaseRestApiResponse {
//
}