mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Updated timezone hook, fixed chart rendering, added icons.
This commit is contained in:
parent
5a2330ba2a
commit
291562f6c2
14 changed files with 94 additions and 65 deletions
|
|
@ -20,16 +20,17 @@ import * as yup from 'yup';
|
|||
|
||||
export interface CollectRequestBody {
|
||||
payload: {
|
||||
data: { [key: string]: any };
|
||||
hostname: string;
|
||||
ip: string;
|
||||
language: string;
|
||||
referrer: string;
|
||||
screen: string;
|
||||
title: string;
|
||||
url: string;
|
||||
website: string;
|
||||
name: string;
|
||||
data?: { [key: string]: any };
|
||||
hostname?: string;
|
||||
ip?: string;
|
||||
language?: string;
|
||||
name?: string;
|
||||
referrer?: string;
|
||||
screen?: string;
|
||||
tag?: string;
|
||||
title?: string;
|
||||
url: string;
|
||||
};
|
||||
type: CollectionType;
|
||||
}
|
||||
|
|
@ -72,6 +73,7 @@ const schema = {
|
|||
url: yup.string(),
|
||||
website: yup.string().uuid().required(),
|
||||
name: yup.string().max(50),
|
||||
tag: yup.string().max(50),
|
||||
})
|
||||
.required(),
|
||||
type: yup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue