-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.gql
68 lines (57 loc) · 1.16 KB
/
schema.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
type Auction {
id: ID!
seller: User!
}
type BankIDAuth {
autoStartToken: ID!
orderRef: String!
}
input BankIDAuthInput {
personalNumber: String
}
type BankIDCollectResponse {
status: String!
hintCode: String
now: Date!
}
input CreateUserInput {
username: String!
email: String!
password: String!
}
"""
The `Date` scalar type represents a milliseconds datetime in linux epoch format.
"""
scalar Date
type Mutation {
createUser(user: CreateUserInput!): User!
updateUser(user: UpdateUserInput!): User!
createAuction: Auction!
}
type Query {
users: [User!]!
user(id: String!): User!
bankidAuth(payload: BankIDAuthInput!): BankIDAuth!
features: [String!]!
feature(feature: String!): Boolean!
}
type Subscription {
bankidCollect(orderRef: String!): BankIDCollectResponse!
}
input UpdateUserInput {
id: ID!
username: String
email: String
password: String
}
type User {
id: ID!
username: String!
pnr: String!
email: String!
createdAt: Date!
updatedAt: Date
}