UNPKG

@cocalc/server

Version:

CoCalc server functionality: functions used by either the hub and the next.js server

4 lines (3 loc) 254 B
import type { PostgreSQL } from "@cocalc/database/postgres/types"; import { PurchaseInfo } from "@cocalc/util/licenses/purchase/types"; export default function createLicense(database: PostgreSQL, account_id: string, info: PurchaseInfo): Promise<string>;