[WEB-2879] chore sub issue analytics improvements (#6275)
* chore: epics type added to package * chore: epic analytics helper function added * chore: sub issue analytics mutation improvement
This commit is contained in:
parent
ff936887d2
commit
fedcdf0c84
8 changed files with 104 additions and 18 deletions
15
web/ce/helpers/epic-analytics.ts
Normal file
15
web/ce/helpers/epic-analytics.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { TEpicAnalyticsGroup } from "@plane/types";
|
||||
|
||||
export const updateEpicAnalytics = () => {
|
||||
const updateAnalytics = (
|
||||
workspaceSlug: string,
|
||||
projectId: string,
|
||||
epicId: string,
|
||||
data: {
|
||||
incrementStateGroupCount?: TEpicAnalyticsGroup;
|
||||
decrementStateGroupCount?: TEpicAnalyticsGroup;
|
||||
}
|
||||
) => {};
|
||||
|
||||
return { updateAnalytics };
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue