@fluidframework/protocol-definitions
Advanced tools
Comparing version 0.1014.0-6368 to 0.1014.0-7215
@@ -37,2 +37,5 @@ /*! | ||
} | ||
export interface IAttachment { | ||
id: string; | ||
} | ||
export interface ICreateBlobResponse { | ||
@@ -48,3 +51,3 @@ id: string; | ||
type: string; | ||
value: IBlob | ITree | string; | ||
value: IBlob | IAttachment | ITree | string; | ||
mode: FileMode; | ||
@@ -58,3 +61,4 @@ } | ||
Commit = "Commit", | ||
Tree = "Tree" | ||
Tree = "Tree", | ||
Attachment = "Attachment" | ||
} | ||
@@ -61,0 +65,0 @@ export interface ITree { |
@@ -23,3 +23,4 @@ "use strict"; | ||
TreeEntry["Tree"] = "Tree"; | ||
TreeEntry["Attachment"] = "Attachment"; | ||
})(TreeEntry = exports.TreeEntry || (exports.TreeEntry = {})); | ||
//# sourceMappingURL=storage.js.map |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle; | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryTree = ISummaryTree | ISummaryHandle; | ||
@@ -22,3 +22,4 @@ export interface ISummaryAuthor { | ||
Blob = 2, | ||
Handle = 3 | ||
Handle = 3, | ||
Attachment = 4 | ||
} | ||
@@ -34,2 +35,6 @@ export interface ISummaryHandle { | ||
} | ||
export interface ISummaryAttachment { | ||
type: SummaryType.Attachment; | ||
id: string; | ||
} | ||
export interface ISummaryTree { | ||
@@ -36,0 +41,0 @@ type: SummaryType.Tree; |
@@ -37,2 +37,5 @@ /*! | ||
} | ||
export interface IAttachment { | ||
id: string; | ||
} | ||
export interface ICreateBlobResponse { | ||
@@ -48,3 +51,3 @@ id: string; | ||
type: string; | ||
value: IBlob | ITree | string; | ||
value: IBlob | IAttachment | ITree | string; | ||
mode: FileMode; | ||
@@ -58,3 +61,4 @@ } | ||
Commit = "Commit", | ||
Tree = "Tree" | ||
Tree = "Tree", | ||
Attachment = "Attachment" | ||
} | ||
@@ -61,0 +65,0 @@ export interface ITree { |
@@ -21,3 +21,4 @@ /*! | ||
TreeEntry["Tree"] = "Tree"; | ||
TreeEntry["Attachment"] = "Attachment"; | ||
})(TreeEntry || (TreeEntry = {})); | ||
//# sourceMappingURL=storage.js.map |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle; | ||
export declare type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
export declare type SummaryTree = ISummaryTree | ISummaryHandle; | ||
@@ -22,3 +22,4 @@ export interface ISummaryAuthor { | ||
Blob = 2, | ||
Handle = 3 | ||
Handle = 3, | ||
Attachment = 4 | ||
} | ||
@@ -34,2 +35,6 @@ export interface ISummaryHandle { | ||
} | ||
export interface ISummaryAttachment { | ||
type: SummaryType.Attachment; | ||
id: string; | ||
} | ||
export interface ISummaryTree { | ||
@@ -36,0 +41,0 @@ type: SummaryType.Tree; |
{ | ||
"name": "@fluidframework/protocol-definitions", | ||
"version": "0.1014.0-6368", | ||
"version": "0.1014.0-7215", | ||
"description": "Fluid protocol definitions", | ||
@@ -5,0 +5,0 @@ "homepage": "https://fluidframework.com", |
@@ -47,2 +47,6 @@ /*! | ||
export interface IAttachment { | ||
id: string; | ||
} | ||
export interface ICreateBlobResponse { | ||
@@ -64,3 +68,3 @@ id: string; | ||
// The value of the entry - either a tree or a blob | ||
value: IBlob | ITree | string; | ||
value: IBlob | IAttachment | ITree | string; | ||
@@ -79,2 +83,3 @@ // The file mode; one of 100644 for file (blob), 100755 for executable (blob), 040000 for subdirectory (tree), | ||
Tree = "Tree", | ||
Attachment = "Attachment", | ||
} | ||
@@ -81,0 +86,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
export type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle; | ||
export type SummaryObject = ISummaryCommit | ISummaryTree | ISummaryBlob | ISummaryHandle | ISummaryAttachment; | ||
@@ -30,2 +30,3 @@ export type SummaryTree = ISummaryTree | ISummaryHandle; | ||
Handle = 3, | ||
Attachment = 4, | ||
} | ||
@@ -47,2 +48,7 @@ | ||
export interface ISummaryAttachment { | ||
type: SummaryType.Attachment; | ||
id: string; | ||
} | ||
export interface ISummaryTree { | ||
@@ -49,0 +55,0 @@ type: SummaryType.Tree; |
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
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
141948
2272