@fluidframework/ordered-collection 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409
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/api-report/{ordered-collection.api.md → ordered-collection.alpha.api.md} +1 -30
- package/api-report/ordered-collection.beta.api.md +23 -0
- package/api-report/ordered-collection.public.api.md +23 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +15 -15
- package/src/packageVersion.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## API Report File for "@fluidframework/ordered-collection"
|
|
1
|
+
## Alpha API Report File for "@fluidframework/ordered-collection"
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
@@ -18,9 +18,6 @@ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/inter
|
|
|
18
18
|
import { SharedObject } from '@fluidframework/shared-object-base/internal';
|
|
19
19
|
import { SharedObjectKind } from '@fluidframework/shared-object-base/internal';
|
|
20
20
|
|
|
21
|
-
// @internal
|
|
22
|
-
export function acquireAndComplete<T>(collection: IConsensusOrderedCollection<T>): Promise<T | undefined>;
|
|
23
|
-
|
|
24
21
|
// @alpha
|
|
25
22
|
export type ConsensusCallback<T> = (value: T) => Promise<ConsensusResult>;
|
|
26
23
|
|
|
@@ -62,21 +59,6 @@ export class ConsensusQueueClass<T = any> extends ConsensusOrderedCollection<T>
|
|
|
62
59
|
constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
|
|
63
60
|
}
|
|
64
61
|
|
|
65
|
-
// @internal
|
|
66
|
-
export class ConsensusQueueFactory implements IConsensusOrderedCollectionFactory {
|
|
67
|
-
// (undocumented)
|
|
68
|
-
static readonly Attributes: IChannelAttributes;
|
|
69
|
-
// (undocumented)
|
|
70
|
-
get attributes(): IChannelAttributes;
|
|
71
|
-
// (undocumented)
|
|
72
|
-
create(document: IFluidDataStoreRuntime, id: string): IConsensusOrderedCollection;
|
|
73
|
-
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<IConsensusOrderedCollection>;
|
|
74
|
-
// (undocumented)
|
|
75
|
-
static Type: string;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
get type(): string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
62
|
// @alpha (undocumented)
|
|
81
63
|
export enum ConsensusResult {
|
|
82
64
|
// (undocumented)
|
|
@@ -100,14 +82,6 @@ export interface IConsensusOrderedCollectionEvents<T> extends ISharedObjectEvent
|
|
|
100
82
|
(event: "localRelease", listener: (value: T, intentional: boolean) => void): this;
|
|
101
83
|
}
|
|
102
84
|
|
|
103
|
-
// @internal
|
|
104
|
-
export interface IConsensusOrderedCollectionFactory extends IChannelFactory {
|
|
105
|
-
// (undocumented)
|
|
106
|
-
create(document: IFluidDataStoreRuntime, id: string): IConsensusOrderedCollection;
|
|
107
|
-
// (undocumented)
|
|
108
|
-
load(document: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<IConsensusOrderedCollection>;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
85
|
// @alpha
|
|
112
86
|
export interface IOrderedCollection<T = any> extends ISnapshotable<T> {
|
|
113
87
|
add(value: T): any;
|
|
@@ -123,9 +97,6 @@ export interface ISnapshotable<T> {
|
|
|
123
97
|
loadFrom(values: T[]): void;
|
|
124
98
|
}
|
|
125
99
|
|
|
126
|
-
// @internal
|
|
127
|
-
export function waitAcquireAndComplete<T>(collection: IConsensusOrderedCollection<T>): Promise<T>;
|
|
128
|
-
|
|
129
100
|
// (No @packageDocumentation comment for this package)
|
|
130
101
|
|
|
131
102
|
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## Beta API Report File for "@fluidframework/ordered-collection"
|
|
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 { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
|
|
8
|
+
import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
|
|
9
|
+
import { IChannelServices } from '@fluidframework/datastore-definitions/internal';
|
|
10
|
+
import { IChannelStorageService } from '@fluidframework/datastore-definitions/internal';
|
|
11
|
+
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
|
|
12
|
+
import { IFluidSerializer } from '@fluidframework/shared-object-base/internal';
|
|
13
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { ISharedObject } from '@fluidframework/shared-object-base/internal';
|
|
15
|
+
import { ISharedObjectEvents } from '@fluidframework/shared-object-base/internal';
|
|
16
|
+
import { ISharedObjectKind } from '@fluidframework/shared-object-base/internal';
|
|
17
|
+
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
18
|
+
import { SharedObject } from '@fluidframework/shared-object-base/internal';
|
|
19
|
+
import { SharedObjectKind } from '@fluidframework/shared-object-base/internal';
|
|
20
|
+
|
|
21
|
+
// (No @packageDocumentation comment for this package)
|
|
22
|
+
|
|
23
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## Public API Report File for "@fluidframework/ordered-collection"
|
|
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 { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
|
|
8
|
+
import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
|
|
9
|
+
import { IChannelServices } from '@fluidframework/datastore-definitions/internal';
|
|
10
|
+
import { IChannelStorageService } from '@fluidframework/datastore-definitions/internal';
|
|
11
|
+
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
|
|
12
|
+
import { IFluidSerializer } from '@fluidframework/shared-object-base/internal';
|
|
13
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { ISharedObject } from '@fluidframework/shared-object-base/internal';
|
|
15
|
+
import { ISharedObjectEvents } from '@fluidframework/shared-object-base/internal';
|
|
16
|
+
import { ISharedObjectKind } from '@fluidframework/shared-object-base/internal';
|
|
17
|
+
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
18
|
+
import { SharedObject } from '@fluidframework/shared-object-base/internal';
|
|
19
|
+
import { SharedObjectKind } from '@fluidframework/shared-object-base/internal';
|
|
20
|
+
|
|
21
|
+
// (No @packageDocumentation comment for this package)
|
|
22
|
+
|
|
23
|
+
```
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/ordered-collection";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/ordered-collection";
|
|
11
|
-
exports.pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
11
|
+
exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,oCAAoC,CAAC;AAC/C,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,oCAAoC,CAAC;AAC/C,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/ordered-collection";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export const pkgName = "@fluidframework/ordered-collection";
|
|
8
|
-
export const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/ordered-collection",
|
|
3
|
-
"version": "2.0.0-dev-rc.5.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.268409",
|
|
4
4
|
"description": "Consensus Collection",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,28 +67,28 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.
|
|
71
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
72
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.
|
|
73
|
-
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.
|
|
74
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.
|
|
75
|
-
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.
|
|
76
|
-
"@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.
|
|
77
|
-
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.
|
|
78
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.
|
|
70
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
71
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
|
|
72
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
73
|
+
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.268409",
|
|
74
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
|
|
75
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.268409",
|
|
76
|
+
"@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
77
|
+
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.268409",
|
|
78
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
79
79
|
"uuid": "^9.0.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
83
|
-
"@biomejs/biome": "^1.
|
|
84
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.
|
|
85
|
-
"@fluid-private/test-dds-utils": "2.0.0-dev-rc.5.0.0.
|
|
83
|
+
"@biomejs/biome": "^1.7.3",
|
|
84
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
|
|
85
|
+
"@fluid-private/test-dds-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
86
86
|
"@fluid-tools/build-cli": "^0.39.0-264124",
|
|
87
87
|
"@fluidframework/build-common": "^2.0.3",
|
|
88
88
|
"@fluidframework/build-tools": "^0.39.0-264124",
|
|
89
|
-
"@fluidframework/eslint-config-fluid": "^5.
|
|
89
|
+
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
90
90
|
"@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@2.0.0-rc.4.0.0",
|
|
91
|
-
"@fluidframework/test-runtime-utils": "2.0.0-dev-rc.5.0.0.
|
|
91
|
+
"@fluidframework/test-runtime-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
92
92
|
"@microsoft/api-extractor": "^7.45.1",
|
|
93
93
|
"@types/mocha": "^9.1.1",
|
|
94
94
|
"@types/node": "^18.19.0",
|
package/src/packageVersion.ts
CHANGED