@mussnad/frappe-js-client
Version:
Next-generation TS/JS client for Frappe REST APIs, built on axios for robust, type-safe integration.
52 lines (51 loc) • 1.92 kB
JavaScript
;
/**
* @module frappe-js-client
* @description A modern TypeScript SDK for Frappe Framework, providing strongly-typed
* interfaces and utilities for interacting with Frappe-based applications.
*
* This module serves as the main entry point for the Frappe Next SDK, exposing all
* essential functionalities through organized submodules.
*
* @example
* ```typescript
* import { FrappeApp, Auth, DB } from 'frappe-js-client';
*
* // Initialize the Frappe application
* const frappe = new FrappeApp({
* url: 'https://your-frappe-site.com'
* });
* ```
*
* @packageDocumentation
*
* Exports:
* - {@link "./frappe"} - Core Frappe application functionality
* - {@link "./auth"} - Authentication and user management
* - {@link "./db"} - Database operations and queries
* - {@link "./file"} - File handling utilities
* - {@link "./call"} - Remote method calling utilities
*
* @license MIT
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./frappe"), exports);
__exportStar(require("./auth"), exports);
__exportStar(require("./db"), exports);
__exportStar(require("./file"), exports);
__exportStar(require("./call"), exports);
__exportStar(require("./client"), exports);