mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 20:20:49 +01:00
8 lines
337 B
TypeScript
8 lines
337 B
TypeScript
// types
|
|
import { IStateResponse } from "types";
|
|
|
|
export const orderStateGroups = (unorderedStateGroups: IStateResponse | undefined): IStateResponse | undefined => {
|
|
if (!unorderedStateGroups) return undefined;
|
|
return Object.assign({ backlog: [], unstarted: [], started: [], completed: [], cancelled: [] }, unorderedStateGroups);
|
|
};
|