Files
Joey Perrott b108ece707 ci: update algolia synonym updater to use node directly rather than tsx
With new version of node we can import ts files directly in our scripts rather than using tsx

(cherry picked from commit 3f13db87e2)
2026-01-14 17:26:43 +00:00

26 lines
625 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {type SynonymHit} from 'algoliasearch';
/**
* List of synonyms to upload to algolia.
*
* More information about synonyms can be found here:
* https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/
*/
const synonyms: SynonymHit[] = [
{
objectID: 'di-synonyms',
type: 'synonym',
synonyms: ['DI', 'dependency injection'],
},
];
export default synonyms;