18 lines
556 B
TypeScript
18 lines
556 B
TypeScript
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { Schema as Application } from './Application';
|
|
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
|
type content = {
|
|
text?: string;
|
|
mediaId?: string;
|
|
title?: string;
|
|
description?: string;
|
|
};
|
|
export interface Schema extends EntityShape {
|
|
content: content;
|
|
application: Application;
|
|
type: 'text' | 'image' | 'video' | 'voice';
|
|
event: 'subscribe' | 'unsubscribe' | 'keyword' | 'auto';
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema>;
|
|
export {};
|