UNPKG

@cocalc/server

Version:

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

13 lines (12 loc) 393 B
import { Item } from "@cocalc/util/db-schema/shopping-cart-items"; export type { Item }; interface Options { account_id: string; purchased?: boolean; removed?: boolean; } export default function getCart({ account_id, purchased, removed, }: Options): Promise<Item[]>; export declare function getItem({ account_id, id, }: { account_id: string; id: number; }): Promise<Item>;