* Add support for media when installing a package * clean up * Fix tests * Add support for media when installing a package * clean up * Fix tests * moved tests + test data * Migrated package tests + resources * Fix issue with media picker on package page, was empty after save. * Added missing files * Fix casing issue of resources * Added test for media * Fix tests for linux * Fix test * Fix issue with move media.. * Fix issue with adding files to packages * Add MediaType permissions. * Fix test * Fix test * Retry flaky tests, and added TODOs to fix those * new attempt to fix test Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
26 lines
868 B
C#
26 lines
868 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Umbraco.Core.Models;
|
|
|
|
namespace Umbraco.Core.Services
|
|
{
|
|
public interface IContentServiceBase<TItem> : IContentServiceBase
|
|
where TItem: class, IContentBase
|
|
{
|
|
TItem GetById(Guid key);
|
|
Attempt<OperationResult> Save(IEnumerable<TItem> contents, int userId = Constants.Security.SuperUserId, bool raiseEvents = true);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Placeholder for sharing logic between the content, media (and member) services
|
|
/// TODO: Start sharing the logic!
|
|
/// </summary>
|
|
public interface IContentServiceBase : IService
|
|
{
|
|
/// <summary>
|
|
/// Checks/fixes the data integrity of node paths/levels stored in the database
|
|
/// </summary>
|
|
ContentDataIntegrityReport CheckDataIntegrity(ContentDataIntegrityReportOptions options);
|
|
}
|
|
}
|