app/assets/en_dev_api_plugin_model.md.DzkLtdgt.js

2 lines
7.6 KiB
JavaScript
Raw Normal View History

import{_ as e,o as t,c as r,a7 as o}from"./chunks/framework._avq4Ty7.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"en/dev/api/plugin/model.md","filePath":"en/dev/api/plugin/model.md","lastUpdated":1725101868000}'),s={name:"en/dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return t(),r("div",null,a[0]||(a[0]=[o('<h1 id="module-liteyuki-plugin-model" tabindex="-1"><strong>Module</strong> <code>liteyuki.plugin.model</code> <a class="header-anchor" href="#module-liteyuki-plugin-model" aria-label="Permalink to &quot;**Module** `liteyuki.plugin.model`&quot;"></a></h1><p>Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved</p><p>@Time : 2024/7/24 12:02 @Author : snowykami @Email : <a href="mailto:snowykami@outlook.com" target="_blank" rel="noreferrer">snowykami@outlook.com</a> @File : model.py @Software: PyCharm</p><h3 id="class-plugintype-enum" tabindex="-1"><em><strong>class</strong></em> <code>PluginType(Enum)</code> <a class="header-anchor" href="#class-plugintype-enum" aria-label="Permalink to &quot;***class*** `PluginType(Enum)`&quot;"></a></h3><h4 id="attr-application-application" tabindex="-1"><em><strong>attr</strong></em> <code>APPLICATION = &#39;application&#39;</code> <a class="header-anchor" href="#attr-application-application" aria-label="Permalink to &quot;***attr*** `APPLICATION = &#39;application&#39;`&quot;"></a></h4><h4 id="attr-service-service" tabindex="-1"><em><strong>attr</strong></em> <code>SERVICE = &#39;service&#39;</code> <a class="header-anchor" href="#attr-service-service" aria-label="Permalink to &quot;***attr*** `SERVICE = &#39;service&#39;`&quot;"></a></h4><h4 id="attr-module-module" tabindex="-1"><em><strong>attr</strong></em> <code>MODULE = &#39;module&#39;</code> <a class="header-anchor" href="#attr-module-module" aria-label="Permalink to &quot;***attr*** `MODULE = &#39;module&#39;`&quot;"></a></h4><h4 id="attr-unclassified-unclassified" tabindex="-1"><em><strong>attr</strong></em> <code>UNCLASSIFIED = &#39;unclassified&#39;</code> <a class="header-anchor" href="#attr-unclassified-unclassified" aria-label="Permalink to &quot;***attr*** `UNCLASSIFIED = &#39;unclassified&#39;`&quot;"></a></h4><h4 id="attr-test-test" tabindex="-1"><em><strong>attr</strong></em> <code>TEST = &#39;test&#39;</code> <a class="header-anchor" href="#attr-test-test" aria-label="Permalink to &quot;***attr*** `TEST = &#39;test&#39;`&quot;"></a></h4><h3 id="class-pluginmetadata-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>PluginMetadata(BaseModel)</code> <a class="header-anchor" href="#class-pluginmetadata-basemodel" aria-label="Permalink to &quot;***class*** `PluginMetadata(BaseModel)`&quot;"></a></h3><h4 id="attr-name-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>name: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-name-str-no-default" aria-label="Permalink to &quot;***attr*** `name: str = NO_DEFAULT`&quot;"></a></h4><h4 id="attr-description-str" tabindex="-1"><em><strong>attr</strong></em> <code>description: str = &#39;&#39;</code> <a class="header-anchor" href="#attr-description-str" aria-label="Permalink to &quot;***attr*** `description: str = &#39;&#39;`&quot;"></a></h4><h4 id="attr-usage-str" tabindex="-1"><em><strong>attr</strong></em> <code>usage: str = &#39;&#39;</code> <a class="header-anchor" href="#attr-usage-str" aria-label="Permalink to &quot;***attr*** `usage: str = &#39;&#39;`&quot;"></a></h4><h4 id="attr-type-plugintype-plugintype-unclassified" tabindex="-1"><em><strong>attr</strong></em> <code>type: PluginType = PluginType.UNCLASSIFIED</code> <a class="header-anchor" href="#attr-type-plugintype-plugintype-unclassified" aria-label="Permalink to &quot;***attr*** `type: PluginType = PluginType.UNCLASSIFIED`&quot;"></a></h4><h4 id="attr-author-str" tabindex="-1"><em><strong>attr</strong></em> <code>author: str = &#39;&#39;</code> <a class="header-anchor" href="#attr-author-str" aria-label="Permalink t