package services import ( "context" "custom-start-page/internal/models" ) // PageServiceInterface defines the interface for page operations type PageServiceInterface interface { GetPages(ctx context.Context, userID string) ([]*models.Page, error) CreatePage(ctx context.Context, userID, name string) (*models.Page, error) CreateDefaultPage(ctx context.Context, userID string) (*models.Page, error) UpdatePage(ctx context.Context, userID, pageID, name string) (*models.Page, error) DeletePage(ctx context.Context, userID, pageID string) error ReorderPages(ctx context.Context, userID string, pageOrder []string) error }