UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

19 lines 456 B
import { KsUserRole } from '@knapsack/core'; export declare type User = { username: string; id: string; attributes: { email: string; 'custom:ks-github-repos'?: string; sub?: string; }; }; export declare function getUserInfo(): Promise<{ role?: KsUserRole; canEdit?: boolean; user?: User; username?: string; ksRepoAccess?: string[]; token?: string; }>; //# sourceMappingURL=user-utils.d.ts.map