UNPKG

@userfrosting/sprinkle-admin

Version:
16 lines (13 loc) 408 B
import type { 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 interface RoleCreateResponse extends ApiResponse {}