import{_ as e,o as a,c as t,e as l}from"./app-Dk7jq3Nw.js";const i={},n=l(`

class PluginType(Enum)

插件类型枚举值

attr APPLICATION: 'application'

attr SERVICE: 'service'

attr IMPLEMENTATION: 'implementation'

attr MODULE: 'module'

attr UNCLASSIFIED: 'unclassified'

class PluginMetadata(BaseModel)

轻雪插件元数据,由插件编写者提供,name为必填项

Attributes:


name: str

插件名称

description: str

插件描述

usage: str

插件使用方法

type_: str

插件类型

author: str

插件作者

homepage: str

插件主页

extra: dict[str, Any]

额外信息

class Plugin(BaseModel)

存储插件信息

attr model_config: {'arbitrary_types_allowed': True}

var APPLICATION = 'application'

var SERVICE = 'service'

var IMPLEMENTATION = 'implementation'

var MODULE = 'module'

var UNCLASSIFIED = 'unclassified'

var model_config = {'arbitrary_types_allowed': True}

`,34),r=[n];function o(s,c){return a(),t("div",null,r)}const p=e(i,[["render",o],["__file","model.html.vue"]]),m=JSON.parse(`{"path":"/en/dev/api/plugin/model.html","title":"liteyuki.plugin.model","lang":"en-US","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":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/model.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/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":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.model\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"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":[]},{"level":3,"title":"attr MODULE: 'module'","slug":"attr-module-module","link":"#attr-module-module","children":[]},{"level":3,"title":"attr UNCLASSIFIED: 'unclassified'","slug":"attr-unclassified-unclassified","link":"#attr-unclassified-unclassified","children":[]},{"level":3,"title":"class PluginMetadata(BaseModel)","slug":"class-pluginmetadata-basemodel","link":"#class-pluginmetadata-basemodel","children":[]},{"level":3,"title":"class Plugin(BaseModel)","slug":"class-plugin-basemodel","link":"#class-plugin-basemodel","children":[]},{"level":3,"title":"attr model_config: {'arbitrary_types_allowed': True}","slug":"attr-model-config-arbitrary-types-allowed-true","link":"#attr-model-config-arbitrary-types-allowed-true","children":[]},{"level":3,"title":"var APPLICATION = 'application'","slug":"var-application-application","link":"#var-application-application","children":[]},{"level":3,"title":"var SERVICE = 'service'","slug":"var-service-service","link":"#var-service-service","children":[]},{"level":3,"title":"var IMPLEMENTATION = 'implementation'","slug":"var-implementation-implementation","link":"#var-implementation-implementation","children":[]},{"level":3,"title":"var MODULE = 'module'","slug":"var-module-module","link":"#var-module-module","children":[]},{"level":3,"title":"var UNCLASSIFIED = 'unclassified'","slug":"var-unclassified-unclassified","link":"#var-unclassified-unclassified","children":[]},{"level":3,"title":"var model_config = {'arbitrary_types_allowed': True}","slug":"var-model-config-arbitrary-types-allowed-true","link":"#var-model-config-arbitrary-types-allowed-true","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.47,"words":142},"filePathRelative":"en/dev/api/plugin/model.md","autoDesc":true}`);export{p as comp,m as data};