plane/web/types/index.d.ts

30 lines
907 B
TypeScript
Raw Normal View History

export * from "./importer";
2023-09-12 14:06:35 +00:00
export * from "./ai";
export * from "./analytics";
export * from "./calendar";
2023-09-12 14:06:35 +00:00
export * from "./custom-attributes";
export * from "./cycles";
export * from "./estimate";
export * from "./inbox";
export * from "./integration";
export * from "./issues";
export * from "./modules";
export * from "./notifications";
2023-09-12 14:06:35 +00:00
export * from "./pages";
export * from "./projects";
export * from "./reaction";
2023-09-12 14:06:35 +00:00
export * from "./state";
export * from "./users";
export * from "./views";
export * from "./waitlist";
export * from "./workspace";
export * from "./view-props";
2022-11-19 14:21:26 +00:00
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)];