OBJECT

Query

link GraphQL Schema definition

  • type Query {
  • # Returns the current logged in user
  • #
  • # Devuelve el usuario de la sesión actual
  • #
  • # Arguments
  • # userId: Stringified ObjectId ID of the user // Identificador de
  • # tipo ObjectId pasado a string del usuario
  • currentUser(userId: String): User
  • # Searches for users given a username, name or surname
  • #
  • # Busca usuarios dado un username, nombre o apellido
  • #
  • # Arguments
  • # query: Text used for querying // Texto con el que buscar
  • searchUsers(query: String): [PublicUser!]!
  • # Returns the schema for GraphQL stitching
  • #
  • # Devuelve el esquema para GraphQL stitching
  • _sdlUser: String!
  • # Returns the resources shared with /created by the logged-in user
  • #
  • # Devuelve los recursos compartidos con o creados por el usuario de la sesión
  • #
  • # Arguments
  • # userId: Stringified ObjectId ID of the user // Identificador de
  • # tipo ObjectId pasado a string del usuario
  • myResources(userId: String): [ResourceCard!]!
  • # Returns the details of a resource given a resource ID
  • #
  • # Deuelve los detalles de un recurso dado un identificador de recurso
  • #
  • # Arguments
  • # userId: Stringified ObjectId ID of the user // Identificador de
  • # tipo ObjectId pasado a string del usuario
  • # resourceId: Stringified ObjectId ID of the resource //
  • # Identificador de tipo ObjectId pasado a string del recurso
  • viewResource(userId: String, resourceId: String!): ResourceView
  • # Returns the schema for GraphQL stitching
  • #
  • # Devuelve el esquema para GraphQL stitching
  • _sdlResource: String!
  • # Returns the notifications for the logged in user
  • #
  • # Deuelve las notificaciones del usuario de la sesión
  • #
  • # Arguments
  • # userId: Stringified ObjectId ID of the user // Identificador de
  • # tipo ObjectId pasado a string del usuario
  • myNotificationData(userId: String): [ResourceNotification!]!
  • # Returns the schema for GraphQL stitching
  • #
  • # Devuelve el esquema para GraphQL stitching
  • _sdlNotification: String!
  • }

link Require by

This element is not required by anyone