mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor(api): move app-scoped end users behind application services (#41398)
This commit is contained in:
1 parent
9badde4d65
commit
ce2eaab9f7
41 files changed
+1384
-481
No files matched your search
@@ -1060,11 +1060,7 @@ export const zDocumentStatusListResponse = z.object({
|
||||
/**
|
||||
* EndUserDetail
|
||||
*
|
||||
* Full EndUser record for API responses.
|
||||
*
|
||||
* Note: The SQLAlchemy model defines an `is_anonymous` property for Flask-Login semantics
|
||||
* (always False). The database column is exposed as `_is_anonymous`, so this DTO maps
|
||||
* `is_anonymous` from `_is_anonymous` to return the stored value.
|
||||
* Full end-user detail returned by the Service API.
|
||||
*/
|
||||
export const zEndUserDetail = z.object({
|
||||
app_id: z.uuid().nullish(),
|
||||
|
||||
Reference in new issue
Block a user