Skip to content

Commit

Permalink
Update FacetType enum
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Sep 26, 2023
1 parent 8e9ef13 commit d4b466a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions lib/Client/Options/Facets/FacetType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,20 @@ enum FacetType: string

case TITLE = "title";
case AUTHOR = "author";
case DATE_MODIFIED = "date_modified";
case FOLLOWS = "follows";
case PROJECT_ID = "project_id";
case LICENSE = "license";
case DATE_CREATED = "date_created";
case DOWNLOADS = "downloads";
case COLOR = "color";
case CREATED_TIMESTAMP = "created_timestamp";
case MODIFIED_TIMESTAMP = "modified_timestamp";

/**
* @deprecated Use {@link FacetType::CREATED_TIMESTAMP} instead. This option doesn't work.
*/
case DATE_CREATED = "date_created";
/**
* @deprecated Use {@link FacetType::MODIFIED_TIMESTAMP} instead. This option doesn't work.
*/
case DATE_MODIFIED = "date_modified";
}

0 comments on commit d4b466a

Please sign in to comment.