@internetarchive/collection-browser 4.1.0-alpha-webdev8186.5 → 4.1.1-alpha-webdev8185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ import type { SortDirection } from '@internetarchive/search-service';
13
13
  import {
14
14
  CollectionDisplayMode,
15
15
  defaultSortAvailability,
16
+ type ExplicitSortField,
16
17
  PrefixFilterCounts,
17
18
  PrefixFilterType,
18
19
  SORT_OPTIONS,
@@ -42,10 +43,8 @@ export class SortFilterBar extends LitElement {
42
43
  @property({ type: String }) defaultSortDirection: SortDirection | null = null;
43
44
 
44
45
  /** The default sort field to use if none is set */
45
- @property({ type: String }) defaultSortField: Exclude<
46
- SortField,
47
- SortField.default
48
- > = SortField.relevance;
46
+ @property({ type: String }) defaultSortField: ExplicitSortField =
47
+ SortField.relevance;
49
48
 
50
49
  /** The current sort direction (asc/desc), or null if none is set */
51
50
  @property({ type: String }) sortDirection: SortDirection | null = null;
@@ -1,8 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(cd /c/Users/Laton/workspace/IA/iaux-collection-browser && npm test 2>&1)",
5
- "Bash(cd /c/Users/Laton/workspace/IA/iaux-collection-browser && yarn run format 2>&1)"
6
- ]
7
- }
8
- }