This commit is contained in:
2022-05-08 12:28:50 -07:00
commit 4a3e24236f
313 changed files with 22395 additions and 0 deletions

View File

@ -0,0 +1,6 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IBackground
{
}

View File

@ -0,0 +1,10 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IBackgroundPage
{
public List<Exception> Exceptions { get; }
public string Message { get; }
public string WorkingDirectory { get; }
}

View File

@ -0,0 +1,45 @@
// using View_by_Distance.Shared.Models.Methods;
// namespace View_by_Distance.Shared.Models.Properties;
// public interface IConfiguration
// {
// public bool? checkJsonForDistanceResults;
// public bool? loadOrCreateThenSaveDistanceResults;
// public bool? loadOrCreateThenSaveImageFacesResults;
// public bool? loadOrCreateThenSaveIndex;
// public bool? overrideForFaceImages;
// public bool? overrideForFaceLandmarkImages;
// public bool? overrideForResizeImages;
// public bool? propertiesChangedForDistance;
// public bool? propertiesChangedForFaces;
// public bool? propertiesChangedForIndex;
// public bool? propertiesChangedForMetadata;
// public bool? propertiesChangedForProperty;
// public bool? propertiesChangedForResize;
// public bool? reverse;
// public bool? saveFullYearOfRandomFiles;
// public bool? testDistanceResults;
// public int? distanceFactor;
// public int? locationConfidenceFactor;
// public int? mappedMaxIndex;
// public int? maxImagesInDirectoryForTopLevelFirstPass;
// public int? maxItemsInDistanceCollection;
// public int? numJitters;
// public int? outputQuality;
// public int? paddingLoops;
// public string dateGroup;
// public string modelDirectory;
// public string modelName;
// public string outputExtension;
// public string predictorModelName;
// public string rootDirectory;
// public string[] ignoreExtensions;
// public string[] ignoreRelativePaths;
// public string[] mixedYearRelativePaths;
// public string[] outputResolutions;
// public string[] saveFaceLandmarkForOutputResolutions;
// public string[] validResolutions;
// }

View File

@ -0,0 +1,6 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IConsole
{
}

View File

@ -0,0 +1,12 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IDirectoryFileSystem
{
// protected new string ClassName { get; }
// protected new string DataDisplayFileName { get; }
// protected new string DataFullFileName { get; }
// protected new string Display { get; }
// protected new DateTime LastModified { get; }
}

View File

@ -0,0 +1,18 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IFace
{
#pragma warning disable IDE1006
public double? α { get; }
#pragma warning restore IDE1006
public DateTime DateTime { get; }
public Models.FaceEncoding FaceEncoding { get; }
public Dictionary<string, Models.FacePoint[]> FaceLandmarks { get; }
public Models.Location Location { get; }
public int? LocationIndex { get; }
public Models.OutputResolution OutputResolution { get; }
public bool Populated { get; }
public string RelativePath { get; }
}

View File

@ -0,0 +1,9 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IFaceEncoding
{
public double[] RawEncoding { get; }
public int Size { get; }
}

View File

@ -0,0 +1,30 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IFaceFileSystem // : IFaceFileSystem
{
// protected new string ClassName { get; }
public string Confidence { get; }
// protected new string DataDisplayFileName { get; }
// protected new string DataFullFileName { get; }
// protected new string Display { get; }
public int? FaceBottom { get; }
public string FaceFullFileName { get; }
public int? FaceHeight { get; }
public int? FaceLeft { get; }
public string FaceRelativePath { get; }
public int? FaceRight { get; }
public int? FaceTop { get; }
public int? FaceWidth { get; }
public int ImageHeight { get; }
public int ImageWidth { get; }
// protected new DateTime LastModified { get; }
public string LocationDisplayIndex { get; }
public int? LocationIndex { get; }
public bool? Populated { get; }
public string RelativePath { get; }
public string SourceFullFileName { get; }
public string SourceRelativePath { get; }
public long? SourceSize { get; }
}

View File

@ -0,0 +1,10 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IFacePoint
{
public int Index { get; }
public int X { get; }
public int Y { get; }
}

View File

