mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 12:03:09 +02:00
16 lines
240 B
TypeScript
16 lines
240 B
TypeScript
|
import define from '../define';
|
||
|
import endpoints from '../endpoints';
|
||
|
|
||
|
export const meta = {
|
||
|
requireCredential: false,
|
||
|
|
||
|
tags: ['meta'],
|
||
|
|
||
|
params: {
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default define(meta, async () => {
|
||
|
return endpoints.map(x => x.name);
|
||
|
});
|