mirror of
https://github.com/langgenius/dify.git
synced 2026-06-15 14:05:29 +08:00
c0ee821d45
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
10 lines
359 B
TypeScript
10 lines
359 B
TypeScript
import type { AuthedContext, AuthedContextOptions } from './authed-command'
|
|
import { Command } from '@/framework/command'
|
|
import { buildAuthedContext } from './authed-command'
|
|
|
|
export abstract class DifyCommand extends Command {
|
|
protected async authedCtx(opts: AuthedContextOptions): Promise<AuthedContext> {
|
|
return buildAuthedContext(this, opts)
|
|
}
|
|
}
|