Skip to content

Commit 5b32942

Browse files
Refactor DB namespaces and simplify web project structure
1 parent 3f29a49 commit 5b32942

File tree

360 files changed

+2022
-9458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+2022
-9458
lines changed

Bones.sln

Lines changed: 12 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Frontend", "Frontend", "{2B
7575
EndProject
7676
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bones.WebUI", "Frontend\Bones.WebUI\Bones.WebUI.csproj", "{B7B95847-5923-46E1-BEC5-D619018E7098}"
7777
EndProject
78-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bones.WebUI.Leaflet", "Frontend\Bones.WebUI.Leaflet\Bones.WebUI.Leaflet.csproj", "{72CC087C-C908-4082-A19A-A1C60EE2BE0F}"
79-
EndProject
80-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bones.WebUI.SubtleCrypto", "Frontend\Bones.WebUI.SubtleCrypto\Bones.WebUI.SubtleCrypto.csproj", "{A667E3B7-336A-4A48-A04A-01329D16ACC6}"
81-
EndProject
8278
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{93B535AC-0A5C-4FC5-909E-832DD1AE52B0}"
8379
EndProject
8480
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bones.Api", "Services\Bones.Api\Bones.Api.csproj", "{646BF7B1-446B-47A0-A156-13363CD2E957}"
@@ -119,6 +115,18 @@ Global
119115
Release|x86 = Release|x86
120116
EndGlobalSection
121117
GlobalSection(ProjectConfigurationPlatforms) = postSolution
118+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
119+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|Any CPU.Build.0 = Debug|Any CPU
120+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x64.ActiveCfg = Debug|Any CPU
121+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x64.Build.0 = Debug|Any CPU
122+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x86.ActiveCfg = Debug|Any CPU
123+
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x86.Build.0 = Debug|Any CPU
124+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|Any CPU.ActiveCfg = Release|Any CPU
125+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|Any CPU.Build.0 = Release|Any CPU
126+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x64.ActiveCfg = Release|Any CPU
127+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x64.Build.0 = Release|Any CPU
128+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x86.ActiveCfg = Release|Any CPU
129+
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x86.Build.0 = Release|Any CPU
122130
{770FD557-F74A-4A65-9292-F66DAD5EE244}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
123131
{770FD557-F74A-4A65-9292-F66DAD5EE244}.Debug|Any CPU.Build.0 = Debug|Any CPU
124132
{770FD557-F74A-4A65-9292-F66DAD5EE244}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -167,18 +175,6 @@ Global
167175
{7D73C8BF-8052-4386-B9CA-816321E0EF6E}.Release|x64.Build.0 = Release|Any CPU
168176
{7D73C8BF-8052-4386-B9CA-816321E0EF6E}.Release|x86.ActiveCfg = Release|Any CPU
169177
{7D73C8BF-8052-4386-B9CA-816321E0EF6E}.Release|x86.Build.0 = Release|Any CPU
170-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
171-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|Any CPU.Build.0 = Debug|Any CPU
172-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x64.ActiveCfg = Debug|Any CPU
173-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x64.Build.0 = Debug|Any CPU
174-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x86.ActiveCfg = Debug|Any CPU
175-
{12C73BFE-490F-48E3-B409-0092CD242612}.Debug|x86.Build.0 = Debug|Any CPU
176-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|Any CPU.ActiveCfg = Release|Any CPU
177-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|Any CPU.Build.0 = Release|Any CPU
178-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x64.ActiveCfg = Release|Any CPU
179-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x64.Build.0 = Release|Any CPU
180-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x86.ActiveCfg = Release|Any CPU
181-
{12C73BFE-490F-48E3-B409-0092CD242612}.Release|x86.Build.0 = Release|Any CPU
182178
{B7B95847-5923-46E1-BEC5-D619018E7098}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
183179
{B7B95847-5923-46E1-BEC5-D619018E7098}.Debug|Any CPU.Build.0 = Debug|Any CPU
184180
{B7B95847-5923-46E1-BEC5-D619018E7098}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -191,30 +187,6 @@ Global
191187
{B7B95847-5923-46E1-BEC5-D619018E7098}.Release|x64.Build.0 = Release|Any CPU
192188
{B7B95847-5923-46E1-BEC5-D619018E7098}.Release|x86.ActiveCfg = Release|Any CPU
193189
{B7B95847-5923-46E1-BEC5-D619018E7098}.Release|x86.Build.0 = Release|Any CPU
194-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
195-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
196-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|x64.ActiveCfg = Debug|Any CPU
197-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|x64.Build.0 = Debug|Any CPU
198-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|x86.ActiveCfg = Debug|Any CPU
199-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Debug|x86.Build.0 = Debug|Any CPU
200-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
201-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|Any CPU.Build.0 = Release|Any CPU
202-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|x64.ActiveCfg = Release|Any CPU
203-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|x64.Build.0 = Release|Any CPU
204-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|x86.ActiveCfg = Release|Any CPU
205-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F}.Release|x86.Build.0 = Release|Any CPU
206-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
207-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
208-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|x64.ActiveCfg = Debug|Any CPU
209-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|x64.Build.0 = Debug|Any CPU
210-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|x86.ActiveCfg = Debug|Any CPU
211-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Debug|x86.Build.0 = Debug|Any CPU
212-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
213-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|Any CPU.Build.0 = Release|Any CPU
214-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|x64.ActiveCfg = Release|Any CPU
215-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|x64.Build.0 = Release|Any CPU
216-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|x86.ActiveCfg = Release|Any CPU
217-
{A667E3B7-336A-4A48-A04A-01329D16ACC6}.Release|x86.Build.0 = Release|Any CPU
218190
{646BF7B1-446B-47A0-A156-13363CD2E957}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
219191
{646BF7B1-446B-47A0-A156-13363CD2E957}.Debug|Any CPU.Build.0 = Debug|Any CPU
220192
{646BF7B1-446B-47A0-A156-13363CD2E957}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -354,8 +326,6 @@ Global
354326
{83C0F78F-F035-40B3-A349-50E13938F545} = {701C93BA-DD9C-4BC2-94E0-2D93DBCD6698}
355327
{7D73C8BF-8052-4386-B9CA-816321E0EF6E} = {701C93BA-DD9C-4BC2-94E0-2D93DBCD6698}
356328
{B7B95847-5923-46E1-BEC5-D619018E7098} = {2BF99936-90E9-4855-869C-F31C3C694647}
357-
{72CC087C-C908-4082-A19A-A1C60EE2BE0F} = {2BF99936-90E9-4855-869C-F31C3C694647}
358-
{A667E3B7-336A-4A48-A04A-01329D16ACC6} = {2BF99936-90E9-4855-869C-F31C3C694647}
359329
{646BF7B1-446B-47A0-A156-13363CD2E957} = {93B535AC-0A5C-4FC5-909E-832DD1AE52B0}
360330
{7F2FEA43-E1B6-4C93-99F9-87EC28C978A6} = {93B535AC-0A5C-4FC5-909E-832DD1AE52B0}
361331
{007B84A2-EA4E-4352-9E2B-BEAC8D276331} = {93B535AC-0A5C-4FC5-909E-832DD1AE52B0}

