import type { OpenClawConfig } from "../../config/types.openclaw.js"; import { normalizeOptionalString } from "../../shared/string-coerce.js"; import type { AuthProfileStore } from "./types.js";
function resolveStoredMetadata(store: AuthProfileStore | undefined, profileId: string) { const profile = store?.profiles[profileId]; if (!profile) { return {};
} return {
displayName: "displayName" in profile ? normalizeOptionalString(profile.displayName) : undefined,
email: "email" in profile ? normalizeOptionalString(profile.email) : undefined,
};
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.