mediawiki-skins-Citizen/resources/skins.citizen.search/types.js
alistair3149 431599cb59
refactor(search): ♻️ reimplement and clean up search clients
This should make the search clients more readable and easier to expand
2023-08-02 18:56:08 -04:00

18 lines
374 B
JavaScript

/**
* @typedef {Object} SearchResult
* @property {number} id
* @property {string} key
* @property {string} title
* @property {string} [description]
* @property {SearchResultThumbnail} [thumbnail]
*/
/**
* @typedef {Object} SearchResultThumbnail
* @property {string} url
* @property {number} [width]
* @property {number} [height]
*/
/* exported SearchResult */