2024-08-19 23:51:06 +08:00
|
|
|
|
</code></pre><h3 id="class-plugin-basemodel" tabindex="-1"><a class="header-anchor" href="#class-plugin-basemodel"><span><em><strong>class</strong></em> <code>Plugin(BaseModel)</code></span></a></h3><p>存储插件信息</p><h3 id="attr-model-config-arbitrary-types-allowed-true" tabindex="-1"><a class="header-anchor" href="#attr-model-config-arbitrary-types-allowed-true"><span> <em><strong>attr</strong></em> <code>model_config: {'arbitrary_types_allowed': True}</code></span></a></h3><h3 id="var-application-application" tabindex="-1"><a class="header-anchor" href="#var-application-application"><span><em><strong>var</strong></em> <code>APPLICATION = 'application'</code></span></a></h3><h3 id="var-service-service" tabindex="-1"><a class="header-anchor" href="#var-service-service"><span><em><strong>var</strong></em> <code>SERVICE = 'service'</code></span></a></h3><h3 id="var-implementation-implementation" tabindex="-1"><a class="header-anchor" href="#var-implementation-implementation"><span><em><strong>var</strong></em> <code>IMPLEMENTATION = 'implementation'</code></span></a></h3><h3 id="var-module-module" tabindex="-1"><a class="header-anchor" href="#var-module-module"><span><em><strong>var</strong></em> <code>MODULE = 'module'</code></span></a></h3><h3 id="var-unclassified-unclassified" tabindex="-1"><a class="header-anchor" href="#var-unclassified-unclassified"><span><em><strong>var</strong></em> <code>UNCLASSIFIED = 'unclassified'</code></span></a></h3><h3 id="var-model-config-arbitrary-types-allowed-true" tabindex="-1"><a class="header-anchor" href="#var-model-config-arbitrary-types-allowed-true"><span><em><strong>var</strong></em> <code>model_config = {'arbitrary_types_allowed': True}</code></span></a></h3>`,34),n=[r];function o(s,c){return a(),t("div",null,n)}const p=e(l,[["render",o],["__file","model.html.vue"]]),m=JSON.parse(`{"path":"/dev/api/plugin/model.html","title":"liteyuki.plugin.model","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.model","order":1,"icon":"laptop-code","category":"API","description":"class PluginType(Enum) 插件类型枚举值 attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/model.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/model.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.plugin.model"}],["meta",{"property":"og:description","content":"class PluginType(Enum) 插件类型枚举值 attr APPLICATION: 'application' attr SERVICE: 'service' attr IMPLEMENTATION: 'implementation' attr MODULE: 'module' attr UNCLASSIFIED: 'unclassifi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.model\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class PluginType(Enum)","slug":"class-plugintype-enum","link":"#class-plugintype-enum","children":[]},{"level":3,"title":"attr APPLICATION: 'application'","slug":"attr-application-application","link":"#attr-application-application","children":[]},{"level":3,"title":"attr SERVICE: 'service'","slug":"attr-service-service","link":"#attr-service-service","children":[]},{"level":3,"title":"attr IMPLEMENTATION: 'implementation'","slug":"attr-implementation-implementation","link":"#attr-implementation-implementation","children":[
|