mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
chore: types lint (#630)
This commit is contained in:
@@ -63,11 +63,6 @@ export class AuthController implements UserServerInterface {
|
||||
kpOrigination: params.origination,
|
||||
kpCreated: params.created,
|
||||
version: params.version,
|
||||
// @TODO: awaiting publishing of new standardnotes/api package
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
publicKey: (params as any).public_key,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
signingPublicKey: (params as any).signing_key_public,
|
||||
})
|
||||
|
||||
if (!registerResult.success) {
|
||||
|
||||
@@ -10,6 +10,4 @@ export type RegisterDTO = {
|
||||
kpOrigination?: string
|
||||
kpCreated?: string
|
||||
version?: string
|
||||
publicKey?: string
|
||||
signingPublicKey?: string
|
||||
}
|
||||
|
||||
@@ -2,6 +2,4 @@ export type SimpleUserProjection = {
|
||||
uuid: string
|
||||
email: string
|
||||
protocolVersion: string
|
||||
publicKey?: string
|
||||
signingPublicKey?: string
|
||||
}
|
||||
|
||||
@@ -78,7 +78,6 @@ export class ContainerConfigLoader {
|
||||
['SUBSCRIPTION_EXPIRED', container.get(TYPES.EventHandler)],
|
||||
['EXTENSION_KEY_GRANTED', container.get(TYPES.EventHandler)],
|
||||
['SUBSCRIPTION_REASSIGNED', container.get(TYPES.EventHandler)],
|
||||
['USER_CREDENTIALS_CHANGED', container.get(TYPES.EventHandler)],
|
||||
['USER_EMAIL_CHANGED', container.get(TYPES.EventHandler)],
|
||||
['FILE_UPLOADED', container.get(TYPES.EventHandler)],
|
||||
['FILE_REMOVED', container.get(TYPES.EventHandler)],
|
||||
|
||||
@@ -4,7 +4,6 @@ export type CrossServiceTokenData = {
|
||||
user: {
|
||||
uuid: string
|
||||
email: string
|
||||
publicKey?: string
|
||||
}
|
||||
roles: Array<Role>
|
||||
session?: {
|
||||
|
||||
Reference in New Issue
Block a user