@userlab/dx
Version:
Build efficient GraphQL backend
21 lines (20 loc) • 584 B
TypeScript
export interface Role {
id: string;
name: string;
description?: string;
isDisabled: boolean;
}
export interface RoleCreate {
name: string;
description?: string;
}
declare const RoleType: import("graphql").GraphQLObjectType<any, any>, RoleModel: import("@userlab/dx").Model<Role, RoleCreate>;
export { RoleType, RoleModel };
export declare const RoleQuery: {
role: import("graphql").GraphQLFieldConfig<any, any, {
[argName: string]: any;
}>;
roles: import("graphql").GraphQLFieldConfig<any, any, {
[argName: string]: any;
}>;
};