feat: added fields for user-session of rest and gql

This commit is contained in:
Mir Arif Hasan
2022-12-22 12:46:03 +06:00
parent c34379d936
commit c42b6e2fdb
2 changed files with 18 additions and 4 deletions

View File

@@ -24,4 +24,16 @@ export class User {
description: 'URL to the profile photo of the user (if given)',
})
photoURL?: string;
@Field({
nullable: true,
description: 'JSON string of current REST session for logged-in User',
})
currentRESTSession?: string;
@Field({
nullable: true,
description: 'JSON string of current GraphQL session for logged-in User',
})
currentGQLSession?: string;
}