Skip to content

Commit f9a08e4

Browse files
Merge pull request #104 from magiccodingman/ard2025/reduce-amount-of-code
Small cleanup
2 parents 693ec50 + 6ed0924 commit f9a08e4

17 files changed

+1
-250
lines changed

Magic.IndexedDb/Factories/IMagicIndexedDb.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,5 @@ ValueTask<IMagicQuery<T>> Query<T>()
5151
// I think this should be under a utilities functionality?
5252
Task<QuotaUsage> GetStorageEstimateAsync(CancellationToken cancellationToken = default);
5353

54-
//ValueTask<IMagicDatabaseGlobal> Database();
55-
5654
ValueTask<IMagicDatabaseScoped> Database(IndexedDbSet indexedDbSet);
5755
}

Magic.IndexedDb/Interfaces/IMagicConnectRepository.cs

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

Magic.IndexedDb/LinqTranslation/Interfaces/IMagicDatabase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
namespace Magic.IndexedDb.LinqTranslation.Interfaces;
2-
//public interface IMagicDatabaseGlobal
3-
//{
4-
// Task DeleteAll();
5-
// Task ClearAll();
6-
//}
72

83
public interface IMagicDatabaseScoped
94
{

Magic.IndexedDb/LinqTranslation/Models/LogicalFilterNode.cs

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,4 @@ public enum FilterNodeType
2323
{
2424
Logical = 0,
2525
Condition = 1
26-
}
27-
28-
///// <summary>
29-
///// The base class for any node in our filter tree.
30-
///// </summary>
31-
//public class FilterNode
32-
//{
33-
// public FilterNodeType NodeType { get; set; }
34-
// public FilterLogicalOperator? Operator { get; set; }
35-
// public List<FilterNode>? Children { get; set; }
36-
// public FilterCondition? Condition { get; set; }
37-
//}
38-
39-
40-
41-
///// <summary>
42-
///// A node that holds a logical operator (AND/OR) and child nodes.
43-
///// </summary>
44-
//public class LogicalFilterNode : FilterNode
45-
//{
46-
// public FilterLogicalOperator Operator { get; set; }
47-
48-
// /// <summary>
49-
// /// The child nodes under this operator (could be conditions or nested operators).
50-
// /// </summary>
51-
// public List<FilterNode> Children { get; set; } = new();
52-
//}
53-
54-
55-
56-
///// <summary>
57-
///// A node that holds a single FilterCondition (leaf).
58-
///// </summary>
59-
//public class ConditionFilterNode : FilterNode
60-
//{
61-
// public FilterCondition Condition { get; set; }
62-
63-
// public ConditionFilterNode(FilterCondition condition)
64-
// {
65-
// Condition = condition;
66-
// }
67-
68-
// public ConditionFilterNode() { }
69-
//}
26+
}

Magic.IndexedDb/LinqTranslation/Models/MagicDatabaseGlobal.cs

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

Magic.IndexedDb/LinqTranslation/Models/MagicWhereLinq.cs

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

Magic.IndexedDb/Magic.IndexedDb.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,4 @@
4545
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.11" />
4646
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
4747
</ItemGroup>
48-
49-
<ItemGroup>
50-
<Folder Include="Models\Abstract\" />
51-
</ItemGroup>
5248
</Project>

Magic.IndexedDb/MagicEncryptAttribute.cs

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

0 commit comments

Comments
 (0)