• Preparing search index...
  • The search index is not available
eludris-api-types - v

Settings

Member Visibility

Theme

  • eludris-api-types
  • v0.4.0-alpha1
  • FileMetadata

Type alias FileMetadata

FileMetadata: FileMetadataText | FileMetadataImage | FileMetadataVideo | FileMetadataOther
  • Defined in v0.4.0-alpha1.ts:313
eludris-api-types
  • v0.3.3
    • Conflict
      The error when a client's request causes a conflict, usually when they're trying to create
    • EffisRateLimitConf
      Represents a single rate limit for Effis.
    • EffisRateLimits
      Rate limits that apply to Effis (The CDN).
    • FileData
      Represents a file stored on Effis.
    • FileUpload
      The data format for uploading a file.
    • Forbidden
      The error when a client *has* been succesfully authorized but does not have the required
    • Hello
      The payload sent by the server when you initiate a new gateway connection.
    • Image
    • InstanceInfo
      Represents information about the connected Eludris instance.
    • InstanceRateLimits
      Represents all rate limits that apply to the connected Eludris instance.
    • Message
      The message payload.
    • MessageCreate
      The event sent when the client receives a Message.
    • NotFound
      The error when a client requests a resource that does not exist.
    • OprishRateLimits
      Rate limits that apply to Oprish (The REST API).
    • Other
    • Ping
      The payload the client is supposed to periodically send the server to not get disconnected.
    • Pong
      A ClientPayload `PING` payload response.
    • RateLimit
      The event sent when the client gets gateway rate limited.
    • RateLimitConf
      Represents a single rate limit.
    • RateLimited
      The error when a client is rate limited.
    • Server
      The error when the server fails to process a request.
    • Session
      The session payload.
    • SessionCreate
      The SessionCreate payload.
    • SessionCreated
      The response to a SessionCreate.
    • SharedErrorData
      Shared fields between all error response variants.
    • Text
    • Unauthorized
      The error when the client is missing authorization. This error often occurs when the user
    • User
      The user payload.
    • UserCreate
      The UserCreate payload.
    • Validation
      The error when a request a client sends is incorrect and fails validation.
    • Video
    • ClientPayload
    • ErrorResponse
    • FileMetadata
    • ServerPayload
  • v0.4.0-alpha1
    • ClientPayloadAuthenticate
      The first payload the client is supposed to send. The data of this payload is expected to
    • ClientPayloadPing
      The payload the client is supposed to periodically send the server to not get disconnected.
    • CreatePasswordResetCode
      The CreatePasswordResetCode payload. This is used when a user wants to generate a code
    • EffisRateLimitConf
      Represents a single rate limit for Effis.
    • EffisRateLimits
      Rate limits that apply to Effis (The CDN).
    • ErrorResponseConflict
      The error when a client's request causes a conflict, usually when they're trying to create
    • ErrorResponseForbidden
      The error when a client *has* been succesfully authorized but does not have the required
    • ErrorResponseMisdirected
      The error when a server isn't able to reduce a response even though the client's request
    • ErrorResponseNotFound
      The error when a client requests a resource that does not exist.
    • ErrorResponseRateLimited
      The error when a client is rate limited.
    • ErrorResponseServer
      The error when the server fails to process a request.
    • ErrorResponseUnauthorized
      The error when the client is missing authorization. This error often occurs when the user
    • ErrorResponseValidation
      The error when a request a client sends is incorrect and fails validation.
    • FileData
      Represents a file stored on Effis.
    • FileMetadataImage
    • FileMetadataOther
    • FileMetadataText
    • FileMetadataVideo
    • FileUpload
      The data format for uploading a file.
    • InstanceInfo
      Represents information about the connected Eludris instance.
    • InstanceRateLimits
      Represents all rate limits that apply to the connected Eludris instance.
    • Message
      The Message payload. This is returned when you're provided information about a pre-existing
    • MessageCreate
      The MessageCreate payload. This is used when you want to create a message using the REST API.
    • MessageDisguise
      A temporary way to mask the message's author's name and avatar. This is mainly used for
    • OprishRateLimits
      Rate limits that apply to Oprish (The REST API).
    • PasswordDeleteCredentials
      The DeleteCredentials payload. This is used in multiple places in the API to provide extra
    • RateLimitConf
      Represents a single rate limit.
    • ResetPassword
      The ResetPassword payload. This is used when the user wants to reset their password using a
    • ServerPayloadAuthenticated
      The payload sent when the client has successfully authenticated. This contains the data the
    • ServerPayloadHello
      The payload sent by the server when you initiate a new gateway connection.
    • ServerPayloadMessageCreate
      The payload sent when the client receives a Message.
    • ServerPayloadPong
      A ClientPayload `PING` payload response.
    • ServerPayloadPresenceUpdate
      The payload sent when a user's presence is updated.
    • ServerPayloadRateLimit
      The payload sent when the client gets gateway rate limited.
    • ServerPayloadUserUpdate
      The payload received when a user updates themselves. This includes both user updates from
    • Session
      The session payload.
    • SessionCreate
      The SessionCreate payload.
    • SessionCreated
      The response to a SessionCreate.
    • SharedErrorData
      Shared fields between all error response variants.
    • Status
      A user's status.
    • StatusTypeBusy
    • StatusTypeIdle
    • StatusTypeOffline
    • StatusTypeOnline
    • UpdateUser
      The UpdateUser payload. Any field set to `null`, `undefined` or is missing will be disregarded
    • UpdateUserProfile
      The UpdateUserProfile payload. This payload is used to update a user's profile. The abscence of a
    • User
      The user payload.
    • UserCreate
      The UserCreate payload.
    • ClientPayload
    • ErrorResponse
    • FileMetadata
    • ServerPayload
    • StatusType