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

27 lines
572 B
TypeScript
Raw Normal View History

2022-04-02 09:57:30 +00:00
import { IUser } from './user';
2022-05-26 02:17:57 +00:00
import { IDocument } from './document';
2022-06-29 16:03:02 +00:00
import { IOrganization } from './organization';
2022-05-18 08:02:29 +00:00
/**
*
*/
2022-03-11 05:57:55 +00:00
export declare enum WikiStatus {
private = "private",
public = "public"
}
2022-05-18 08:02:29 +00:00
/**
*
*/
2022-03-11 05:57:55 +00:00
export interface IWiki {
id: string;
2022-06-29 16:03:02 +00:00
organizationId: IOrganization['id'];
2022-03-11 05:57:55 +00:00
name: string;
avatar: string;
description: string;
2022-04-02 09:57:30 +00:00
createUserId: IUser['id'];
2022-03-11 05:57:55 +00:00
createUser: IUser;
status: WikiStatus;
2022-05-26 02:17:57 +00:00
homeDocumentId: IDocument['id'];
2022-03-11 05:57:55 +00:00
createdAt: Date;
updatedAt: Date;
}