mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-28 00:42:31 +00:00
22 lines
393 B
TypeScript
22 lines
393 B
TypeScript
import Ajv from 'ajv'
|
|
import { JsonObject } from 'type-fest'
|
|
|
|
export enum RestMethods {
|
|
Get = 'GET',
|
|
Post = 'POST',
|
|
Put = 'PUT',
|
|
}
|
|
|
|
export enum RestCommands {
|
|
Instance = 'instance',
|
|
UserToken = 'userToken',
|
|
}
|
|
|
|
export type RestPayloadBase = JsonObject
|
|
|
|
export const ajv = new Ajv()
|
|
|
|
export * from './CreateInstance'
|
|
export * from './GetUserTokenInfo'
|
|
export * from './UpdateInstance'
|