♻️ Migrated to nexus
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
package models
|
||||
|
||||
import "git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||
import "git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
|
||||
|
||||
type Account struct {
|
||||
hyper.BaseUser
|
||||
sec.UserInfo
|
||||
|
||||
Attachments []Attachment `json:"attachments"`
|
||||
Pools []AttachmentPool `json:"pools"`
|
||||
|
@ -1,9 +1,9 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
|
||||
"time"
|
||||
|
||||
"git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||
"gorm.io/datatypes"
|
||||
)
|
||||
|
||||
@ -15,7 +15,7 @@ const (
|
||||
)
|
||||
|
||||
type Attachment struct {
|
||||
hyper.BaseModel
|
||||
cruda.BaseModel
|
||||
|
||||
// Random ID is for accessing (appear in URL)
|
||||
Rid string `json:"rid" gorm:"uniqueIndex"`
|
||||
|
@ -1,12 +1,12 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
|
||||
"gorm.io/datatypes"
|
||||
)
|
||||
|
||||
type AttachmentPool struct {
|
||||
hyper.BaseModel
|
||||
cruda.BaseModel
|
||||
|
||||
Alias string `json:"alias"`
|
||||
Name string `json:"name"`
|
||||
|
@ -1,9 +1,11 @@
|
||||
package models
|
||||
|
||||
import "git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||
import (
|
||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
|
||||
)
|
||||
|
||||
type Sticker struct {
|
||||
hyper.BaseModel
|
||||
cruda.BaseModel
|
||||
|
||||
Alias string `json:"alias"`
|
||||
Name string `json:"name"`
|
||||
@ -16,7 +18,7 @@ type Sticker struct {
|
||||
}
|
||||
|
||||
type StickerPack struct {
|
||||
hyper.BaseModel
|
||||
cruda.BaseModel
|
||||
|
||||
Prefix string `json:"prefix"`
|
||||
Name string `json:"name"`
|
||||
|
Reference in New Issue
Block a user