Skip to content

Commit d4b466a

Browse files
committed
Update FacetType enum
1 parent 8e9ef13 commit d4b466a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

lib/Client/Options/Facets/FacetType.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,20 @@ enum FacetType: string
2020

2121
case TITLE = "title";
2222
case AUTHOR = "author";
23-
case DATE_MODIFIED = "date_modified";
2423
case FOLLOWS = "follows";
2524
case PROJECT_ID = "project_id";
2625
case LICENSE = "license";
27-
case DATE_CREATED = "date_created";
2826
case DOWNLOADS = "downloads";
2927
case COLOR = "color";
28+
case CREATED_TIMESTAMP = "created_timestamp";
29+
case MODIFIED_TIMESTAMP = "modified_timestamp";
30+
31+
/**
32+
* @deprecated Use {@link FacetType::CREATED_TIMESTAMP} instead. This option doesn't work.
33+
*/
34+
case DATE_CREATED = "date_created";
35+
/**
36+
* @deprecated Use {@link FacetType::MODIFIED_TIMESTAMP} instead. This option doesn't work.
37+
*/
38+
case DATE_MODIFIED = "date_modified";
3039
}

0 commit comments

Comments
 (0)