oak-general-business/lib/entities/Article.d.ts

15 lines
428 B
TypeScript

import { String, Text } from 'oak-domain/lib/types/DataType';
import { EntityShape } from 'oak-domain/lib/types/Entity';
import { Schema as ExtraFile } from './ExtraFile';
export interface Schema extends EntityShape {
entity?: String<32>;
entityId?: String<64>;
title: String<128>;
author: String<32>;
abstract?: Text;
content?: Text;
url?: Text;
files: Array<ExtraFile>;
sign: String<32>;
}