mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-12-01 14:14:46 +08:00
2 lines
7.6 KiB
JavaScript
2 lines
7.6 KiB
JavaScript
|
import{_ as t,c as e,a7 as r,o}from"./chunks/framework.Z6UMW4JZ.js";const m=JSON.parse('{"title":"liteyuki.plugin.model","description":"","frontmatter":{"title":"liteyuki.plugin.model"},"headers":[],"relativePath":"dev/api/plugin/model.md","filePath":"zh/dev/api/plugin/model.md","lastUpdated":null}'),s={name:"dev/api/plugin/model.md"};function i(l,a,n,d,h,u){return o(),e("div",null,a[0]||(a[0]=[r('<h1 id="模块-liteyuki-plugin-model" tabindex="-1"><strong>模块</strong> <code>liteyuki.plugin.model</code> <a class="header-anchor" href="#模块-liteyuki-plugin-model" aria-label="Permalink to "**模块** `liteyuki.plugin.model`""></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 "***class*** `PluginType(Enum)`""></a></h3><h4 id="attr-application-application" tabindex="-1"><em><strong>attr</strong></em> <code>APPLICATION = 'application'</code> <a class="header-anchor" href="#attr-application-application" aria-label="Permalink to "***attr*** `APPLICATION = 'application'`""></a></h4><h4 id="attr-service-service" tabindex="-1"><em><strong>attr</strong></em> <code>SERVICE = 'service'</code> <a class="header-anchor" href="#attr-service-service" aria-label="Permalink to "***attr*** `SERVICE = 'service'`""></a></h4><h4 id="attr-module-module" tabindex="-1"><em><strong>attr</strong></em> <code>MODULE = 'module'</code> <a class="header-anchor" href="#attr-module-module" aria-label="Permalink to "***attr*** `MODULE = 'module'`""></a></h4><h4 id="attr-unclassified-unclassified" tabindex="-1"><em><strong>attr</strong></em> <code>UNCLASSIFIED = 'unclassified'</code> <a class="header-anchor" href="#attr-unclassified-unclassified" aria-label="Permalink to "***attr*** `UNCLASSIFIED = 'unclassified'`""></a></h4><h4 id="attr-test-test" tabindex="-1"><em><strong>attr</strong></em> <code>TEST = 'test'</code> <a class="header-anchor" href="#attr-test-test" aria-label="Permalink to "***attr*** `TEST = 'test'`""></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 "***class*** `PluginMetadata(BaseModel)`""></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 "***attr*** `name: str = NO_DEFAULT`""></a></h4><h4 id="attr-description-str" tabindex="-1"><em><strong>attr</strong></em> <code>description: str = ''</code> <a class="header-anchor" href="#attr-description-str" aria-label="Permalink to "***attr*** `description: str = ''`""></a></h4><h4 id="attr-usage-str" tabindex="-1"><em><strong>attr</strong></em> <code>usage: str = ''</code> <a class="header-anchor" href="#attr-usage-str" aria-label="Permalink to "***attr*** `usage: str = ''`""></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 "***attr*** `type: PluginType = PluginType.UNCLASSIFIED`""></a></h4><h4 id="attr-author-str" tabindex="-1"><em><strong>attr</strong></em> <code>author: str = ''</code> <a class="header-anchor" href="#attr-author-str" aria-label="Permalink to "***attr*** `
|