@hamster-note/types 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +68 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -239,5 +239,72 @@ declare class IntermediateDocument {
|
|
|
239
239
|
getOutline(): IntermediateOutline[] | undefined;
|
|
240
240
|
}
|
|
241
241
|
//#endregion
|
|
242
|
-
|
|
242
|
+
//#region src/api/main/dto/batch-delete.dto.d.ts
|
|
243
|
+
interface BatchUpdateDto {
|
|
244
|
+
uuids: string[];
|
|
245
|
+
}
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/api/main/dto/create-folder.dto.d.ts
|
|
248
|
+
interface CreateFolderDto {
|
|
249
|
+
name: string;
|
|
250
|
+
parentUuid?: string;
|
|
251
|
+
tags?: string;
|
|
252
|
+
color?: string;
|
|
253
|
+
sortOptions?: Record<string, object>;
|
|
254
|
+
order?: number;
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region src/api/main/dto/create-user.dto.d.ts
|
|
258
|
+
interface CreateUserDto {
|
|
259
|
+
username?: string;
|
|
260
|
+
password: string;
|
|
261
|
+
phone?: string;
|
|
262
|
+
email: string;
|
|
263
|
+
emailCode: string;
|
|
264
|
+
avatar?: string;
|
|
265
|
+
wechatId?: string;
|
|
266
|
+
}
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region src/api/main/dto/init-upload.dto.d.ts
|
|
269
|
+
interface InitUploadDto {
|
|
270
|
+
originalFilename: string;
|
|
271
|
+
size: number;
|
|
272
|
+
}
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region src/api/main/dto/list-files.dto.d.ts
|
|
275
|
+
type UploadStatus = 'uploading' | 'completed' | 'failed';
|
|
276
|
+
interface ListFilesQueryDto {
|
|
277
|
+
parentUuid?: string;
|
|
278
|
+
status?: UploadStatus;
|
|
279
|
+
page?: number;
|
|
280
|
+
pageSize?: number;
|
|
281
|
+
}
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region src/api/main/dto/parse-document.dto.d.ts
|
|
284
|
+
interface ParseDocumentParamsDto {
|
|
285
|
+
uuid: string;
|
|
286
|
+
}
|
|
287
|
+
interface ParsedTextItem {
|
|
288
|
+
id: string;
|
|
289
|
+
content: string;
|
|
290
|
+
pageId: string;
|
|
291
|
+
pageNumber: number;
|
|
292
|
+
}
|
|
293
|
+
interface ParseDocumentResult {
|
|
294
|
+
docId: string;
|
|
295
|
+
title: string;
|
|
296
|
+
items: ParsedTextItem[];
|
|
297
|
+
}
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/api/main/dto/update-folder.dto.d.ts
|
|
300
|
+
interface UpdateFolderDto {
|
|
301
|
+
name?: string;
|
|
302
|
+
tags?: string;
|
|
303
|
+
color?: string;
|
|
304
|
+
sortOptions?: Record<string, object> | null;
|
|
305
|
+
order?: number;
|
|
306
|
+
parentUuid?: string | null;
|
|
307
|
+
}
|
|
308
|
+
//#endregion
|
|
309
|
+
export { BatchUpdateDto, CreateFolderDto, CreateUserDto, InitUploadDto, IntermediateDocument, IntermediateDocumentSerialized, IntermediateOutline, IntermediateOutlineDest, IntermediateOutlineDestPage, IntermediateOutlineDestPosition, IntermediateOutlineDestText, IntermediateOutlineDestType, IntermediateOutlineDestUrl, IntermediateOutlineSerialized, IntermediatePage, IntermediatePageMap, IntermediatePageSerialized, IntermediateText, IntermediateTextMarkedContent, IntermediateTextSerialized, ListFilesQueryDto, Number2, ParseDocumentParamsDto, ParseDocumentResult, ParsedTextItem, TextDir, TextMarkedContentType, UpdateFolderDto, UploadStatus };
|
|
243
310
|
//# sourceMappingURL=index.d.ts.map
|