Skip to content

Make the type of a Task a enum of values #363

Closed
@brunoocasali

Description

@brunoocasali

In /Sources/MeiliSearch/Model/Task.swift:

The attribute public let type: String should become an enum.
The possible values are:

indexCreation, indexUpdate, indexDeletion, indexSwap, documentAdditionOrUpdate, documentDeletion, settingsUpdate, dumpCreation, taskCancelation, taskDeletion, and snapshotCreation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions