@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
21 lines (20 loc) • 558 B
TypeScript
import type { PrimaryKey } from '@directus/types';
import type { Knex } from 'knex';
export interface GetUserCountOptions {
excludeIds?: PrimaryKey[];
excludeRoles?: PrimaryKey[];
includeRoles?: PrimaryKey[];
}
export declare function getUserCountQuery(knex: Knex, options: GetUserCountOptions): Promise<{
count: number;
}> | Knex.QueryBuilder<any, {
_base: {};
_hasSelection: true;
_keys: never;
_aliases: {};
_single: false;
_intersectProps: {
count?: string | number;
};
_unionProps: undefined;
}>;