feat: add sending user requests to process (#1908)
* feat: add sending user requests to process * fix(snjs): yarn lock * fix(snjs): imports * fix: specs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Either } from '@standardnotes/common'
|
||||
|
||||
import { HttpErrorResponseBody } from '../../Http/HttpErrorResponseBody'
|
||||
import { HttpResponse } from '../../Http/HttpResponse'
|
||||
import { UserRequestResponseBody } from './UserRequestResponseBody'
|
||||
|
||||
export interface UserRequestResponse extends HttpResponse {
|
||||
data: Either<UserRequestResponseBody, HttpErrorResponseBody>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export type UserRequestResponseBody = {
|
||||
success: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user