Teror Fox 00b66bef7e feat(core): 实现文章的发布/取消发布功能 (#2443)
* feat(migration): add isPublished field to posts and notes collections

* feat(note, post): add publish status management for notes and posts

* build(tsup): 添加 import.meta.url 支持

- 在 tsup 配置中添加 platform: 'node' 设置
- 注入 import.meta.url 兼容层,以支持不同模块格式

* build(core): 修改 mx-server 启动脚本路径

* feat(migration): 添加 v8.4.0 版本迁移脚本至history

* feat(core): 修复未认证用户可查看未发布内容的安全问题

- 在 Note 和 Post 模块中添加了对未认证用户的访问限制

* fix(core): 回滚 mx-server 启动脚本路径

* feat(migration): 添加 v8.4.0 数据库脚本以更新 notes 集合字段

* feat(migration): 更新 v8.4.0 修复脚本以重命名 hide 字段并互换其值

* feat(note): 替换 hide 字段为 isPublished,更新相关查询和条件

* feat(note): 将 hide 字段替换为 isPublished,更新相关数据模型

* feat(migration): 添加 v8.4.0 fix2修复脚本以更新 posts 集合中的 isPublished 字段为true
2025-07-03 16:06:06 +08:00
2025-04-06 22:18:48 +08:00
2023-12-12 11:50:52 +08:00
2025-04-06 22:18:48 +08:00
2025-04-06 22:18:48 +08:00
2022-02-08 23:25:37 +08:00
2025-04-06 22:18:48 +08:00
2021-10-02 15:10:45 +08:00
2024-04-30 20:40:53 +08:00
2022-05-25 21:13:49 +08:00
2022-05-07 19:35:09 +08:00
2024-08-16 12:30:06 +08:00
2024-03-24 16:11:19 +08:00
2024-03-24 16:11:19 +08:00
2025-03-17 23:42:10 +08:00
2024-03-24 16:11:19 +08:00
2025-04-06 22:18:48 +08:00

Mix Space Core

本项目使用 Monorepo 进行管理。

许可

此项目在 apps/ 目录下的所有文件均使用 GNU Affero General Public License v3.0 (AGPLv3) with Additional Terms (ADDITIONAL_TERMS) 许可。

其他部分使用 MIT License 许可。

详情请查看 LICENSEADDITIONAL_TERMS

Description
😎 The next generation of RESTful API service and more feature for Mix Space, powered by @nestjs.
Readme 20 MiB
Languages
TypeScript 96.7%
JavaScript 2.2%
Shell 0.9%
HTML 0.2%