Show Feishu app visibility and preserve sync toggle
This commit is contained in:
1 parent
e5375deeb2
commit
594bb61cef
6 files changed
+40
-18
No files matched your search
@@ -41,15 +41,17 @@ type IdentityProfile struct {
|
||||
|
||||
// FeishuDirectorySync tracks a single application's import schedule and outcome.
|
||||
type FeishuDirectorySync struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
Enabled bool `json:"enabled"`
|
||||
Issuer string `gorm:"size:256"`
|
||||
AppID string `gorm:"size:128"`
|
||||
LastAttempt *time.Time `json:"last_attempt"`
|
||||
LastSuccess *time.Time `json:"last_success"`
|
||||
LastError string `gorm:"size:512" json:"last_error"`
|
||||
Departments int `json:"departments"`
|
||||
Members int `json:"members"`
|
||||
ID uint `gorm:"primaryKey"`
|
||||
Enabled bool `json:"enabled"`
|
||||
Issuer string `gorm:"size:256"`
|
||||
AppID string `gorm:"size:128"`
|
||||
LastAttempt *time.Time `json:"last_attempt"`
|
||||
LastSuccess *time.Time `json:"last_success"`
|
||||
LastError string `gorm:"size:512" json:"last_error"`
|
||||
Departments int `json:"departments"`
|
||||
Members int `json:"members"`
|
||||
VisibleDepartments int `json:"visible_departments"`
|
||||
VisibleUsers int `json:"visible_users"`
|
||||
}
|
||||
|
||||
type FeishuDepartment struct {
|
||||
|
||||
Reference in new issue
Block a user