mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
10 lines
310 B
TypeScript
10 lines
310 B
TypeScript
|
import AnalyticsDataModel from 'Common/AnalyticsModels/BaseModel';
|
||
|
import BaseModel from 'Common/Models/BaseModel';
|
||
|
import { JSONObject } from 'Common/Types/JSON';
|
||
|
|
||
|
type GroupBy<TBaseModel extends AnalyticsDataModel | BaseModel | JSONObject> = {
|
||
|
[P in keyof TBaseModel]?: true;
|
||
|
};
|
||
|
|
||
|
export default GroupBy;
|