2021-08-19 11:33:41 +02:00
|
|
|
import define from '../define.js';
|
2021-01-09 01:25:27 +01: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,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default define(meta, async () => {
|
|
|
|
return {
|
|
|
|
pong: Date.now(),
|
|
|
|
};
|
|
|
|
});
|