{"list":[{"title":"TConfig","link":"<a href=\"global.html#TConfig\">TConfig</a>","description":"<p>Configuration object</p>"},{"title":"WaibuDb","link":"<a href=\"WaibuDb.html\">WaibuDb</a>","description":"<p>Constructor.</p>"},{"title":"WaibuDb#adminMenu","link":"<a href=\"WaibuDb.html#adminMenu\">adminMenu</a>","description":"<p>Build menu for WaibuAdmin</p>"},{"title":"WaibuDb#config","link":"<a href=\"WaibuDb.html#config\">config</a>","description":"<p>Configuration object.</p>"},{"title":"WaibuDb#exportData","link":"<a href=\"WaibuDb.html#exportData\">exportData</a>","description":"<p>Export data and save it as a file you can download later.\nThis method is intended to be called by a worker process.</p>\n<p>If sumba is loaded, file download is handled by sumba download management which provides\nyou a slick UI to monitor the download progress and status.</p>\n<p>If not, file is saved in standard bajo download directory.</p>"},{"title":"WaibuDb#getAutoModels","link":"<a href=\"WaibuDb.html#getAutoModels\">getAutoModels</a>","description":"<p>Get all models that will be automatically included in the WaibuAdmin menu.</p>"},{"title":"WaibuDb#getLookupData","link":"<a href=\"WaibuDb.html#getLookupData\">getLookupData</a>","description":"<p>Get lookup data for a specific model and field based on provided options.</p>"},{"title":"WaibuDb#getParams","link":"<a href=\"WaibuDb.html#getParams\">getParams</a>","description":"<p>Collect all available parameters from the request object.</p>"},{"title":"WaibuDb#methodMap","link":"<a href=\"WaibuDb.html#methodMap\">methodMap</a>","description":"<p>Method map for CRUD operations.</p>"},{"title":"external:DoboModel","link":"<a href=\"external-DoboModel.html\">DoboModel</a>"},{"title":"external:TFilter","link":"<a href=\"external-TFilter.html\">TFilter</a>"},{"title":"external:TOptions","link":"<a href=\"external-TOptions.html\">TOptions</a>"},{"title":"factory","link":"<a href=\"global.html#factory\">factory</a>","description":"<p>Plugin factory.</p>\n<p><strong>Never</strong> call this function directly!!! It's only-meant to be called by the {@link https://ardhi.github.io/bajo|Bajo framework} during plugin initialization.</p>"},{"title":"module:CRUDHandler","link":"<a href=\"module-CRUDHandler.html\">CRUDHandler</a>","description":"<p>Function handlers for CRUD operations.</p>\n<p>To use these handlers, you need to import them first and call them with the appropriate parameters.</p>"},{"title":"module:CRUDHandler.THandlerMap","link":"<a href=\"module-CRUDHandler.html#.THandlerMap\">THandlerMap</a>","description":"<p>Map of CRUD action names to their corresponding handler functions.</p>"},{"title":"module:CRUDHandler.addHandler","link":"<a href=\"module-CRUDHandler.html#.addHandler\">addHandler</a>","description":"<p>Handler for rendering the add view of a model.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst addHandler = await importModule('waibuDb:/lib/crud/add-handler.js')\nconst result = await addHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler.allHandler","link":"<a href=\"module-CRUDHandler.html#.allHandler\">allHandler</a>","description":"<p>Handler for routing to the appropriate CRUD action based on the provided options.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst allHandler = await importModule('waibuDb:/lib/crud/all-handler.js')\nconst result = await allHandler.call(this, { model: 'YourModelName', action: 'list', req, reply })\n</code></pre>\n<p>For more information on the available actions, see {@link module:CRUDHandler.THandlerMap THandlerMap}.</p>"},{"title":"module:CRUDHandler.deleteHandler","link":"<a href=\"module-CRUDHandler.html#.deleteHandler\">deleteHandler</a>","description":"<p>Handler for deleting records of a model.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst deleteHandler = await importModule('waibuDb:/lib/crud/delete-handler.js')\nawait deleteHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler.detailsHandler","link":"<a href=\"module-CRUDHandler.html#.detailsHandler\">detailsHandler</a>","description":"<p>Handler for rendering the details view of a model.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst detailsHandler = await importModule('waibuDb:/lib/crud/details-handler.js')\nconst result = await detailsHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler.editHandler","link":"<a href=\"module-CRUDHandler.html#.editHandler\">editHandler</a>","description":"<p>Handler for rendering the edit view of a model.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst editHandler = await importModule('waibuDb:/lib/crud/edit-handler.js')\nconst result = await editHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler.exportHandler","link":"<a href=\"module-CRUDHandler.html#.exportHandler\">exportHandler</a>","description":"<p>Handler for rendering the export view of a model.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst exportHandler = await importModule('waibuDb:/lib/crud/export-handler.js')\nawait exportHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler.listHandler","link":"<a href=\"module-CRUDHandler.html#.listHandler\">listHandler</a>","description":"<p>Handle the list view for a given model, rendering the appropriate template with the retrieved data.</p>\n<p>To use this handler, you must import it first and call it with the necessary parameters. For example:</p>\n<pre class=\"prettyprint source lang-javascript\"><code>const { importModule } = this.app.bajo\nconst listHandler = await importModule('waibuDb:/lib/crud/list-handler.js')\nconst result = await listHandler.call(this, { model: 'YourModelName', req, reply })\n</code></pre>"},{"title":"module:CRUDHandler/Helper","link":"<a href=\"module-CRUDHandler_Helper.html\">CRUDHandler/Helper</a>"},{"title":"module:CRUDHandler/Helper.addOnsHandler","link":"<a href=\"module-CRUDHandler_Helper.html#.addOnsHandler\">addOnsHandler</a>","description":"<p>Add-ons handler for generating chart options based on the schema's aggregate settings.</p>\n<p>This function retrieves the aggregate settings from the schema and generates chart options for each setting.\nThe generated chart options are encoded in base64 and returned as an array of add-ons.</p>"},{"title":"module:CRUDHandler/Helper.attachmentHandler","link":"<a href=\"module-CRUDHandler_Helper.html#.attachmentHandler\">attachmentHandler</a>","description":"<p>Handles attachments for a given schema and ID.</p>"},{"title":"module:CRUDHandler/Helper.buildParams","link":"<a href=\"module-CRUDHandler_Helper.html#.buildParams\">buildParams</a>","description":"<p>Builds parameters for a given model and request.</p>"},{"title":"module:CRUDHandler/Helper.notFoundTpl","link":"<a href=\"module-CRUDHandler_Helper.html#.notFoundTpl\">notFoundTpl</a>","description":"<p>Template path for the &quot;not found&quot; page.</p>"},{"title":"module:Helper","link":"<a href=\"module-Helper.html\">Helper</a>"},{"title":"module:Helper.getOneRecord","link":"<a href=\"module-Helper.html#.getOneRecord\">getOneRecord</a>","description":"<p>Get a single record from the database based on the provided model, ID, filter, and options.</p>"},{"title":"module:Helper.prepCrud","link":"<a href=\"module-Helper.html#.prepCrud\">prepCrud</a>","description":"<p>Prepare CRUD operation parameters.</p>"},{"title":"module:Helper.processHandler","link":"<a href=\"module-Helper.html#.processHandler\">processHandler</a>","description":"<p>Process a database operation with error suppression and transaction handling.</p>"},{"title":"module:Helper~TActions","link":"<a href=\"module-Helper.html#~TActions\">TActions</a>","description":"<p>Type of actions that can be performed on records in the database.</p>"}]}