@userfrosting/sprinkle-admin
Version:
Admin Sprinkle for UserFrosting 6
14 lines (13 loc) • 392 B
TypeScript
import { ApiResponse } from '@userfrosting/sprinkle-core/interfaces';
/**
* API Interfaces - What the API expects and what it returns
*
* This interface is tied to the `RoleCreateAction` API, accessed at the
* POST `/api/roles` endpoint.
*/
export interface RoleCreateRequest {
name: string;
slug: string;
description: string;
}
export type RoleCreateResponse = ApiResponse;