strapi/docs/.vuepress/dist/assets/js/34.0eb2f8aa.js

1 line
13 KiB
JavaScript
Raw Normal View History

2018-10-05 17:24:17 +02:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{205:function(t,e,r){"use strict";r.r(e);var s=r(0),a=Object(s.a)({},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"content"},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),r("p",[t._v("Returns the Koa instance.")]),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7),t._v(" "),t._m(8),t._v(" "),t._m(9),t._v(" "),t._m(10),t._v(" "),t._m(11),t._v(" "),t._m(12),t._v(" "),t._m(13),t._v(" "),t._m(14),t._v(" "),t._m(15),t._v(" "),t._m(16),t._v(" "),t._m(17),t._v(" "),t._m(18),t._v(" "),t._m(19),t._v(" "),r("p",[t._v("Returns the Logger (Pino) instance.")]),t._v(" "),t._m(20),t._v(" "),t._m(21),t._v(" "),t._m(22),t._v(" "),t._m(23),t._v(" "),t._m(24),t._v(" "),t._m(25),t._v(" "),t._m(26),t._v(" "),r("p",[t._v("Returns a function that will returns the available queries for this model. This feature is only available inside the plugin's files (controllers, services, custom functions). For more details, see the [ORM queries section](../plugin-development/backend-development.md#ORM queries).")]),t._v(" "),t._m(27),t._v(" "),r("p",[t._v("Returns a function that reloads the entire app (with downtime).")]),t._v(" "),t._m(28),t._v(" "),r("p",[t._v("Returns the Router (Joi router) instance.")]),t._v(" "),t._m(29),t._v(" "),r("p",[t._v("Returns the "),r("a",{attrs:{href:"https://nodejs.org/api/http.html#http_class_http_server",target:"_blank",rel:"noopener noreferrer"}},[r("code",[t._v("http.Server")]),r("OutboundLink")],1),t._v(" instance.")]),t._v(" "),t._m(30),t._v(" "),t._m(31),t._v(" "),t._m(32),t._v(" "),r("p",[t._v("Returns a function that loads the configurations, middlewares and hooks. Then, it executes the bootstrap file, freezes the global variable and listens the configured port.")]),t._v(" "),t._m(33),t._v(" "),r("p",[t._v("Returns a function that shuts down the server and destroys the current connections.")]),t._v(" "),t._m(34),t._v(" "),r("p",[t._v("Returns a set of utils.")])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{attrs:{id:"api-reference"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#api-reference","aria-hidden":"true"}},[this._v("#")]),this._v(" API Reference")])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",[r("li",[t._v("strapi\n"),r("ul",[r("li",[r("a",{attrs:{href:"#strapiadmin"}},[t._v(".admin")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiapp"}},[t._v(".app")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapibootstrap"}},[t._v(".bootstrap()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiconfig"}},[t._v(".config")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapicontrollers"}},[t._v(".controllers")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapihook"}},[t._v(".hook")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapikoaMiddlewares"}},[t._v(".koaMiddlewares")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiload"}},[t._v(".load()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapilog"}},[t._v(".log")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapimiddleware"}},[t._v(".middleware")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapimodels"}},[t._v(".models")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiplugins"}},[t._v(".plugins")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiquery"}},[t._v(".query()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapireload"}},[t._v(".reload()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapirouter"}},[t._v(".router")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiserver"}},[t._v(".server")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiservices"}},[t._v(".services")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapistart"}},[t._v(".start()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapistop"}},[t._v(".stop()")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#strapiutils"}},[t._v(".utils")])])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("h2",{attrs:{id:"strapi-admin"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#strapi-admin",