fluid-framework 2.0.0-rc.1.0.0 → 2.0.0-rc.1.0.2
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/README.md +30 -48
- package/api-report/fluid-framework.api.md +6 -37
- package/dist/fluid-framework-alpha.d.ts +12 -96
- package/dist/fluid-framework-beta.d.ts +12 -96
- package/dist/fluid-framework-public.d.ts +12 -96
- package/dist/fluid-framework-untrimmed.d.ts +12 -96
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/lib/fluid-framework-alpha.d.mts +3 -15
- package/lib/fluid-framework-beta.d.mts +3 -15
- package/lib/fluid-framework-public.d.mts +3 -15
- package/lib/fluid-framework-untrimmed.d.mts +3 -15
- package/lib/index.d.mts +2 -2
- package/lib/index.d.mts.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/index.ts +1 -5
package/README.md
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# fluid-framework
|
|
2
2
|
|
|
3
|
-
The `
|
|
3
|
+
The `fluid-framework` package bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluid-experimental/osdp-client (BETA)`).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Contents
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
7
|
+
The `fluid-framework` package consists primarily of two portions: the `IFluidContainer` and a selection of distributed data structures (DDSes).
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
### IFluidContainer
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
The **[IFluidContainer][]** interface is the one of the types returned by calls to `createContainer()` and `getContainer()` on the service clients such as `AzureClient`.
|
|
12
|
+
It includes functionality to retrieve the Fluid data contained within, as well as to inspect the state of the collaboration session connection.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
npm i fluid-framework
|
|
16
|
-
```
|
|
14
|
+
### DDS packages
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
You'll use one or more DDS data structures in your container to model your collaborative data.
|
|
17
|
+
The `fluid-framework` package offers the following data structures:
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
1. **[SharedTree][]**
|
|
20
|
+
1. **[SharedMap][]**, a map-like data structure for storing key/value pair data
|
|
21
|
+
- Note: as of version 2.0, `SharedMap` is deprecated. Please use `SharedTree` instead.
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
## Tutorial
|
|
24
|
+
|
|
25
|
+
Check out the Hello World tutorial using the `fluid-framework` package [here](https://fluidframework.com/docs/start/tutorial/).
|
|
26
|
+
|
|
27
|
+
<!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README:scripts=FALSE) -->
|
|
23
28
|
|
|
24
29
|
<!-- prettier-ignore-start -->
|
|
25
30
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
@@ -30,28 +35,17 @@ When taking a dependency on a Fluid Framework library, we recommend using a `^`
|
|
|
30
35
|
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
|
|
31
36
|
library consumers should always prefer `^`.
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
36
|
-
|
|
37
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_API_DOCS_SECTION:includeHeading=TRUE) -->
|
|
38
|
+
## Installation
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
To get started, install the package by running the following command:
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
```bash
|
|
43
|
+
npm i fluid-framework
|
|
44
|
+
```
|
|
42
45
|
|
|
43
46
|
## API Documentation
|
|
44
47
|
|
|
45
|
-
API documentation for
|
|
46
|
-
|
|
47
|
-
<!-- prettier-ignore-end -->
|
|
48
|
-
|
|
49
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
50
|
-
|
|
51
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_CONTRIBUTION_GUIDELINES_SECTION:includeHeading=TRUE) -->
|
|
52
|
-
|
|
53
|
-
<!-- prettier-ignore-start -->
|
|
54
|
-
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
48
|
+
API documentation for **fluid-framework** is available at <https://fluidframework.com/docs/apis/fluid-framework>.
|
|
55
49
|
|
|
56
50
|
## Contribution Guidelines
|
|
57
51
|
|
|
@@ -71,15 +65,6 @@ This project may contain Microsoft trademarks or logos for Microsoft projects, p
|
|
|
71
65
|
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
72
66
|
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
73
67
|
|
|
74
|
-
<!-- prettier-ignore-end -->
|
|
75
|
-
|
|
76
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
77
|
-
|
|
78
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_HELP_SECTION:includeHeading=TRUE) -->
|
|
79
|
-
|
|
80
|
-
<!-- prettier-ignore-start -->
|
|
81
|
-
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
82
|
-
|
|
83
68
|
## Help
|
|
84
69
|
|
|
85
70
|
Not finding what you're looking for in this README? Check out our [GitHub
|
|
@@ -90,15 +75,6 @@ issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feat
|
|
|
90
75
|
|
|
91
76
|
Thank you!
|
|
92
77
|
|
|
93
|
-
<!-- prettier-ignore-end -->
|
|
94
|
-
|
|
95
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
96
|
-
|
|
97
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
|
|
98
|
-
|
|
99
|
-
<!-- prettier-ignore-start -->
|
|
100
|
-
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
101
|
-
|
|
102
78
|
## Trademark
|
|
103
79
|
|
|
104
80
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
@@ -110,3 +86,9 @@ Use of Microsoft trademarks or logos in modified versions of this project must n
|
|
|
110
86
|
<!-- prettier-ignore-end -->
|
|
111
87
|
|
|
112
88
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
89
|
+
|
|
90
|
+
<!-- Links -->
|
|
91
|
+
|
|
92
|
+
[ifluidcontainer]: https://fluidframework.com/docs/api/v2/fluid-framework/ifluidcontainer-interface
|
|
93
|
+
[sharedmap]: https://fluidframework.com/docs/data-structures/map/
|
|
94
|
+
[sharedtree]: https://fluidframework.com/docs/data-structures/tree/
|
|
@@ -53,12 +53,6 @@ export type ArrayToUnion<T extends readonly unknown[]> = T extends readonly (inf
|
|
|
53
53
|
|
|
54
54
|
export { AttachState }
|
|
55
55
|
|
|
56
|
-
// @public
|
|
57
|
-
export interface CheckoutEvents {
|
|
58
|
-
afterBatch(): void;
|
|
59
|
-
revertible(revertible: Revertible): void;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
56
|
export { ConnectionState }
|
|
63
57
|
|
|
64
58
|
export { ContainerErrorType }
|
|
@@ -70,12 +64,6 @@ export const create: unique symbol;
|
|
|
70
64
|
|
|
71
65
|
export { DataObjectClass }
|
|
72
66
|
|
|
73
|
-
// @public
|
|
74
|
-
export enum DiscardResult {
|
|
75
|
-
Failure = 1,
|
|
76
|
-
Success = 0
|
|
77
|
-
}
|
|
78
|
-
|
|
79
67
|
// @public
|
|
80
68
|
export const disposeSymbol: unique symbol;
|
|
81
69
|
|
|
@@ -228,30 +216,6 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
|
|
|
228
216
|
readonly [P in symbol | string]: P extends K ? T : never;
|
|
229
217
|
};
|
|
230
218
|
|
|
231
|
-
// @public
|
|
232
|
-
export interface Revertible {
|
|
233
|
-
discard(): DiscardResult;
|
|
234
|
-
readonly kind: RevertibleKind;
|
|
235
|
-
readonly origin: {
|
|
236
|
-
readonly isLocal: boolean;
|
|
237
|
-
};
|
|
238
|
-
revert(): RevertResult;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// @public
|
|
242
|
-
export enum RevertibleKind {
|
|
243
|
-
Default = 0,
|
|
244
|
-
Rebase = 3,
|
|
245
|
-
Redo = 2,
|
|
246
|
-
Undo = 1
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// @public
|
|
250
|
-
export enum RevertResult {
|
|
251
|
-
Failure = 1,
|
|
252
|
-
Success = 0
|
|
253
|
-
}
|
|
254
|
-
|
|
255
219
|
// @public @sealed
|
|
256
220
|
export class SchemaFactory<TScope extends string = string, TName extends number | string = string> {
|
|
257
221
|
constructor(scope: TScope);
|
|
@@ -450,10 +414,15 @@ export enum TreeStatus {
|
|
|
450
414
|
|
|
451
415
|
// @public
|
|
452
416
|
export interface TreeView<in out TRoot> extends IDisposable {
|
|
453
|
-
readonly events: ISubscribable<
|
|
417
|
+
readonly events: ISubscribable<TreeViewEvents>;
|
|
454
418
|
readonly root: TRoot;
|
|
455
419
|
}
|
|
456
420
|
|
|
421
|
+
// @public
|
|
422
|
+
export interface TreeViewEvents {
|
|
423
|
+
afterBatch(): void;
|
|
424
|
+
}
|
|
425
|
+
|
|
457
426
|
// @public
|
|
458
427
|
export const type: unique symbol;
|
|
459
428
|
|
|
@@ -67,30 +67,6 @@ export declare type ArrayToUnion<T extends readonly unknown[]> = T extends reado
|
|
|
67
67
|
|
|
68
68
|
export { AttachState }
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* Events for {@link TreeView}.
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare interface CheckoutEvents {
|
|
75
|
-
/**
|
|
76
|
-
* A batch of changes has finished processing and the view is in a consistent state.
|
|
77
|
-
* It is once again safe to access the EditableTree, Forest and AnchorSet.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* This is mainly useful for knowing when to do followup work scheduled during events from Anchors.
|
|
81
|
-
*/
|
|
82
|
-
afterBatch(): void;
|
|
83
|
-
/**
|
|
84
|
-
* A revertible change has been made to this view.
|
|
85
|
-
* Applications which subscribe to this event are expected to revert or discard revertibles they acquire, if they so choose (failure to do so will leak memory).
|
|
86
|
-
* The provided revertible is inherently bound to the view that raised the event, calling `revert` won't apply to forked views.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* This event provides a {@link Revertible} object that can be used to revert the change.
|
|
90
|
-
*/
|
|
91
|
-
revertible(revertible: Revertible): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
70
|
export { ConnectionState }
|
|
95
71
|
|
|
96
72
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -104,18 +80,6 @@ export declare const create: unique symbol;
|
|
|
104
80
|
|
|
105
81
|
export { DataObjectClass }
|
|
106
82
|
|
|
107
|
-
/**
|
|
108
|
-
* The result of a discard operation.
|
|
109
|
-
*
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare enum DiscardResult {
|
|
113
|
-
/** The discard was successful. */
|
|
114
|
-
Success = 0,
|
|
115
|
-
/** The discard failed. */
|
|
116
|
-
Failure = 1
|
|
117
|
-
}
|
|
118
|
-
|
|
119
83
|
/**
|
|
120
84
|
* Placeholder for `Symbol.dispose`.
|
|
121
85
|
*
|
|
@@ -629,65 +593,6 @@ export declare type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
|
|
|
629
593
|
readonly [P in symbol | string]: P extends K ? T : never;
|
|
630
594
|
};
|
|
631
595
|
|
|
632
|
-
/**
|
|
633
|
-
* Allows reversion of a change made to SharedTree.
|
|
634
|
-
*
|
|
635
|
-
* Applications wanting to implement undo/redo support might typically maintain two stacks of Revertibles, with optional eviction policy to free up memory.
|
|
636
|
-
* @public
|
|
637
|
-
*/
|
|
638
|
-
export declare interface Revertible {
|
|
639
|
-
/** Indicates the type of edit that produced this revertible. */
|
|
640
|
-
readonly kind: RevertibleKind;
|
|
641
|
-
/**
|
|
642
|
-
* Information about which client created the edit.
|
|
643
|
-
*/
|
|
644
|
-
readonly origin: {
|
|
645
|
-
/**
|
|
646
|
-
* Indicates if the {@link Revertible} is from the local client (true) or a remote client (false).
|
|
647
|
-
*/
|
|
648
|
-
readonly isLocal: boolean;
|
|
649
|
-
};
|
|
650
|
-
/**
|
|
651
|
-
* Can be called in order to revert a change. A successful revert will automatically discard resources.
|
|
652
|
-
*/
|
|
653
|
-
revert(): RevertResult;
|
|
654
|
-
/**
|
|
655
|
-
* Should be called to garbage collect any resources associated with the revertible.
|
|
656
|
-
*/
|
|
657
|
-
discard(): DiscardResult;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* The type of revertible commit.
|
|
662
|
-
*
|
|
663
|
-
* @public
|
|
664
|
-
*/
|
|
665
|
-
export declare enum RevertibleKind {
|
|
666
|
-
/** A typical local commit */
|
|
667
|
-
Default = 0,
|
|
668
|
-
/** A revertible that is the result of an undo. */
|
|
669
|
-
Undo = 1,
|
|
670
|
-
/** A revertible that is the result of a redo. */
|
|
671
|
-
Redo = 2,
|
|
672
|
-
/**
|
|
673
|
-
* A revertible that is the result of a rebase and should replace a previously generated revertible.
|
|
674
|
-
* todo: improve error reporting in this case
|
|
675
|
-
*/
|
|
676
|
-
Rebase = 3
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* The result of a revert operation.
|
|
681
|
-
*
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export declare enum RevertResult {
|
|
685
|
-
/** The revert was successful. */
|
|
686
|
-
Success = 0,
|
|
687
|
-
/** The revert failed. */
|
|
688
|
-
Failure = 1
|
|
689
|
-
}
|
|
690
|
-
|
|
691
596
|
/**
|
|
692
597
|
* Builds schema libraries, and the schema within them.
|
|
693
598
|
*
|
|
@@ -1497,7 +1402,18 @@ export declare interface TreeView<in out TRoot> extends IDisposable {
|
|
|
1497
1402
|
/**
|
|
1498
1403
|
* Events for the tree.
|
|
1499
1404
|
*/
|
|
1500
|
-
readonly events: ISubscribable<
|
|
1405
|
+
readonly events: ISubscribable<TreeViewEvents>;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Events for {@link TreeView}.
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
export declare interface TreeViewEvents {
|
|
1413
|
+
/**
|
|
1414
|
+
* A batch of changes has finished processing and the view has been updated.
|
|
1415
|
+
*/
|
|
1416
|
+
afterBatch(): void;
|
|
1501
1417
|
}
|
|
1502
1418
|
|
|
1503
1419
|
/**
|
|
@@ -67,30 +67,6 @@ export declare type ArrayToUnion<T extends readonly unknown[]> = T extends reado
|
|
|
67
67
|
|
|
68
68
|
export { AttachState }
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* Events for {@link TreeView}.
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare interface CheckoutEvents {
|
|
75
|
-
/**
|
|
76
|
-
* A batch of changes has finished processing and the view is in a consistent state.
|
|
77
|
-
* It is once again safe to access the EditableTree, Forest and AnchorSet.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* This is mainly useful for knowing when to do followup work scheduled during events from Anchors.
|
|
81
|
-
*/
|
|
82
|
-
afterBatch(): void;
|
|
83
|
-
/**
|
|
84
|
-
* A revertible change has been made to this view.
|
|
85
|
-
* Applications which subscribe to this event are expected to revert or discard revertibles they acquire, if they so choose (failure to do so will leak memory).
|
|
86
|
-
* The provided revertible is inherently bound to the view that raised the event, calling `revert` won't apply to forked views.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* This event provides a {@link Revertible} object that can be used to revert the change.
|
|
90
|
-
*/
|
|
91
|
-
revertible(revertible: Revertible): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
70
|
export { ConnectionState }
|
|
95
71
|
|
|
96
72
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -104,18 +80,6 @@ export declare const create: unique symbol;
|
|
|
104
80
|
|
|
105
81
|
export { DataObjectClass }
|
|
106
82
|
|
|
107
|
-
/**
|
|
108
|
-
* The result of a discard operation.
|
|
109
|
-
*
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare enum DiscardResult {
|
|
113
|
-
/** The discard was successful. */
|
|
114
|
-
Success = 0,
|
|
115
|
-
/** The discard failed. */
|
|
116
|
-
Failure = 1
|
|
117
|
-
}
|
|
118
|
-
|
|
119
83
|
/**
|
|
120
84
|
* Placeholder for `Symbol.dispose`.
|
|
121
85
|
*
|
|
@@ -629,65 +593,6 @@ export declare type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
|
|
|
629
593
|
readonly [P in symbol | string]: P extends K ? T : never;
|
|
630
594
|
};
|
|
631
595
|
|
|
632
|
-
/**
|
|
633
|
-
* Allows reversion of a change made to SharedTree.
|
|
634
|
-
*
|
|
635
|
-
* Applications wanting to implement undo/redo support might typically maintain two stacks of Revertibles, with optional eviction policy to free up memory.
|
|
636
|
-
* @public
|
|
637
|
-
*/
|
|
638
|
-
export declare interface Revertible {
|
|
639
|
-
/** Indicates the type of edit that produced this revertible. */
|
|
640
|
-
readonly kind: RevertibleKind;
|
|
641
|
-
/**
|
|
642
|
-
* Information about which client created the edit.
|
|
643
|
-
*/
|
|
644
|
-
readonly origin: {
|
|
645
|
-
/**
|
|
646
|
-
* Indicates if the {@link Revertible} is from the local client (true) or a remote client (false).
|
|
647
|
-
*/
|
|
648
|
-
readonly isLocal: boolean;
|
|
649
|
-
};
|
|
650
|
-
/**
|
|
651
|
-
* Can be called in order to revert a change. A successful revert will automatically discard resources.
|
|
652
|
-
*/
|
|
653
|
-
revert(): RevertResult;
|
|
654
|
-
/**
|
|
655
|
-
* Should be called to garbage collect any resources associated with the revertible.
|
|
656
|
-
*/
|
|
657
|
-
discard(): DiscardResult;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* The type of revertible commit.
|
|
662
|
-
*
|
|
663
|
-
* @public
|
|
664
|
-
*/
|
|
665
|
-
export declare enum RevertibleKind {
|
|
666
|
-
/** A typical local commit */
|
|
667
|
-
Default = 0,
|
|
668
|
-
/** A revertible that is the result of an undo. */
|
|
669
|
-
Undo = 1,
|
|
670
|
-
/** A revertible that is the result of a redo. */
|
|
671
|
-
Redo = 2,
|
|
672
|
-
/**
|
|
673
|
-
* A revertible that is the result of a rebase and should replace a previously generated revertible.
|
|
674
|
-
* todo: improve error reporting in this case
|
|
675
|
-
*/
|
|
676
|
-
Rebase = 3
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* The result of a revert operation.
|
|
681
|
-
*
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export declare enum RevertResult {
|
|
685
|
-
/** The revert was successful. */
|
|
686
|
-
Success = 0,
|
|
687
|
-
/** The revert failed. */
|
|
688
|
-
Failure = 1
|
|
689
|
-
}
|
|
690
|
-
|
|
691
596
|
/**
|
|
692
597
|
* Builds schema libraries, and the schema within them.
|
|
693
598
|
*
|
|
@@ -1497,7 +1402,18 @@ export declare interface TreeView<in out TRoot> extends IDisposable {
|
|
|
1497
1402
|
/**
|
|
1498
1403
|
* Events for the tree.
|
|
1499
1404
|
*/
|
|
1500
|
-
readonly events: ISubscribable<
|
|
1405
|
+
readonly events: ISubscribable<TreeViewEvents>;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Events for {@link TreeView}.
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
export declare interface TreeViewEvents {
|
|
1413
|
+
/**
|
|
1414
|
+
* A batch of changes has finished processing and the view has been updated.
|
|
1415
|
+
*/
|
|
1416
|
+
afterBatch(): void;
|
|
1501
1417
|
}
|
|
1502
1418
|
|
|
1503
1419
|
/**
|
|
@@ -67,30 +67,6 @@ export declare type ArrayToUnion<T extends readonly unknown[]> = T extends reado
|
|
|
67
67
|
|
|
68
68
|
export { AttachState }
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* Events for {@link TreeView}.
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare interface CheckoutEvents {
|
|
75
|
-
/**
|
|
76
|
-
* A batch of changes has finished processing and the view is in a consistent state.
|
|
77
|
-
* It is once again safe to access the EditableTree, Forest and AnchorSet.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* This is mainly useful for knowing when to do followup work scheduled during events from Anchors.
|
|
81
|
-
*/
|
|
82
|
-
afterBatch(): void;
|
|
83
|
-
/**
|
|
84
|
-
* A revertible change has been made to this view.
|
|
85
|
-
* Applications which subscribe to this event are expected to revert or discard revertibles they acquire, if they so choose (failure to do so will leak memory).
|
|
86
|
-
* The provided revertible is inherently bound to the view that raised the event, calling `revert` won't apply to forked views.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* This event provides a {@link Revertible} object that can be used to revert the change.
|
|
90
|
-
*/
|
|
91
|
-
revertible(revertible: Revertible): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
70
|
export { ConnectionState }
|
|
95
71
|
|
|
96
72
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -104,18 +80,6 @@ export declare const create: unique symbol;
|
|
|
104
80
|
|
|
105
81
|
export { DataObjectClass }
|
|
106
82
|
|
|
107
|
-
/**
|
|
108
|
-
* The result of a discard operation.
|
|
109
|
-
*
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare enum DiscardResult {
|
|
113
|
-
/** The discard was successful. */
|
|
114
|
-
Success = 0,
|
|
115
|
-
/** The discard failed. */
|
|
116
|
-
Failure = 1
|
|
117
|
-
}
|
|
118
|
-
|
|
119
83
|
/**
|
|
120
84
|
* Placeholder for `Symbol.dispose`.
|
|
121
85
|
*
|
|
@@ -629,65 +593,6 @@ export declare type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
|
|
|
629
593
|
readonly [P in symbol | string]: P extends K ? T : never;
|
|
630
594
|
};
|
|
631
595
|
|
|
632
|
-
/**
|
|
633
|
-
* Allows reversion of a change made to SharedTree.
|
|
634
|
-
*
|
|
635
|
-
* Applications wanting to implement undo/redo support might typically maintain two stacks of Revertibles, with optional eviction policy to free up memory.
|
|
636
|
-
* @public
|
|
637
|
-
*/
|
|
638
|
-
export declare interface Revertible {
|
|
639
|
-
/** Indicates the type of edit that produced this revertible. */
|
|
640
|
-
readonly kind: RevertibleKind;
|
|
641
|
-
/**
|
|
642
|
-
* Information about which client created the edit.
|
|
643
|
-
*/
|
|
644
|
-
readonly origin: {
|
|
645
|
-
/**
|
|
646
|
-
* Indicates if the {@link Revertible} is from the local client (true) or a remote client (false).
|
|
647
|
-
*/
|
|
648
|
-
readonly isLocal: boolean;
|
|
649
|
-
};
|
|
650
|
-
/**
|
|
651
|
-
* Can be called in order to revert a change. A successful revert will automatically discard resources.
|
|
652
|
-
*/
|
|
653
|
-
revert(): RevertResult;
|
|
654
|
-
/**
|
|
655
|
-
* Should be called to garbage collect any resources associated with the revertible.
|
|
656
|
-
*/
|
|
657
|
-
discard(): DiscardResult;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* The type of revertible commit.
|
|
662
|
-
*
|
|
663
|
-
* @public
|
|
664
|
-
*/
|
|
665
|
-
export declare enum RevertibleKind {
|
|
666
|
-
/** A typical local commit */
|
|
667
|
-
Default = 0,
|
|
668
|
-
/** A revertible that is the result of an undo. */
|
|
669
|
-
Undo = 1,
|
|
670
|
-
/** A revertible that is the result of a redo. */
|
|
671
|
-
Redo = 2,
|
|
672
|
-
/**
|
|
673
|
-
* A revertible that is the result of a rebase and should replace a previously generated revertible.
|
|
674
|
-
* todo: improve error reporting in this case
|
|
675
|
-
*/
|
|
676
|
-
Rebase = 3
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* The result of a revert operation.
|
|
681
|
-
*
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export declare enum RevertResult {
|
|
685
|
-
/** The revert was successful. */
|
|
686
|
-
Success = 0,
|
|
687
|
-
/** The revert failed. */
|
|
688
|
-
Failure = 1
|
|
689
|
-
}
|
|
690
|
-
|
|
691
596
|
/**
|
|
692
597
|
* Builds schema libraries, and the schema within them.
|
|
693
598
|
*
|
|
@@ -1497,7 +1402,18 @@ export declare interface TreeView<in out TRoot> extends IDisposable {
|
|
|
1497
1402
|
/**
|
|
1498
1403
|
* Events for the tree.
|
|
1499
1404
|
*/
|
|
1500
|
-
readonly events: ISubscribable<
|
|
1405
|
+
readonly events: ISubscribable<TreeViewEvents>;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Events for {@link TreeView}.
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
export declare interface TreeViewEvents {
|
|
1413
|
+
/**
|
|
1414
|
+
* A batch of changes has finished processing and the view has been updated.
|
|
1415
|
+
*/
|
|
1416
|
+
afterBatch(): void;
|
|
1501
1417
|
}
|
|
1502
1418
|
|
|
1503
1419
|
/**
|
|
@@ -67,30 +67,6 @@ export declare type ArrayToUnion<T extends readonly unknown[]> = T extends reado
|
|
|
67
67
|
|
|
68
68
|
export { AttachState }
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* Events for {@link TreeView}.
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare interface CheckoutEvents {
|
|
75
|
-
/**
|
|
76
|
-
* A batch of changes has finished processing and the view is in a consistent state.
|
|
77
|
-
* It is once again safe to access the EditableTree, Forest and AnchorSet.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* This is mainly useful for knowing when to do followup work scheduled during events from Anchors.
|
|
81
|
-
*/
|
|
82
|
-
afterBatch(): void;
|
|
83
|
-
/**
|
|
84
|
-
* A revertible change has been made to this view.
|
|
85
|
-
* Applications which subscribe to this event are expected to revert or discard revertibles they acquire, if they so choose (failure to do so will leak memory).
|
|
86
|
-
* The provided revertible is inherently bound to the view that raised the event, calling `revert` won't apply to forked views.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* This event provides a {@link Revertible} object that can be used to revert the change.
|
|
90
|
-
*/
|
|
91
|
-
revertible(revertible: Revertible): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
70
|
export { ConnectionState }
|
|
95
71
|
|
|
96
72
|
export { ContainerErrorType }
|
|
@@ -105,18 +81,6 @@ export declare const create: unique symbol;
|
|
|
105
81
|
|
|
106
82
|
export { DataObjectClass }
|
|
107
83
|
|
|
108
|
-
/**
|
|
109
|
-
* The result of a discard operation.
|
|
110
|
-
*
|
|
111
|
-
* @public
|
|
112
|
-
*/
|
|
113
|
-
export declare enum DiscardResult {
|
|
114
|
-
/** The discard was successful. */
|
|
115
|
-
Success = 0,
|
|
116
|
-
/** The discard failed. */
|
|
117
|
-
Failure = 1
|
|
118
|
-
}
|
|
119
|
-
|
|
120
84
|
/**
|
|
121
85
|
* Placeholder for `Symbol.dispose`.
|
|
122
86
|
*
|
|
@@ -630,65 +594,6 @@ export declare type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
|
|
|
630
594
|
readonly [P in symbol | string]: P extends K ? T : never;
|
|
631
595
|
};
|
|
632
596
|
|
|
633
|
-
/**
|
|
634
|
-
* Allows reversion of a change made to SharedTree.
|
|
635
|
-
*
|
|
636
|
-
* Applications wanting to implement undo/redo support might typically maintain two stacks of Revertibles, with optional eviction policy to free up memory.
|
|
637
|
-
* @public
|
|
638
|
-
*/
|
|
639
|
-
export declare interface Revertible {
|
|
640
|
-
/** Indicates the type of edit that produced this revertible. */
|
|
641
|
-
readonly kind: RevertibleKind;
|
|
642
|
-
/**
|
|
643
|
-
* Information about which client created the edit.
|
|
644
|
-
*/
|
|
645
|
-
readonly origin: {
|
|
646
|
-
/**
|
|
647
|
-
* Indicates if the {@link Revertible} is from the local client (true) or a remote client (false).
|
|
648
|
-
*/
|
|
649
|
-
readonly isLocal: boolean;
|
|
650
|
-
};
|
|
651
|
-
/**
|
|
652
|
-
* Can be called in order to revert a change. A successful revert will automatically discard resources.
|
|
653
|
-
*/
|
|
654
|
-
revert(): RevertResult;
|
|
655
|
-
/**
|
|
656
|
-
* Should be called to garbage collect any resources associated with the revertible.
|
|
657
|
-
*/
|
|
658
|
-
discard(): DiscardResult;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* The type of revertible commit.
|
|
663
|
-
*
|
|
664
|
-
* @public
|
|
665
|
-
*/
|
|
666
|
-
export declare enum RevertibleKind {
|
|
667
|
-
/** A typical local commit */
|
|
668
|
-
Default = 0,
|
|
669
|
-
/** A revertible that is the result of an undo. */
|
|
670
|
-
Undo = 1,
|
|
671
|
-
/** A revertible that is the result of a redo. */
|
|
672
|
-
Redo = 2,
|
|
673
|
-
/**
|
|
674
|
-
* A revertible that is the result of a rebase and should replace a previously generated revertible.
|
|
675
|
-
* todo: improve error reporting in this case
|
|
676
|
-
*/
|
|
677
|
-
Rebase = 3
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* The result of a revert operation.
|
|
682
|
-
*
|
|
683
|
-
* @public
|
|
684
|
-
*/
|
|
685
|
-
export declare enum RevertResult {
|
|
686
|
-
/** The revert was successful. */
|
|
687
|
-
Success = 0,
|
|
688
|
-
/** The revert failed. */
|
|
689
|
-
Failure = 1
|
|
690
|
-
}
|
|
691
|
-
|
|
692
597
|
/**
|
|
693
598
|
* Builds schema libraries, and the schema within them.
|
|
694
599
|
*
|
|
@@ -1498,7 +1403,18 @@ export declare interface TreeView<in out TRoot> extends IDisposable {
|
|
|
1498
1403
|
/**
|
|
1499
1404
|
* Events for the tree.
|
|
1500
1405
|
*/
|
|
1501
|
-
readonly events: ISubscribable<
|
|
1406
|
+
readonly events: ISubscribable<TreeViewEvents>;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Events for {@link TreeView}.
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
export declare interface TreeViewEvents {
|
|
1414
|
+
/**
|
|
1415
|
+
* A batch of changes has finished processing and the view has been updated.
|
|
1416
|
+
*/
|
|
1417
|
+
afterBatch(): void;
|
|
1502
1418
|
}
|
|
1503
1419
|
|
|
1504
1420
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,6 @@ export { ConnectionState } from "@fluidframework/container-loader";
|
|
|
16
16
|
export type { ContainerSchema, DataObjectClass, IConnection, IFluidContainer, IFluidContainerEvents, IMember, IServiceAudience, IServiceAudienceEvents, LoadableObjectClass, LoadableObjectClassRecord, LoadableObjectCtor, MemberChangedListener, SharedObjectClass, } from "@fluidframework/fluid-static";
|
|
17
17
|
export type { ISharedMap, ISharedMapEvents, IValueChanged } from "@fluidframework/map";
|
|
18
18
|
export { SharedMap } from "@fluidframework/map";
|
|
19
|
-
export type { AllowedTypes, ApplyKind, ArrayToUnion,
|
|
20
|
-
export { create,
|
|
19
|
+
export type { AllowedTypes, ApplyKind, ArrayToUnion, Events, ExtractItemType, FlexList, FlexListToUnion, IDisposable, ImplicitAllowedTypes, ImplicitFieldSchema, InsertableObjectFromSchemaRecord, InsertableTreeFieldFromImplicitField, InsertableTreeNodeFromImplicitAllowedTypes, InsertableTypedNode, IsEvent, ISubscribable, ITree, LazyItem, MakeNominal, NodeBuilderData, NodeFromSchema, ObjectFromSchemaRecord, RestrictiveReadonlyRecord, TreeApi, TreeArrayNodeBase, TreeFieldFromImplicitField, TreeLeafValue, TreeMapNode, TreeMapNodeBase, TreeNodeEvents, TreeNodeFromImplicitAllowedTypes, TreeNodeSchema, TreeNodeSchemaClass, TreeNodeSchemaCore, TreeNodeSchemaNonClass, TreeView, TreeViewEvents, Unhydrated, WithType, } from "@fluidframework/tree";
|
|
20
|
+
export { create, disposeSymbol, FieldKind, FieldSchema, IterableTreeListContent, NodeKind, SchemaFactory, SharedTree, Tree, TreeArrayNode, TreeConfiguration, TreeNode, TreeStatus, type, } from "@fluidframework/tree";
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,YAAY,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,YAAY,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,YAAY,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,YAAY,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,MAAM,EACN,eAAe,EACf,QAAQ,EACR,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,gCAAgC,EAChC,oCAAoC,EACpC,0CAA0C,EAC1C,mBAAmB,EACnB,OAAO,EACP,aAAa,EACb,KAAK,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,aAAa,EACb,WAAW,EACX,eAAe,EACf,cAAc,EACd,gCAAgC,EAChC,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACd,UAAU,EACV,QAAQ,GACR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,EACX,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,IAAI,GACJ,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.type = exports.TreeStatus = exports.TreeNode = exports.TreeConfiguration = exports.TreeArrayNode = exports.Tree = exports.SharedTree = exports.SchemaFactory = exports.
|
|
7
|
+
exports.type = exports.TreeStatus = exports.TreeNode = exports.TreeConfiguration = exports.TreeArrayNode = exports.Tree = exports.SharedTree = exports.SchemaFactory = exports.NodeKind = exports.IterableTreeListContent = exports.FieldSchema = exports.FieldKind = exports.disposeSymbol = exports.create = exports.SharedMap = exports.ConnectionState = exports.DriverErrorType = exports.ContainerErrorType = exports.AttachState = void 0;
|
|
8
8
|
var container_definitions_1 = require("@fluidframework/container-definitions");
|
|
9
9
|
Object.defineProperty(exports, "AttachState", { enumerable: true, get: function () { return container_definitions_1.AttachState; } });
|
|
10
10
|
Object.defineProperty(exports, "ContainerErrorType", { enumerable: true, get: function () { return container_definitions_1.ContainerErrorType; } });
|
|
@@ -16,14 +16,11 @@ var map_1 = require("@fluidframework/map");
|
|
|
16
16
|
Object.defineProperty(exports, "SharedMap", { enumerable: true, get: function () { return map_1.SharedMap; } });
|
|
17
17
|
var tree_1 = require("@fluidframework/tree");
|
|
18
18
|
Object.defineProperty(exports, "create", { enumerable: true, get: function () { return tree_1.create; } });
|
|
19
|
-
Object.defineProperty(exports, "DiscardResult", { enumerable: true, get: function () { return tree_1.DiscardResult; } });
|
|
20
19
|
Object.defineProperty(exports, "disposeSymbol", { enumerable: true, get: function () { return tree_1.disposeSymbol; } });
|
|
21
20
|
Object.defineProperty(exports, "FieldKind", { enumerable: true, get: function () { return tree_1.FieldKind; } });
|
|
22
21
|
Object.defineProperty(exports, "FieldSchema", { enumerable: true, get: function () { return tree_1.FieldSchema; } });
|
|
23
22
|
Object.defineProperty(exports, "IterableTreeListContent", { enumerable: true, get: function () { return tree_1.IterableTreeListContent; } });
|
|
24
23
|
Object.defineProperty(exports, "NodeKind", { enumerable: true, get: function () { return tree_1.NodeKind; } });
|
|
25
|
-
Object.defineProperty(exports, "RevertibleKind", { enumerable: true, get: function () { return tree_1.RevertibleKind; } });
|
|
26
|
-
Object.defineProperty(exports, "RevertResult", { enumerable: true, get: function () { return tree_1.RevertResult; } });
|
|
27
24
|
Object.defineProperty(exports, "SchemaFactory", { enumerable: true, get: function () { return tree_1.SchemaFactory; } });
|
|
28
25
|
Object.defineProperty(exports, "SharedTree", { enumerable: true, get: function () { return tree_1.SharedTree; } });
|
|
29
26
|
Object.defineProperty(exports, "Tree", { enumerable: true, get: function () { return tree_1.Tree; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAWH,+EAAwF;AAA/E,oHAAA,WAAW,OAAA;AAAE,2HAAA,kBAAkB,OAAA;AACxC,yEAAqE;AAA5D,qHAAA,eAAe,OAAA;AACxB,qEAAmE;AAA1D,mHAAA,eAAe,OAAA;AAiBxB,2CAAgD;AAAvC,gGAAA,SAAS,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAWH,+EAAwF;AAA/E,oHAAA,WAAW,OAAA;AAAE,2HAAA,kBAAkB,OAAA;AACxC,yEAAqE;AAA5D,qHAAA,eAAe,OAAA;AACxB,qEAAmE;AAA1D,mHAAA,eAAe,OAAA;AAiBxB,2CAAgD;AAAvC,gGAAA,SAAS,OAAA;AA2ClB,6CAe8B;AAd7B,8FAAA,MAAM,OAAA;AACN,qGAAA,aAAa,OAAA;AACb,iGAAA,SAAS,OAAA;AACT,mGAAA,WAAW,OAAA;AACX,+GAAA,uBAAuB,OAAA;AACvB,gGAAA,QAAQ,OAAA;AACR,qGAAA,aAAa,OAAA;AACb,kGAAA,UAAU,OAAA;AACV,4FAAA,IAAI,OAAA;AACJ,qGAAA,aAAa,OAAA;AACb,yGAAA,iBAAiB,OAAA;AACjB,gGAAA,QAAQ,OAAA;AACR,kGAAA,UAAU,OAAA;AACV,4FAAA,IAAI,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use\n * when paired with a corresponding service client library (for example,\n * `\\@fluidframework/azure-client` or `\\@fluidframework/tinylicious-client`).\n *\n * @packageDocumentation\n */\n\nexport type { ICriticalContainerError } from \"@fluidframework/container-definitions\";\nexport { AttachState, ContainerErrorType } from \"@fluidframework/container-definitions\";\nexport { DriverErrorType } from \"@fluidframework/driver-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tLoadableObjectCtor,\n\tMemberChangedListener,\n\tSharedObjectClass,\n} from \"@fluidframework/fluid-static\";\nexport type { ISharedMap, ISharedMapEvents, IValueChanged } from \"@fluidframework/map\";\nexport { SharedMap } from \"@fluidframework/map\";\n\nexport type {\n\tAllowedTypes,\n\tApplyKind,\n\tArrayToUnion,\n\tEvents,\n\tExtractItemType,\n\tFlexList,\n\tFlexListToUnion,\n\tIDisposable,\n\tImplicitAllowedTypes,\n\tImplicitFieldSchema,\n\tInsertableObjectFromSchemaRecord,\n\tInsertableTreeFieldFromImplicitField,\n\tInsertableTreeNodeFromImplicitAllowedTypes,\n\tInsertableTypedNode,\n\tIsEvent,\n\tISubscribable,\n\tITree,\n\tLazyItem,\n\tMakeNominal,\n\tNodeBuilderData,\n\tNodeFromSchema,\n\tObjectFromSchemaRecord,\n\tRestrictiveReadonlyRecord,\n\tTreeApi,\n\tTreeArrayNodeBase,\n\tTreeFieldFromImplicitField,\n\tTreeLeafValue,\n\tTreeMapNode,\n\tTreeMapNodeBase,\n\tTreeNodeEvents,\n\tTreeNodeFromImplicitAllowedTypes,\n\tTreeNodeSchema,\n\tTreeNodeSchemaClass,\n\tTreeNodeSchemaCore,\n\tTreeNodeSchemaNonClass,\n\tTreeView,\n\tTreeViewEvents,\n\tUnhydrated,\n\tWithType,\n} from \"@fluidframework/tree\";\nexport {\n\tcreate,\n\tdisposeSymbol,\n\tFieldKind,\n\tFieldSchema,\n\tIterableTreeListContent,\n\tNodeKind,\n\tSchemaFactory,\n\tSharedTree,\n\tTree,\n\tTreeArrayNode,\n\tTreeConfiguration,\n\tTreeNode,\n\tTreeStatus,\n\ttype,\n} from \"@fluidframework/tree\";\n"]}
|
|
@@ -2,13 +2,11 @@ import { AllowedTypes } from '@fluidframework/tree';
|
|
|
2
2
|
import { ApplyKind } from '@fluidframework/tree';
|
|
3
3
|
import { ArrayToUnion } from '@fluidframework/tree';
|
|
4
4
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
5
|
-
import { CheckoutEvents } from '@fluidframework/tree';
|
|
6
5
|
import { ConnectionState } from '@fluidframework/container-loader';
|
|
7
6
|
import { ContainerErrorType } from '@fluidframework/container-definitions';
|
|
8
7
|
import { ContainerSchema } from '@fluidframework/fluid-static';
|
|
9
8
|
import { create } from '@fluidframework/tree';
|
|
10
9
|
import { DataObjectClass } from '@fluidframework/fluid-static';
|
|
11
|
-
import { DiscardResult } from '@fluidframework/tree';
|
|
12
10
|
import { disposeSymbol } from '@fluidframework/tree';
|
|
13
11
|
import { DriverErrorType } from '@fluidframework/driver-definitions';
|
|
14
12
|
import { Events } from '@fluidframework/tree';
|
|
@@ -49,9 +47,6 @@ import { NodeFromSchema } from '@fluidframework/tree';
|
|
|
49
47
|
import { NodeKind } from '@fluidframework/tree';
|
|
50
48
|
import { ObjectFromSchemaRecord } from '@fluidframework/tree';
|
|
51
49
|
import { RestrictiveReadonlyRecord } from '@fluidframework/tree';
|
|
52
|
-
import { Revertible } from '@fluidframework/tree';
|
|
53
|
-
import { RevertibleKind } from '@fluidframework/tree';
|
|
54
|
-
import { RevertResult } from '@fluidframework/tree';
|
|
55
50
|
import { SchemaFactory } from '@fluidframework/tree';
|
|
56
51
|
import { SharedMap } from '@fluidframework/map';
|
|
57
52
|
import { SharedObjectClass } from '@fluidframework/fluid-static';
|
|
@@ -74,6 +69,7 @@ import { TreeNodeSchemaCore } from '@fluidframework/tree';
|
|
|
74
69
|
import { TreeNodeSchemaNonClass } from '@fluidframework/tree';
|
|
75
70
|
import { TreeStatus } from '@fluidframework/tree';
|
|
76
71
|
import { TreeView } from '@fluidframework/tree';
|
|
72
|
+
import { TreeViewEvents } from '@fluidframework/tree';
|
|
77
73
|
import { type } from '@fluidframework/tree';
|
|
78
74
|
import { Unhydrated } from '@fluidframework/tree';
|
|
79
75
|
import { WithType } from '@fluidframework/tree';
|
|
@@ -86,8 +82,6 @@ export { ArrayToUnion }
|
|
|
86
82
|
|
|
87
83
|
export { AttachState }
|
|
88
84
|
|
|
89
|
-
export { CheckoutEvents }
|
|
90
|
-
|
|
91
85
|
export { ConnectionState }
|
|
92
86
|
|
|
93
87
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -97,8 +91,6 @@ export { create }
|
|
|
97
91
|
|
|
98
92
|
export { DataObjectClass }
|
|
99
93
|
|
|
100
|
-
export { DiscardResult }
|
|
101
|
-
|
|
102
94
|
export { disposeSymbol }
|
|
103
95
|
|
|
104
96
|
export { DriverErrorType }
|
|
@@ -179,12 +171,6 @@ export { ObjectFromSchemaRecord }
|
|
|
179
171
|
|
|
180
172
|
export { RestrictiveReadonlyRecord }
|
|
181
173
|
|
|
182
|
-
export { Revertible }
|
|
183
|
-
|
|
184
|
-
export { RevertibleKind }
|
|
185
|
-
|
|
186
|
-
export { RevertResult }
|
|
187
|
-
|
|
188
174
|
export { SchemaFactory }
|
|
189
175
|
|
|
190
176
|
export { SharedMap }
|
|
@@ -229,6 +215,8 @@ export { TreeStatus }
|
|
|
229
215
|
|
|
230
216
|
export { TreeView }
|
|
231
217
|
|
|
218
|
+
export { TreeViewEvents }
|
|
219
|
+
|
|
232
220
|
export { type }
|
|
233
221
|
|
|
234
222
|
export { Unhydrated }
|
|
@@ -2,13 +2,11 @@ import { AllowedTypes } from '@fluidframework/tree';
|
|
|
2
2
|
import { ApplyKind } from '@fluidframework/tree';
|
|
3
3
|
import { ArrayToUnion } from '@fluidframework/tree';
|
|
4
4
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
5
|
-
import { CheckoutEvents } from '@fluidframework/tree';
|
|
6
5
|
import { ConnectionState } from '@fluidframework/container-loader';
|
|
7
6
|
import { ContainerErrorType } from '@fluidframework/container-definitions';
|
|
8
7
|
import { ContainerSchema } from '@fluidframework/fluid-static';
|
|
9
8
|
import { create } from '@fluidframework/tree';
|
|
10
9
|
import { DataObjectClass } from '@fluidframework/fluid-static';
|
|
11
|
-
import { DiscardResult } from '@fluidframework/tree';
|
|
12
10
|
import { disposeSymbol } from '@fluidframework/tree';
|
|
13
11
|
import { DriverErrorType } from '@fluidframework/driver-definitions';
|
|
14
12
|
import { Events } from '@fluidframework/tree';
|
|
@@ -49,9 +47,6 @@ import { NodeFromSchema } from '@fluidframework/tree';
|
|
|
49
47
|
import { NodeKind } from '@fluidframework/tree';
|
|
50
48
|
import { ObjectFromSchemaRecord } from '@fluidframework/tree';
|
|
51
49
|
import { RestrictiveReadonlyRecord } from '@fluidframework/tree';
|
|
52
|
-
import { Revertible } from '@fluidframework/tree';
|
|
53
|
-
import { RevertibleKind } from '@fluidframework/tree';
|
|
54
|
-
import { RevertResult } from '@fluidframework/tree';
|
|
55
50
|
import { SchemaFactory } from '@fluidframework/tree';
|
|
56
51
|
import { SharedMap } from '@fluidframework/map';
|
|
57
52
|
import { SharedObjectClass } from '@fluidframework/fluid-static';
|
|
@@ -74,6 +69,7 @@ import { TreeNodeSchemaCore } from '@fluidframework/tree';
|
|
|
74
69
|
import { TreeNodeSchemaNonClass } from '@fluidframework/tree';
|
|
75
70
|
import { TreeStatus } from '@fluidframework/tree';
|
|
76
71
|
import { TreeView } from '@fluidframework/tree';
|
|
72
|
+
import { TreeViewEvents } from '@fluidframework/tree';
|
|
77
73
|
import { type } from '@fluidframework/tree';
|
|
78
74
|
import { Unhydrated } from '@fluidframework/tree';
|
|
79
75
|
import { WithType } from '@fluidframework/tree';
|
|
@@ -86,8 +82,6 @@ export { ArrayToUnion }
|
|
|
86
82
|
|
|
87
83
|
export { AttachState }
|
|
88
84
|
|
|
89
|
-
export { CheckoutEvents }
|
|
90
|
-
|
|
91
85
|
export { ConnectionState }
|
|
92
86
|
|
|
93
87
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -97,8 +91,6 @@ export { create }
|
|
|
97
91
|
|
|
98
92
|
export { DataObjectClass }
|
|
99
93
|
|
|
100
|
-
export { DiscardResult }
|
|
101
|
-
|
|
102
94
|
export { disposeSymbol }
|
|
103
95
|
|
|
104
96
|
export { DriverErrorType }
|
|
@@ -179,12 +171,6 @@ export { ObjectFromSchemaRecord }
|
|
|
179
171
|
|
|
180
172
|
export { RestrictiveReadonlyRecord }
|
|
181
173
|
|
|
182
|
-
export { Revertible }
|
|
183
|
-
|
|
184
|
-
export { RevertibleKind }
|
|
185
|
-
|
|
186
|
-
export { RevertResult }
|
|
187
|
-
|
|
188
174
|
export { SchemaFactory }
|
|
189
175
|
|
|
190
176
|
export { SharedMap }
|
|
@@ -229,6 +215,8 @@ export { TreeStatus }
|
|
|
229
215
|
|
|
230
216
|
export { TreeView }
|
|
231
217
|
|
|
218
|
+
export { TreeViewEvents }
|
|
219
|
+
|
|
232
220
|
export { type }
|
|
233
221
|
|
|
234
222
|
export { Unhydrated }
|
|
@@ -2,13 +2,11 @@ import { AllowedTypes } from '@fluidframework/tree';
|
|
|
2
2
|
import { ApplyKind } from '@fluidframework/tree';
|
|
3
3
|
import { ArrayToUnion } from '@fluidframework/tree';
|
|
4
4
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
5
|
-
import { CheckoutEvents } from '@fluidframework/tree';
|
|
6
5
|
import { ConnectionState } from '@fluidframework/container-loader';
|
|
7
6
|
import { ContainerErrorType } from '@fluidframework/container-definitions';
|
|
8
7
|
import { ContainerSchema } from '@fluidframework/fluid-static';
|
|
9
8
|
import { create } from '@fluidframework/tree';
|
|
10
9
|
import { DataObjectClass } from '@fluidframework/fluid-static';
|
|
11
|
-
import { DiscardResult } from '@fluidframework/tree';
|
|
12
10
|
import { disposeSymbol } from '@fluidframework/tree';
|
|
13
11
|
import { DriverErrorType } from '@fluidframework/driver-definitions';
|
|
14
12
|
import { Events } from '@fluidframework/tree';
|
|
@@ -49,9 +47,6 @@ import { NodeFromSchema } from '@fluidframework/tree';
|
|
|
49
47
|
import { NodeKind } from '@fluidframework/tree';
|
|
50
48
|
import { ObjectFromSchemaRecord } from '@fluidframework/tree';
|
|
51
49
|
import { RestrictiveReadonlyRecord } from '@fluidframework/tree';
|
|
52
|
-
import { Revertible } from '@fluidframework/tree';
|
|
53
|
-
import { RevertibleKind } from '@fluidframework/tree';
|
|
54
|
-
import { RevertResult } from '@fluidframework/tree';
|
|
55
50
|
import { SchemaFactory } from '@fluidframework/tree';
|
|
56
51
|
import { SharedMap } from '@fluidframework/map';
|
|
57
52
|
import { SharedObjectClass } from '@fluidframework/fluid-static';
|
|
@@ -74,6 +69,7 @@ import { TreeNodeSchemaCore } from '@fluidframework/tree';
|
|
|
74
69
|
import { TreeNodeSchemaNonClass } from '@fluidframework/tree';
|
|
75
70
|
import { TreeStatus } from '@fluidframework/tree';
|
|
76
71
|
import { TreeView } from '@fluidframework/tree';
|
|
72
|
+
import { TreeViewEvents } from '@fluidframework/tree';
|
|
77
73
|
import { type } from '@fluidframework/tree';
|
|
78
74
|
import { Unhydrated } from '@fluidframework/tree';
|
|
79
75
|
import { WithType } from '@fluidframework/tree';
|
|
@@ -86,8 +82,6 @@ export { ArrayToUnion }
|
|
|
86
82
|
|
|
87
83
|
export { AttachState }
|
|
88
84
|
|
|
89
|
-
export { CheckoutEvents }
|
|
90
|
-
|
|
91
85
|
export { ConnectionState }
|
|
92
86
|
|
|
93
87
|
/* Excluded from this release type: ContainerErrorType */
|
|
@@ -97,8 +91,6 @@ export { create }
|
|
|
97
91
|
|
|
98
92
|
export { DataObjectClass }
|
|
99
93
|
|
|
100
|
-
export { DiscardResult }
|
|
101
|
-
|
|
102
94
|
export { disposeSymbol }
|
|
103
95
|
|
|
104
96
|
export { DriverErrorType }
|
|
@@ -179,12 +171,6 @@ export { ObjectFromSchemaRecord }
|
|
|
179
171
|
|
|
180
172
|
export { RestrictiveReadonlyRecord }
|
|
181
173
|
|
|
182
|
-
export { Revertible }
|
|
183
|
-
|
|
184
|
-
export { RevertibleKind }
|
|
185
|
-
|
|
186
|
-
export { RevertResult }
|
|
187
|
-
|
|
188
174
|
export { SchemaFactory }
|
|
189
175
|
|
|
190
176
|
export { SharedMap }
|
|
@@ -229,6 +215,8 @@ export { TreeStatus }
|
|
|
229
215
|
|
|
230
216
|
export { TreeView }
|
|
231
217
|
|
|
218
|
+
export { TreeViewEvents }
|
|
219
|
+
|
|
232
220
|
export { type }
|
|
233
221
|
|
|
234
222
|
export { Unhydrated }
|
|
@@ -2,13 +2,11 @@ import { AllowedTypes } from '@fluidframework/tree';
|
|
|
2
2
|
import { ApplyKind } from '@fluidframework/tree';
|
|
3
3
|
import { ArrayToUnion } from '@fluidframework/tree';
|
|
4
4
|
import { AttachState } from '@fluidframework/container-definitions';
|
|
5
|
-
import { CheckoutEvents } from '@fluidframework/tree';
|
|
6
5
|
import { ConnectionState } from '@fluidframework/container-loader';
|
|
7
6
|
import { ContainerErrorType } from '@fluidframework/container-definitions';
|
|
8
7
|
import { ContainerSchema } from '@fluidframework/fluid-static';
|
|
9
8
|
import { create } from '@fluidframework/tree';
|
|
10
9
|
import { DataObjectClass } from '@fluidframework/fluid-static';
|
|
11
|
-
import { DiscardResult } from '@fluidframework/tree';
|
|
12
10
|
import { disposeSymbol } from '@fluidframework/tree';
|
|
13
11
|
import { DriverErrorType } from '@fluidframework/driver-definitions';
|
|
14
12
|
import { Events } from '@fluidframework/tree';
|
|
@@ -49,9 +47,6 @@ import { NodeFromSchema } from '@fluidframework/tree';
|
|
|
49
47
|
import { NodeKind } from '@fluidframework/tree';
|
|
50
48
|
import { ObjectFromSchemaRecord } from '@fluidframework/tree';
|
|
51
49
|
import { RestrictiveReadonlyRecord } from '@fluidframework/tree';
|
|
52
|
-
import { Revertible } from '@fluidframework/tree';
|
|
53
|
-
import { RevertibleKind } from '@fluidframework/tree';
|
|
54
|
-
import { RevertResult } from '@fluidframework/tree';
|
|
55
50
|
import { SchemaFactory } from '@fluidframework/tree';
|
|
56
51
|
import { SharedMap } from '@fluidframework/map';
|
|
57
52
|
import { SharedObjectClass } from '@fluidframework/fluid-static';
|
|
@@ -74,6 +69,7 @@ import { TreeNodeSchemaCore } from '@fluidframework/tree';
|
|
|
74
69
|
import { TreeNodeSchemaNonClass } from '@fluidframework/tree';
|
|
75
70
|
import { TreeStatus } from '@fluidframework/tree';
|
|
76
71
|
import { TreeView } from '@fluidframework/tree';
|
|
72
|
+
import { TreeViewEvents } from '@fluidframework/tree';
|
|
77
73
|
import { type } from '@fluidframework/tree';
|
|
78
74
|
import { Unhydrated } from '@fluidframework/tree';
|
|
79
75
|
import { WithType } from '@fluidframework/tree';
|
|
@@ -86,8 +82,6 @@ export { ArrayToUnion }
|
|
|
86
82
|
|
|
87
83
|
export { AttachState }
|
|
88
84
|
|
|
89
|
-
export { CheckoutEvents }
|
|
90
|
-
|
|
91
85
|
export { ConnectionState }
|
|
92
86
|
|
|
93
87
|
export { ContainerErrorType }
|
|
@@ -98,8 +92,6 @@ export { create }
|
|
|
98
92
|
|
|
99
93
|
export { DataObjectClass }
|
|
100
94
|
|
|
101
|
-
export { DiscardResult }
|
|
102
|
-
|
|
103
95
|
export { disposeSymbol }
|
|
104
96
|
|
|
105
97
|
export { DriverErrorType }
|
|
@@ -180,12 +172,6 @@ export { ObjectFromSchemaRecord }
|
|
|
180
172
|
|
|
181
173
|
export { RestrictiveReadonlyRecord }
|
|
182
174
|
|
|
183
|
-
export { Revertible }
|
|
184
|
-
|
|
185
|
-
export { RevertibleKind }
|
|
186
|
-
|
|
187
|
-
export { RevertResult }
|
|
188
|
-
|
|
189
175
|
export { SchemaFactory }
|
|
190
176
|
|
|
191
177
|
export { SharedMap }
|
|
@@ -230,6 +216,8 @@ export { TreeStatus }
|
|
|
230
216
|
|
|
231
217
|
export { TreeView }
|
|
232
218
|
|
|
219
|
+
export { TreeViewEvents }
|
|
220
|
+
|
|
233
221
|
export { type }
|
|
234
222
|
|
|
235
223
|
export { Unhydrated }
|
package/lib/index.d.mts
CHANGED
|
@@ -9,6 +9,6 @@ export { ConnectionState } from "@fluidframework/container-loader";
|
|
|
9
9
|
export type { ContainerSchema, DataObjectClass, IConnection, IFluidContainer, IFluidContainerEvents, IMember, IServiceAudience, IServiceAudienceEvents, LoadableObjectClass, LoadableObjectClassRecord, LoadableObjectCtor, MemberChangedListener, SharedObjectClass, } from "@fluidframework/fluid-static";
|
|
10
10
|
export type { ISharedMap, ISharedMapEvents, IValueChanged } from "@fluidframework/map";
|
|
11
11
|
export { SharedMap } from "@fluidframework/map";
|
|
12
|
-
export type { AllowedTypes, ApplyKind, ArrayToUnion,
|
|
13
|
-
export { create,
|
|
12
|
+
export type { AllowedTypes, ApplyKind, ArrayToUnion, Events, ExtractItemType, FlexList, FlexListToUnion, IDisposable, ImplicitAllowedTypes, ImplicitFieldSchema, InsertableObjectFromSchemaRecord, InsertableTreeFieldFromImplicitField, InsertableTreeNodeFromImplicitAllowedTypes, InsertableTypedNode, IsEvent, ISubscribable, ITree, LazyItem, MakeNominal, NodeBuilderData, NodeFromSchema, ObjectFromSchemaRecord, RestrictiveReadonlyRecord, TreeApi, TreeArrayNodeBase, TreeFieldFromImplicitField, TreeLeafValue, TreeMapNode, TreeMapNodeBase, TreeNodeEvents, TreeNodeFromImplicitAllowedTypes, TreeNodeSchema, TreeNodeSchemaClass, TreeNodeSchemaCore, TreeNodeSchemaNonClass, TreeView, TreeViewEvents, Unhydrated, WithType, } from "@fluidframework/tree";
|
|
13
|
+
export { create, disposeSymbol, FieldKind, FieldSchema, IterableTreeListContent, NodeKind, SchemaFactory, SharedTree, Tree, TreeArrayNode, TreeConfiguration, TreeNode, TreeStatus, type, } from "@fluidframework/tree";
|
|
14
14
|
//# sourceMappingURL=index.d.mts.map
|
package/lib/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;YAUS,EAAE,uBAAuB,EAAE,MAAM,uCAAuC;OAC7E,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;YACtD,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B;YACzB,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB;OAC/E,EAAE,SAAS,EAAE,MAAM,qBAAqB;YAEnC,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;YAUS,EAAE,uBAAuB,EAAE,MAAM,uCAAuC;OAC7E,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;YACtD,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B;YACzB,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB;OAC/E,EAAE,SAAS,EAAE,MAAM,qBAAqB;YAEnC,EACX,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,MAAM,EACN,eAAe,EACf,QAAQ,EACR,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,gCAAgC,EAChC,oCAAoC,EACpC,0CAA0C,EAC1C,mBAAmB,EACnB,OAAO,EACP,aAAa,EACb,KAAK,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,OAAO,EACP,iBAAiB,EACjB,0BAA0B,EAC1B,aAAa,EACb,WAAW,EACX,eAAe,EACf,cAAc,EACd,gCAAgC,EAChC,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACd,UAAU,EACV,QAAQ,GACR,MAAM,sBAAsB;OACtB,EACN,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,EACX,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,IAAI,GACJ,MAAM,sBAAsB"}
|
package/lib/index.mjs
CHANGED
|
@@ -6,5 +6,5 @@ export { AttachState, ContainerErrorType } from "@fluidframework/container-defin
|
|
|
6
6
|
export { DriverErrorType } from "@fluidframework/driver-definitions";
|
|
7
7
|
export { ConnectionState } from "@fluidframework/container-loader";
|
|
8
8
|
export { SharedMap } from "@fluidframework/map";
|
|
9
|
-
export { create,
|
|
9
|
+
export { create, disposeSymbol, FieldKind, FieldSchema, IterableTreeListContent, NodeKind, SchemaFactory, SharedTree, Tree, TreeArrayNode, TreeConfiguration, TreeNode, TreeStatus, type, } from "@fluidframework/tree";
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|
package/lib/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAWI,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;OAiB3D,EAAE,SAAS,EAAE,MAAM,qBAAqB;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAWI,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;OAiB3D,EAAE,SAAS,EAAE,MAAM,qBAAqB;OA2CxC,EACN,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,EACX,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,IAAI,GACJ,MAAM,sBAAsB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use\n * when paired with a corresponding service client library (for example,\n * `\\@fluidframework/azure-client` or `\\@fluidframework/tinylicious-client`).\n *\n * @packageDocumentation\n */\n\nexport type { ICriticalContainerError } from \"@fluidframework/container-definitions\";\nexport { AttachState, ContainerErrorType } from \"@fluidframework/container-definitions\";\nexport { DriverErrorType } from \"@fluidframework/driver-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tLoadableObjectCtor,\n\tMemberChangedListener,\n\tSharedObjectClass,\n} from \"@fluidframework/fluid-static\";\nexport type { ISharedMap, ISharedMapEvents, IValueChanged } from \"@fluidframework/map\";\nexport { SharedMap } from \"@fluidframework/map\";\n\nexport type {\n\tAllowedTypes,\n\tApplyKind,\n\tArrayToUnion,\n\tEvents,\n\tExtractItemType,\n\tFlexList,\n\tFlexListToUnion,\n\tIDisposable,\n\tImplicitAllowedTypes,\n\tImplicitFieldSchema,\n\tInsertableObjectFromSchemaRecord,\n\tInsertableTreeFieldFromImplicitField,\n\tInsertableTreeNodeFromImplicitAllowedTypes,\n\tInsertableTypedNode,\n\tIsEvent,\n\tISubscribable,\n\tITree,\n\tLazyItem,\n\tMakeNominal,\n\tNodeBuilderData,\n\tNodeFromSchema,\n\tObjectFromSchemaRecord,\n\tRestrictiveReadonlyRecord,\n\tTreeApi,\n\tTreeArrayNodeBase,\n\tTreeFieldFromImplicitField,\n\tTreeLeafValue,\n\tTreeMapNode,\n\tTreeMapNodeBase,\n\tTreeNodeEvents,\n\tTreeNodeFromImplicitAllowedTypes,\n\tTreeNodeSchema,\n\tTreeNodeSchemaClass,\n\tTreeNodeSchemaCore,\n\tTreeNodeSchemaNonClass,\n\tTreeView,\n\tTreeViewEvents,\n\tUnhydrated,\n\tWithType,\n} from \"@fluidframework/tree\";\nexport {\n\tcreate,\n\tdisposeSymbol,\n\tFieldKind,\n\tFieldSchema,\n\tIterableTreeListContent,\n\tNodeKind,\n\tSchemaFactory,\n\tSharedTree,\n\tTree,\n\tTreeArrayNode,\n\tTreeConfiguration,\n\tTreeNode,\n\tTreeStatus,\n\ttype,\n} from \"@fluidframework/tree\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.0.0-rc.1.0.
|
|
3
|
+
"version": "2.0.0-rc.1.0.2",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"module": "lib/index.mjs",
|
|
68
68
|
"types": "dist/index.d.ts",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluidframework/container-definitions": ">=2.0.0-rc.1.0.
|
|
71
|
-
"@fluidframework/container-loader": ">=2.0.0-rc.1.0.
|
|
72
|
-
"@fluidframework/driver-definitions": ">=2.0.0-rc.1.0.
|
|
73
|
-
"@fluidframework/fluid-static": ">=2.0.0-rc.1.0.
|
|
74
|
-
"@fluidframework/map": ">=2.0.0-rc.1.0.
|
|
75
|
-
"@fluidframework/sequence": ">=2.0.0-rc.1.0.
|
|
76
|
-
"@fluidframework/tree": ">=2.0.0-rc.1.0.
|
|
70
|
+
"@fluidframework/container-definitions": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
71
|
+
"@fluidframework/container-loader": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
72
|
+
"@fluidframework/driver-definitions": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
73
|
+
"@fluidframework/fluid-static": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
74
|
+
"@fluidframework/map": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
75
|
+
"@fluidframework/sequence": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0",
|
|
76
|
+
"@fluidframework/tree": ">=2.0.0-rc.1.0.2 <2.0.0-rc.1.1.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arethetypeswrong/cli": "^0.13.3",
|
package/src/index.ts
CHANGED
|
@@ -37,7 +37,6 @@ export type {
|
|
|
37
37
|
AllowedTypes,
|
|
38
38
|
ApplyKind,
|
|
39
39
|
ArrayToUnion,
|
|
40
|
-
CheckoutEvents,
|
|
41
40
|
Events,
|
|
42
41
|
ExtractItemType,
|
|
43
42
|
FlexList,
|
|
@@ -58,7 +57,6 @@ export type {
|
|
|
58
57
|
NodeFromSchema,
|
|
59
58
|
ObjectFromSchemaRecord,
|
|
60
59
|
RestrictiveReadonlyRecord,
|
|
61
|
-
Revertible,
|
|
62
60
|
TreeApi,
|
|
63
61
|
TreeArrayNodeBase,
|
|
64
62
|
TreeFieldFromImplicitField,
|
|
@@ -72,19 +70,17 @@ export type {
|
|
|
72
70
|
TreeNodeSchemaCore,
|
|
73
71
|
TreeNodeSchemaNonClass,
|
|
74
72
|
TreeView,
|
|
73
|
+
TreeViewEvents,
|
|
75
74
|
Unhydrated,
|
|
76
75
|
WithType,
|
|
77
76
|
} from "@fluidframework/tree";
|
|
78
77
|
export {
|
|
79
78
|
create,
|
|
80
|
-
DiscardResult,
|
|
81
79
|
disposeSymbol,
|
|
82
80
|
FieldKind,
|
|
83
81
|
FieldSchema,
|
|
84
82
|
IterableTreeListContent,
|
|
85
83
|
NodeKind,
|
|
86
|
-
RevertibleKind,
|
|
87
|
-
RevertResult,
|
|
88
84
|
SchemaFactory,
|
|
89
85
|
SharedTree,
|
|
90
86
|
Tree,
|