perf: Refactor getEnabledApps to filter on credentials passed (#10353)
Co-authored-by: Omar López <[email protected]> Co-authored-by: Hariom Balhara <[email protected]>
This commit is contained in:
20 files changed
+76
-27
No files matched your search
Vendored
+1
-1
@@ -111,7 +111,7 @@ export interface App {
|
||||
/** Number of reviews, harcoded for now. Should be fetched later on. */
|
||||
reviews?: number;
|
||||
/**
|
||||
* Wheter if the app is installed globally or needs user intervention.
|
||||
* Whether if the app is installed globally or needs user intervention.
|
||||
* Used to show Connect/Disconnect buttons in App Store
|
||||
* */
|
||||
isGlobal?: boolean;
|
||||
|
||||
Vendored
+1
-1
@@ -11,7 +11,7 @@ export type CredentialPayload = Prisma.CredentialGetPayload<{
|
||||
appId: true;
|
||||
type: true;
|
||||
userId: true;
|
||||
teamId?: true;
|
||||
teamId: true;
|
||||
key: true;
|
||||
invalid: true;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user