Rename cavage singing func, add import for server
All checks were successful
/ docker (push) Successful in 4m1s
All checks were successful
/ docker (push) Successful in 4m1s
This commit is contained in:
parent
5e13817563
commit
08f6de0bd7
39 changed files with 2035 additions and 364 deletions
|
@ -44,6 +44,12 @@ func newUserInfoField(db *gorm.DB, opts ...gen.DOOption) userInfoField {
|
|||
Icon struct {
|
||||
field.RelationField
|
||||
}
|
||||
Metadata struct {
|
||||
field.RelationField
|
||||
RemoteServer struct {
|
||||
field.RelationField
|
||||
}
|
||||
}
|
||||
}{
|
||||
RelationField: field.NewRelation("User.Server", "models.RemoteServer"),
|
||||
Icon: struct {
|
||||
|
@ -51,6 +57,19 @@ func newUserInfoField(db *gorm.DB, opts ...gen.DOOption) userInfoField {
|
|||
}{
|
||||
RelationField: field.NewRelation("User.Server.Icon", "models.MediaMetadata"),
|
||||
},
|
||||
Metadata: struct {
|
||||
field.RelationField
|
||||
RemoteServer struct {
|
||||
field.RelationField
|
||||
}
|
||||
}{
|
||||
RelationField: field.NewRelation("User.Server.Metadata", "models.RemoteServerMetadata"),
|
||||
RemoteServer: struct {
|
||||
field.RelationField
|
||||
}{
|
||||
RelationField: field.NewRelation("User.Server.Metadata.RemoteServer", "models.RemoteServer"),
|
||||
},
|
||||
},
|
||||
},
|
||||
Icon: struct {
|
||||
field.RelationField
|
||||
|
@ -282,6 +301,12 @@ type userInfoFieldBelongsToUser struct {
|
|||
Icon struct {
|
||||
field.RelationField
|
||||
}
|
||||
Metadata struct {
|
||||
field.RelationField
|
||||
RemoteServer struct {
|
||||
field.RelationField
|
||||
}
|
||||
}
|
||||
}
|
||||
Icon struct {
|
||||
field.RelationField
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue