mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 11:13:08 +02:00
27 lines
424 B
TypeScript
27 lines
424 B
TypeScript
import define from '../define';
|
|
|
|
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(),
|
|
};
|
|
});
|