@fluidframework/protocol-definitions
Advanced tools
Comparing version 0.1015.0 to 0.1016.0-11198
@@ -7,4 +7,4 @@ /*! | ||
module.exports = { | ||
extends: [ | ||
"@fluidframework/eslint-config-fluid", | ||
"extends": [ | ||
"@fluidframework/eslint-config-fluid/eslint7" | ||
], | ||
@@ -16,2 +16,2 @@ rules: { | ||
} | ||
} | ||
} |
@@ -12,6 +12,5 @@ /*! | ||
/** | ||
* Key value store of service configuration properties provided as part of connection | ||
* Key value store of service configuration properties provided to the client as part of connection | ||
*/ | ||
export interface IServiceConfiguration { | ||
[key: string]: any; | ||
export interface IClientConfiguration { | ||
maxMessageSize: number; | ||
@@ -18,0 +17,0 @@ blockSize: number; |
@@ -16,4 +16,2 @@ /*! | ||
Save = "saveOp", | ||
Fork = "fork", | ||
Integrate = "integrate", | ||
RemoteHelp = "remoteHelp", | ||
@@ -20,0 +18,0 @@ NoClient = "noClient", |
@@ -29,6 +29,2 @@ "use strict"; | ||
MessageType["Save"] = "saveOp"; | ||
// System message to indicate the creation of a new fork | ||
MessageType["Fork"] = "fork"; | ||
// Message sent when forwarding a sequenced message to an upstream branch | ||
MessageType["Integrate"] = "integrate"; | ||
// Message to indicate the need of a remote agent for a document. | ||
@@ -35,0 +31,0 @@ MessageType["RemoteHelp"] = "remoteHelp"; |
@@ -6,3 +6,3 @@ /*! | ||
import { ConnectionMode, IClient, ISignalClient } from "./clients"; | ||
import { IServiceConfiguration } from "./config"; | ||
import { IClientConfiguration } from "./config"; | ||
import { ISequencedDocumentMessage, ISignalMessage } from "./protocol"; | ||
@@ -66,3 +66,3 @@ import { ITokenClaims } from "./tokens"; | ||
*/ | ||
parentBranch: string | null; | ||
parentBranch: null; | ||
/** | ||
@@ -91,3 +91,3 @@ * Messages sent during the connection | ||
*/ | ||
serviceConfiguration: IServiceConfiguration; | ||
serviceConfiguration: IClientConfiguration; | ||
/** | ||
@@ -94,0 +94,0 @@ * Connection mode of client. |
@@ -12,6 +12,5 @@ /*! | ||
/** | ||
* Key value store of service configuration properties provided as part of connection | ||
* Key value store of service configuration properties provided to the client as part of connection | ||
*/ | ||
export interface IServiceConfiguration { | ||
[key: string]: any; | ||
export interface IClientConfiguration { | ||
maxMessageSize: number; | ||
@@ -18,0 +17,0 @@ blockSize: number; |
@@ -16,4 +16,2 @@ /*! | ||
Save = "saveOp", | ||
Fork = "fork", | ||
Integrate = "integrate", | ||
RemoteHelp = "remoteHelp", | ||
@@ -20,0 +18,0 @@ NoClient = "noClient", |
@@ -27,6 +27,2 @@ /*! | ||
MessageType["Save"] = "saveOp"; | ||
// System message to indicate the creation of a new fork | ||
MessageType["Fork"] = "fork"; | ||
// Message sent when forwarding a sequenced message to an upstream branch | ||
MessageType["Integrate"] = "integrate"; | ||
// Message to indicate the need of a remote agent for a document. | ||
@@ -33,0 +29,0 @@ MessageType["RemoteHelp"] = "remoteHelp"; |
@@ -6,3 +6,3 @@ /*! | ||
import { ConnectionMode, IClient, ISignalClient } from "./clients"; | ||
import { IServiceConfiguration } from "./config"; | ||
import { IClientConfiguration } from "./config"; | ||
import { ISequencedDocumentMessage, ISignalMessage } from "./protocol"; | ||
@@ -66,3 +66,3 @@ import { ITokenClaims } from "./tokens"; | ||
*/ | ||
parentBranch: string | null; | ||
parentBranch: null; | ||
/** | ||
@@ -91,3 +91,3 @@ * Messages sent during the connection | ||
*/ | ||
serviceConfiguration: IServiceConfiguration; | ||
serviceConfiguration: IClientConfiguration; | ||
/** | ||
@@ -94,0 +94,0 @@ * Connection mode of client. |
{ | ||
"name": "@fluidframework/protocol-definitions", | ||
"version": "0.1015.0", | ||
"version": "0.1016.0-11198", | ||
"description": "Fluid protocol definitions", | ||
@@ -21,3 +21,3 @@ "homepage": "https://fluidframework.com", | ||
"clean": "rimraf dist lib *.tsbuildinfo *.build.log", | ||
"eslint": "eslint --ext=ts,tsx --format stylish src", | ||
"eslint": "eslint --format stylish src", | ||
"eslint:fix": "eslint --ext=ts,tsx --format stylish src --fix", | ||
@@ -36,16 +36,15 @@ "lint": "npm run eslint", | ||
"@fluidframework/build-common": "^0.19.2", | ||
"@fluidframework/eslint-config-fluid": "^0.19.1", | ||
"@fluidframework/eslint-config-fluid": "^0.21.0", | ||
"@microsoft/api-extractor": "^7.7.2", | ||
"@typescript-eslint/eslint-plugin": "~2.17.0", | ||
"@typescript-eslint/parser": "~2.17.0", | ||
"@typescript-eslint/eslint-plugin": "~4.2.0", | ||
"@typescript-eslint/parser": "~4.2.0", | ||
"concurrently": "^5.2.0", | ||
"copyfiles": "^2.1.0", | ||
"eslint": "~6.8.0", | ||
"eslint-plugin-eslint-comments": "~3.1.2", | ||
"eslint-plugin-import": "2.20.0", | ||
"eslint": "~7.9.0", | ||
"eslint-plugin-eslint-comments": "~3.2.0", | ||
"eslint-plugin-import": "~2.22.0", | ||
"eslint-plugin-no-null": "~1.0.2", | ||
"eslint-plugin-optimize-regex": "~1.1.7", | ||
"eslint-plugin-prefer-arrow": "~1.1.7", | ||
"eslint-plugin-react": "~7.18.0", | ||
"eslint-plugin-unicorn": "~15.0.1", | ||
"eslint-plugin-prefer-arrow": "~1.2.2", | ||
"eslint-plugin-react": "~7.21.2", | ||
"eslint-plugin-unicorn": "~22.0.0", | ||
"rimraf": "^2.6.2", | ||
@@ -52,0 +51,0 @@ "typescript": "~3.8.2", |
@@ -22,7 +22,5 @@ /*! | ||
/** | ||
* Key value store of service configuration properties provided as part of connection | ||
* Key value store of service configuration properties provided to the client as part of connection | ||
*/ | ||
export interface IServiceConfiguration { | ||
[key: string]: any; | ||
export interface IClientConfiguration { | ||
// Max message size the server will accept before requiring chunking | ||
@@ -34,3 +32,4 @@ maxMessageSize: number; | ||
// Summary algorithm configuration. This is sent to clients when they connect | ||
summary: ISummaryConfiguration; | ||
} |
@@ -37,8 +37,2 @@ /*! | ||
// System message to indicate the creation of a new fork | ||
Fork = "fork", | ||
// Message sent when forwarding a sequenced message to an upstream branch | ||
Integrate = "integrate", | ||
// Message to indicate the need of a remote agent for a document. | ||
@@ -45,0 +39,0 @@ RemoteHelp = "remoteHelp", |
@@ -7,3 +7,3 @@ /*! | ||
import { ConnectionMode, IClient, ISignalClient } from "./clients"; | ||
import { IServiceConfiguration } from "./config"; | ||
import { IClientConfiguration } from "./config"; | ||
import { ISequencedDocumentMessage, ISignalMessage } from "./protocol"; | ||
@@ -76,6 +76,7 @@ import { ITokenClaims } from "./tokens"; | ||
// Back-compat, removal tracked with issue #4346 | ||
/** | ||
* The parent branch for the document | ||
*/ | ||
parentBranch: string | null; | ||
parentBranch: null; | ||
@@ -110,3 +111,3 @@ /** | ||
*/ | ||
serviceConfiguration: IServiceConfiguration; | ||
serviceConfiguration: IClientConfiguration; | ||
@@ -113,0 +114,0 @@ /** |
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
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
17
143282
2307