Introduce a commercial license option alongside AGPL-3.0-only, require a CLA for contributors, and document the terms in COMMERCIAL.md and NOTICE. Add a script to stamp SPDX headers on Go files and apply it across the tree.
38 lines
1.1 KiB
Go
38 lines
1.1 KiB
Go
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
|
|
// SPDX-FileCopyrightText: 2025-2026 Christian Galo
|
|
|
|
// 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"`
|
|
}
|