feat: created by email calendar (#6536)
This PR is a followup of #6324 to add support of EMAIL and CALENDAR source for the created by composite field.
This commit is contained in:
14
packages/twenty-server/patches/typeorm+0.3.20.patch
Normal file
14
packages/twenty-server/patches/typeorm+0.3.20.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/node_modules/typeorm/common/PickKeysByType.d.ts b/node_modules/typeorm/common/PickKeysByType.d.ts
|
||||
index 55ad347..1a8a184 100644
|
||||
--- a/common/PickKeysByType.d.ts
|
||||
+++ b/common/PickKeysByType.d.ts
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Pick only the keys that match the Type `U`
|
||||
*/
|
||||
-export type PickKeysByType<T, U> = string & keyof {
|
||||
- [P in keyof T as T[P] extends U ? P : never]: T[P];
|
||||
-};
|
||||
+export type PickKeysByType<T, U> = string & {
|
||||
+ [P in keyof T]: Exclude<T[P], null> extends U ? P : never;
|
||||
+}[keyof T];
|
||||
Reference in New Issue
Block a user