TypeScript interface defining the shape of user account data such as name, email, id, and avatar, used across CLI auth-related modules.
// Source: https://github.com/opentiny/tiny-cli | License: MIT | Copyright 2022 - present Tiny CLI Authors
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Copyright (c) 2022 - present Tiny CLI Authors.
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/
export interface UserInfo {
name: string;
email: string;
id?: number;
username?: string;
state?: string;
avatar_url?: string;
[propName: strin
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key