mirror of https://github.com/msgbyte/tailchat
parent
b5cc18fbe1
commit
1ad880b948
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"label": "用户地理位置",
|
||||||
|
"name": "com.msgbyte.user.location",
|
||||||
|
"url": "/plugins/com.msgbyte.user.location/index.js",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"author": "moonrailgun",
|
||||||
|
"description": "为用户信息增加地理位置记录",
|
||||||
|
"requireRestart": true
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"name": "@plugins/com.msgbyte.user.location",
|
||||||
|
"main": "src/index.tsx",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "为用户信息增加地理位置记录",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"sync:declaration": "tailchat declaration github"
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/styled-components": "^5.1.26",
|
||||||
|
"react": "18.2.0",
|
||||||
|
"styled-components": "^5.3.6"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
import { regUserExtraInfo, localTrans } from '@capital/common';
|
||||||
|
|
||||||
|
regUserExtraInfo({
|
||||||
|
name: 'location',
|
||||||
|
label: localTrans({ 'zh-CN': '所在城市', 'en-US': 'City' }),
|
||||||
|
});
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"jsx": "react",
|
||||||
|
"importsNotUsedAsValues": "error"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,2 @@
|
|||||||
|
declare module '@capital/common';
|
||||||
|
declare module '@capital/component';
|
Loading…
Reference in New Issue