@fluid-experimental/attributor 2.0.0-internal.7.0.0 → 2.0.0-internal.7.2.0
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.
- package/CHANGELOG.md +8 -0
- package/api-extractor.json +1 -1
- package/api-report/attributor.api.md +71 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +26 -27
package/CHANGELOG.md
CHANGED
package/api-extractor.json
CHANGED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
## API Report File for "@fluid-experimental/attributor"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { AttributionInfo } from '@fluidframework/runtime-definitions';
|
|
8
|
+
import { AttributionKey } from '@fluidframework/runtime-definitions';
|
|
9
|
+
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
10
|
+
import { IAudience } from '@fluidframework/container-definitions';
|
|
11
|
+
import { IDeltaManager } from '@fluidframework/container-definitions';
|
|
12
|
+
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
14
|
+
|
|
15
|
+
// @alpha
|
|
16
|
+
export class Attributor implements IAttributor {
|
|
17
|
+
constructor(initialEntries?: Iterable<[number, AttributionInfo]>);
|
|
18
|
+
// (undocumented)
|
|
19
|
+
entries(): IterableIterator<[number, AttributionInfo]>;
|
|
20
|
+
getAttributionInfo(key: number): AttributionInfo;
|
|
21
|
+
// (undocumented)
|
|
22
|
+
protected readonly keyToInfo: Map<number, AttributionInfo>;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
tryGetAttributionInfo(key: number): AttributionInfo | undefined;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// @alpha (undocumented)
|
|
28
|
+
export function createRuntimeAttributor(): IRuntimeAttributor;
|
|
29
|
+
|
|
30
|
+
// @alpha
|
|
31
|
+
export const enableOnNewFileKey = "Fluid.Attribution.EnableOnNewFile";
|
|
32
|
+
|
|
33
|
+
// @alpha
|
|
34
|
+
export interface IAttributor {
|
|
35
|
+
// (undocumented)
|
|
36
|
+
entries(): IterableIterator<[number, AttributionInfo]>;
|
|
37
|
+
getAttributionInfo(key: number): AttributionInfo;
|
|
38
|
+
// (undocumented)
|
|
39
|
+
tryGetAttributionInfo(key: number): AttributionInfo | undefined;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// @alpha (undocumented)
|
|
43
|
+
export interface IProvideRuntimeAttributor {
|
|
44
|
+
// (undocumented)
|
|
45
|
+
readonly IRuntimeAttributor: IRuntimeAttributor;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// @alpha (undocumented)
|
|
49
|
+
export const IRuntimeAttributor: keyof IProvideRuntimeAttributor;
|
|
50
|
+
|
|
51
|
+
// @alpha @sealed
|
|
52
|
+
export interface IRuntimeAttributor extends IProvideRuntimeAttributor {
|
|
53
|
+
// (undocumented)
|
|
54
|
+
get(key: AttributionKey): AttributionInfo;
|
|
55
|
+
// (undocumented)
|
|
56
|
+
has(key: AttributionKey): boolean;
|
|
57
|
+
// (undocumented)
|
|
58
|
+
readonly isEnabled: boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// @alpha
|
|
62
|
+
export const mixinAttributor: (Base?: typeof ContainerRuntime) => typeof ContainerRuntime;
|
|
63
|
+
|
|
64
|
+
// @alpha
|
|
65
|
+
export class OpStreamAttributor extends Attributor implements IAttributor {
|
|
66
|
+
constructor(deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>, audience: IAudience, initialEntries?: Iterable<[number, AttributionInfo]>);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// (No @packageDocumentation comment for this package)
|
|
70
|
+
|
|
71
|
+
```
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/attributor",
|
|
3
|
-
"version": "2.0.0-internal.7.
|
|
3
|
+
"version": "2.0.0-internal.7.2.0",
|
|
4
4
|
"description": "Operation attributor",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -35,42 +35,41 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluid-internal/client-utils": ">=2.0.0-internal.7.
|
|
39
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.7.
|
|
40
|
-
"@fluidframework/container-runtime": ">=2.0.0-internal.7.
|
|
41
|
-
"@fluidframework/container-runtime-definitions": ">=2.0.0-internal.7.
|
|
42
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.
|
|
43
|
-
"@fluidframework/core-utils": ">=2.0.0-internal.7.
|
|
44
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.7.
|
|
38
|
+
"@fluid-internal/client-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
39
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
40
|
+
"@fluidframework/container-runtime": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
41
|
+
"@fluidframework/container-runtime-definitions": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
42
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
43
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
44
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
45
45
|
"@fluidframework/protocol-definitions": "^3.0.0",
|
|
46
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.7.
|
|
47
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.7.
|
|
48
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.7.
|
|
46
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
47
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
48
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
49
49
|
"lz4js": "^0.2.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.7.
|
|
53
|
-
"@fluid-tools/build-cli": "^0.
|
|
54
|
-
"@fluidframework/build-common": "^2.0.
|
|
55
|
-
"@fluidframework/build-tools": "^0.
|
|
56
|
-
"@fluidframework/driver-definitions": ">=2.0.0-internal.7.
|
|
57
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
58
|
-
"@fluidframework/merge-tree": ">=2.0.0-internal.7.
|
|
59
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.
|
|
60
|
-
"@fluidframework/sequence": ">=2.0.0-internal.7.
|
|
61
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.7.
|
|
52
|
+
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
53
|
+
"@fluid-tools/build-cli": "^0.26.1",
|
|
54
|
+
"@fluidframework/build-common": "^2.0.3",
|
|
55
|
+
"@fluidframework/build-tools": "^0.26.1",
|
|
56
|
+
"@fluidframework/driver-definitions": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
57
|
+
"@fluidframework/eslint-config-fluid": "^3.0.0",
|
|
58
|
+
"@fluidframework/merge-tree": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
59
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
60
|
+
"@fluidframework/sequence": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
61
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.7.2.0 <2.0.0-internal.7.3.0",
|
|
62
62
|
"@microsoft/api-extractor": "^7.37.0",
|
|
63
63
|
"@types/mocha": "^9.1.1",
|
|
64
64
|
"@types/node": "^16.18.38",
|
|
65
65
|
"c8": "^7.7.1",
|
|
66
|
-
"copyfiles": "^2.4.1",
|
|
67
66
|
"cross-env": "^7.0.3",
|
|
68
|
-
"eslint": "~8.
|
|
67
|
+
"eslint": "~8.50.0",
|
|
69
68
|
"mocha": "^10.2.0",
|
|
70
69
|
"mocha-json-output-reporter": "^2.0.1",
|
|
71
70
|
"mocha-multi-reporters": "^1.5.1",
|
|
72
71
|
"moment": "^2.21.0",
|
|
73
|
-
"prettier": "~
|
|
72
|
+
"prettier": "~3.0.3",
|
|
74
73
|
"rimraf": "^4.4.0",
|
|
75
74
|
"typescript": "~5.1.6"
|
|
76
75
|
},
|
|
@@ -82,11 +81,11 @@
|
|
|
82
81
|
"build": "fluid-build . --task build",
|
|
83
82
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
84
83
|
"build:compile": "fluid-build . --task compile",
|
|
85
|
-
"build:docs": "api-extractor run --local
|
|
84
|
+
"build:docs": "api-extractor run --local",
|
|
86
85
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
87
86
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
88
|
-
"ci:build:docs": "api-extractor run
|
|
89
|
-
"clean": "rimraf --glob
|
|
87
|
+
"ci:build:docs": "api-extractor run",
|
|
88
|
+
"clean": "rimraf --glob dist lib \"*.tsbuildinfo\" \"*.build.log\" _api-extractor-temp nyc",
|
|
90
89
|
"eslint": "eslint --format stylish src",
|
|
91
90
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
92
91
|
"format": "npm run prettier:fix",
|