paricafe/src/server/api/endpoints/endpoints.ts

16 lines
249 B
TypeScript
Raw Normal View History

2019-04-18 07:29:19 -05:00
import define from '../define';
import endpoints from '../endpoints';
export const meta = {
2020-02-15 06:33:32 -06:00
requireCredential: false as const,
2019-04-18 07:29:19 -05:00
tags: ['meta'],
params: {
},
};
export default define(meta, async () => {
return endpoints.map(x => x.name);
});