feat: add content report governance

This commit is contained in:
2026-01-16 11:36:04 +08:00
parent 3af3c854c9
commit 609ca7b980
18 changed files with 2480 additions and 101 deletions

View File

@@ -31,6 +31,13 @@ func Provide(opts ...opt.Option) error {
}); err != nil {
return err
}
if err := container.Container.Provide(func() (*contentReports, error) {
obj := &contentReports{}
return obj, nil
}); err != nil {
return err
}
if err := container.Container.Provide(func() (*contents, error) {
obj := &contents{}
@@ -98,6 +105,7 @@ func Provide(opts ...opt.Option) error {
assets *assets,
auditLogs *auditLogs,
comments *comments,
contentReports *contentReports,
contents *contents,
coupons *coupons,
creatorApplications *creatorApplications,
@@ -117,6 +125,7 @@ func Provide(opts ...opt.Option) error {
assets: assets,
auditLogs: auditLogs,
comments: comments,
contentReports: contentReports,
contents: contents,
coupons: coupons,
creatorApplications: creatorApplications,