refactor(arch): decouple private imports, enforce contracts and comply with cordis architecture

This commit is contained in:
ryan
2026-09-03 10:40:02 +08:00
parent dbcf485d8a
commit 953a224245
107 changed files with 2028 additions and 1263 deletions
+71 -71
View File
@@ -2668,7 +2668,7 @@
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Schedule"
"$ref": "#/definitions/model.Schedule"
}
}
}
@@ -2730,7 +2730,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Schedule"
"$ref": "#/definitions/model.Schedule"
}
}
}
@@ -2812,7 +2812,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Schedule"
"$ref": "#/definitions/model.Schedule"
}
}
}
@@ -3001,7 +3001,7 @@
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Template"
"$ref": "#/definitions/model.Template"
}
}
}
@@ -3139,7 +3139,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Template"
"$ref": "#/definitions/model.Template"
}
}
}
@@ -3219,7 +3219,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/Wavelet_plugins_domain_admin_model.Template"
"$ref": "#/definitions/model.Template"
}
}
}
@@ -15233,36 +15233,6 @@
}
}
},
"Wavelet_plugins_domain_admin_model.Schedule": {
"type": "object",
"properties": {
"created_at": {
"type": "string"
},
"cron": {
"type": "string"
},
"id": {
"type": "string",
"example": "0"
},
"is_active": {
"type": "boolean"
},
"name": {
"type": "string"
},
"payload": {
"type": "string"
},
"task_type": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"Wavelet_plugins_domain_admin_model.SystemConfig": {
"type": "object",
"properties": {
@@ -15349,41 +15319,6 @@
}
}
},
"Wavelet_plugins_domain_admin_model.Template": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"created_at": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "integer"
},
"is_system": {
"type": "boolean"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"subject": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"agent.ActiveConfigMeta": {
"type": "object",
"properties": {
@@ -17859,6 +17794,36 @@
}
}
},
"model.Schedule": {
"type": "object",
"properties": {
"created_at": {
"type": "string"
},
"cron": {
"type": "string"
},
"id": {
"type": "string",
"example": "0"
},
"is_active": {
"type": "boolean"
},
"name": {
"type": "string"
},
"payload": {
"type": "string"
},
"task_type": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"model.SystemStatusResponse": {
"type": "object",
"properties": {
@@ -18028,6 +17993,41 @@
"TaskExecutionStatusFailed"
]
},
"model.Template": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"created_at": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "integer"
},
"is_system": {
"type": "boolean"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"subject": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"model.TestSMTPRequest": {
"type": "object",
"required": [