Skip to content

Commit

Permalink
✂️
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd committed Aug 1, 2024
1 parent 4453eb3 commit ce8b725
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions front/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import type { PlanType, SubscriptionType } from "@dust-tt/types";
import type { DustAPICredentials } from "@dust-tt/types";
import type { Result } from "@dust-tt/types";
import type { APIErrorWithStatusCode } from "@dust-tt/types";
import type { BaseAuthenticator } from "@dust-tt/types";
import {
Err,
groupHasPermission,
Expand Down Expand Up @@ -61,7 +60,7 @@ const DUST_INTERNAL_EMAIL_REGEXP = /^[^@]+@dust\.tt$/;
* It explicitely does not store a reference to the current user to make sure our permissions are
* workspace oriented. Use `getUserFromSession` if needed.
*/
export class Authenticator implements BaseAuthenticator {
export class Authenticator {
_flags: WhitelistableFeature[];
_key?: KeyAuthType;
_role: RoleType;
Expand Down
11 changes: 0 additions & 11 deletions types/src/front/auth.ts

This file was deleted.

1 change: 0 additions & 1 deletion types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export * from "./front/assistant/builder";
export * from "./front/assistant/conversation";
export * from "./front/assistant/templates";
export * from "./front/assistant/visualization";
export * from "./front/auth";
export * from "./front/content_fragment";
export * from "./front/data_source";
export * from "./front/data_source_view";
Expand Down

0 comments on commit ce8b725

Please sign in to comment.