feat: ship self-hosted KOC LOOP workflows
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
type CollectionMcpConfig,
|
||||
} from "./mcp-collection-client";
|
||||
import { hashText } from "./mvp-db";
|
||||
import type { DatabaseClient } from "./database";
|
||||
|
||||
type DistributionAccountRow = {
|
||||
id: string;
|
||||
@@ -37,7 +38,7 @@ function isVerifiedXhsProfileUrl(value: string | null) {
|
||||
}
|
||||
|
||||
export async function enrichDistributionAccount(
|
||||
db: D1Database,
|
||||
db: DatabaseClient,
|
||||
distributionId: string,
|
||||
publishUrl: string,
|
||||
fallbackNickname: string,
|
||||
@@ -177,7 +178,7 @@ export async function enrichDistributionAccount(
|
||||
}
|
||||
|
||||
export async function backfillAccountProfiles(
|
||||
db: D1Database,
|
||||
db: DatabaseClient,
|
||||
mcpConfig: CollectionMcpConfig,
|
||||
limit = 10,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user