Skip to content

Commit

Permalink
Merge branch 'main' into harmonize-hf-token
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 authored Dec 5, 2023
2 parents 19e2039 + 622a83e commit bbc8a8b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions packages/hub/src/lib/who-am-i.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe("whoAmI", () => {
fullname: "@huggingface/hub CI bot",
email: "[email protected]",
emailVerified: true,
plan: "NO_PLAN",
canPay: false,
isPro: false,
periodEnd: null,
Expand All @@ -25,7 +24,6 @@ describe("whoAmI", () => {
displayName: "ci-hub.js",
role: "write",
},
permissions: ["inference-api"],
},
});
});
Expand Down
9 changes: 0 additions & 9 deletions packages/hub/src/lib/who-am-i.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export interface WhoAmIUser {
name: string;
fullname: string;
canPay: boolean;
/**
* @deprecated
*/
plan?: unknown;
avatarUrl: string;
/**
* Unix timestamp in seconds
Expand All @@ -34,10 +30,6 @@ export interface WhoAmIOrg {
fullname: string;
email: string | null;
canPay: boolean;
/**
* @deprecated
*/
plan?: unknown;
avatarUrl: string;
/**
* Unix timestamp in seconds
Expand All @@ -63,7 +55,6 @@ export interface AuthInfo {
expiration?: Date;
role: AccessTokenRole;
};
permissions: string[];
expiresAt?: Date;
}

Expand Down

0 comments on commit bbc8a8b

Please sign in to comment.