* Expose schedule date for on document get endpoint * typo fix * stupid stuff * Enable content scheduling features in the publishing service * Replace obsoleted non async calls * Add content scheduling test * Publush and schedule combination test * More invariantCulture notation allignment and more tests * Link up api with updated document scheduling * More invariant culture notation allignment * Fix breaking change * Return expected status codes. * Fix constructor * Forward Default implementation to actual core implementation Co-authored-by: Bjarke Berg <mail@bergmania.dk> * Forward default implementation to core implementation Co-authored-by: Bjarke Berg <mail@bergmania.dk> * Make content with scheduling retrieval scope safe --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
96 lines
3.4 KiB
C#
96 lines
3.4 KiB
C#
namespace Umbraco.Cms.Core;
|
|
|
|
public static partial class Constants
|
|
{
|
|
/// <summary>
|
|
/// Defines the identifiers for Umbraco system nodes.
|
|
/// </summary>
|
|
public static class System
|
|
{
|
|
/// <summary>
|
|
/// The integer identifier for global system root node.
|
|
/// </summary>
|
|
public const int Root = -1;
|
|
|
|
/// <summary>
|
|
/// The string identifier for global system root node.
|
|
/// </summary>
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
public const string RootString = "-1";
|
|
|
|
/// <summary>
|
|
/// The GUID identifier for global system root node.
|
|
/// </summary>
|
|
public static readonly Guid? RootKey = null;
|
|
|
|
/// <summary>
|
|
/// The integer identifier for content's recycle bin.
|
|
/// </summary>
|
|
public const int RecycleBinContent = -20;
|
|
|
|
/// <summary>
|
|
/// The GUId identifier for content's recycle bin.
|
|
/// </summary>
|
|
public static readonly Guid RecycleBinContentKey = new("0F582A79-1E41-4CF0-BFA0-76340651891A");
|
|
|
|
/// <summary>
|
|
/// The string identifier for content's recycle bin.
|
|
/// </summary>
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
public const string RecycleBinContentString = "-20";
|
|
|
|
/// <summary>
|
|
/// The string path prefix of the content's recycle bin.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>Everything that is in the content recycle bin, has a path that starts with the prefix.</para>
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
/// </remarks>
|
|
public const string RecycleBinContentPathPrefix = "-1,-20,";
|
|
|
|
/// <summary>
|
|
/// The integer identifier for media's recycle bin.
|
|
/// </summary>
|
|
public const int RecycleBinMedia = -21;
|
|
|
|
/// <summary>
|
|
/// The GUID identifier for media's recycle bin.
|
|
/// </summary>
|
|
public static readonly Guid RecycleBinMediaKey = new("BF7C7CBC-952F-4518-97A2-69E9C7B33842");
|
|
|
|
/// <summary>
|
|
/// The string identifier for media's recycle bin.
|
|
/// </summary>
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
public const string RecycleBinMediaString = "-21";
|
|
|
|
/// <summary>
|
|
/// The string path prefix of the media's recycle bin.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>Everything that is in the media recycle bin, has a path that starts with the prefix.</para>
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
/// </remarks>
|
|
public const string RecycleBinMediaPathPrefix = "-1,-21,";
|
|
|
|
public const int DefaultLabelDataTypeId = -92;
|
|
|
|
public const string UmbracoDefaultDatabaseName = "Umbraco";
|
|
|
|
public const string UmbracoConnectionName = "umbracoDbDSN";
|
|
public const string DefaultUmbracoPath = "~/umbraco";
|
|
|
|
/// <summary>
|
|
/// The DataDirectory name.
|
|
/// </summary>
|
|
public const string DataDirectoryName = "DataDirectory";
|
|
|
|
/// <summary>
|
|
/// The DataDirectory placeholder.
|
|
/// </summary>
|
|
public const string DataDirectoryPlaceholder = "|DataDirectory|";
|
|
|
|
public const string InvariantCulture = "*";
|
|
}
|
|
}
|