34 lines
488 B
GraphQL
34 lines
488 B
GraphQL
extend type Query {
|
|
serverApp( id: String! ): ServerApp
|
|
}
|
|
|
|
type ServerApp {
|
|
id: String!
|
|
name: String!
|
|
author: String!
|
|
ownerId: String
|
|
createdAt: String!
|
|
firstparty: Boolean!
|
|
redirectUrl: String!
|
|
scopes: [Scope]
|
|
}
|
|
|
|
# extend type User {
|
|
# """
|
|
# Apps used by this user.
|
|
# """
|
|
# apps: [ServerApp]
|
|
# }
|
|
|
|
extend type ServerInfo {
|
|
authStrategies: [AuthStrategy]
|
|
}
|
|
|
|
type AuthStrategy {
|
|
id: String!,
|
|
name: String!,
|
|
icon: String!,
|
|
url: String!,
|
|
color: String
|
|
}
|