Huggingface.js documentation

Interface: WhoAmIApp

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: WhoAmIApp

Properties

id

id: string

Defined in

hub/src/lib/who-am-i.ts:41


name

name: string

Defined in

hub/src/lib/who-am-i.ts:43


scope

Optional scope: Object

Type declaration

Name Type
entities string[]
role "admin" | "write" | "contributor" | "read"

Defined in

hub/src/lib/who-am-i.ts:44


type

type: "app"

Defined in

hub/src/lib/who-am-i.ts:42

< > Update on GitHub