2022-10-31 10:49:21 +00:00
|
|
|
package operations
|
|
|
|
|
|
|
|
import . "github.com/xeronith/diamante/contracts/operation"
|
|
|
|
|
|
|
|
type operationFactory struct{}
|
|
|
|
|
|
|
|
func (factory *operationFactory) Operations() []IOperation {
|
|
|
|
return []IOperation{
|
|
|
|
SystemCallOperation(),
|
|
|
|
EchoOperation(),
|
2023-05-29 10:37:31 +00:00
|
|
|
CheckUsernameAvailabilityOperation(),
|
2022-11-14 08:44:03 +00:00
|
|
|
SignupOperation(),
|
2023-06-19 08:02:56 +00:00
|
|
|
ResendVerificationCodeOperation(),
|
2022-11-14 08:44:03 +00:00
|
|
|
VerifyOperation(),
|
|
|
|
LoginOperation(),
|
2022-11-16 09:05:26 +00:00
|
|
|
GetProfileByUserOperation(),
|
|
|
|
UpdateProfileByUserOperation(),
|
2023-06-05 07:58:46 +00:00
|
|
|
ChangePasswordOperation(),
|
2023-06-08 07:12:37 +00:00
|
|
|
ResetPasswordOperation(),
|
2022-11-18 07:54:37 +00:00
|
|
|
LogoutOperation(),
|
2022-11-21 14:14:45 +00:00
|
|
|
WebfingerOperation(),
|
2023-05-02 17:47:43 +00:00
|
|
|
GetPackagesOperation(),
|
2022-11-26 08:28:00 +00:00
|
|
|
GetActorOperation(),
|
2022-12-02 18:37:08 +00:00
|
|
|
FollowActorOperation(),
|
2022-12-06 08:18:31 +00:00
|
|
|
AuthorizeInteractionOperation(),
|
2022-12-08 18:41:55 +00:00
|
|
|
GetFollowersOperation(),
|
2022-12-12 16:16:43 +00:00
|
|
|
GetFollowingOperation(),
|
2022-12-15 15:13:01 +00:00
|
|
|
PostToOutboxOperation(),
|
2022-12-20 13:20:18 +00:00
|
|
|
GetOutboxOperation(),
|
2022-12-22 16:46:08 +00:00
|
|
|
PostToInboxOperation(),
|
2023-01-04 09:52:15 +00:00
|
|
|
GetInboxOperation(),
|
2022-10-31 10:49:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewFactory() IOperationFactory {
|
|
|
|
return &operationFactory{}
|
|
|
|
}
|