-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into renovate/all
- Loading branch information
Showing
64 changed files
with
1,463 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/breadcrumb-manager/headless-breadcrumb-manager.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import { | ||
BreadcrumbManager, | ||
buildBreadcrumbManager, | ||
} from './headless-breadcrumb-manager'; | ||
|
||
export * from './headless-breadcrumb-manager'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineBreadcrumbManager = (): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
BreadcrumbManager | ||
> => ({ | ||
build: (engine) => buildBreadcrumbManager(engine), | ||
}); |
15 changes: 15 additions & 0 deletions
15
packages/headless/src/controllers/context/headless-context.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import {Context, buildContext} from './headless-context'; | ||
|
||
export * from './headless-context'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineContext = (): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
Context | ||
> => ({ | ||
build: (engine) => buildContext(engine), | ||
}); |
19 changes: 19 additions & 0 deletions
19
...eadless/src/controllers/dictionary-field-context/headless-dictionary-field-context.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import { | ||
DictionaryFieldContext, | ||
buildDictionaryFieldContext, | ||
} from './headless-dictionary-field-context'; | ||
|
||
export * from './headless-dictionary-field-context'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineDictionaryFieldContext = | ||
(): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
DictionaryFieldContext | ||
> => ({ | ||
build: (engine) => buildDictionaryFieldContext(engine), | ||
}); |
15 changes: 15 additions & 0 deletions
15
packages/headless/src/controllers/did-you-mean/headless-did-you-mean.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import {DidYouMean, buildDidYouMean} from './headless-did-you-mean'; | ||
|
||
export * from './headless-did-you-mean'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineDidYouMean = (): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
DidYouMean | ||
> => ({ | ||
build: (engine) => buildDidYouMean(engine), | ||
}); |
15 changes: 15 additions & 0 deletions
15
packages/headless/src/controllers/facet-manager/headless-facet-manager.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import {FacetManager, buildFacetManager} from './headless-facet-manager'; | ||
|
||
export * from './headless-facet-manager'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineFacetManager = (): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
FacetManager | ||
> => ({ | ||
build: (engine) => buildFacetManager(engine), | ||
}); |
18 changes: 18 additions & 0 deletions
18
...rc/controllers/facets/automatic-facet-generator/headless-automatic-facet-generator.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import { | ||
AutomaticFacetGenerator, | ||
AutomaticFacetGeneratorProps, | ||
buildAutomaticFacetGenerator, | ||
} from './headless-automatic-facet-generator'; | ||
|
||
export * from './headless-automatic-facet-generator'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineAutomaticFacetGenerator = ( | ||
props: AutomaticFacetGeneratorProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, AutomaticFacetGenerator> => ({ | ||
build: (engine) => buildAutomaticFacetGenerator(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/facets/automatic-facet/headless-automatic-facet.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import { | ||
AutomaticFacet, | ||
AutomaticFacetProps, | ||
buildAutomaticFacet, | ||
} from './headless-automatic-facet'; | ||
|
||
export * from './headless-automatic-facet'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineAutomaticFacet = ( | ||
props: AutomaticFacetProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, AutomaticFacet> => ({ | ||
build: (engine) => buildAutomaticFacet(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/facets/category-facet/headless-category-facet.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import { | ||
CategoryFacet, | ||
CategoryFacetProps, | ||
buildCategoryFacet, | ||
} from './headless-category-facet'; | ||
|
||
export * from './headless-category-facet'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineCategoryFacet = ( | ||
props: CategoryFacetProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, CategoryFacet> => ({ | ||
build: (engine) => buildCategoryFacet(engine, props), | ||
}); |
14 changes: 14 additions & 0 deletions
14
packages/headless/src/controllers/facets/facet/headless-facet.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import {Facet, FacetProps, buildFacet} from './headless-facet'; | ||
|
||
export * from './headless-facet'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineFacet = ( | ||
props: FacetProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, Facet> => ({ | ||
build: (engine) => buildFacet(engine, props), | ||
}); |
16 changes: 16 additions & 0 deletions
16
packages/headless/src/controllers/facets/range-facet/date-facet/headless-date-facet.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {SearchEngine} from '../../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../../app/ssr-engine/types/common'; | ||
import {DateFacet, DateFacetProps, buildDateFacet} from './headless-date-facet'; | ||
|
||
export * from './headless-date-facet'; | ||
|
||
export {buildDateRange} from './headless-date-facet'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineDateFacet = ( | ||
props: DateFacetProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, DateFacet> => ({ | ||
build: (engine) => buildDateFacet(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/facets/range-facet/date-facet/headless-date-filter.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../../app/ssr-engine/types/common'; | ||
import { | ||
DateFilter, | ||
DateFilterProps, | ||
buildDateFilter, | ||
} from './headless-date-filter'; | ||
|
||
export * from './headless-date-filter'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineDateFilter = ( | ||
props: DateFilterProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, DateFilter> => ({ | ||
build: (engine) => buildDateFilter(engine, props), | ||
}); |
20 changes: 20 additions & 0 deletions
20
...s/headless/src/controllers/facets/range-facet/numeric-facet/headless-numeric-facet.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import {SearchEngine} from '../../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../../app/ssr-engine/types/common'; | ||
import { | ||
NumericFacet, | ||
NumericFacetProps, | ||
buildNumericFacet, | ||
} from './headless-numeric-facet'; | ||
|
||
export * from './headless-numeric-facet'; | ||
|
||
export {buildNumericRange} from './headless-numeric-facet'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineNumericFacet = ( | ||
props: NumericFacetProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, NumericFacet> => ({ | ||
build: (engine) => buildNumericFacet(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
.../headless/src/controllers/facets/range-facet/numeric-facet/headless-numeric-filter.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../../app/ssr-engine/types/common'; | ||
import { | ||
NumericFilter, | ||
NumericFilterProps, | ||
buildNumericFilter, | ||
} from './headless-numeric-filter'; | ||
|
||
export * from './headless-numeric-filter'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineNumericFilter = ( | ||
props: NumericFilterProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, NumericFilter> => ({ | ||
build: (engine) => buildNumericFilter(engine, props), | ||
}); |
21 changes: 21 additions & 0 deletions
21
...c/controllers/field-suggestions/category-facet/headless-category-field-suggestions.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import { | ||
CategoryFieldSuggestions, | ||
CategoryFieldSuggestionsProps, | ||
buildCategoryFieldSuggestions, | ||
} from './headless-category-field-suggestions'; | ||
|
||
export * from './headless-category-field-suggestions'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineCategoryFieldSuggestions = ( | ||
props: CategoryFieldSuggestionsProps | ||
): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
CategoryFieldSuggestions | ||
> => ({ | ||
build: (engine) => buildCategoryFieldSuggestions(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/field-suggestions/facet/headless-field-suggestions.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../../app/ssr-engine/types/common'; | ||
import { | ||
FieldSuggestions, | ||
FieldSuggestionsProps, | ||
buildFieldSuggestions, | ||
} from './headless-field-suggestions'; | ||
|
||
export * from './headless-field-suggestions'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineFieldSuggestions = ( | ||
props: FieldSuggestionsProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, FieldSuggestions> => ({ | ||
build: (engine) => buildFieldSuggestions(engine, props), | ||
}); |
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/folded-result-list/headless-folded-result-list.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import { | ||
FoldedResultList, | ||
FoldedResultListProps, | ||
buildFoldedResultList, | ||
} from './headless-folded-result-list'; | ||
|
||
export * from './headless-folded-result-list'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineFoldedResultList = ( | ||
props?: FoldedResultListProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, FoldedResultList> => ({ | ||
build: (engine) => buildFoldedResultList(engine, props), | ||
}); |
15 changes: 15 additions & 0 deletions
15
packages/headless/src/controllers/history-manager/headless-history-manager.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import {HistoryManager, buildHistoryManager} from './headless-history-manager'; | ||
|
||
export * from './headless-history-manager'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineHistoryManager = (): ControllerDefinitionWithoutProps< | ||
SearchEngine, | ||
HistoryManager | ||
> => ({ | ||
build: (engine) => buildHistoryManager(engine), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/headless/src/controllers/instant-results/instant-results.ssr.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {SearchEngine} from '../../app/search-engine/search-engine'; | ||
import {ControllerDefinitionWithoutProps} from '../../app/ssr-engine/types/common'; | ||
import { | ||
InstantResultProps, | ||
InstantResults, | ||
buildInstantResults, | ||
} from './instant-results'; | ||
|
||
export * from './instant-results'; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const defineInstantResults = ( | ||
props: InstantResultProps | ||
): ControllerDefinitionWithoutProps<SearchEngine, InstantResults> => ({ | ||
build: (engine) => buildInstantResults(engine, props), | ||
}); |
Oops, something went wrong.