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