refactor(corps): normalize credential categories and format workflow history logs
This commit is contained in:
1 parent
f91a80f9dd
commit
0499ccb2cc
9 files changed
+161
-49
No files matched your search
@@ -20,6 +20,7 @@ export interface CorpSummary {
|
||||
current: boolean;
|
||||
expiresAt?: number;
|
||||
persistent?: boolean;
|
||||
hasOpenApi?: boolean;
|
||||
}
|
||||
|
||||
export function resolveCorpConfig(
|
||||
@@ -172,6 +173,7 @@ export class CorpContext {
|
||||
current: corp.id === this.current?.id,
|
||||
expiresAt: getCorpExpiresAt(corp),
|
||||
persistent: hasOpenApiKeys || hasAccountBinding,
|
||||
hasOpenApi: hasOpenApiKeys,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user