@fluidframework/datastore-definitions 0.55.0 → 0.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { IDisposable, IEvent, IEventProvider, ITelemetryLogger } from "@fluidframework/common-definitions";
|
|
6
6
|
import { IFluidHandleContext, IFluidRouter, IFluidHandle } from "@fluidframework/core-interfaces";
|
|
7
|
-
import { IAudience, IDeltaManager,
|
|
7
|
+
import { IAudience, IDeltaManager, AttachState, ILoaderOptions } from "@fluidframework/container-definitions";
|
|
8
8
|
import { IDocumentMessage, IQuorumClients, ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
|
|
9
9
|
import { IInboundSignalMessage, IProvideFluidDataStoreRegistry } from "@fluidframework/runtime-definitions";
|
|
10
10
|
import { IChannel } from ".";
|
|
@@ -70,10 +70,5 @@ export interface IFluidDataStoreRuntime extends IFluidRouter, IEventProvider<IFl
|
|
|
70
70
|
* Resolves when a local data store is attached.
|
|
71
71
|
*/
|
|
72
72
|
waitAttached(): Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Errors raised by distributed data structures
|
|
75
|
-
* @deprecated Warnings are being deprecated
|
|
76
|
-
*/
|
|
77
|
-
raiseContainerWarning(warning: ContainerWarning): void;
|
|
78
73
|
}
|
|
79
74
|
//# sourceMappingURL=dataStoreRuntime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3G,OAAO,EACH,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,SAAS,EACT,aAAa,EACb,
|
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Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IDisposable, IEvent, IEventProvider, ITelemetryLogger } from \"@fluidframework/common-definitions\";\nimport {\n IFluidHandleContext,\n IFluidRouter,\n IFluidHandle,\n} from \"@fluidframework/core-interfaces\";\nimport {\n IAudience,\n IDeltaManager,\n
|
|
1
|
+
{"version":3,"file":"dataStoreRuntime.js","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IDisposable, IEvent, IEventProvider, ITelemetryLogger } from \"@fluidframework/common-definitions\";\nimport {\n IFluidHandleContext,\n IFluidRouter,\n IFluidHandle,\n} from \"@fluidframework/core-interfaces\";\nimport {\n IAudience,\n IDeltaManager,\n AttachState,\n ILoaderOptions,\n} from \"@fluidframework/container-definitions\";\nimport {\n IDocumentMessage,\n IQuorumClients,\n ISequencedDocumentMessage,\n} from \"@fluidframework/protocol-definitions\";\nimport { IInboundSignalMessage, IProvideFluidDataStoreRegistry } from \"@fluidframework/runtime-definitions\";\nimport { IChannel } from \".\";\n\nexport interface IFluidDataStoreRuntimeEvents extends IEvent {\n (\n // eslint-disable-next-line @typescript-eslint/unified-signatures\n event: \"disconnected\" | \"dispose\" | \"attaching\" | \"attached\",\n listener: () => void,\n );\n (event: \"op\", listener: (message: ISequencedDocumentMessage) => void);\n (event: \"signal\", listener: (message: IInboundSignalMessage, local: boolean) => void);\n (event: \"connected\", listener: (clientId: string) => void);\n}\n\n/**\n * Represents the runtime for the data store. Contains helper functions/state of the data store.\n */\nexport interface IFluidDataStoreRuntime extends\n IFluidRouter,\n IEventProvider<IFluidDataStoreRuntimeEvents>,\n IDisposable,\n Partial<IProvideFluidDataStoreRegistry> {\n\n readonly id: string;\n\n readonly IFluidHandleContext: IFluidHandleContext;\n\n readonly rootRoutingContext: IFluidHandleContext;\n readonly channelsRoutingContext: IFluidHandleContext;\n readonly objectsRoutingContext: IFluidHandleContext;\n\n readonly options: ILoaderOptions;\n\n readonly deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;\n\n readonly clientId: string | undefined;\n\n readonly connected: boolean;\n\n readonly logger: ITelemetryLogger;\n\n /**\n * Indicates the attachment state of the data store to a host service.\n */\n readonly attachState: AttachState;\n\n /**\n * Returns the channel with the given id\n */\n getChannel(id: string): Promise<IChannel>;\n\n /**\n * Creates a new channel of the given type.\n * @param id - ID of the channel to be created. A unique ID will be generated if left undefined.\n * @param type - Type of the channel.\n */\n createChannel(id: string | undefined, type: string): IChannel;\n\n /**\n * Bind the channel with the data store runtime. If the runtime\n * is attached then we attach the channel to make it live.\n */\n bindChannel(channel: IChannel): void;\n\n // Blob related calls\n /**\n * Api to upload a blob of data.\n * @param blob - blob to be uploaded.\n */\n uploadBlob(blob: ArrayBufferLike): Promise<IFluidHandle<ArrayBufferLike>>;\n\n /**\n * Submits the signal to be sent to other clients.\n * @param type - Type of the signal.\n * @param content - Content of the signal.\n */\n submitSignal(type: string, content: any): void;\n\n /**\n * Returns the current quorum.\n */\n getQuorum(): IQuorumClients;\n\n /**\n * Returns the current audience.\n */\n getAudience(): IAudience;\n\n /**\n * Resolves when a local data store is attached.\n */\n waitAttached(): Promise<void>;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": "https://github.com/microsoft/FluidFramework",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "npm run build:gen && concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
14
|
-
"build:compile": "npm run tsc
|
|
14
|
+
"build:compile": "npm run tsc && npm run build:test",
|
|
15
15
|
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
16
16
|
"build:full": "npm run build",
|
|
17
17
|
"build:full:compile": "npm run build:compile",
|
|
@@ -33,19 +33,20 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
35
35
|
"@fluidframework/common-utils": "^0.32.1",
|
|
36
|
-
"@fluidframework/container-definitions": "^0.
|
|
37
|
-
"@fluidframework/core-interfaces": "^0.
|
|
36
|
+
"@fluidframework/container-definitions": "^0.45.0",
|
|
37
|
+
"@fluidframework/core-interfaces": "^0.42.0",
|
|
38
38
|
"@fluidframework/protocol-definitions": "^0.1026.0",
|
|
39
|
-
"@fluidframework/runtime-definitions": "^0.
|
|
39
|
+
"@fluidframework/runtime-definitions": "^0.56.1",
|
|
40
40
|
"@types/node": "^14.18.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@fluidframework/build-common": "^0.23.0",
|
|
44
|
-
"@fluidframework/build-tools": "^0.2.
|
|
44
|
+
"@fluidframework/build-tools": "^0.2.49276",
|
|
45
45
|
"@fluidframework/datastore-definitions-0.51.1": "npm:@fluidframework/datastore-definitions@0.51.1",
|
|
46
46
|
"@fluidframework/datastore-definitions-0.52.0": "npm:@fluidframework/datastore-definitions@0.52.0",
|
|
47
47
|
"@fluidframework/datastore-definitions-0.53.0": "npm:@fluidframework/datastore-definitions@0.53.0",
|
|
48
48
|
"@fluidframework/datastore-definitions-0.54.0": "npm:@fluidframework/datastore-definitions@0.54.0",
|
|
49
|
+
"@fluidframework/datastore-definitions-0.55.0": "npm:@fluidframework/datastore-definitions@0.55.0",
|
|
49
50
|
"@fluidframework/eslint-config-fluid": "^0.25.0",
|
|
50
51
|
"@microsoft/api-extractor": "^7.16.1",
|
|
51
52
|
"@rushstack/eslint-config": "^2.5.1",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"typescript-formatter": "7.1.0"
|
|
66
67
|
},
|
|
67
68
|
"typeValidation": {
|
|
68
|
-
"version": "0.
|
|
69
|
+
"version": "0.56.0",
|
|
69
70
|
"broken": {
|
|
70
71
|
"0.51.1": {
|
|
71
72
|
"InterfaceDeclaration_IChannel": {
|
|
@@ -118,6 +119,36 @@
|
|
|
118
119
|
"backCompat": false,
|
|
119
120
|
"forwardCompat": false
|
|
120
121
|
},
|
|
122
|
+
"InterfaceDeclaration_IChannelServices": {
|
|
123
|
+
"backCompat": false,
|
|
124
|
+
"forwardCompat": false
|
|
125
|
+
},
|
|
126
|
+
"InterfaceDeclaration_IDeltaConnection": {
|
|
127
|
+
"backCompat": false,
|
|
128
|
+
"forwardCompat": false
|
|
129
|
+
},
|
|
130
|
+
"InterfaceDeclaration_IFluidDataStoreRuntime": {
|
|
131
|
+
"backCompat": false,
|
|
132
|
+
"forwardCompat": false
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"0.55.0": {
|
|
136
|
+
"InterfaceDeclaration_IChannel": {
|
|
137
|
+
"backCompat": false,
|
|
138
|
+
"forwardCompat": false
|
|
139
|
+
},
|
|
140
|
+
"InterfaceDeclaration_IChannelFactory": {
|
|
141
|
+
"backCompat": false,
|
|
142
|
+
"forwardCompat": false
|
|
143
|
+
},
|
|
144
|
+
"InterfaceDeclaration_IChannelServices": {
|
|
145
|
+
"backCompat": false,
|
|
146
|
+
"forwardCompat": false
|
|
147
|
+
},
|
|
148
|
+
"InterfaceDeclaration_IDeltaConnection": {
|
|
149
|
+
"backCompat": false,
|
|
150
|
+
"forwardCompat": false
|
|
151
|
+
},
|
|
121
152
|
"InterfaceDeclaration_IFluidDataStoreRuntime": {
|
|
122
153
|
"backCompat": false,
|
|
123
154
|
"forwardCompat": false
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
IAudience,
|
|
14
14
|
IDeltaManager,
|
|
15
|
-
ContainerWarning,
|
|
16
15
|
AttachState,
|
|
17
16
|
ILoaderOptions,
|
|
18
17
|
} from "@fluidframework/container-definitions";
|
|
@@ -113,10 +112,4 @@ export interface IFluidDataStoreRuntime extends
|
|
|
113
112
|
* Resolves when a local data store is attached.
|
|
114
113
|
*/
|
|
115
114
|
waitAttached(): Promise<void>;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Errors raised by distributed data structures
|
|
119
|
-
* @deprecated Warnings are being deprecated
|
|
120
|
-
*/
|
|
121
|
-
raiseContainerWarning(warning: ContainerWarning): void;
|
|
122
115
|
}
|