2021-08-19 07:55:45 -05:00
|
|
|
import define from '../define';
|
2021-01-08 18:25:27 -06:00
|
|
|
|
|
|
|
export const meta = {
|
|
|
|
requireCredential: false as const,
|
|
|
|
|
|
|
|
tags: ['meta'],
|
|
|
|
|
|
|
|
params: {
|
|
|
|
},
|
|
|
|
|
|
|
|
res: {
|
|
|
|
type: 'object' as const,
|
|
|
|
optional: false as const, nullable: false as const,
|
|
|
|
properties: {
|
|
|
|
pong: {
|
|
|
|
type: 'number' as const,
|
|
|
|
optional: false as const, nullable: false as const,
|
|
|
|
},
|
2021-12-09 08:58:30 -06:00
|
|
|
},
|
|
|
|
},
|
2021-01-08 18:25:27 -06:00
|
|
|
};
|
|
|
|
|
2022-01-02 11:12:50 -06:00
|
|
|
// eslint-disable-next-line import/no-default-export
|
2021-01-08 18:25:27 -06:00
|
|
|
export default define(meta, async () => {
|
|
|
|
return {
|
|
|
|
pong: Date.now(),
|
|
|
|
};
|
|
|
|
});
|