Deliver forum posting entitlements through managed group membership with identity linkage, periodic reconciliation, webhook handling, and an operator mapping surface. Include fake and live test environments, setup documentation, migrations, and end-to-end coverage.
35 lines
1003 B
Go
35 lines
1003 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package discourse
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type GroupMapping struct {
|
|
MappingID string `json:"mapping_id"`
|
|
ResourceKey string `json:"resource_key"`
|
|
GroupName string `json:"group_name"`
|
|
DiscourseGroupID int64 `json:"discourse_group_id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|
|
type ObservedGroupMember struct {
|
|
MappingID string `json:"mapping_id"`
|
|
DiscourseUserID int64 `json:"discourse_user_id"`
|
|
ObservedAt time.Time `json:"observed_at"`
|
|
}
|
|
|
|
type UserLink struct {
|
|
PersonID string `json:"person_id"`
|
|
DiscourseUserID int64 `json:"discourse_user_id"`
|
|
DiscourseUsername string `json:"discourse_username"`
|
|
LinkedVia string `json:"linked_via"`
|
|
Status string `json:"status"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|