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

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),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":[["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: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":[]},{"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":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.47,"words":142},"filePathRelative":"dev/api/plugin/model.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{p as comp,m as data};