get items() {
return {
getAll: (query, params) =>
this.get({
this.getAll({
endpoint: "items?" +
endpoint: "items",
new URLSearchParams({
query,
_per_page: -1,
params,
...(query && { q: JSON.stringify(query) }),
}),
...(params)
};
}
-