feat: add api package
This commit is contained in:
12
packages/api/src/Domain/Http/HttpResponseMeta.ts
Normal file
12
packages/api/src/Domain/Http/HttpResponseMeta.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Role } from '@standardnotes/security'
|
||||
import { Uuid } from '@standardnotes/common'
|
||||
|
||||
export type HttpResponseMeta = {
|
||||
auth: {
|
||||
userUuid?: Uuid
|
||||
roles?: Role[]
|
||||
}
|
||||
server: {
|
||||
filesServerUrl?: string
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user