2023-01-31 03:38:57 +00:00
|
|
|
// Source: lemmy/crates/db_schema/src/source/federation_allowlist.rs
|
2023-04-21 02:27:38 +00:00
|
|
|
// Code generated by go.elara.ws/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
|
2023-01-31 03:38:57 +00:00
|
|
|
|
|
|
|
package types
|
|
|
|
|
|
|
|
type FederationAllowList struct {
|
|
|
|
ID int32 `json:"id" url:"id,omitempty"`
|
|
|
|
InstanceID int `json:"instance_id" url:"instance_id,omitempty"`
|
|
|
|
Published LemmyTime `json:"published" url:"published,omitempty"`
|
|
|
|
Updated LemmyTime `json:"updated" url:"updated,omitempty"`
|
|
|
|
}
|
|
|
|
type FederationAllowListForm struct {
|
|
|
|
InstanceID int `json:"instance_id" url:"instance_id,omitempty"`
|
|
|
|
Updated LemmyTime `json:"updated" url:"updated,omitempty"`
|
|
|
|
}
|