problem_copy

This commit is contained in:
undefined committed 2020-07-23 13:34:20 +08:00
1 parent 37756c3724
commit 9e96c471af
14 files changed
+118 -159

No files matched your search

+12
View File
@@ -18,6 +18,18 @@ export const TYPE_TRAINING = 40;
export const TYPE_FILE = 50;
export const TYPE_HOMEWORK = 60;
export async function add(
domainId: string, content: string, owner: number,
docType: number, docId: DocID,
parentType?: number | null, parentId?: DocID,
args?: any,
): Promise<typeof docId>
export async function add(
domainId: string, content: string, owner: number,
docType: number, docId: null,
parentType?: number, parentId?: DocID,
args?: any,
): Promise<ObjectID>
export async function add(
domainId: string, content: string, owner: number,
docType: number, docId: DocID = null,