Theuth.Lineage.Models 1.0.1

dotnet add package Theuth.Lineage.Models --version 1.0.1
                    
NuGet\Install-Package Theuth.Lineage.Models -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Theuth.Lineage.Models" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Theuth.Lineage.Models" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Theuth.Lineage.Models" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Theuth.Lineage.Models --version 1.0.1
                    
#r "nuget: Theuth.Lineage.Models, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Theuth.Lineage.Models&version=1.0.1
                    
Install Theuth.Lineage.Models as a Cake Addin
#tool nuget:?package=Theuth.Lineage.Models&version=1.0.1
                    
Install Theuth.Lineage.Models as a Cake Tool

Theuth Lineage Models

Contains the definitions for the following models:

  • Tables:
    • LineageDocument - Represents a document in the lineage system
      • Implements AuditableEntity
      • UserId (GUID) - The unique identifier of the user that created the document (FK to LineageUser)
      • InitialValue (string) - The starting value of the document
      • CurrentValue (string) - The current value of the document
    • LineageCommit - Represents commits made to a document
      • Implements AuditableEntity
      • DocumentId (GUID) - The unique identifier of the document this commit is for (FK to LineageDocument)
      • UserId (GUID) - The unique identifier of the user that created the commit (FK to LineageUser)
      • Notes (GUID) - Any notes associated with the change
      • Patch (string) - The diff-match-patch patch since the previous commit
      • Type (CommitType) - The type of commit that was made
      • RevertTo (string) - The ID of the commit this entry is reverting the document to
    • LineageUser - Represents a user who has created a document or commit
      • Implements AuditableEntity
      • UserId (string) - The unique identifier for the user in a third party platform
  • Requests:
    • DocumentCreate (Record) - A request to create a document
      • UserId (string) - The unique identifier for the user
      • Value (string) - The initial value of the document
      • Message (string - nullable) - The optional commit message for the creation
    • CommitCreate (Record) - A request to make a change to a document
      • DocumentId (GUID) - The unique identifier for the document being changed
      • UserId (string) - The unique identifier for the user making the change
      • Value (string) - The new document value
      • Message (string - nullable) - The optional commit message for the change
    • DocumentRevert (Record) - A request to revert a document to a previous commit
      • DocumentId (GUID) - The ID of the document to revert
      • CommitId (GUID) - The ID of the commit to revert to
      • UserId (string) - The ID of the user who reverted the commit
      • Message (string - nullable) - The optional message for the commit
  • Responses:
    • DocumentCreateResult (Record) - The result of a DocumentCreate request
      • Document (LineageDocument) - The document that was created
      • Commit (LineageCommit) - The initial commit
    • DocumentSnapshot (Record) - A snapshot of a document at a specific point in time
      • Value (string) - The value of the document
      • AsOf (DateTimeOffset) - The date this snapshot was taken
      • DocumentId (GUID) - The ID of the document
    • BlamedCommit (Record) - The commit and the user who created it
      • Document (LineageDocument) - The document
      • Commit (LineageCommit) - The commit that was made
      • User (LineageUser) - The user who made the commit
  • Other:
    • CommitType (Enum) - Indicates the type of commit being created
      • Patch (0) - The commit is just a patch to the document
      • Replacement (1) - The commit was a full replacement of the document
      • Clear (2) - The commit was a truncate of the contents of the document
    • Auditable (Abstract) - Indicates a table that has audit date fields
      • CreatedAt (DateTimeOffset) - The date and time the entity was created
      • ModifiedAt (DateTimeOffset) - The date and time the entity was last modified
      • Deleted (bool) - Whether or not the record was soft deleted
    • AuditableEntity (Abstract) - Indicates a table that has an entity ID (implements Auditable)
      • Implements Auditable
      • Id (GUID) - The unique identifier of the entity
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Theuth.Lineage.Models:

Package Downloads
Theuth.Lineage.Client

The client for the Theuth Lineage API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 150 13 days ago
1.0.0 106 5 months ago