mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
➕ Implemented Create Pusher
This commit is contained in:
parent
024afaba7c
commit
4c4cf8020a
10 changed files with 110 additions and 2 deletions
|
@ -29,6 +29,7 @@ type UserInternalAPI interface {
|
|||
PerformPasswordUpdate(ctx context.Context, req *PerformPasswordUpdateRequest, res *PerformPasswordUpdateResponse) error
|
||||
PerformDeviceCreation(ctx context.Context, req *PerformDeviceCreationRequest, res *PerformDeviceCreationResponse) error
|
||||
PerformDeviceDeletion(ctx context.Context, req *PerformDeviceDeletionRequest, res *PerformDeviceDeletionResponse) error
|
||||
PerformPusherCreation(ctx context.Context, req *PerformPusherCreationRequest, res *PerformPusherCreationResponse) error
|
||||
PerformPusherDeletion(ctx context.Context, req *PerformPusherDeletionRequest, res *PerformPusherDeletionResponse) error
|
||||
PerformLastSeenUpdate(ctx context.Context, req *PerformLastSeenUpdateRequest, res *PerformLastSeenUpdateResponse) error
|
||||
PerformDeviceUpdate(ctx context.Context, req *PerformDeviceUpdateRequest, res *PerformDeviceUpdateResponse) error
|
||||
|
@ -239,6 +240,24 @@ type PerformDeviceCreationResponse struct {
|
|||
Device *Device
|
||||
}
|
||||
|
||||
// PerformPusherCreationRequest is the request for PerformPusherCreation
|
||||
type PerformPusherCreationRequest struct {
|
||||
Localpart string
|
||||
PushKey string
|
||||
Kind string
|
||||
AppID string
|
||||
AppDisplayName string
|
||||
DeviceDisplayName string
|
||||
ProfileTag string
|
||||
Language string
|
||||
URL string
|
||||
Format string
|
||||
}
|
||||
|
||||
// PerformPusherCreationResponse is the response for PerformPusherCreation
|
||||
type PerformPusherCreationResponse struct {
|
||||
}
|
||||
|
||||
// PerformAccountDeactivationRequest is the request for PerformAccountDeactivation
|
||||
type PerformAccountDeactivationRequest struct {
|
||||
Localpart string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue