APIScalars

Scalars

7 scalars, in the order the schema defines them.

DateTimescalar

Implement the DateTime<Utc> scalar

The input/output is a string in RFC3339 format.

Used by AccountDeletionSchedule, ChannelCursorInput, ChannelCursorOutput, ChannelLens, ConfirmationChallenge, Contact, Conversation, ConversationNotificationLevel, CreateInviteInput, CustomEmoji, DeviceKey, DeviceLink, DmRequest, InboxCursorInput, InboxCursorOutput, InstanceAbuseReport, InstanceAccount, InstanceIpBlock, InstancePrincipalBlock, InviteTokenPreviewGql, KeyLogEntry, KeyLoginChallenge, LinkPreview, MacroDef, MarkAsReadInput, MemberTimeout, Message, MessageChange, MessageCursorInput, MessageCursorOutput, MessageReport, MessageReportCursorInput, MessageReportCursorOutput, MlsCommit, MlsKeyPackageStatus, MlsReaddRequest, MlsWelcome, Mutation.banMember, Mutation.timeoutMember, Mutation.markNotificationsRead, Mutation.setDoNotDisturb, MuteConversationInput, MutedConversation, Notification, NotificationCursorInput, NotificationCursorOutput, NotificationSettings, PipelineGql, PrincipalDevice, ProfileCard, RemoteJoinChallenge, RemoteSubscription, SearchResultMessage, ServerBan, ServerMember, StartedDeviceLink, Thread, UploadTicket, User, UserPresenceGql, WorkspacePlugin, WorkspaceStateEntryGql

JSONscalar

A scalar that can represent any JSON value.

Used by AuditLogEntry, CommandArgument, CommandResult, CreateKeybindInput, ExecuteCommandInput, FilterConditionGql, FilterConditionInput, Keybind, MacroStep, MacroStepInput, PipeStageResult, PipelineActionGql, PipelineActionInput, SetWorkspaceStateInput, UpdateKeybindInput, UserCommandStepInput, WorkspaceStateEntryGql

Stringscalar built in

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Intscalar built in

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Floatscalar built in

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Booleanscalar built in

The Boolean scalar type represents true or false.

IDscalar built in

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.