mirror of
https://github.com/versia-pub/versia-go.git
synced 2026-03-13 04:29:15 +01:00
chore: rename everything to versia
This commit is contained in:
parent
0223ea0535
commit
3876ad2738
112 changed files with 587 additions and 576 deletions
|
|
@ -2,8 +2,7 @@ package api_schema
|
|||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
versiautils "github.com/lysand-org/versia-go/pkg/versia/utils"
|
||||
versiautils "github.com/versia-pub/versia-go/pkg/versia/utils"
|
||||
)
|
||||
|
||||
type Note struct {
|
||||
|
|
@ -13,7 +12,7 @@ type Note struct {
|
|||
type FetchNoteResponse = APIResponse[Note]
|
||||
|
||||
type CreateNoteRequest struct {
|
||||
Content string `json:"content" validate:"required,min=1,max=1024"`
|
||||
Visibility versia.NoteVisibility `json:"visibility" validate:"required,oneof=public unlisted private direct"`
|
||||
Mentions []versiautils.URL `json:"mentions"`
|
||||
Content string `json:"content" validate:"required,min=1,max=1024"`
|
||||
Group string `json:"group" validate:"required"`
|
||||
Mentions []versiautils.URL `json:"mentions"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package api_schema
|
|||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
type User struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue