fx build fix
Some checks failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/fx/1 Pipeline failed
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/fx/2 Pipeline failed

This commit is contained in:
Stephan D
2025-11-08 00:30:29 +01:00
parent 590fad0071
commit 49b86efecb
165 changed files with 9466 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package account
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/accountapiimp"
)
func Create(a api.API) (mservice.MicroService, error) {
return accountapiimp.CreateAPI(a)
}

View File

@@ -0,0 +1,12 @@
package fileservice
import "github.com/tech/sendico/pkg/model"
type StorageType string
const (
LocalFS StorageType = "local_fs"
AwsS3 StorageType = "aws_s3"
)
type Config = model.DriverConfig[StorageType]

View File

@@ -0,0 +1,11 @@
package fileservice
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/fileserviceimp"
)
func CreateAPI(a api.API, directory string) (mservice.MicroService, error) {
return fileserviceimp.CreateAPI(a, directory)
}

View File

@@ -0,0 +1,11 @@
package invitation
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/invitationimp"
)
func Create(a api.API) (mservice.MicroService, error) {
return invitationimp.CreateAPI(a)
}

View File

@@ -0,0 +1,11 @@
package logo
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/logoimp"
)
func Create(a api.API) (mservice.MicroService, error) {
return logoimp.CreateAPI(a)
}

View File

@@ -0,0 +1,11 @@
package organization
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/organizationimp"
)
func Create(a api.API) (mservice.MicroService, error) {
return organizationimp.CreateAPI(a)
}

View File

@@ -0,0 +1,11 @@
package permission
import (
"github.com/tech/sendico/pkg/mservice"
"github.com/tech/sendico/server/interface/api"
"github.com/tech/sendico/server/internal/server/permissionsimp"
)
func Create(a api.API) (mservice.MicroService, error) {
return permissionsimp.CreateAPI(a)
}