mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 03:48:30 +00:00
feat(workflow): integrate temporal workflow bundles and support dev/prod mode
This commit is contained in:
@@ -9,7 +9,9 @@ export async function getAgentWorkerQueueActivity(): Promise<string> {
|
||||
return 'agent_queue'
|
||||
}
|
||||
|
||||
export async function getAssetStatusActivity(params: { assetId: string }): Promise<AssetStatus | null> {
|
||||
export async function getAssetStatusActivity(params: {
|
||||
assetId: string
|
||||
}): Promise<AssetStatus | null> {
|
||||
const asset = await prisma.asset.findUnique({
|
||||
where: { id: params.assetId },
|
||||
select: { status: true },
|
||||
|
||||
Reference in New Issue
Block a user