RocketChat/Rocket.Chat

View on GitHub
packages/rest-typings/src/v1/oauthapps/DeleteOAuthAppParamsDELETE.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { ajv } from '../Ajv';

export type DeleteOAuthAppParams = {
    appId: string;
};

const DeleteOAuthAppParamsSchema = {
    type: 'object',
    properties: {
        appId: {
            type: 'string',
        },
    },
    required: ['appId'],
    additionalProperties: false,
};

export const isDeleteOAuthAppParams = ajv.compile<DeleteOAuthAppParams>(DeleteOAuthAppParamsSchema);