UNPKG

pocketbase-tools

Version:

A TypeScript toolkit for PocketBase, featuring a standard service/action/types layered structure. It provides interfaces and implementations for common business logic such as users, products, company profiles, and file utilities, making it suitable for se

8 lines (7 loc) 246 B
import PocketBase from "pocketbase"; import { ClientConfig } from "./types"; /** * 创建 PocketBase 客户端实例 * @param config baseUrl 或 { baseUrl } */ export declare function createPBClient(config: ClientConfig | string): PocketBase;