Skip to content

Commit

Permalink
refa: rename login to auth plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 16, 2023
1 parent d058103 commit a8bd51b
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import { ref } from 'vue'
import { useRouter } from 'vue-router'
import { config, showDialog } from './utils'
import { send, store } from '@koishijs/client'
import { UserLogin } from '@koishijs/plugin-login'
import { UserLogin } from '@koishijs/plugin-auth'
const error = ref<string>()
const user = ref<UserLogin>()
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { send, store } from '@koishijs/client'
import { config, showDialog } from './utils'
import { computed, ref } from 'vue'
import { message, Schema } from '@koishijs/client'
import { UserUpdate } from '@koishijs/plugin-login'
import { UserUpdate } from '@koishijs/plugin-auth'
const types = {
platform: '平台账户',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ref, watch } from 'vue'
import { message, pick, router, store, useStorage } from '@koishijs/client'
import { LoginToken } from '@koishijs/plugin-login'
import { LoginToken } from '@koishijs/plugin-auth'

interface AuthConfig extends Partial<LoginToken> {
name?: string
Expand Down
6 changes: 3 additions & 3 deletions plugins/login/package.json → plugins/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-login",
"name": "@koishijs/plugin-auth",
"description": "Console User Authentication",
"version": "3.1.0",
"version": "4.0.0-alpha.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -21,7 +21,7 @@
"bugs": {
"url": "https://github.com/koishijs/webui/issues"
},
"homepage": "https://koishi.chat/plugins/console/login.html",
"homepage": "https://koishi.chat/plugins/console/auth.html",
"keywords": [
"bot",
"chatbot",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a8bd51b

Please sign in to comment.