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

class PluginType(Enum)

插件类型枚举值

attr APPLICATION: 'application'

attr SERVICE: 'service'

attr MODULE: 'module'

attr UNCLASSIFIED: 'unclassified'

attr TEST: 'test'

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 MODULE = 'module'

var UNCLASSIFIED = 'unclassified'

var TEST = 'test'

var model_config = {'arbitrary_types_allowed': True}

`,34),i=[s];function n(o,c){return a(),t("div",null,i)}const p=e(l,[["render",n],["__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 MODULE: 'module' attr UNCLASSIFIED: 'unclassified' attr TEST: 'test' class PluginMeta...","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 MODULE: 'module' attr UNCLASSIFIED: 'unclassified' attr TEST: 'test' class PluginMeta..."}],["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-21T09:59:21.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-21T09:59:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.model\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-21T09:59:21.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 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":"attr TEST: 'test'","slug":"attr-test-test","link":"#attr-test-test","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 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 TEST = 'test'","slug":"var-test-test","link":"#var-test-test","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":1724234361000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"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};