@ -0,0 +1,12 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IFileSystem
{
public string ClassName { get; }
public string DataDisplayFileName { get; }
public string DataFullFileName { get; }
public string Display { get; }
public DateTime LastModified { get; }
}

View File

@ -0,0 +1,12 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IIdentify
{
public int DirectoryCount { get; }
public string ParentDirectoryName { get; }
public string Person { get; }
public string PossibleYear { get; }
public string RelativePath { get; }
}

View File

@ -0,0 +1,10 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IIndex
{
public DateTime? DateTime { get; }
public int? Index { get; }
public List<string> RelativePaths { get; }
}

View File

@ -0,0 +1,12 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface ILocation
{
public double Confidence { get; }
public int Bottom { get; }
public int Left { get; }
public int Right { get; }
public int Top { get; }
}

View File

@ -0,0 +1,9 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IMetadataFile
{
public MetadataFileId Id { get; } //string
public MetadataFileCollection Collection { get; } //string
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IMetadataFileCollection
{
public Dictionary<string, List<KeyValuePair<string, string>>> Values { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IMetadataFileId
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,12 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface INavigate
{
public List<string[]> Levels { get; }
public string SourceDirectory { get; }
public string DirectoryRelativePath { get; }
public Models.FaceFileSystem[] FaceFileSystemCollection { get; }
public Models.DirectoryFileSystem[] DirectoryFileSystemCollection { get; }
}

View File

@ -0,0 +1,10 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IOutputResolution
{
public int Height { get; }
public int Orientation { get; }
public int Width { get; }
}

View File

@ -0,0 +1,15 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPerson
{
public PersonId Id { get; } //long
public PersonBirthday Birthday { get; } //DateTime
public PersonName Name { get; } //JsonValueKind.Object
public List<PersonComment> Comments { get; } //string
public List<PersonURL> URLs { get; } //string
public List<PersonNumber> Numbers { get; } //string
public List<PersonEmail> Emails { get; } //string
public List<PersonAddress> Addresses { get; } //JsonValueKind.Array
} // ...

View File

@ -0,0 +1,11 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonAddress
{
public PersonAddressStreet Street { get; } //string
public PersonAddressCity City { get; } //string
public PersonAddressState State { get; } //string
public PersonAddressZipCode ZipCode { get; } //string
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonAddressCity
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonAddressState
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonAddressStreet
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonAddressZipCode
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonBirthday
{
public DateTime Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonComment
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonEmail
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonId
{
public long Value { get; }
} // ...

View File

@ -0,0 +1,11 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonName
{
public PersonNameFirst First { get; } //string
public PersonNameMiddle Middle { get; } //string
public PersonNameLast Last { get; } //string
public PersonNameAlias Alias { get; } //string
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonNameAlias
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonNameFirst
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonNameLast
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonNameMiddle
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonNumber
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IPersonURL
{
public string Value { get; }
} // ...

View File

@ -0,0 +1,21 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IProperty
{
public DateTime CreationTime { get; }
public DateTime? DateTime { get; }
public DateTime? DateTimeDigitized { get; }
public DateTime? DateTimeOriginal { get; }
public long FileSize { get; }
public DateTime? GPSDateStamp { get; }
public int? Height { get; }
public int? Id { get; }
public int[] Indices { get; }
public DateTime LastWriteTime { get; }
public string Make { get; }
public string Model { get; }
public string Orientation { get; }
public int? Width { get; }
}

View File

@ -0,0 +1,8 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IRelativePaths // : IRelativePaths
{
public string Value { get; }
}

View File

@ -0,0 +1,6 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IRenamePage // : IRenamePage
{
}

View File

@ -0,0 +1,16 @@
namespace View_by_Distance.Shared.Models.Properties;
public interface IStorage
{
public string DistanceResultRootDirectory { get; }
public string FaceRootDirectory { get; }
public string IndexInfoRootDirectory { get; }
public string MetadataRootDirectory { get; }
public string PeopleRootDirectory { get; }
public string ResizeRootDirectory { get; }
public string RootDirectory { get; }
public string RootResultsDirectory { get; }
public string UrlRoot { get; }
}