mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Domain.Apps.Core.Rules.Deprecated;
|
|
using Squidex.Flows;
|
|
using Squidex.Infrastructure.Reflection;
|
|
using Squidex.Infrastructure.Validation;
|
|
|
|
namespace Squidex.Extensions.Actions.OpenSearch;
|
|
|
|
[Obsolete("Has been replaced by flows.")]
|
|
public sealed record OpenSearchAction : RuleAction
|
|
{
|
|
[AbsoluteUrl]
|
|
[LocalizedRequired]
|
|
public Uri Host { get; set; }
|
|
|
|
[LocalizedRequired]
|
|
public string IndexName { get; set; }
|
|
|
|
public string? Username { get; set; }
|
|
|
|
public string? Password { get; set; }
|
|
|
|
public string? Document { get; set; }
|
|
|
|
public string? Delete { get; set; }
|
|
|
|
public override FlowStep ToFlowStep()
|
|
{
|
|
return SimpleMapper.Map(this, new OpenSearchFlowStep());
|
|
}
|
|
}
|
|
|