RocketChat/Rocket.Chat

View on GitHub
packages/rest-typings/src/v1/channels/ChannelsListProps.ts

Summary

Maintainability
A
0 mins
Test Coverage
import Ajv from 'ajv';

import type { PaginatedRequest } from '../../helpers/PaginatedRequest';

const ajv = new Ajv({
    coerceTypes: true,
});

export type ChannelsListProps = PaginatedRequest<null>;
const channelsListPropsSchema = {};
export const isChannelsListProps = ajv.compile<ChannelsListProps>(channelsListPropsSchema);