This commit is contained in:
root
2026-06-07 12:48:17 +08:00
parent 9ee203c221
commit 283d65d1d1
46 changed files with 1205 additions and 2579 deletions

View File

@@ -134,7 +134,6 @@ COLLECTIONS: dict[str, list[dict[str, Any]]] = {
json_field("tags"),
text("bio", max=1000),
text("photo", max=500),
boolean("needsPasswordChange"),
],
"member_applications": [
text("userId", max=80),
@@ -158,6 +157,12 @@ COLLECTIONS: dict[str, list[dict[str, Any]]] = {
text("status", max=40),
date("expiresAt"),
],
"site_vip": [
text("user_id", required=True, max=80),
text("site_id", required=True, max=80),
text("order_id", max=120),
date("expires_at"),
],
"orders": [
text("orderId", required=True, max=80),
text("userId", max=120),
@@ -169,6 +174,14 @@ COLLECTIONS: dict[str, list[dict[str, Any]]] = {
text("returnUrl", max=500),
boolean("isNew"),
],
"payments": [
text("user_id", max=120),
text("type", max=60),
text("order_id", required=True, max=120),
number("amount", only_int=True),
number("total_fee", only_int=True),
text("channel", max=40),
],
"media_assets": [
text("userId", max=80),
text("url", required=True, max=500),