refactor(corps): normalize credential categories and format workflow history logs

This commit is contained in:
gitea committed 2026-10-14 18:19:13 +08:00
1 parent f91a80f9dd
commit 0499ccb2cc
9 files changed
+161 -49

No files matched your search

+2
View File
@@ -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,
};
});
}