First stable build with system check
This commit is contained in:
0
graphql/cloud-dav/cloud-dav.edges.graphql
Normal file
0
graphql/cloud-dav/cloud-dav.edges.graphql
Normal file
0
graphql/cloud-dav/cloud-dav.enumerations.graphql
Normal file
0
graphql/cloud-dav/cloud-dav.enumerations.graphql
Normal file
0
graphql/cloud-dav/cloud-dav.errors.graphql
Normal file
0
graphql/cloud-dav/cloud-dav.errors.graphql
Normal file
29
graphql/cloud-dav/cloud-dav.types.graphql
Normal file
29
graphql/cloud-dav/cloud-dav.types.graphql
Normal file
@@ -0,0 +1,29 @@
|
||||
type CloudDavContact {
|
||||
urn: ID!
|
||||
identityGroupUrn: String!
|
||||
|
||||
firstName: String
|
||||
lastName: String
|
||||
company: String
|
||||
phones: [String]
|
||||
addresses: [CloudDavContactAddress]
|
||||
dates: [CloudDavContactLabeledString]
|
||||
urls: [CloudDavContactLabeledString]
|
||||
notes: String
|
||||
}
|
||||
|
||||
type CloudDavContactAddress {
|
||||
urn: ID!
|
||||
type: String
|
||||
street1: String
|
||||
street2: String
|
||||
city: String
|
||||
state: String
|
||||
postalCode: String
|
||||
country: String
|
||||
}
|
||||
|
||||
type CloudDavContactLabeledString {
|
||||
context: String!
|
||||
value: String!
|
||||
}
|
||||
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!
|
||||
}
|
||||
5
graphql/system/system.enumerations.graphql
Normal file
5
graphql/system/system.enumerations.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
enum SystemSettingHashValueTypeEnum {
|
||||
BOOLEAN
|
||||
STRING
|
||||
NUMBER
|
||||
}
|
||||
8
graphql/system/system.errors.graphql
Normal file
8
graphql/system/system.errors.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
enum SystemSettingsQueryOutputError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum UpdateSystemSettingOutputError {
|
||||
UNKNOWN
|
||||
NOT_FOUND
|
||||
}
|
||||
12
graphql/system/system.mutations.graphql
Normal file
12
graphql/system/system.mutations.graphql
Normal file
@@ -0,0 +1,12 @@
|
||||
input UpdateSystemSettingInput {
|
||||
urn: ID!
|
||||
hashValue: String!
|
||||
}
|
||||
|
||||
type UpdateSystemSettingOutput {
|
||||
error: UpdateSystemSettingOutputError
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
updateSystemSetting(input: UpdateSystemSettingInput!): UpdateSystemSettingOutput!
|
||||
}
|
||||
8
graphql/system/system.queries.graphql
Normal file
8
graphql/system/system.queries.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
type SystemSettingsQueryOutput {
|
||||
data: [SystemSetting]
|
||||
error: SystemSettingsQueryOutputError
|
||||
}
|
||||
|
||||
type Query {
|
||||
systemSettings: SystemSettingsQueryOutput!
|
||||
}
|
||||
6
graphql/system/system.types.graphql
Normal file
6
graphql/system/system.types.graphql
Normal file
@@ -0,0 +1,6 @@
|
||||
type SystemSetting {
|
||||
urn: ID!
|
||||
hashKey: String!
|
||||
hashValueType: SystemSettingHashValueTypeEnum!
|
||||
hashValue: String!
|
||||
}
|
||||
Reference in New Issue
Block a user