paricafe/src/server/api/endpoints/endpoints.ts
2020-02-15 21:33:32 +09:00

15 lines
249 B
TypeScript

import define from '../define';
import endpoints from '../endpoints';
export const meta = {
requireCredential: false as const,
tags: ['meta'],
params: {
},
};
export default define(meta, async () => {
return endpoints.map(x => x.name);
});