Skip to main content

AvatarDTO

No description

type AvatarDTO {
avatarId: ID!
userId: ID!
name: String!
publicState: String
privateState: String
createdAt: DateTime!
}

Fields

AvatarDTO.avatarId ● ID! non-null scalar

Avatar id, serialized as a GraphQL ID (a numeric string).

AvatarDTO.userId ● ID! non-null scalar

Owner user id, serialized as a GraphQL ID (a numeric string). Same underlying value as Avatar.userId, which is typed as BigInt.

AvatarDTO.name ● String! non-null scalar

Human-readable avatar name.

AvatarDTO.publicState ● String scalar

Public state blob, base64-encoded binary; visible to all viewers.

AvatarDTO.privateState ● String scalar

Owner-only private state blob, base64-encoded binary. Returned by myAvatars (caller is the owner); stripped to null for non-owners on other queries.

AvatarDTO.createdAt ● DateTime! non-null scalar

Server timestamp (ISO-8601) when the avatar was created.

Returned By

myAvatars query