2026-02-07 18:26:47 +00:00
|
|
|
package sync
|
|
|
|
|
|
|
|
|
|
import (
|
2026-02-24 15:34:53 +00:00
|
|
|
"context"
|
2026-02-08 01:44:44 +00:00
|
|
|
"net/http"
|
|
|
|
|
|
2026-02-07 18:26:47 +00:00
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
|
|
|
)
|
|
|
|
|
|
2026-02-24 15:34:53 +00:00
|
|
|
type contentPoolList struct{}
|
2026-02-07 20:02:39 +00:00
|
|
|
|
2026-02-24 15:34:53 +00:00
|
|
|
func getPoolList(ctx context.Context, r *http.Request, org *models.Organization, user *models.User) (*response[contentPoolList], *errorWithStatus) {
|
|
|
|
|
return newResponse("sync/pool-list.html", contentPoolList{}), nil
|
2026-02-07 20:02:39 +00:00
|
|
|
}
|
2026-02-24 15:34:53 +00:00
|
|
|
func getPoolCreate(ctx context.Context, r *http.Request, org *models.Organization, user *models.User) (*response[contentPoolList], *errorWithStatus) {
|
|
|
|
|
return newResponse("sync/pool-upload.html", contentPoolList{}), nil
|
2026-02-08 03:47:48 +00:00
|
|
|
}
|
2026-02-24 15:34:53 +00:00
|
|
|
func getPoolByID(ctx context.Context, r *http.Request, org *models.Organization, user *models.User) (*response[contentPoolList], *errorWithStatus) {
|
|
|
|
|
return newResponse("sync/pool-by-id.html", contentPoolList{}), nil
|
2026-02-08 00:59:41 +00:00
|
|
|
}
|