Profile editing: Utilize new API (#37990)

This commit is contained in:
Echo authored and GitHub committed 2026-02-26 13:55:10 +00:00
1 parent 51b81b3ce9
commit d18a47b6a7
11 files changed
+283 -101

No files matched your search

+5
View File
@@ -24,3 +24,8 @@ export type OmitValueType<T, V> = {
export type AnyFunction = (...args: never) => unknown;
export type OmitUnion<TUnion, TBase> = TBase & Omit<TUnion, keyof TBase>;
export type SnakeToCamelCase<S extends string> =
S extends `${infer T}_${infer U}`
? `${T}${Capitalize<SnakeToCamelCase<U>>}`
: S;