First stable build with system check
This commit is contained in:
29
graphql/identity/identity.edges.graphql
Normal file
29
graphql/identity/identity.edges.graphql
Normal file
@@ -0,0 +1,29 @@
|
||||
type IdentityGroupToIdentityUserEdge {
|
||||
data: [IdentityUser]
|
||||
error: IdentityGroupToIdentityUserError
|
||||
}
|
||||
|
||||
type IdentityUserToIdentityGroupEdge {
|
||||
data: [IdentityGroup]
|
||||
error: IdentityUserToIdentityGroupError
|
||||
}
|
||||
|
||||
type IdentityUserToIdentityProfileEdge {
|
||||
data: IdentityProfile
|
||||
error: IdentityUserToIdentityProfileError
|
||||
}
|
||||
|
||||
type IdentityUserToIdentityEmailEdge {
|
||||
data: [IdentityEmail]
|
||||
error: IdentityUserToIdentityEmailError
|
||||
}
|
||||
|
||||
type IdentityUserToIdentityAuthDeviceEdge {
|
||||
data: [IdentityAuthDevice]
|
||||
error: IdentityUserToIdentityAuthDeviceError
|
||||
}
|
||||
|
||||
type IdentityGroupToCloudDavContactEdge {
|
||||
data: [CloudDavContact]
|
||||
error: IdentityGroupToCloudDavContactError
|
||||
}
|
||||
3
graphql/identity/identity.enumerations.graphql
Normal file
3
graphql/identity/identity.enumerations.graphql
Normal file
@@ -0,0 +1,3 @@
|
||||
enum IdentityAuthDeviceTypeEnum {
|
||||
PASSWORD
|
||||
}
|
||||
24
graphql/identity/identity.errors.graphql
Normal file
24
graphql/identity/identity.errors.graphql
Normal file
@@ -0,0 +1,24 @@
|
||||
enum IdentityGroupToIdentityUserError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum IdentityUserToIdentityGroupError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum IdentityUserToIdentityProfileError {
|
||||
UNKNOWN
|
||||
NOT_FOUND
|
||||
}
|
||||
|
||||
enum IdentityUserToIdentityEmailError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum IdentityUserToIdentityAuthDeviceError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum IdentityGroupToCloudDavContactError {
|
||||
UNKNOWN
|
||||
}
|
||||
46
graphql/identity/identity.types.graphql
Normal file
46
graphql/identity/identity.types.graphql
Normal file
@@ -0,0 +1,46 @@
|
||||
type IdentityGroup {
|
||||
urn: ID!
|
||||
isAdmin: Boolean!
|
||||
name: String
|
||||
|
||||
Users: IdentityGroupToIdentityUserEdge!
|
||||
Contacts: IdentityGroupToCloudDavContactEdge!
|
||||
}
|
||||
|
||||
type IdentityUser {
|
||||
urn: ID!
|
||||
externalId: String!
|
||||
username: String!
|
||||
|
||||
Groups: IdentityUserToIdentityGroupEdge!
|
||||
Profile: IdentityUserToIdentityProfileEdge!
|
||||
Emails: IdentityUserToIdentityEmailEdge!
|
||||
AuthDevices: IdentityUserToIdentityAuthDeviceEdge!
|
||||
}
|
||||
|
||||
type IdentityProfile {
|
||||
urn: ID!
|
||||
firstName: String
|
||||
lastName: String
|
||||
}
|
||||
|
||||
type IdentityEmail {
|
||||
urn: ID!
|
||||
email: String!
|
||||
userUrn: String!
|
||||
verified: Boolean!
|
||||
default: Boolean!
|
||||
}
|
||||
|
||||
type IdentityAuthDevice {
|
||||
urn: ID!
|
||||
userUrn: String!
|
||||
deviceType: IdentityAuthDeviceTypeEnum!
|
||||
|
||||
IdentityAuthDevicePassword: IdentityAuthDevicePassword
|
||||
}
|
||||
|
||||
type IdentityAuthDevicePassword {
|
||||
urn: ID!
|
||||
expiry: String!
|
||||
}
|
||||
Reference in New Issue
Block a user