Add activeSession on membership
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -226,6 +226,7 @@ type Organization implements Node {
|
||||
|
||||
type Membership implements Node {
|
||||
id: ID!
|
||||
identityId: ID!
|
||||
createdAt: Datetime!
|
||||
profile: IdentityProfile!
|
||||
identity: Identity! @goField(forceResolver: true)
|
||||
@@ -234,6 +235,8 @@ type Membership implements Node {
|
||||
provisionedBy: ProvisioningSource!
|
||||
active: Boolean!
|
||||
lastSyncedAt: Datetime
|
||||
|
||||
activeSession: Session @goField(forceResolver: true) @isViewer
|
||||
}
|
||||
|
||||
type Invitation implements Node {
|
||||
@@ -245,14 +248,6 @@ type Invitation implements Node {
|
||||
status: InvitationStatus!
|
||||
}
|
||||
|
||||
type InvitationProfile {
|
||||
displayName: String!
|
||||
firstName: String
|
||||
lastName: String
|
||||
jobTitle: String
|
||||
department: String
|
||||
}
|
||||
|
||||
type Session implements Node {
|
||||
id: ID!
|
||||
ipAddress: String!
|
||||
@@ -635,14 +630,6 @@ input RemoveMemberInput {
|
||||
membershipId: ID!
|
||||
}
|
||||
|
||||
input InvitationProfileInput {
|
||||
displayName: String!
|
||||
firstName: String
|
||||
lastName: String
|
||||
jobTitle: String
|
||||
department: String
|
||||
}
|
||||
|
||||
input AcceptInvitationInput {
|
||||
invitationId: ID!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user