mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-25 07:45:06 +08:00
2 lines
5.9 KiB
JavaScript
2 lines
5.9 KiB
JavaScript
|
import{_ as a,c as t,a7 as r,o}from"./chunks/framework.jrU0lkHV.js";const u=JSON.parse('{"title":"liteyuki.session.models","description":"","frontmatter":{"title":"liteyuki.session.models"},"headers":[],"relativePath":"dev/api/session/models.md","filePath":"zh/dev/api/session/models.md","lastUpdated":null}'),s={name:"dev/api/session/models.md"};function n(d,e,l,i,c,m){return o(),t("div",null,e[0]||(e[0]=[r('<h1 id="模块-liteyuki-session-models" tabindex="-1"><strong>模块</strong> <code>liteyuki.session.models</code> <a class="header-anchor" href="#模块-liteyuki-session-models" aria-label="Permalink to "**模块** `liteyuki.session.models`""></a></h1><h3 id="class-user-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>User(BaseModel)</code> <a class="header-anchor" href="#class-user-basemodel" aria-label="Permalink to "***class*** `User(BaseModel)`""></a></h3><h4 id="attr-id-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>id: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-id-str-no-default" aria-label="Permalink to "***attr*** `id: str = NO_DEFAULT`""></a></h4><h4 id="attr-name-str-none-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>name: str | None = NO_DEFAULT</code> <a class="header-anchor" href="#attr-name-str-none-no-default" aria-label="Permalink to "***attr*** `name: str | None = NO_DEFAULT`""></a></h4><h4 id="attr-nick-str-none-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>nick: str | None = NO_DEFAULT</code> <a class="header-anchor" href="#attr-nick-str-none-no-default" aria-label="Permalink to "***attr*** `nick: str | None = NO_DEFAULT`""></a></h4><h4 id="attr-avatar-str-none-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>avatar: str | None = NO_DEFAULT</code> <a class="header-anchor" href="#attr-avatar-str-none-no-default" aria-label="Permalink to "***attr*** `avatar: str | None = NO_DEFAULT`""></a></h4><h3 id="class-scene-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>Scene(BaseModel)</code> <a class="header-anchor" href="#class-scene-basemodel" aria-label="Permalink to "***class*** `Scene(BaseModel)`""></a></h3><h4 id="attr-id-str-no-default-1" tabindex="-1"><em><strong>attr</strong></em> <code>id: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-id-str-no-default-1" aria-label="Permalink to "***attr*** `id: str = NO_DEFAULT`""></a></h4><h4 id="attr-type-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>type: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-type-str-no-default" aria-label="Permalink to "***attr*** `type: str = NO_DEFAULT`""></a></h4><h4 id="attr-name-str-none-no-default-1" tabindex="-1"><em><strong>attr</strong></em> <code>name: str | None = NO_DEFAULT</code> <a class="header-anchor" href="#attr-name-str-none-no-default-1" aria-label="Permalink to "***attr*** `name: str | None = NO_DEFAULT`""></a></h4><h4 id="attr-avatar-str-none-no-default-1" tabindex="-1"><em><strong>attr</strong></em> <code>avatar: str | None = NO_DEFAULT</code> <a class="header-anchor" href="#attr-avatar-str-none-no-default-1" aria-label="Permalink to "***attr*** `avatar: str | None = NO_DEFAULT`""></a></h4><h4 id="attr-parent-scene-none-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>parent: 'Scene | None' = NO_DEFAULT</code> <a class="header-anchor" href="#attr-parent-scene-none-no-default" aria-label="Permalink to "***attr*** `parent: 'Scene | None' = NO_DEFAULT`""></a></h4><h3 id="class-session-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>Session(BaseModel)</code> <a class="header-anchor" href="#class-session-basemodel" aria-label="Permalink to "***class*** `Session(BaseModel)`""></a></h3><h4 id="attr-self-id-str-no-default" tabindex="-1"><em><strong>attr</strong></em> <code>self_id: str = NO_DEFAULT</code> <a class="header-anchor" href="#attr-self
|