repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use same lock values as mobile clients
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
api
/
drive
/
documents.ts
blob
affd7ffd230e72a49e40067ddc08576fb536b2e6
1
import type { CreateDocumentPayload } from '../../interfaces/drive/documents';
2
3
export const queryCreateDocument = (shareId: string, data: CreateDocumentPayload) => ({
4
method: 'post',
5
url: `drive/shares/${shareId}/documents`,
6
data,
7
});