@userfrosting/sprinkle-admin
Version:
Admin Sprinkle for UserFrosting 6
16 lines (13 loc) • 408 B
text/typescript
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 {}