37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
package report
|
|
|
|
import (
|
|
"context"
|
|
//"crypto/rand"
|
|
//"fmt"
|
|
//"math/big"
|
|
//"strconv"
|
|
//"strings"
|
|
//"time"
|
|
|
|
//"github.com/aarondl/opt/omit"
|
|
//"github.com/aarondl/opt/omitnull"
|
|
"github.com/Gleipnir-Technology/bob"
|
|
//"github.com/Gleipnir-Technology/bob/dialect/psql"
|
|
//"github.com/Gleipnir-Technology/bob/dialect/psql/sm"
|
|
//"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
|
//"github.com/Gleipnir-Technology/nidus-sync/background"
|
|
//"github.com/Gleipnir-Technology/nidus-sync/db"
|
|
//"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
//"github.com/Gleipnir-Technology/nidus-sync/db/sql"
|
|
"github.com/Gleipnir-Technology/nidus-sync/platform/types"
|
|
//"github.com/rs/zerolog/log"
|
|
//"github.com/stephenafamo/scan"
|
|
)
|
|
|
|
type SomeReport interface {
|
|
addNotificationEmail(context.Context, bob.Executor, string) error
|
|
addNotificationPhone(context.Context, bob.Executor, types.E164) error
|
|
districtID(context.Context) *int32
|
|
updateReporterConsent(context.Context, bob.Executor, bool) error
|
|
updateReporterEmail(context.Context, bob.Executor, string) error
|
|
updateReporterName(context.Context, bob.Executor, string) error
|
|
updateReporterPhone(context.Context, bob.Executor, types.E164) error
|
|
PublicReportID() string
|
|
reportID() int32
|
|
}
|