@fluidframework/protocol-definitions
Advanced tools
Comparing version 0.1018.0-13426 to 0.1018.0-13520
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryObject = ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryTree = ISummaryTree | ISummaryHandle; | ||
@@ -19,3 +19,2 @@ export interface ISummaryAuthor { | ||
export declare const enum SummaryType { | ||
Commit = 0, | ||
Tree = 1, | ||
@@ -26,5 +25,6 @@ Blob = 2, | ||
} | ||
export declare type SummaryTypeNoHandle = SummaryType.Tree | SummaryType.Blob | SummaryType.Attachment; | ||
export interface ISummaryHandle { | ||
type: SummaryType.Handle; | ||
handleType: SummaryType; | ||
handleType: SummaryTypeNoHandle; | ||
handle: string; | ||
@@ -47,10 +47,2 @@ } | ||
} | ||
export interface ISummaryCommit { | ||
type: SummaryType.Commit; | ||
author: ISummaryAuthor; | ||
committer: ISummaryAuthor; | ||
message: string; | ||
tree: SummaryTree; | ||
parents: string[]; | ||
} | ||
//# sourceMappingURL=summary.d.ts.map |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryObject = ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryTree = ISummaryTree | ISummaryHandle; | ||
@@ -19,3 +19,2 @@ export interface ISummaryAuthor { | ||
export declare const enum SummaryType { | ||
Commit = 0, | ||
Tree = 1, | ||
@@ -26,5 +25,6 @@ Blob = 2, | ||
} | ||
export declare type SummaryTypeNoHandle = SummaryType.Tree | SummaryType.Blob | SummaryType.Attachment; | ||
export interface ISummaryHandle { | ||
type: SummaryType.Handle; | ||
handleType: SummaryType; | ||
handleType: SummaryTypeNoHandle; | ||
handle: string; | ||
@@ -47,10 +47,2 @@ } | ||
} | ||
export interface ISummaryCommit { | ||
type: SummaryType.Commit; | ||
author: ISummaryAuthor; | ||
committer: ISummaryAuthor; | ||
message: string; | ||
tree: SummaryTree; | ||
parents: string[]; | ||
} | ||
//# sourceMappingURL=summary.d.ts.map |
{ | ||
"name": "@fluidframework/protocol-definitions", | ||
"version": "0.1018.0-13426", | ||
"version": "0.1018.0-13520", | ||
"description": "Fluid protocol definitions", | ||
@@ -5,0 +5,0 @@ "homepage": "https://fluidframework.com", |
@@ -6,3 +6,3 @@ /*! | ||
export type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export type SummaryObject = ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
@@ -26,3 +26,2 @@ export type SummaryTree = ISummaryTree | ISummaryHandle; | ||
export const enum SummaryType { | ||
Commit = 0, | ||
Tree = 1, | ||
@@ -34,6 +33,9 @@ Blob = 2, | ||
export type SummaryTypeNoHandle = SummaryType.Tree | SummaryType.Blob | SummaryType.Attachment; | ||
export interface ISummaryHandle { | ||
type: SummaryType.Handle; | ||
handleType: SummaryType; | ||
// No handles, all other SummaryType are Ok | ||
handleType: SummaryTypeNoHandle; | ||
@@ -63,17 +65,1 @@ // Stored handle reference | ||
} | ||
export interface ISummaryCommit { | ||
type: SummaryType.Commit; | ||
author: ISummaryAuthor; | ||
committer: ISummaryAuthor; | ||
message: string; | ||
// Tree referenced by the commit | ||
tree: SummaryTree; | ||
// Previous parents to the commit. | ||
parents: string[]; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
144912
2332