forked from Cookies_Github_mirror/AquaDX
[+] Data support APIs (#151)
This commit is contained in:
@@ -254,5 +254,14 @@ export const TRANSFER = {
|
||||
post('/api/v2/transfer/push', {}, { json: { client: d, data } }),
|
||||
}
|
||||
|
||||
export const FEDY = {
|
||||
status: (): Promise<{ linkedAt: number }> =>
|
||||
post('/api/v2/fedy/status'),
|
||||
link: (nonce: string): Promise<{ linkedAt: number }> =>
|
||||
post('/api/v2/fedy/link', { nonce }),
|
||||
unlink: () =>
|
||||
post('/api/v2/fedy/unlink'),
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
window.sdk = { USER, USERBOX, CARD, GAME, DATA, SETTING, TRANSFER }
|
||||
window.sdk = { USER, USERBOX, CARD, GAME, DATA, SETTING, TRANSFER, FEDY }
|
||||
|
||||
Reference in New Issue
Block a user