mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-17 06:59:01 +01:00
28 lines
479 B
TypeScript
28 lines
479 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,
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
export default define(meta, async () => {
|
|
return {
|
|
pong: Date.now(),
|
|
};
|
|
});
|