@hackmd/api
Advanced tools
+2
-2
@@ -14,3 +14,3 @@ import { AxiosResponse } from 'axios'; | ||
| updateNoteContent(noteId: string, content?: string): Promise<UpdateUserNote>; | ||
| updateNote(noteId: string, options: Pick<SingleNote, 'content' | 'readPermission' | 'writePermission' | 'permalink'>): Promise<AxiosResponse>; | ||
| updateNote(noteId: string, options: Partial<Pick<SingleNote, 'content' | 'readPermission' | 'writePermission' | 'permalink'>>): Promise<AxiosResponse>; | ||
| deleteNote(noteId: string): Promise<DeleteUserNote>; | ||
@@ -21,4 +21,4 @@ getTeams(): Promise<GetUserTeams>; | ||
| updateTeamNoteContent(teamPath: string, noteId: string, content?: string): Promise<UpdateTeamNote>; | ||
| updateTeamNote(teamPath: string, noteId: string, options: Pick<SingleNote, 'content' | 'readPermission' | 'writePermission' | 'permalink'>): Promise<AxiosResponse>; | ||
| updateTeamNote(teamPath: string, noteId: string, options: Partial<Pick<SingleNote, 'content' | 'readPermission' | 'writePermission' | 'permalink'>>): Promise<AxiosResponse>; | ||
| deleteTeamNote(teamPath: string, noteId: string): Promise<DeleteTeamNote>; | ||
| } |
+1
-1
| { | ||
| "name": "@hackmd/api", | ||
| "version": "2.2.0", | ||
| "version": "2.2.1", | ||
| "description": "HackMD Node.js API Client", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
12632
0.14%