mirror of https://github.com/Squidex/squidex.git
committed by
GitHub
164 changed files with 27967 additions and 1356 deletions
@ -0,0 +1,12 @@ |
|||
// ==========================================================================
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|||
// All rights reserved. Licensed under the MIT license.
|
|||
// ==========================================================================
|
|||
|
|||
namespace Squidex.Domain.Apps.Entities.Contents.Commands; |
|||
|
|||
public sealed class EnrichContentDefaults : ContentCommand |
|||
{ |
|||
} |
|||
@ -0,0 +1,36 @@ |
|||
// ==========================================================================
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|||
// All rights reserved. Licensed under the MIT license.
|
|||
// ==========================================================================
|
|||
|
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Squidex.Domain.Apps.Core.Contents; |
|||
using Squidex.Domain.Apps.Entities.Contents.Commands; |
|||
using Squidex.Infrastructure; |
|||
using Squidex.Infrastructure.Reflection; |
|||
using Squidex.Web; |
|||
|
|||
namespace Squidex.Areas.Api.Controllers.Contents.Models; |
|||
|
|||
[OpenApiRequest] |
|||
public class UpdateContentDto |
|||
{ |
|||
/// <summary>
|
|||
/// The full data for the content item.
|
|||
/// </summary>
|
|||
[FromBody] |
|||
public ContentData Data { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Enrich the content with defaults.
|
|||
/// </summary>
|
|||
[FromQuery(Name = "enrichDefaults")] |
|||
public bool EnrichDefaults { get; set; } |
|||
|
|||
public UpdateContent ToCommand(DomainId id) |
|||
{ |
|||
return SimpleMapper.Map(this, new UpdateContent { ContentId = id }); |
|||
} |
|||
} |
|||
@ -1,40 +0,0 @@ |
|||
// ==========================================================================
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|||
// All rights reserved. Licensed under the MIT license.
|
|||
// ==========================================================================
|
|||
|
|||
using Squidex.Infrastructure.EventSourcing; |
|||
|
|||
namespace Squidex.Domain.Apps.Entities.TestHelpers; |
|||
|
|||
public static class AssertHelper |
|||
{ |
|||
public static void ShouldHaveSameEvents(this IEnumerable<Envelope<IEvent>> events, params IEvent[] others) |
|||
{ |
|||
var source = events.Select(x => x.Payload).ToArray(); |
|||
|
|||
source.Should().HaveSameCount(others); |
|||
|
|||
for (var i = 0; i < source.Length; i++) |
|||
{ |
|||
var lhs = source[i]; |
|||
var rhs = others[i]; |
|||
|
|||
lhs.ShouldBeSameEvent(rhs); |
|||
} |
|||
} |
|||
|
|||
public static void ShouldBeSameEvent(this IEvent lhs, IEvent rhs) |
|||
{ |
|||
lhs.Should().BeOfType(rhs.GetType()); |
|||
|
|||
((object)lhs).Should().BeEquivalentTo(rhs, o => o.IncludingAllRuntimeProperties()); |
|||
} |
|||
|
|||
public static void ShouldBeEquivalent<T>(this T lhs, T rhs) |
|||
{ |
|||
lhs.Should().BeEquivalentTo(rhs, o => o.IncludingProperties()); |
|||
} |
|||
} |
|||
@ -0,0 +1,147 @@ |
|||
// ==========================================================================
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|||
// All rights reserved. Licensed under the MIT license.
|
|||
// ==========================================================================
|
|||
|
|||
using System.Runtime.CompilerServices; |
|||
using Argon; |
|||
using NodaTime; |
|||
using Squidex.Infrastructure; |
|||
using Squidex.Infrastructure.Json.Objects; |
|||
|
|||
namespace Squidex.Domain.Apps.Entities.TestHelpers; |
|||
|
|||
public static partial class VerifySettings |
|||
{ |
|||
private sealed class JsonArrayConverter : WriteOnlyJsonConverter<JsonArray> |
|||
{ |
|||
public override void Write(VerifyJsonWriter writer, JsonArray value) |
|||
{ |
|||
writer.WriteStartArray(); |
|||
|
|||
foreach (var item in value) |
|||
{ |
|||
writer.Serialize(item); |
|||
} |
|||
|
|||
writer.WriteEndArray(); |
|||
} |
|||
} |
|||
|
|||
private sealed class JsonObjectConverter : WriteOnlyJsonConverter<JsonObject> |
|||
{ |
|||
public override void Write(VerifyJsonWriter writer, JsonObject value) |
|||
{ |
|||
writer.WriteStartObject(); |
|||
|
|||
foreach (var (key, item) in value) |
|||
{ |
|||
writer.WritePropertyName(key); |
|||
writer.Serialize(item); |
|||
} |
|||
|
|||
writer.WriteEndObject(); |
|||
} |
|||
} |
|||
|
|||
private sealed class JsonValueConverter : WriteOnlyJsonConverter<JsonValue> |
|||
{ |
|||
public override void Write(VerifyJsonWriter writer, JsonValue value) |
|||
{ |
|||
switch (value.Type) |
|||
{ |
|||
case JsonValueType.Null: |
|||
writer.WriteNull(); |
|||
break; |
|||
case JsonValueType.Array: |
|||
writer.Serialize(value.AsArray); |
|||
break; |
|||
case JsonValueType.Boolean: |
|||
writer.WriteValue(value.AsBoolean); |
|||
break; |
|||
case JsonValueType.Number: |
|||
writer.WriteValue(value.AsNumber); |
|||
break; |
|||
case JsonValueType.Object: |
|||
writer.Serialize(value.AsObject); |
|||
break; |
|||
case JsonValueType.String: |
|||
writer.WriteValue(value.AsString); |
|||
break; |
|||
} |
|||
} |
|||
} |
|||
|
|||
private sealed class ContractResolver : IContractResolver |
|||
{ |
|||
private readonly IContractResolver inner; |
|||
|
|||
public ContractResolver(IContractResolver inner) |
|||
{ |
|||
this.inner = inner; |
|||
} |
|||
|
|||
public JsonNameTable GetNameTable() |
|||
{ |
|||
return inner.GetNameTable(); |
|||
} |
|||
|
|||
public JsonContract ResolveContract(Type type) |
|||
{ |
|||
var contract = inner.ResolveContract(type); |
|||
|
|||
if (contract is not JsonDictionaryContract dictionaryContract) |
|||
{ |
|||
return contract; |
|||
} |
|||
|
|||
var originalKeyResolver = dictionaryContract.DictionaryKeyResolver!; |
|||
|
|||
dictionaryContract.DictionaryKeyResolver = (name, original) => |
|||
{ |
|||
if (original is string id && Guid.TryParse(id, out var guid1)) |
|||
{ |
|||
var index = Counter.Current.Next(guid1); |
|||
|
|||
return $"Guid_{index}"; |
|||
} |
|||
|
|||
if (original is DomainId id2 && Guid.TryParse(id2.ToString(), out var guid2)) |
|||
{ |
|||
var index = Counter.Current.Next(guid2); |
|||
|
|||
return $"Guid_{index}"; |
|||
} |
|||
|
|||
return originalKeyResolver(name, original); |
|||
}; |
|||
|
|||
return contract; |
|||
} |
|||
} |
|||
|
|||
[ModuleInitializer] |
|||
public static void Initialize() |
|||
{ |
|||
DerivePathInfo((sourceFile, projectDirectory, type, method) => |
|||
{ |
|||
var path = Path.Combine(projectDirectory, "Verify"); |
|||
|
|||
return new PathInfo(path, type.Name, method.Name); |
|||
}); |
|||
|
|||
VerifierSettings.AddExtraSettings(s => |
|||
{ |
|||
s.Converters.Add(new JsonArrayConverter()); |
|||
s.Converters.Add(new JsonObjectConverter()); |
|||
s.Converters.Add(new JsonValueConverter()); |
|||
s.ContractResolver = new ContractResolver(s.ContractResolver!); |
|||
}); |
|||
|
|||
VerifierSettings.ScrubInlineGuids(); |
|||
VerifierSettings.IgnoreMembersWithType<Instant>(); |
|||
VerifierSettings.IgnoreMember("Secret"); |
|||
} |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en, |
|||
de |
|||
], |
|||
Languages: { |
|||
de: { |
|||
IsOptional: false |
|||
}, |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Language: de, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,134 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
CustomCount: 1, |
|||
Custom: [ |
|||
{ |
|||
Name: My Role, |
|||
IsDefault: false |
|||
} |
|||
], |
|||
All: [ |
|||
{ |
|||
Name: My Role, |
|||
IsDefault: false |
|||
}, |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Name: My Role, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,156 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
Workflows: { |
|||
Guid_2: { |
|||
Initial: Draft, |
|||
Name: my-workflow, |
|||
Steps: { |
|||
Archived: { |
|||
Color: #eb3142, |
|||
NoUpdate: {}, |
|||
Validate: false, |
|||
Transitions: { |
|||
Draft: {} |
|||
} |
|||
}, |
|||
Draft: { |
|||
Color: #8091a5, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Published: {} |
|||
} |
|||
}, |
|||
Published: { |
|||
Color: #4bb958, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Draft: {} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
WorkflowId: Guid_2, |
|||
Name: my-workflow, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,122 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: true, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Deleted |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
Guid_2: Editor, |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContributorId: Guid_2, |
|||
Role: Editor, |
|||
IsCreated: false, |
|||
IsAdded: true, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
Guid_2: Owner, |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContributorId: Guid_2, |
|||
Role: Owner, |
|||
IsCreated: false, |
|||
IsAdded: false, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,130 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Clients: { |
|||
client: { |
|||
Name: client, |
|||
AllowAnonymous: false, |
|||
Role: Editor |
|||
} |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Id: client, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Plan: { |
|||
Owner: subject:me, |
|||
PlanId: premium |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
PlanId: premium, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,122 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Plan: { |
|||
Owner: subject:me, |
|||
PlanId: premium |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
PlanId: premium, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Plan: { |
|||
Owner: subject:me, |
|||
PlanId: premium |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
PlanId: premium, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,108 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
} |
|||
} |
|||
@ -0,0 +1,122 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Name: my-app, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
}, |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContributorId: me, |
|||
Role: Owner, |
|||
IsCreated: false, |
|||
IsAdded: false, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
}, |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,136 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: client:client, |
|||
LastModifiedBy: client:client, |
|||
Version: 1, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Name: my-app, |
|||
AppId: Guid_1,my-app, |
|||
Actor: client:client, |
|||
FromRule: false |
|||
} |
|||
}, |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AppId: Guid_1,my-app, |
|||
Actor: client:client, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Name: My Role, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
WorkflowId: Guid_3, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContributorId: Guid_3, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,122 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Language: de, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Id: client, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,122 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,124 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
TeamId: Guid_2, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
TeamId: Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,132 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Clients: { |
|||
client: { |
|||
Name: My Client, |
|||
AllowAnonymous: false, |
|||
Role: Developer |
|||
} |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Id: client, |
|||
Name: My Client, |
|||
Role: Developer, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,135 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en, |
|||
de |
|||
], |
|||
Languages: { |
|||
de: { |
|||
IsOptional: false, |
|||
Fallbacks: [ |
|||
en |
|||
] |
|||
}, |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Language: de, |
|||
IsOptional: false, |
|||
IsMaster: false, |
|||
Fallback: [ |
|||
en |
|||
], |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,147 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
CustomCount: 1, |
|||
Custom: [ |
|||
{ |
|||
Name: My Role, |
|||
Permissions: [ |
|||
{ |
|||
Id: clients.read |
|||
} |
|||
], |
|||
IsDefault: false |
|||
} |
|||
], |
|||
All: [ |
|||
{ |
|||
Name: My Role, |
|||
Permissions: [ |
|||
{ |
|||
Id: clients.read |
|||
} |
|||
], |
|||
IsDefault: false |
|||
}, |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Name: My Role, |
|||
Permissions: [ |
|||
clients.read |
|||
], |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,126 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: false, |
|||
HideDateTimeModeButton: true |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Settings: { |
|||
HideScheduler: false, |
|||
HideDateTimeModeButton: true |
|||
}, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,185 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
Workflows: { |
|||
Guid_2: { |
|||
Initial: Draft, |
|||
Name: Unnamed, |
|||
Steps: { |
|||
Archived: { |
|||
Color: #eb3142, |
|||
NoUpdate: {}, |
|||
Validate: false, |
|||
Transitions: { |
|||
Draft: {} |
|||
} |
|||
}, |
|||
Draft: { |
|||
Color: #8091a5, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Published: {} |
|||
} |
|||
}, |
|||
Published: { |
|||
Color: #4bb958, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Draft: {} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 4, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 4, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
WorkflowId: Guid_2, |
|||
Workflow: { |
|||
Initial: Draft, |
|||
Name: Unnamed, |
|||
Steps: { |
|||
Archived: { |
|||
Color: #eb3142, |
|||
NoUpdate: {}, |
|||
Validate: false, |
|||
Transitions: { |
|||
Draft: {} |
|||
} |
|||
}, |
|||
Draft: { |
|||
Color: #8091a5, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Published: {} |
|||
} |
|||
}, |
|||
Published: { |
|||
Color: #4bb958, |
|||
Validate: false, |
|||
Transitions: { |
|||
Archived: {}, |
|||
Draft: {} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,126 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Label: my-label, |
|||
Description: my-description, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_2, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Label: my-label, |
|||
Description: my-description, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,130 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
Name: my-app, |
|||
Contributors: { |
|||
me: Owner |
|||
}, |
|||
Roles: { |
|||
All: [ |
|||
{ |
|||
Name: Owner, |
|||
Permissions: [ |
|||
{ |
|||
Id: * |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Reader, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets.read |
|||
}, |
|||
{ |
|||
Id: contents.*.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Editor, |
|||
Properties: { |
|||
ui.api.hide: true |
|||
}, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: workflows.read |
|||
} |
|||
], |
|||
IsDefault: true |
|||
}, |
|||
{ |
|||
Name: Developer, |
|||
Permissions: [ |
|||
{ |
|||
Id: assets |
|||
}, |
|||
{ |
|||
Id: contents.* |
|||
}, |
|||
{ |
|||
Id: roles.read |
|||
}, |
|||
{ |
|||
Id: rules |
|||
}, |
|||
{ |
|||
Id: schemas |
|||
}, |
|||
{ |
|||
Id: workflows |
|||
} |
|||
], |
|||
IsDefault: true |
|||
} |
|||
] |
|||
}, |
|||
Image: { |
|||
MimeType: image/png, |
|||
Etag: Guid_2 |
|||
}, |
|||
Settings: { |
|||
HideScheduler: true, |
|||
HideDateTimeModeButton: false |
|||
}, |
|||
AssetScripts: {}, |
|||
Languages: { |
|||
Master: en, |
|||
AllKeys: [ |
|||
en |
|||
], |
|||
Languages: { |
|||
en: { |
|||
IsOptional: false |
|||
} |
|||
} |
|||
}, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3, |
|||
UniqueId: Guid_1 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Image: { |
|||
MimeType: image/png, |
|||
Etag: Guid_2 |
|||
}, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,44 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
Metadata: { |
|||
pixelWidth: 800.0 |
|||
}, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Metadata: { |
|||
pixelWidth: 800.0 |
|||
}, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,39 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: My New Image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
FileName: My New Image.png, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,39 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: true, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
IsProtected: true, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,39 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: my-new-image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Slug: my-new-image.png, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,44 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
Tags: [ |
|||
tag1 |
|||
], |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Tags: [ |
|||
tag1 |
|||
], |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,41 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,40 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 456, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
FileVersion: 1, |
|||
TotalSize: 2048, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: true, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Deleted |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
DeletedSize: 2048, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,40 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: 123, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
ParentId: Guid_2, |
|||
UniqueId: Guid_3--Guid_1, |
|||
AppId: Guid_3,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ParentId: Guid_2, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_3,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,43 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
FileVersion: 1, |
|||
TotalSize: 2048, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
MimeType: image/png, |
|||
FileHash: NewHash, |
|||
FileSize: 1024, |
|||
FileVersion: 1, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,41 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
TotalSize: 1024, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,43 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1, |
|||
Snapshot: { |
|||
FileName: image.png, |
|||
FileHash: NewHash, |
|||
MimeType: image/png, |
|||
Slug: image.png, |
|||
FileSize: 1024, |
|||
FileVersion: 1, |
|||
TotalSize: 2048, |
|||
IsProtected: false, |
|||
UniqueId: Guid_2--Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_1, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
MimeType: image/png, |
|||
FileHash: NewHash, |
|||
FileSize: 1024, |
|||
FileVersion: 1, |
|||
AssetId: Guid_1, |
|||
AppId: Guid_2,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,31 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
FolderName: New Name, |
|||
UniqueId: Guid_1--Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
FolderName: New Name, |
|||
AssetFolderId: Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,32 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
FolderName: My Folder, |
|||
UniqueId: Guid_1--Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: true, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Deleted |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
AssetFolderId: Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
FolderName: My Folder, |
|||
ParentId: Guid_3, |
|||
UniqueId: Guid_1--Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ParentId: Guid_3, |
|||
AssetFolderId: Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,33 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
FolderName: New Name, |
|||
UniqueId: Guid_1--Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_3, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
FolderName: New Name, |
|||
AssetFolderId: Guid_2, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1 @@ |
|||
|
|||
@ -0,0 +1,61 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Draft, |
|||
Data: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,48 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,48 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,54 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
ScheduleJob: { |
|||
Id: Guid_4, |
|||
Status: Published, |
|||
ScheduledBy: subject:me |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_5, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Published, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,80 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
}, |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_5, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Change: Unpublished, |
|||
Status: Draft, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,51 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Published, |
|||
IsPublished: true, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Change: Published, |
|||
Status: Published, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,48 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,58 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
NewVersion: { |
|||
Status: Archived, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Archived, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Archived, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,50 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Archived, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Archived, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Archived, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,50 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Archived, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Archived, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Archived, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,51 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Change: Unpublished, |
|||
Status: Draft, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,50 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Archived, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Archived, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Archived, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,57 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
NewVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 2 |
|||
}, |
|||
Version: 2, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Draft, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,70 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Archived, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Archived, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
}, |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_5, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Archived, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,52 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,52 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,48 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Published, |
|||
IsPublished: true, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,48 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: true, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Deleted |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
} |
|||
} |
|||
@ -0,0 +1,63 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
defaults: { |
|||
iv: Default Value |
|||
}, |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,63 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,71 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
NewVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
} |
|||
}, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
} |
|||
} |
|||
@ -0,0 +1,63 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 1 |
|||
}, |
|||
Version: 1, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,71 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
NewVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
} |
|||
}, |
|||
CurrentVersion: { |
|||
Status: Published, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me, |
|||
Version: 3 |
|||
}, |
|||
Version: 3, |
|||
ObjectState: Created |
|||
}, |
|||
events: [ |
|||
{ |
|||
Headers: { |
|||
AggregateId: Guid_1--Guid_2, |
|||
EventId: Guid_4, |
|||
Timestamp: DateTimeOffset_1 |
|||
}, |
|||
Payload: { |
|||
Data: { |
|||
my-field1: { |
|||
iv: 2.0 |
|||
}, |
|||
my-field2: { |
|||
iv: 2.0 |
|||
} |
|||
}, |
|||
NewVersion: false, |
|||
ContentId: Guid_2, |
|||
SchemaId: Guid_3,my-schema, |
|||
AppId: Guid_1,my-app, |
|||
Actor: subject:me, |
|||
FromRule: false |
|||
} |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
{ |
|||
sut: { |
|||
UniqueId: Guid_1--Guid_2, |
|||
Snapshot: { |
|||
SchemaId: Guid_3,my-schema, |
|||
CurrentVersion: { |
|||
Status: Draft, |
|||
Data: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
} |
|||
}, |
|||
EditingData: { |
|||
my-field1: { |
|||
iv: 1.0 |
|||
} |
|||
}, |
|||
EditingStatus: Draft, |
|||
IsPublished: false, |
|||
AppId: Guid_1,my-app, |
|||
IsDeleted: false, |
|||
UniqueId: Guid_1--Guid_2, |
|||
Id: Guid_2, |
|||
CreatedBy: subject:me, |
|||
LastModifiedBy: subject:me |
|||
}, |
|||
ObjectState: Created |
|||
} |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue