Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

416 B
Raw Blame
export interface IDependencyResult {
  errors: string[];
  warnings: string[];
}

export abstract class CredentialDependency {
  constructor(
    protected readonly req: any,
    protected readonly credentialId: string,
  ) {}

  public abstract checkDependency(): Promise<IDependencyResult>;
  public abstract deleteDependencies(): Promise<void>;
  public abstract isGroupMatch(credentialGroup: string): boolean;
}