mirror of
https://github.com/versia-pub/versia-go.git
synced 2026-03-12 20:19: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
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// Attachment is the model entity for the Attachment schema.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// AttachmentCreate is the builder for creating a Attachment entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// AttachmentDelete is the builder for deleting a Attachment entity.
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// AttachmentQuery is the builder for querying Attachment entities.
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// AttachmentUpdate is the builder for updating Attachment entities.
|
||||
|
|
|
|||
|
|
@ -10,18 +10,18 @@ import (
|
|||
"reflect"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/migrate"
|
||||
"github.com/versia-pub/versia-go/ent/migrate"
|
||||
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// Client is the client that holds all ent builders.
|
||||
|
|
|
|||
12
ent/ent.go
12
ent/ent.go
|
|
@ -12,12 +12,12 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// ent aliases to avoid import conflicts in user's code.
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ package enttest
|
|||
import (
|
||||
"context"
|
||||
|
||||
"github.com/lysand-org/versia-go/ent"
|
||||
"github.com/versia-pub/versia-go/ent"
|
||||
// required by schema hooks.
|
||||
_ "github.com/lysand-org/versia-go/ent/runtime"
|
||||
_ "github.com/versia-pub/versia-go/ent/runtime"
|
||||
|
||||
"entgo.io/ent/dialect/sql/schema"
|
||||
"github.com/lysand-org/versia-go/ent/migrate"
|
||||
"github.com/versia-pub/versia-go/ent/migrate"
|
||||
)
|
||||
|
||||
type (
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// Follow is the model entity for the Follow schema.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// FollowCreate is the builder for creating a Follow entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// FollowDelete is the builder for deleting a Follow entity.
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// FollowQuery is the builder for querying Follow entities.
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// FollowUpdate is the builder for updating Follow entities.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/lysand-org/versia-go/ent"
|
||||
"github.com/versia-pub/versia-go/ent"
|
||||
)
|
||||
|
||||
// The AttachmentFunc type is an adapter to allow the use of ordinary
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
)
|
||||
|
||||
// Image is the model entity for the Image schema.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ package image
|
|||
|
||||
import (
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
)
|
||||
|
||||
// ImageCreate is the builder for creating a Image entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ImageDelete is the builder for deleting a Image entity.
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ImageQuery is the builder for querying Image entities.
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ImageUpdate is the builder for updating Image entities.
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// InstanceMetadata is the model entity for the InstanceMetadata schema.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// InstanceMetadataCreate is the builder for creating a InstanceMetadata entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// InstanceMetadataDelete is the builder for deleting a InstanceMetadata entity.
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// InstanceMetadataQuery is the builder for querying InstanceMetadata entities.
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqljson"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// InstanceMetadataUpdate is the builder for updating InstanceMetadata entities.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -12,14 +12,14 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// Note is the model entity for the Note schema.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// NoteCreate is the builder for creating a Note entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// NoteDelete is the builder for deleting a Note entity.
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// NoteQuery is the builder for querying Note entities.
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// NoteUpdate is the builder for updating Note entities.
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/attachment"
|
||||
"github.com/lysand-org/versia-go/ent/follow"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/schema"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/attachment"
|
||||
"github.com/versia-pub/versia-go/ent/follow"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/schema"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// The init function reads all schema descriptors with runtime code
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
package runtime
|
||||
|
||||
// The schema-stitching logic is generated in github.com/lysand-org/versia-go/ent/runtime.go
|
||||
// The schema-stitching logic is generated in github.com/versia-pub/versia-go/ent/runtime.go
|
||||
|
||||
const (
|
||||
Version = "v0.13.1" // Version of ent codegen.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"entgo.io/ent/schema/field"
|
||||
"entgo.io/ent/schema/mixin"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
"net/url"
|
||||
"time"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"entgo.io/ent/schema/edge"
|
||||
"entgo.io/ent/schema/field"
|
||||
"errors"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
"regexp"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// User is the model entity for the User schema.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// UserCreate is the builder for creating a User entity.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import (
|
|||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// UserDelete is the builder for deleting a User entity.
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
)
|
||||
|
||||
// UserQuery is the builder for querying User entities.
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ import (
|
|||
"entgo.io/ent/dialect/sql/sqljson"
|
||||
"entgo.io/ent/schema/field"
|
||||
"github.com/google/uuid"
|
||||
"github.com/lysand-org/versia-go/ent/image"
|
||||
"github.com/lysand-org/versia-go/ent/instancemetadata"
|
||||
"github.com/lysand-org/versia-go/ent/note"
|
||||
"github.com/lysand-org/versia-go/ent/predicate"
|
||||
"github.com/lysand-org/versia-go/ent/user"
|
||||
"github.com/lysand-org/versia-go/pkg/versia"
|
||||
"github.com/versia-pub/versia-go/ent/image"
|
||||
"github.com/versia-pub/versia-go/ent/instancemetadata"
|
||||
"github.com/versia-pub/versia-go/ent/note"
|
||||
"github.com/versia-pub/versia-go/ent/predicate"
|
||||
"github.com/versia-pub/versia-go/ent/user"
|
||||
"github.com/versia-pub/versia-go/pkg/versia"
|
||||
)
|
||||
|
||||
// UserUpdate is the builder for updating User entities.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue