mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
export * from "./users";
|
|
export * from "./workspace";
|
|
export * from "./sprints";
|
|
export * from "./projects";
|
|
export * from "./state";
|
|
export * from "./invitation";
|
|
export * from "./issues";
|
|
|
|
export type NestedKeyOf<ObjectType extends object> = {
|
|
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object
|
|
? ObjectType[Key] extends { pop: any; push: any }
|
|
? `${Key}`
|
|
: `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}`
|
|
: `${Key}`;
|
|
}[keyof ObjectType & (string | number)];
|