start on endpoints

This commit is contained in:
ThatOneCalculator 2023-01-04 10:36:51 -08:00
parent e7de8c154a
commit 7ccab999a4
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
import { Client } from 'gifbox.js';
import config from '@/config/index.js';
import define from '../../define.js';
const gbClient = new Client();
export const meta = {
tags: ['gifbox'],
requireCredential: false,
requireCredentialPrivateMode: false,
errors: {
noSuchNote: {
message: 'Problem with GifBox.',
code: 'GIFBOX_ERROR',
id: 'bea9b03f-36e0-49c5-a4db-638a029f8971',
},
},
} as const;
export const paramDef = {
type: 'object',
properties: {},
required: [],
} as const;