Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
26
frontend-vben/packages/preferences/package.json
Normal file
26
frontend-vben/packages/preferences/package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "@vben/preferences",
|
||||
"version": "5.5.8",
|
||||
"homepage": "https://github.com/vbenjs/vue-vben-admin",
|
||||
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
||||
"directory": "packages/preferences"
|
||||
},
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"sideEffects": [
|
||||
"**/*.css"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./src/index.ts",
|
||||
"default": "./src/index.ts"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@vben-core/preferences": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*"
|
||||
}
|
||||
}
|
||||
17
frontend-vben/packages/preferences/src/index.ts
Normal file
17
frontend-vben/packages/preferences/src/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { Preferences } from '@vben-core/preferences';
|
||||
import type { DeepPartial } from '@vben-core/typings';
|
||||
|
||||
/**
|
||||
* 如果你想所有的app都使用相同的默认偏好设置,你可以在这里定义
|
||||
* 而不是去修改 @vben-core/preferences 中的默认偏好设置
|
||||
* @param preferences
|
||||
* @returns
|
||||
*/
|
||||
|
||||
function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
|
||||
return preferences;
|
||||
}
|
||||
|
||||
export { defineOverridesPreferences };
|
||||
|
||||
export * from '@vben-core/preferences';
|
||||
6
frontend-vben/packages/preferences/tsconfig.json
Normal file
6
frontend-vben/packages/preferences/tsconfig.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "@vben/tsconfig/web.json",
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user