TESSA Web API
    Preparing search index...

    Service for avatars managing.

    interface IAvatarService {
        store(
            id: string,
            kind: AvatarContentKind,
            content: Blob | File,
            additionalContent?: null | Blob | File,
        ): Promise<void>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Stores avatar content.

      Parameters

      • id: string

        The identifier of the entity for that avatar content should be stored.

      • kind: AvatarContentKind

        Kind of avatar content.

      • content: Blob | File

        Main content of the new avatar.

      • OptionaladditionalContent: null | Blob | File

        Additional content of the new avatar. Used only if kind is AvatarContentKind.Photo.

      Returns Promise<void>