think/packages/domains/lib/models/wiki.d.ts

27 lines
572 B
TypeScript

import { IUser } from './user';
import { IDocument } from './document';
import { IOrganization } from './organization';
/**
* 知识库状态枚举
*/
export declare enum WikiStatus {
private = "private",
public = "public"
}
/**
* 知识库数据定义
*/
export interface IWiki {
id: string;
organizationId: IOrganization['id'];
name: string;
avatar: string;
description: string;
createUserId: IUser['id'];
createUser: IUser;
status: WikiStatus;
homeDocumentId: IDocument['id'];
createdAt: Date;
updatedAt: Date;
}