mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +01:00
Fixed share page. Updated data tables to be responsive.
This commit is contained in:
parent
92d16d8937
commit
c18daf4845
17 changed files with 69 additions and 54 deletions
|
|
@ -7,6 +7,7 @@ import { pageInfo } from 'lib/schema';
|
|||
import { NextApiResponse } from 'next';
|
||||
import { badRequest, hashPassword, methodNotAllowed, ok, unauthorized } from 'next-basics';
|
||||
import { createUser, getUserByUsername, getUsers } from 'queries';
|
||||
import * as yup from 'yup';
|
||||
|
||||
export interface UsersRequestQuery extends SearchFilter {}
|
||||
export interface UsersRequestBody {
|
||||
|
|
@ -16,7 +17,6 @@ export interface UsersRequestBody {
|
|||
role: Role;
|
||||
}
|
||||
|
||||
import * as yup from 'yup';
|
||||
const schema = {
|
||||
GET: yup.object().shape({
|
||||
...pageInfo,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue