Theuth.Lineage.Models
1.0.0
dotnet add package Theuth.Lineage.Models --version 1.0.0
NuGet\Install-Package Theuth.Lineage.Models -Version 1.0.0
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.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Theuth.Lineage.Models --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Theuth.Lineage.Models, 1.0.0"
#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.
// Install Theuth.Lineage.Models as a Cake Addin #addin nuget:?package=Theuth.Lineage.Models&version=1.0.0 // Install Theuth.Lineage.Models as a Cake Tool #tool nuget:?package=Theuth.Lineage.Models&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 toLineageUser
)InitialValue
(string) - The starting value of the documentCurrentValue
(string) - The current value of the document
- Implements
LineageCommit
- Represents commits made to a document- Implements
AuditableEntity
DocumentId
(GUID) - The unique identifier of the document this commit is for (FK toLineageDocument
)UserId
(GUID) - The unique identifier of the user that created the commit (FK toLineageUser
)Notes
(GUID) - Any notes associated with the changePatch
(string) - The diff-match-patch patch since the previous commitType
(CommitType
) - The type of commit that was madeRevertTo
(string) - The ID of the commit this entry is reverting the document to
- Implements
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
- Implements
- Requests:
DocumentCreate
(Record) - A request to create a documentUserId
(string) - The unique identifier for the userValue
(string) - The initial value of the documentMessage
(string - nullable) - The optional commit message for the creation
CommitCreate
(Record) - A request to make a change to a documentDocumentId
(GUID) - The unique identifier for the document being changedUserId
(string) - The unique identifier for the user making the changeValue
(string) - The new document valueMessage
(string - nullable) - The optional commit message for the change
DocumentRevert
(Record) - A request to revert a document to a previous commitDocumentId
(GUID) - The ID of the document to revertCommitId
(GUID) - The ID of the commit to revert toUserId
(string) - The ID of the user who reverted the commitMessage
(string - nullable) - The optional message for the commit
- Responses:
DocumentCreateResult
(Record) - The result of aDocumentCreate
requestDocument
(LineageDocument
) - The document that was createdCommit
(LineageCommit
) - The initial commit
DocumentSnapshot
(Record) - A snapshot of a document at a specific point in timeValue
(string) - The value of the documentAsOf
(DateTimeOffset) - The date this snapshot was takenDocumentId
(GUID) - The ID of the document
BlamedCommit
(Record) - The commit and the user who created itDocument
(LineageDocument
) - The documentCommit
(LineageCommit
) - The commit that was madeUser
(LineageUser
) - The user who made the commit
- Other:
CommitType
(Enum) - Indicates the type of commit being createdPatch
(0) - The commit is just a patch to the documentReplacement
(1) - The commit was a full replacement of the documentClear
(2) - The commit was a truncate of the contents of the document
Auditable
(Abstract) - Indicates a table that has audit date fieldsCreatedAt
(DateTimeOffset) - The date and time the entity was createdModifiedAt
(DateTimeOffset) - The date and time the entity was last modifiedDeleted
(bool) - Whether or not the record was soft deleted
AuditableEntity
(Abstract) - Indicates a table that has an entity ID (implementsAuditable
)- Implements
Auditable
Id
(GUID) - The unique identifier of the entity
- Implements
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Theuth.Lineage.Core (>= 1.0.0)
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.0 | 86 | 11/30/2024 |