Core/Bones.Api.Client/AutoGen/Models/AddressFields.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

Core/Bones.Api.Client/AutoGen/Models/CreateItemFieldRequest.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ public partial class CreateItemFieldRequest : IParsable
1616
{
1717
/// <summary>If the Type of this field is either an Integer or Decimal, can it be negative?</summary>
1818
public bool? CanBeNegative { get; set; } = default!;
19-
/// <summary>The geoLocationType property</summary>
20-
public global::Bones.Api.Client.AutoGen.Models.GeoLocationType? GeoLocationType { get; set; } = default!;
2119
/// <summary>Is this field required to have a value?</summary>
2220
public bool IsRequired { get; set; } = default!;
2321
/// <summary>Name of the item field to create</summary>
@@ -26,8 +24,6 @@ public partial class CreateItemFieldRequest : IParsable
2624
public List<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair> PossibleValues { get; set; } = default!;
2725
/// <summary>The ID of the project to create this field in</summary>
2826
public Guid ProjectId { get; set; } = default!;
29-
/// <summary>The requiredAddressFields property</summary>
30-
public global::Bones.Api.Client.AutoGen.Models.AddressFields? RequiredAddressFields { get; set; } = default!;
3127
/// <summary>The type property</summary>
3228
public global::Bones.Api.Client.AutoGen.Models.FieldType? Type { get; set; } = default!;
3329
/// <summary>
@@ -49,12 +45,10 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
4945
return new Dictionary<string, Action<IParseNode>>
5046
{
5147
{ "canBeNegative", n => { CanBeNegative = n.GetBoolValue(); } },
52-
{ "geoLocationType", n => { GeoLocationType = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>(); } },
5348
{ "isRequired", n => { IsRequired = n.GetBoolValue() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'IsRequired'"); } },
5449
{ "name", n => { Name = n.GetStringValue() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'Name'"); } },
5550
{ "possibleValues", n => { PossibleValues = n.GetCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>(global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair.CreateFromDiscriminatorValue)?.AsList() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'PossibleValues'"); } },
5651
{ "projectId", n => { ProjectId = n.GetGuidValue() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'ProjectId'"); } },
57-
{ "requiredAddressFields", n => { RequiredAddressFields = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>(); } },
5852
{ "type", n => { Type = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>(); } },
5953
};
6054
}
@@ -66,12 +60,10 @@ public virtual void Serialize(ISerializationWriter writer)
6660
{
6761
_ = writer ?? throw new ArgumentNullException(nameof(writer));
6862
writer.WriteBoolValue("canBeNegative", CanBeNegative);
69-
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>("geoLocationType", GeoLocationType);
7063
writer.WriteBoolValue("isRequired", IsRequired);
7164
writer.WriteStringValue("name", Name);
7265
writer.WriteCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>("possibleValues", PossibleValues);
7366
writer.WriteGuidValue("projectId", ProjectId);
74-
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>("requiredAddressFields", RequiredAddressFields);
7567
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>("type", Type);
7668
}
7769
}

Core/Bones.Api.Client/AutoGen/Models/CreateItemFieldVersionRequest.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ public partial class CreateItemFieldVersionRequest : IParsable
1616
{
1717
/// <summary>If the field is numeric, can it be negative?</summary>
1818
public bool? CanBeNegative { get; set; } = default!;
19-
/// <summary>The geoLocationType property</summary>
20-
public global::Bones.Api.Client.AutoGen.Models.GeoLocationType? GeoLocationType { get; set; } = default!;
2119
/// <summary>Is the field required?</summary>
2220
public bool IsRequired { get; set; } = default!;
2321
/// <summary>Name of the item field to create</summary>
2422
public string Name { get; set; } = default!;
2523
/// <summary>If the field is a ValueList, the possible values</summary>
2624
public List<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair> PossibleValues { get; set; } = default!;
27-
/// <summary>The requiredAddressFields property</summary>
28-
public global::Bones.Api.Client.AutoGen.Models.AddressFields? RequiredAddressFields { get; set; } = default!;
2925
/// <summary>The type property</summary>
3026
public global::Bones.Api.Client.AutoGen.Models.FieldType? Type { get; set; } = default!;
3127
/// <summary>
@@ -47,11 +43,9 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
4743
return new Dictionary<string, Action<IParseNode>>
4844
{
4945
{ "canBeNegative", n => { CanBeNegative = n.GetBoolValue(); } },
50-
{ "geoLocationType", n => { GeoLocationType = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>(); } },
5146
{ "isRequired", n => { IsRequired = n.GetBoolValue() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'IsRequired'"); } },
5247
{ "name", n => { Name = n.GetStringValue() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'Name'"); } },
5348
{ "possibleValues", n => { PossibleValues = n.GetCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>(global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair.CreateFromDiscriminatorValue)?.AsList() ?? throw new NullReferenceException("Unexpected null value for non-nullable property: 'PossibleValues'"); } },
54-
{ "requiredAddressFields", n => { RequiredAddressFields = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>(); } },
5549
{ "type", n => { Type = n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>(); } },
5650
};
5751
}
@@ -63,11 +57,9 @@ public virtual void Serialize(ISerializationWriter writer)
6357
{
6458
_ = writer ?? throw new ArgumentNullException(nameof(writer));
6559
writer.WriteBoolValue("canBeNegative", CanBeNegative);
66-
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>("geoLocationType", GeoLocationType);
6760
writer.WriteBoolValue("isRequired", IsRequired);
6861
writer.WriteStringValue("name", Name);
6962
writer.WriteCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>("possibleValues", PossibleValues);
70-
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>("requiredAddressFields", RequiredAddressFields);
7163
writer.WriteEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>("type", Type);
7264
}
7365
}

Core/Bones.Api.Client/AutoGen/Models/CreateTaskVersionAction.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
namespace Bones.Api.Client.AutoGen.Models
1010
{
1111
/// <summary>
12-
/// Action to create a new version of a .
12+
/// Action to create a new version of a task.
1313
/// </summary>
1414
[global::System.CodeDom.Compiler.GeneratedCode("ReQuesty", "0.0.2")]
1515
public partial class CreateTaskVersionAction : global::Bones.Api.Client.AutoGen.Models.TaskActionBase, IAdditionalDataHolder, IParsable
1616
{
1717
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1818
public IDictionary<string, object> AdditionalData { get; set; } = default!;
19-
/// <summary>The fields of the</summary>
19+
/// <summary>The fields of the task</summary>
2020
public List<global::Bones.Api.Client.AutoGen.Models.ItemValueModel> FieldValues { get; set; } = default!;
21-
/// <summary>The ID of the to perform the action on</summary>
21+
/// <summary>The ID of the task to perform the action on</summary>
2222
public Guid? TaskId { get; set; } = default!;
23-
/// <summary>The ID of the layout (not version, automatically uses the current version)</summary>
23+
/// <summary>The ID of the task layout (not version, automatically uses the current version)</summary>
2424
public Guid? TaskLayoutId { get; set; } = default!;
25-
/// <summary>The title of the</summary>
25+
/// <summary>The title of the task</summary>
2626
public string? Title { get; set; } = default!;
2727
/// <summary>
2828
/// Instantiates a new <see cref="global::Bones.Api.Client.AutoGen.Models.CreateTaskVersionAction"/> and sets the default values.

Core/Bones.Api.Client/AutoGen/Models/FieldType.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,5 @@ public enum FieldType
3636
#pragma warning disable CS1591
3737
ValueList,
3838
#pragma warning restore CS1591
39-
[EnumMember(Value = "geoLocation")]
40-
#pragma warning disable CS1591
41-
GeoLocation,
42-
#pragma warning restore CS1591
4339
}
4440
}

Core/Bones.Api.Client/AutoGen/Models/GeoLocationType.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)