fluid-framework 2.0.0-rc.3.0.3 → 2.0.0-rc.4.0.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.
- package/CHANGELOG.md +40 -0
- package/README.md +7 -0
- package/api-report/fluid-framework.api.md +78 -98
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +6 -4
- package/dist/public.d.ts +5 -2
- package/lib/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +6 -4
- package/lib/public.d.ts +5 -2
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +12 -13
- package/src/index.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# fluid-framework
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.4.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- SharedString now uses ISharedObjectKind and does not export the factory [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
8
|
+
|
|
9
|
+
Most users of `SharedString` should be unaffected as long as they stick to the factory patterns supported by ISharedObjectKind.
|
|
10
|
+
If the actual class type is needed it can be found as `SharedStringClass`.
|
|
11
|
+
|
|
12
|
+
- Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
13
|
+
|
|
14
|
+
Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
|
|
15
|
+
Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
|
|
16
|
+
|
|
17
|
+
External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
|
|
18
|
+
Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile.
|
|
19
|
+
Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
|
|
20
|
+
|
|
21
|
+
- Minor API fixes for "@fluidframework/tree" package. [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
22
|
+
|
|
23
|
+
Changes constructor for `FieldSchema` from public to private. Users should call `makeFieldSchema` to create instance of `FieldSchema`.
|
|
24
|
+
|
|
25
|
+
- Make several driver types no longer public [b7ad7d0b55](https://github.com/microsoft/FluidFramework/commit/b7ad7d0b55884dd8954abf7c398e518838b9bda0)
|
|
26
|
+
|
|
27
|
+
Move the following types from `@public` to `@alpha`:
|
|
28
|
+
|
|
29
|
+
- ITokenClaims
|
|
30
|
+
- IDocumentMessage
|
|
31
|
+
- IClientConfiguration
|
|
32
|
+
- IAnyDriverError
|
|
33
|
+
- IDriverErrorBase
|
|
34
|
+
- DriverErrorTypes
|
|
35
|
+
|
|
36
|
+
`DriverErrorTypes` is no longer exported from the `fluid-framework` package.
|
|
37
|
+
|
|
38
|
+
- Rename `AzureMember.userName` to `AzureMember.name` and `IMember.userId` to `IMember.id` [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
39
|
+
|
|
40
|
+
1. Renamed `AzureMember.userName` to `AzureMember.name` to establish uniform naming across odsp-client and azure-client.
|
|
41
|
+
2. Renamed `IMember.userId` to `IMember.id` to align with the properties received from AFR.
|
|
42
|
+
|
|
3
43
|
## 2.0.0-rc.3.0.0
|
|
4
44
|
|
|
5
45
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
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
|
+
This package reexports these APIs from other Fluid client packages reducing the number of direct package dependencies needed.
|
|
6
|
+
There are some packages there are not included as part of this `fluid-framework` package which users may want to use with this package:
|
|
7
|
+
|
|
8
|
+
- A service client (e.g. `@fluidframework/azure-client`, `@fluid-experimental/osdp-client (BETA)`, or `@fluidframework/tinylicious-client` for local development) to allow connecting to a Fluid service.
|
|
9
|
+
- Fluid Framework [developer tools](https://github.com/microsoft/FluidFramework/tree/main/packages/tools/devtools/devtools).
|
|
10
|
+
- `@fluidframework/app-insights-logger`: to route Fluid telemetry to Azure App Insights.
|
|
11
|
+
|
|
5
12
|
## Contents
|
|
6
13
|
|
|
7
14
|
The `fluid-framework` package consists primarily of two portions: the `IFluidContainer` and a selection of distributed data structures (DDSes).
|
|
@@ -6,14 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
import { Client } from '@fluidframework/merge-tree/internal';
|
|
8
8
|
import { Deferred } from '@fluidframework/core-utils/internal';
|
|
9
|
-
import {
|
|
10
|
-
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
9
|
+
import { ErasedType } from '@fluidframework/core-interfaces';
|
|
11
10
|
import { IChannel } from '@fluidframework/datastore-definitions';
|
|
12
11
|
import { IChannelAttributes } from '@fluidframework/datastore-definitions';
|
|
13
|
-
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
14
|
-
import { IChannelServices } from '@fluidframework/datastore-definitions';
|
|
12
|
+
import type { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
13
|
+
import type { IChannelServices } from '@fluidframework/datastore-definitions';
|
|
15
14
|
import { IChannelStorageService } from '@fluidframework/datastore-definitions';
|
|
16
|
-
import { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
|
|
15
|
+
import type { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
|
|
17
16
|
import type { IErrorBase } from '@fluidframework/core-interfaces';
|
|
18
17
|
import { IEvent } from '@fluidframework/core-interfaces';
|
|
19
18
|
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
@@ -31,7 +30,7 @@ import { IRelativePosition } from '@fluidframework/merge-tree/internal';
|
|
|
31
30
|
import { ISegment } from '@fluidframework/merge-tree/internal';
|
|
32
31
|
import { ISegmentAction } from '@fluidframework/merge-tree/internal';
|
|
33
32
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
34
|
-
import { ISharedObject } from '@fluidframework/shared-object-base';
|
|
33
|
+
import type { ISharedObject } from '@fluidframework/shared-object-base';
|
|
35
34
|
import { ISharedObjectEvents } from '@fluidframework/shared-object-base';
|
|
36
35
|
import { ISharedObjectKind } from '@fluidframework/shared-object-base';
|
|
37
36
|
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
|
|
@@ -55,7 +54,11 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
55
54
|
export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
|
|
56
55
|
|
|
57
56
|
// @public
|
|
58
|
-
export type ApplyKind<T, Kind extends FieldKind
|
|
57
|
+
export type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
|
|
58
|
+
[FieldKind.Required]: T;
|
|
59
|
+
[FieldKind.Optional]: T | undefined;
|
|
60
|
+
[FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
|
|
61
|
+
}[Kind];
|
|
59
62
|
|
|
60
63
|
// @public
|
|
61
64
|
export enum AttachState {
|
|
@@ -125,6 +128,10 @@ export type DataObjectClass<T extends IFluidLoadable = IFluidLoadable> = {
|
|
|
125
128
|
};
|
|
126
129
|
} & (new (...args: any[]) => T);
|
|
127
130
|
|
|
131
|
+
// @public
|
|
132
|
+
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
|
|
133
|
+
}
|
|
134
|
+
|
|
128
135
|
// @alpha (undocumented)
|
|
129
136
|
export type DeserializeCallback = (properties: PropertySet) => void;
|
|
130
137
|
|
|
@@ -141,31 +148,6 @@ export class DirectoryFactory implements IChannelFactory<ISharedDirectory> {
|
|
|
141
148
|
// @public
|
|
142
149
|
export const disposeSymbol: unique symbol;
|
|
143
150
|
|
|
144
|
-
// @public
|
|
145
|
-
export const DriverErrorTypes: {
|
|
146
|
-
readonly genericNetworkError: "genericNetworkError";
|
|
147
|
-
readonly authorizationError: "authorizationError";
|
|
148
|
-
readonly fileNotFoundOrAccessDeniedError: "fileNotFoundOrAccessDeniedError";
|
|
149
|
-
readonly offlineError: "offlineError";
|
|
150
|
-
readonly unsupportedClientProtocolVersion: "unsupportedClientProtocolVersion";
|
|
151
|
-
readonly writeError: "writeError";
|
|
152
|
-
readonly fetchFailure: "fetchFailure";
|
|
153
|
-
readonly fetchTokenError: "fetchTokenError";
|
|
154
|
-
readonly incorrectServerResponse: "incorrectServerResponse";
|
|
155
|
-
readonly fileOverwrittenInStorage: "fileOverwrittenInStorage";
|
|
156
|
-
readonly deltaStreamConnectionForbidden: "deltaStreamConnectionForbidden";
|
|
157
|
-
readonly locationRedirection: "locationRedirection";
|
|
158
|
-
readonly fluidInvalidSchema: "fluidInvalidSchema";
|
|
159
|
-
readonly fileIsLocked: "fileIsLocked";
|
|
160
|
-
readonly outOfStorageError: "outOfStorageError";
|
|
161
|
-
readonly genericError: "genericError";
|
|
162
|
-
readonly throttlingError: "throttlingError";
|
|
163
|
-
readonly usageError: "usageError";
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
// @public
|
|
167
|
-
export type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
168
|
-
|
|
169
151
|
// @public
|
|
170
152
|
export type Events<E> = {
|
|
171
153
|
[P in (string | symbol) & keyof E as IsEvent<E[P]> extends true ? P : never]: E[P];
|
|
@@ -176,21 +158,19 @@ export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Re
|
|
|
176
158
|
|
|
177
159
|
// @public
|
|
178
160
|
export enum FieldKind {
|
|
161
|
+
Identifier = 2,
|
|
179
162
|
Optional = 0,
|
|
180
163
|
Required = 1
|
|
181
164
|
}
|
|
182
165
|
|
|
183
166
|
// @public
|
|
184
167
|
export interface FieldProps {
|
|
168
|
+
readonly defaultProvider?: DefaultProvider;
|
|
185
169
|
readonly key?: string;
|
|
186
170
|
}
|
|
187
171
|
|
|
188
172
|
// @public @sealed
|
|
189
173
|
export class FieldSchema<out Kind extends FieldKind = FieldKind, out Types extends ImplicitAllowedTypes = ImplicitAllowedTypes> {
|
|
190
|
-
constructor(
|
|
191
|
-
kind: Kind,
|
|
192
|
-
allowedTypes: Types,
|
|
193
|
-
props?: FieldProps | undefined);
|
|
194
174
|
readonly allowedTypes: Types;
|
|
195
175
|
get allowedTypeSet(): ReadonlySet<TreeNodeSchema>;
|
|
196
176
|
readonly kind: Kind;
|
|
@@ -341,7 +321,7 @@ export interface IIntervalCollectionEvent<TInterval extends ISerializableInterva
|
|
|
341
321
|
// @public
|
|
342
322
|
export interface IMember {
|
|
343
323
|
readonly connections: IConnection[];
|
|
344
|
-
readonly
|
|
324
|
+
readonly id: string;
|
|
345
325
|
}
|
|
346
326
|
|
|
347
327
|
// @public
|
|
@@ -366,10 +346,10 @@ export type InsertableObjectFromSchemaRecordUnsafe<T extends Unenforced<Restrict
|
|
|
366
346
|
};
|
|
367
347
|
|
|
368
348
|
// @public
|
|
369
|
-
export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSchema = FieldSchema> = TSchema extends FieldSchema<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypes<Types>, Kind> : TSchema extends ImplicitAllowedTypes ? InsertableTreeNodeFromImplicitAllowedTypes<TSchema> : unknown;
|
|
349
|
+
export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSchema = FieldSchema> = TSchema extends FieldSchema<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypes<Types>, Kind, true> : TSchema extends ImplicitAllowedTypes ? InsertableTreeNodeFromImplicitAllowedTypes<TSchema> : unknown;
|
|
370
350
|
|
|
371
351
|
// @public
|
|
372
|
-
export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
|
|
352
|
+
export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
|
|
373
353
|
|
|
374
354
|
// @public
|
|
375
355
|
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
|
|
@@ -395,6 +375,10 @@ export interface InteriorSequencePlace {
|
|
|
395
375
|
side: Side;
|
|
396
376
|
}
|
|
397
377
|
|
|
378
|
+
// @public
|
|
379
|
+
export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
|
|
380
|
+
}
|
|
381
|
+
|
|
398
382
|
// @alpha
|
|
399
383
|
export interface IntervalIndex<TInterval extends ISerializableInterval> {
|
|
400
384
|
add(interval: TInterval): void;
|
|
@@ -520,9 +504,19 @@ export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
|
|
|
520
504
|
|
|
521
505
|
// @alpha
|
|
522
506
|
export interface ISharedString extends SharedSegmentSequence<SharedStringSegment> {
|
|
507
|
+
annotateMarker(marker: Marker, props: PropertySet): void;
|
|
508
|
+
getMarkerFromId(id: string): ISegment | undefined;
|
|
509
|
+
getText(start?: number, end?: number): string;
|
|
510
|
+
// (undocumented)
|
|
511
|
+
getTextRangeWithMarkers(start: number, end: number): string;
|
|
512
|
+
getTextWithPlaceholders(start?: number, end?: number): string;
|
|
523
513
|
insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): void;
|
|
514
|
+
insertMarkerRelative(relativePos1: IRelativePosition, refType: ReferenceType, props?: PropertySet): void;
|
|
524
515
|
insertText(pos: number, text: string, props?: PropertySet): void;
|
|
525
|
-
|
|
516
|
+
insertTextRelative(relativePos1: IRelativePosition, text: string, props?: PropertySet): void;
|
|
517
|
+
removeText(start: number, end: number): void;
|
|
518
|
+
replaceText(start: number, end: number, text: string, props?: PropertySet): void;
|
|
519
|
+
searchForMarker(startPos: number, markerLabel: string, forwards?: boolean): Marker | undefined;
|
|
526
520
|
}
|
|
527
521
|
|
|
528
522
|
// @public
|
|
@@ -637,6 +631,26 @@ export enum RevertibleStatus {
|
|
|
637
631
|
Valid = 0
|
|
638
632
|
}
|
|
639
633
|
|
|
634
|
+
// @public
|
|
635
|
+
export const rollback: unique symbol;
|
|
636
|
+
|
|
637
|
+
// @public
|
|
638
|
+
export interface RunTransaction {
|
|
639
|
+
<TNode extends TreeNode, TResult>(node: TNode, transaction: (node: TNode) => TResult): TResult;
|
|
640
|
+
<TView extends TreeView<ImplicitFieldSchema>, TResult>(tree: TView, transaction: (root: TView["root"]) => TResult): TResult;
|
|
641
|
+
<TNode extends TreeNode, TResult>(node: TNode, transaction: (node: TNode) => TResult | typeof rollback): TResult | typeof rollback;
|
|
642
|
+
<TView extends TreeView<ImplicitFieldSchema>, TResult>(tree: TView, transaction: (root: TView["root"]) => TResult | typeof rollback): TResult | typeof rollback;
|
|
643
|
+
<TNode extends TreeNode>(node: TNode, transaction: (node: TNode) => void): void;
|
|
644
|
+
<TView extends TreeView<ImplicitFieldSchema>>(tree: TView, transaction: (root: TView["root"]) => void): void;
|
|
645
|
+
<TNode extends TreeNode, TResult>(node: TNode, transaction: (node: TNode) => TResult, preconditions?: TransactionConstraint[]): TResult;
|
|
646
|
+
<TView extends TreeView<ImplicitFieldSchema>, TResult>(tree: TView, transaction: (root: TView["root"]) => TResult, preconditions?: TransactionConstraint[]): TResult;
|
|
647
|
+
<TNode extends TreeNode, TResult>(node: TNode, transaction: (node: TNode) => TResult | typeof rollback, preconditions?: TransactionConstraint[]): TResult | typeof rollback;
|
|
648
|
+
<TView extends TreeView<ImplicitFieldSchema>, TResult>(tree: TView, transaction: (root: TView["root"]) => TResult | typeof rollback, preconditions?: TransactionConstraint[]): TResult | typeof rollback;
|
|
649
|
+
<TNode extends TreeNode>(node: TNode, transaction: (node: TNode) => void, preconditions?: TransactionConstraint[]): void;
|
|
650
|
+
<TView extends TreeView<ImplicitFieldSchema>>(tree: TView, transaction: (root: TView["root"]) => void, preconditions?: TransactionConstraint[]): void;
|
|
651
|
+
readonly rollback: typeof rollback;
|
|
652
|
+
}
|
|
653
|
+
|
|
640
654
|
// @public @sealed
|
|
641
655
|
export class SchemaFactory<out TScope extends string | undefined = string | undefined, TName extends number | string = string> {
|
|
642
656
|
constructor(scope: TScope);
|
|
@@ -646,7 +660,8 @@ export class SchemaFactory<out TScope extends string | undefined = string | unde
|
|
|
646
660
|
[Symbol.iterator](): Iterator<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<T>>;
|
|
647
661
|
}, false, T>;
|
|
648
662
|
readonly boolean: TreeNodeSchema<"com.fluidframework.leaf.boolean", NodeKind.Leaf, boolean, boolean>;
|
|
649
|
-
readonly handle: TreeNodeSchema<"com.fluidframework.leaf.handle", NodeKind.Leaf, IFluidHandle<
|
|
663
|
+
readonly handle: TreeNodeSchema<"com.fluidframework.leaf.handle", NodeKind.Leaf, IFluidHandle<unknown>, IFluidHandle<unknown>>;
|
|
664
|
+
get identifier(): FieldSchema<FieldKind.Identifier>;
|
|
650
665
|
map<const T extends TreeNodeSchema | readonly TreeNodeSchema[]>(allowedTypes: T): TreeNodeSchema<ScopedSchemaName<TScope, `Map<${string}>`>, NodeKind.Map, TreeMapNode<T> & WithType<ScopedSchemaName<TScope, `Map<${string}>`>>, Iterable<[string, InsertableTreeNodeFromImplicitAllowedTypes<T>]>, true, T>;
|
|
651
666
|
map<Name extends TName, const T extends ImplicitAllowedTypes>(name: Name, allowedTypes: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Map, TreeMapNode<T> & WithType<ScopedSchemaName<TScope, Name>>, Iterable<[string, InsertableTreeNodeFromImplicitAllowedTypes<T>]>, true, T>;
|
|
652
667
|
mapRecursive<Name extends TName, const T extends Unenforced<ImplicitAllowedTypes>>(name: Name, allowedTypes: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Map, TreeMapNodeUnsafe<T> & WithType<ScopedSchemaName<TScope, Name>>, {
|
|
@@ -659,9 +674,10 @@ export class SchemaFactory<out TScope extends string | undefined = string | unde
|
|
|
659
674
|
readonly number: TreeNodeSchema<"com.fluidframework.leaf.number", NodeKind.Leaf, number, number>;
|
|
660
675
|
object<const Name extends TName, const T extends RestrictiveReadonlyRecord<string, ImplicitFieldSchema>>(name: Name, fields: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Object, TreeObjectNode<T, ScopedSchemaName<TScope, Name>>, object & InsertableObjectFromSchemaRecord<T>, true, T>;
|
|
661
676
|
objectRecursive<const Name extends TName, const T extends Unenforced<RestrictiveReadonlyRecord<string, ImplicitFieldSchema>>>(name: Name, t: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Object, TreeObjectNodeUnsafe<T, ScopedSchemaName<TScope, Name>>, object & InsertableObjectFromSchemaRecordUnsafe<T>, false, T>;
|
|
662
|
-
optional<const T extends ImplicitAllowedTypes>(t: T, props?: FieldProps): FieldSchema<FieldKind.Optional, T>;
|
|
663
|
-
optionalRecursive<const T extends Unenforced<
|
|
664
|
-
required<const T extends ImplicitAllowedTypes>(t: T, props?: FieldProps): FieldSchema<FieldKind.Required, T>;
|
|
677
|
+
optional<const T extends ImplicitAllowedTypes>(t: T, props?: Omit<FieldProps, "defaultProvider">): FieldSchema<FieldKind.Optional, T>;
|
|
678
|
+
optionalRecursive<const T extends Unenforced<ImplicitAllowedTypes>>(t: T, props?: Omit<FieldProps, "defaultProvider">): FieldSchemaUnsafe<FieldKind.Optional, T>;
|
|
679
|
+
required<const T extends ImplicitAllowedTypes>(t: T, props?: Omit<FieldProps, "defaultProvider">): FieldSchema<FieldKind.Required, T>;
|
|
680
|
+
requiredRecursive<const T extends Unenforced<ImplicitAllowedTypes>>(t: T, props?: Omit<FieldProps, "defaultProvider">): FieldSchemaUnsafe<FieldKind.Required, T>;
|
|
665
681
|
// (undocumented)
|
|
666
682
|
readonly scope: TScope;
|
|
667
683
|
readonly string: TreeNodeSchema<"com.fluidframework.leaf.string", NodeKind.Leaf, string, string>;
|
|
@@ -685,9 +701,9 @@ export class SequenceDeltaEvent extends SequenceEvent<MergeTreeDeltaOperationTyp
|
|
|
685
701
|
|
|
686
702
|
// @alpha
|
|
687
703
|
export abstract class SequenceEvent<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
|
|
688
|
-
constructor(
|
|
704
|
+
constructor(
|
|
705
|
+
deltaArgs: IMergeTreeDeltaCallbackArgs<TOperation>, mergeTreeClient: Client);
|
|
689
706
|
get clientId(): string | undefined;
|
|
690
|
-
// (undocumented)
|
|
691
707
|
readonly deltaArgs: IMergeTreeDeltaCallbackArgs<TOperation>;
|
|
692
708
|
// (undocumented)
|
|
693
709
|
readonly deltaOperation: TOperation;
|
|
@@ -736,15 +752,15 @@ export class SequenceInterval implements ISerializableInterval {
|
|
|
736
752
|
|
|
737
753
|
// @alpha
|
|
738
754
|
export class SequenceMaintenanceEvent extends SequenceEvent<MergeTreeMaintenanceType> {
|
|
739
|
-
constructor(
|
|
740
|
-
|
|
755
|
+
constructor(
|
|
756
|
+
opArgs: IMergeTreeDeltaOpArgs | undefined, deltaArgs: IMergeTreeMaintenanceCallbackArgs, mergeTreeClient: Client);
|
|
741
757
|
readonly opArgs: IMergeTreeDeltaOpArgs | undefined;
|
|
742
758
|
}
|
|
743
759
|
|
|
744
760
|
// @alpha
|
|
745
761
|
export type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
|
|
746
762
|
|
|
747
|
-
// @alpha
|
|
763
|
+
// @alpha
|
|
748
764
|
export const SharedDirectory: ISharedObjectKind<ISharedDirectory>;
|
|
749
765
|
|
|
750
766
|
// @alpha @deprecated
|
|
@@ -815,45 +831,10 @@ export abstract class SharedSegmentSequence<T extends ISegment> extends SharedOb
|
|
|
815
831
|
}
|
|
816
832
|
|
|
817
833
|
// @alpha
|
|
818
|
-
export
|
|
819
|
-
constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
|
|
820
|
-
annotateMarker(marker: Marker, props: PropertySet): void;
|
|
821
|
-
static create(runtime: IFluidDataStoreRuntime, id?: string): SharedString;
|
|
822
|
-
static getFactory(): SharedStringFactory;
|
|
823
|
-
getMarkerFromId(id: string): ISegment | undefined;
|
|
824
|
-
getText(start?: number, end?: number): string;
|
|
825
|
-
// (undocumented)
|
|
826
|
-
getTextRangeWithMarkers(start: number, end: number): string;
|
|
827
|
-
getTextWithPlaceholders(start?: number, end?: number): string;
|
|
828
|
-
// (undocumented)
|
|
829
|
-
id: string;
|
|
830
|
-
insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): void;
|
|
831
|
-
insertMarkerRelative(relativePos1: IRelativePosition, refType: ReferenceType, props?: PropertySet): void;
|
|
832
|
-
insertText(pos: number, text: string, props?: PropertySet): void;
|
|
833
|
-
insertTextRelative(relativePos1: IRelativePosition, text: string, props?: PropertySet): void;
|
|
834
|
-
// (undocumented)
|
|
835
|
-
get ISharedString(): ISharedString;
|
|
836
|
-
removeText(start: number, end: number): void;
|
|
837
|
-
replaceText(start: number, end: number, text: string, props?: PropertySet): void;
|
|
838
|
-
protected rollback(content: any, localOpMetadata: unknown): void;
|
|
839
|
-
searchForMarker(startPos: number, markerLabel: string, forwards?: boolean): Marker | undefined;
|
|
840
|
-
}
|
|
834
|
+
export const SharedString: ISharedObjectKind<ISharedString>;
|
|
841
835
|
|
|
842
|
-
// @alpha
|
|
843
|
-
export
|
|
844
|
-
// (undocumented)
|
|
845
|
-
static readonly Attributes: IChannelAttributes;
|
|
846
|
-
// (undocumented)
|
|
847
|
-
get attributes(): IChannelAttributes;
|
|
848
|
-
create(document: IFluidDataStoreRuntime, id: string): SharedString;
|
|
849
|
-
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<SharedString>;
|
|
850
|
-
// (undocumented)
|
|
851
|
-
static segmentFromSpec(spec: any): SharedStringSegment;
|
|
852
|
-
// (undocumented)
|
|
853
|
-
static Type: string;
|
|
854
|
-
// (undocumented)
|
|
855
|
-
get type(): string;
|
|
856
|
-
}
|
|
836
|
+
// @alpha
|
|
837
|
+
export type SharedString = ISharedString;
|
|
857
838
|
|
|
858
839
|
// @alpha (undocumented)
|
|
859
840
|
export type SharedStringSegment = TextSegment | Marker;
|
|
@@ -878,10 +859,7 @@ export const Tree: TreeApi;
|
|
|
878
859
|
// @public
|
|
879
860
|
export interface TreeApi extends TreeNodeApi {
|
|
880
861
|
contains(node: TreeNode, other: TreeNode): boolean;
|
|
881
|
-
runTransaction
|
|
882
|
-
runTransaction<TNode extends TreeNode>(node: TNode, transaction: (node: TNode) => void | "rollback", preconditions?: TransactionConstraint[]): void;
|
|
883
|
-
runTransaction<TView extends TreeView<ImplicitFieldSchema>>(tree: TView, transaction: (root: TView["root"]) => void | "rollback"): void;
|
|
884
|
-
runTransaction<TView extends TreeView<ImplicitFieldSchema>>(tree: TView, transaction: (root: TView["root"]) => void | "rollback", preconditions?: TransactionConstraint[]): void;
|
|
862
|
+
readonly runTransaction: RunTransaction;
|
|
885
863
|
}
|
|
886
864
|
|
|
887
865
|
// @public
|
|
@@ -895,9 +873,9 @@ export const TreeArrayNode: {
|
|
|
895
873
|
|
|
896
874
|
// @public
|
|
897
875
|
export interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<T>, TreeNode {
|
|
898
|
-
insertAt(index: number, ...value: (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
899
|
-
insertAtEnd(...value: (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
900
|
-
insertAtStart(...value: (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
876
|
+
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
877
|
+
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
878
|
+
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
901
879
|
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
|
|
902
880
|
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
|
|
903
881
|
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
|
|
@@ -934,10 +912,10 @@ export class TreeConfiguration<TSchema extends ImplicitFieldSchema = ImplicitFie
|
|
|
934
912
|
}
|
|
935
913
|
|
|
936
914
|
// @public
|
|
937
|
-
export type TreeFieldFromImplicitField<TSchema extends ImplicitFieldSchema = FieldSchema> = TSchema extends FieldSchema<infer Kind, infer Types> ? ApplyKind<TreeNodeFromImplicitAllowedTypes<Types>, Kind> : TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : unknown;
|
|
915
|
+
export type TreeFieldFromImplicitField<TSchema extends ImplicitFieldSchema = FieldSchema> = TSchema extends FieldSchema<infer Kind, infer Types> ? ApplyKind<TreeNodeFromImplicitAllowedTypes<Types>, Kind, false> : TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : unknown;
|
|
938
916
|
|
|
939
917
|
// @public
|
|
940
|
-
export type TreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<TreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind> : TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypesUnsafe<TSchema> : unknown;
|
|
918
|
+
export type TreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<TreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, false> : TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypesUnsafe<TSchema> : unknown;
|
|
941
919
|
|
|
942
920
|
// @public
|
|
943
921
|
export type TreeLeafValue = number | string | boolean | IFluidHandle | null;
|
|
@@ -957,15 +935,17 @@ export interface TreeMapNodeUnsafe<T extends Unenforced<ImplicitAllowedTypes>> e
|
|
|
957
935
|
// @public
|
|
958
936
|
export abstract class TreeNode implements WithType {
|
|
959
937
|
abstract get [type](): string;
|
|
938
|
+
protected constructor();
|
|
960
939
|
}
|
|
961
940
|
|
|
962
941
|
// @public
|
|
963
942
|
export interface TreeNodeApi {
|
|
964
|
-
is<TSchema extends
|
|
943
|
+
is<TSchema extends ImplicitAllowedTypes>(value: unknown, schema: TSchema): value is TreeNodeFromImplicitAllowedTypes<TSchema>;
|
|
965
944
|
key(node: TreeNode): string | number;
|
|
966
945
|
on<K extends keyof TreeChangeEvents>(node: TreeNode, eventName: K, listener: TreeChangeEvents[K]): () => void;
|
|
967
946
|
parent(node: TreeNode): TreeNode | undefined;
|
|
968
947
|
schema<T extends TreeNode | TreeLeafValue>(node: T): TreeNodeSchema<string, NodeKind, unknown, T>;
|
|
948
|
+
shortId(node: TreeNode): number | string | undefined;
|
|
969
949
|
readonly status: (node: TreeNode) => TreeStatus;
|
|
970
950
|
}
|
|
971
951
|
|
|
@@ -981,7 +961,7 @@ export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind =
|
|
|
981
961
|
// @public
|
|
982
962
|
export interface TreeNodeSchemaClass<out Name extends string = string, out Kind extends NodeKind = NodeKind, out TNode = unknown, in TInsertable = never, out ImplicitlyConstructable extends boolean = boolean, out Info = unknown> extends TreeNodeSchemaCore<Name, Kind, ImplicitlyConstructable, Info> {
|
|
983
963
|
// @sealed
|
|
984
|
-
new (data: TInsertable): Unhydrated<TNode>;
|
|
964
|
+
new (data: TInsertable | InternalTreeNode): Unhydrated<TNode>;
|
|
985
965
|
}
|
|
986
966
|
|
|
987
967
|
// @public
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
export type { ConnectionState as ConnectionStateType, // TODO: deduplicate ConnectionState types
|
|
12
12
|
ICriticalContainerError, } from "@fluidframework/container-definitions";
|
|
13
13
|
export { AttachState } from "@fluidframework/container-definitions";
|
|
14
|
-
export { DriverErrorTypes } from "@fluidframework/driver-definitions";
|
|
15
14
|
export { ConnectionState } from "@fluidframework/container-loader";
|
|
16
15
|
export type { ContainerAttachProps, ContainerSchema, DataObjectClass, IConnection, IFluidContainer, IFluidContainerEvents, IMember, InitialObjects, IServiceAudience, IServiceAudienceEvents, LoadableObjectClass, LoadableObjectClassRecord, MemberChangedListener, Myself, } from "@fluidframework/fluid-static";
|
|
17
16
|
export * from "@fluidframework/tree";
|
|
@@ -19,5 +18,5 @@ export { ContainerErrorTypes } from "@fluidframework/container-definitions/inter
|
|
|
19
18
|
export type { IDirectory, IDirectoryEvents, IDirectoryValueChanged, ISharedDirectory, ISharedDirectoryEvents, ISharedMap, ISharedMapEvents, IValueChanged, } from "@fluidframework/map/internal";
|
|
20
19
|
export { DirectoryFactory, MapFactory, SharedDirectory, SharedMap, } from "@fluidframework/map/internal";
|
|
21
20
|
export type { DeserializeCallback, InteriorSequencePlace, IInterval, IIntervalCollectionEvent, IIntervalCollection, IntervalIndex, IntervalStickiness, ISequenceDeltaRange, ISerializableInterval, ISerializedInterval, ISharedIntervalCollection, ISharedSegmentSequenceEvents, ISharedString, SequencePlace, SharedStringSegment, Side, } from "@fluidframework/sequence/internal";
|
|
22
|
-
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString,
|
|
21
|
+
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString, } from "@fluidframework/sequence/internal";
|
|
23
22
|
//# 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;;;;;GAKG;AAEH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,MAAM,GACN,MAAM,8BAA8B,CAAC;AAOtC,cAAc,sBAAsB,CAAC;AAKrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAErF,YAAY,EACX,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,aAAa,GACb,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACN,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACX,mBAAmB,EACnB,qBAAqB,EACrB,SAAS,EACT,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,IAAI,GACJ,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,YAAY,GACZ,MAAM,mCAAmC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,11 +18,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.
|
|
21
|
+
exports.SharedString = exports.SharedSegmentSequence = exports.SequenceMaintenanceEvent = exports.SequenceInterval = exports.SequenceEvent = exports.SequenceDeltaEvent = exports.IntervalType = exports.SharedMap = exports.SharedDirectory = exports.MapFactory = exports.DirectoryFactory = exports.ContainerErrorTypes = exports.ConnectionState = exports.AttachState = void 0;
|
|
22
22
|
var container_definitions_1 = require("@fluidframework/container-definitions");
|
|
23
23
|
Object.defineProperty(exports, "AttachState", { enumerable: true, get: function () { return container_definitions_1.AttachState; } });
|
|
24
|
-
var driver_definitions_1 = require("@fluidframework/driver-definitions");
|
|
25
|
-
Object.defineProperty(exports, "DriverErrorTypes", { enumerable: true, get: function () { return driver_definitions_1.DriverErrorTypes; } });
|
|
26
24
|
var container_loader_1 = require("@fluidframework/container-loader");
|
|
27
25
|
Object.defineProperty(exports, "ConnectionState", { enumerable: true, get: function () { return container_loader_1.ConnectionState; } });
|
|
28
26
|
// Let the tree package manage its own API surface, we will simply reflect it here.
|
|
@@ -48,5 +46,4 @@ Object.defineProperty(exports, "SequenceInterval", { enumerable: true, get: func
|
|
|
48
46
|
Object.defineProperty(exports, "SequenceMaintenanceEvent", { enumerable: true, get: function () { return internal_3.SequenceMaintenanceEvent; } });
|
|
49
47
|
Object.defineProperty(exports, "SharedSegmentSequence", { enumerable: true, get: function () { return internal_3.SharedSegmentSequence; } });
|
|
50
48
|
Object.defineProperty(exports, "SharedString", { enumerable: true, get: function () { return internal_3.SharedString; } });
|
|
51
|
-
Object.defineProperty(exports, "SharedStringFactory", { enumerable: true, get: function () { return internal_3.SharedStringFactory; } });
|
|
52
49
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAaH,+EAAoE;AAA3D,oHAAA,WAAW,OAAA;AACpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAaH,+EAAoE;AAA3D,oHAAA,WAAW,OAAA;AACpB,qEAAmE;AAA1D,mHAAA,eAAe,OAAA;AAkBxB,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,gDAAgD;AAChD,uDAAqC;AAErC,kEAAkE;AAClE,iBAAiB;AAEjB,2EAAqF;AAA5E,+GAAA,mBAAmB,OAAA;AAa5B,yDAKsC;AAJrC,4GAAA,gBAAgB,OAAA;AAChB,sGAAA,UAAU,OAAA;AACV,2GAAA,eAAe,OAAA;AACf,qGAAA,SAAS,OAAA;AAsBV,8DAQ2C;AAP1C,wGAAA,YAAY,OAAA;AACZ,8GAAA,kBAAkB,OAAA;AAClB,yGAAA,aAAa,OAAA;AACb,4GAAA,gBAAgB,OAAA;AAChB,oHAAA,wBAAwB,OAAA;AACxB,iHAAA,qBAAqB,OAAA;AACrB,wGAAA,YAAY,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client\n * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluid-experimental/osdp-client (BETA)`).\n *\n * @packageDocumentation\n */\n\nexport type {\n\tConnectionState as ConnectionStateType, // TODO: deduplicate ConnectionState types\n\tICriticalContainerError,\n} from \"@fluidframework/container-definitions\";\nexport { AttachState } from \"@fluidframework/container-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerAttachProps,\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tInitialObjects,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tMemberChangedListener,\n\tMyself,\n} from \"@fluidframework/fluid-static\";\n\n// Let the tree package manage its own API surface, we will simply reflect it here.\n// Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are\n// desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree\n// alpha` to surface everything `@alpha` and higher).\n// eslint-disable-next-line no-restricted-syntax\nexport * from \"@fluidframework/tree\";\n\n// ===============================================================\n// Legacy exports\n\nexport { ContainerErrorTypes } from \"@fluidframework/container-definitions/internal\";\n\nexport type {\n\tIDirectory,\n\tIDirectoryEvents,\n\tIDirectoryValueChanged,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map/internal\";\n\nexport {\n\tDirectoryFactory,\n\tMapFactory,\n\tSharedDirectory,\n\tSharedMap,\n} from \"@fluidframework/map/internal\";\n\nexport type {\n\tDeserializeCallback,\n\tInteriorSequencePlace,\n\tIInterval,\n\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedSegmentSequence,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n"]}
|
package/dist/legacy.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
-
// public APIs
|
|
12
|
+
// @public APIs
|
|
13
13
|
AllowedTypes,
|
|
14
14
|
ApplyKind,
|
|
15
15
|
AttachState,
|
|
@@ -20,7 +20,7 @@ export {
|
|
|
20
20
|
ContainerAttachProps,
|
|
21
21
|
ContainerSchema,
|
|
22
22
|
DataObjectClass,
|
|
23
|
-
|
|
23
|
+
DefaultProvider,
|
|
24
24
|
Events,
|
|
25
25
|
ExtractItemType,
|
|
26
26
|
FieldKind,
|
|
@@ -50,6 +50,7 @@ export {
|
|
|
50
50
|
InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
|
|
51
51
|
InsertableTypedNode,
|
|
52
52
|
InsertableTypedNodeUnsafe,
|
|
53
|
+
InternalTreeNode,
|
|
53
54
|
IsEvent,
|
|
54
55
|
IterableTreeArrayContent,
|
|
55
56
|
LazyItem,
|
|
@@ -70,6 +71,7 @@ export {
|
|
|
70
71
|
Revertible,
|
|
71
72
|
RevertibleFactory,
|
|
72
73
|
RevertibleStatus,
|
|
74
|
+
RunTransaction,
|
|
73
75
|
SchemaFactory,
|
|
74
76
|
SchemaIncompatible,
|
|
75
77
|
ScopedSchemaName,
|
|
@@ -105,9 +107,10 @@ export {
|
|
|
105
107
|
ValidateRecursiveSchema,
|
|
106
108
|
WithType,
|
|
107
109
|
disposeSymbol,
|
|
110
|
+
rollback,
|
|
108
111
|
type,
|
|
109
112
|
|
|
110
|
-
// alpha APIs
|
|
113
|
+
// @alpha APIs
|
|
111
114
|
ContainerErrorTypes,
|
|
112
115
|
DeserializeCallback,
|
|
113
116
|
DirectoryFactory,
|
|
@@ -142,7 +145,6 @@ export {
|
|
|
142
145
|
SharedMap,
|
|
143
146
|
SharedSegmentSequence,
|
|
144
147
|
SharedString,
|
|
145
|
-
SharedStringFactory,
|
|
146
148
|
SharedStringSegment,
|
|
147
149
|
Side
|
|
148
150
|
} from "./index.js";
|
package/dist/public.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
-
// public APIs
|
|
12
|
+
// @public APIs
|
|
13
13
|
AllowedTypes,
|
|
14
14
|
ApplyKind,
|
|
15
15
|
AttachState,
|
|
@@ -20,7 +20,7 @@ export {
|
|
|
20
20
|
ContainerAttachProps,
|
|
21
21
|
ContainerSchema,
|
|
22
22
|
DataObjectClass,
|
|
23
|
-
|
|
23
|
+
DefaultProvider,
|
|
24
24
|
Events,
|
|
25
25
|
ExtractItemType,
|
|
26
26
|
FieldKind,
|
|
@@ -50,6 +50,7 @@ export {
|
|
|
50
50
|
InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
|
|
51
51
|
InsertableTypedNode,
|
|
52
52
|
InsertableTypedNodeUnsafe,
|
|
53
|
+
InternalTreeNode,
|
|
53
54
|
IsEvent,
|
|
54
55
|
IterableTreeArrayContent,
|
|
55
56
|
LazyItem,
|
|
@@ -70,6 +71,7 @@ export {
|
|
|
70
71
|
Revertible,
|
|
71
72
|
RevertibleFactory,
|
|
72
73
|
RevertibleStatus,
|
|
74
|
+
RunTransaction,
|
|
73
75
|
SchemaFactory,
|
|
74
76
|
SchemaIncompatible,
|
|
75
77
|
ScopedSchemaName,
|
|
@@ -105,5 +107,6 @@ export {
|
|
|
105
107
|
ValidateRecursiveSchema,
|
|
106
108
|
WithType,
|
|
107
109
|
disposeSymbol,
|
|
110
|
+
rollback,
|
|
108
111
|
type
|
|
109
112
|
} from "./index.js";
|
package/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
export type { ConnectionState as ConnectionStateType, // TODO: deduplicate ConnectionState types
|
|
12
12
|
ICriticalContainerError, } from "@fluidframework/container-definitions";
|
|
13
13
|
export { AttachState } from "@fluidframework/container-definitions";
|
|
14
|
-
export { DriverErrorTypes } from "@fluidframework/driver-definitions";
|
|
15
14
|
export { ConnectionState } from "@fluidframework/container-loader";
|
|
16
15
|
export type { ContainerAttachProps, ContainerSchema, DataObjectClass, IConnection, IFluidContainer, IFluidContainerEvents, IMember, InitialObjects, IServiceAudience, IServiceAudienceEvents, LoadableObjectClass, LoadableObjectClassRecord, MemberChangedListener, Myself, } from "@fluidframework/fluid-static";
|
|
17
16
|
export * from "@fluidframework/tree";
|
|
@@ -19,5 +18,5 @@ export { ContainerErrorTypes } from "@fluidframework/container-definitions/inter
|
|
|
19
18
|
export type { IDirectory, IDirectoryEvents, IDirectoryValueChanged, ISharedDirectory, ISharedDirectoryEvents, ISharedMap, ISharedMapEvents, IValueChanged, } from "@fluidframework/map/internal";
|
|
20
19
|
export { DirectoryFactory, MapFactory, SharedDirectory, SharedMap, } from "@fluidframework/map/internal";
|
|
21
20
|
export type { DeserializeCallback, InteriorSequencePlace, IInterval, IIntervalCollectionEvent, IIntervalCollection, IntervalIndex, IntervalStickiness, ISequenceDeltaRange, ISerializableInterval, ISerializedInterval, ISharedIntervalCollection, ISharedSegmentSequenceEvents, ISharedString, SequencePlace, SharedStringSegment, Side, } from "@fluidframework/sequence/internal";
|
|
22
|
-
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString,
|
|
21
|
+
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString, } from "@fluidframework/sequence/internal";
|
|
23
22
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,MAAM,GACN,MAAM,8BAA8B,CAAC;AAOtC,cAAc,sBAAsB,CAAC;AAKrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAErF,YAAY,EACX,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,aAAa,GACb,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACN,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACX,mBAAmB,EACnB,qBAAqB,EACrB,SAAS,EACT,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,IAAI,GACJ,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,YAAY,GACZ,MAAM,mCAAmC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
export { AttachState } from "@fluidframework/container-definitions";
|
|
6
|
-
export { DriverErrorTypes } from "@fluidframework/driver-definitions";
|
|
7
6
|
export { ConnectionState } from "@fluidframework/container-loader";
|
|
8
7
|
// Let the tree package manage its own API surface, we will simply reflect it here.
|
|
9
8
|
// Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are
|
|
@@ -15,5 +14,5 @@ export * from "@fluidframework/tree";
|
|
|
15
14
|
// Legacy exports
|
|
16
15
|
export { ContainerErrorTypes } from "@fluidframework/container-definitions/internal";
|
|
17
16
|
export { DirectoryFactory, MapFactory, SharedDirectory, SharedMap, } from "@fluidframework/map/internal";
|
|
18
|
-
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString,
|
|
17
|
+
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedSegmentSequence, SharedString, } from "@fluidframework/sequence/internal";
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAaH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAaH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAkBnE,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,gDAAgD;AAChD,cAAc,sBAAsB,CAAC;AAErC,kEAAkE;AAClE,iBAAiB;AAEjB,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAarF,OAAO,EACN,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,8BAA8B,CAAC;AAqBtC,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,YAAY,GACZ,MAAM,mCAAmC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client\n * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluid-experimental/osdp-client (BETA)`).\n *\n * @packageDocumentation\n */\n\nexport type {\n\tConnectionState as ConnectionStateType, // TODO: deduplicate ConnectionState types\n\tICriticalContainerError,\n} from \"@fluidframework/container-definitions\";\nexport { AttachState } from \"@fluidframework/container-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerAttachProps,\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tInitialObjects,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tMemberChangedListener,\n\tMyself,\n} from \"@fluidframework/fluid-static\";\n\n// Let the tree package manage its own API surface, we will simply reflect it here.\n// Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are\n// desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree\n// alpha` to surface everything `@alpha` and higher).\n// eslint-disable-next-line no-restricted-syntax\nexport * from \"@fluidframework/tree\";\n\n// ===============================================================\n// Legacy exports\n\nexport { ContainerErrorTypes } from \"@fluidframework/container-definitions/internal\";\n\nexport type {\n\tIDirectory,\n\tIDirectoryEvents,\n\tIDirectoryValueChanged,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map/internal\";\n\nexport {\n\tDirectoryFactory,\n\tMapFactory,\n\tSharedDirectory,\n\tSharedMap,\n} from \"@fluidframework/map/internal\";\n\nexport type {\n\tDeserializeCallback,\n\tInteriorSequencePlace,\n\tIInterval,\n\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedSegmentSequence,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n"]}
|
package/lib/legacy.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
-
// public APIs
|
|
12
|
+
// @public APIs
|
|
13
13
|
AllowedTypes,
|
|
14
14
|
ApplyKind,
|
|
15
15
|
AttachState,
|
|
@@ -20,7 +20,7 @@ export {
|
|
|
20
20
|
ContainerAttachProps,
|
|
21
21
|
ContainerSchema,
|
|
22
22
|
DataObjectClass,
|
|
23
|
-
|
|
23
|
+
DefaultProvider,
|
|
24
24
|
Events,
|
|
25
25
|
ExtractItemType,
|
|
26
26
|
FieldKind,
|
|
@@ -50,6 +50,7 @@ export {
|
|
|
50
50
|
InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
|
|
51
51
|
InsertableTypedNode,
|
|
52
52
|
InsertableTypedNodeUnsafe,
|
|
53
|
+
InternalTreeNode,
|
|
53
54
|
IsEvent,
|
|
54
55
|
IterableTreeArrayContent,
|
|
55
56
|
LazyItem,
|
|
@@ -70,6 +71,7 @@ export {
|
|
|
70
71
|
Revertible,
|
|
71
72
|
RevertibleFactory,
|
|
72
73
|
RevertibleStatus,
|
|
74
|
+
RunTransaction,
|
|
73
75
|
SchemaFactory,
|
|
74
76
|
SchemaIncompatible,
|
|
75
77
|
ScopedSchemaName,
|
|
@@ -105,9 +107,10 @@ export {
|
|
|
105
107
|
ValidateRecursiveSchema,
|
|
106
108
|
WithType,
|
|
107
109
|
disposeSymbol,
|
|
110
|
+
rollback,
|
|
108
111
|
type,
|
|
109
112
|
|
|
110
|
-
// alpha APIs
|
|
113
|
+
// @alpha APIs
|
|
111
114
|
ContainerErrorTypes,
|
|
112
115
|
DeserializeCallback,
|
|
113
116
|
DirectoryFactory,
|
|
@@ -142,7 +145,6 @@ export {
|
|
|
142
145
|
SharedMap,
|
|
143
146
|
SharedSegmentSequence,
|
|
144
147
|
SharedString,
|
|
145
|
-
SharedStringFactory,
|
|
146
148
|
SharedStringSegment,
|
|
147
149
|
Side
|
|
148
150
|
} from "./index.js";
|
package/lib/public.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
-
// public APIs
|
|
12
|
+
// @public APIs
|
|
13
13
|
AllowedTypes,
|
|
14
14
|
ApplyKind,
|
|
15
15
|
AttachState,
|
|
@@ -20,7 +20,7 @@ export {
|
|
|
20
20
|
ContainerAttachProps,
|
|
21
21
|
ContainerSchema,
|
|
22
22
|
DataObjectClass,
|
|
23
|
-
|
|
23
|
+
DefaultProvider,
|
|
24
24
|
Events,
|
|
25
25
|
ExtractItemType,
|
|
26
26
|
FieldKind,
|
|
@@ -50,6 +50,7 @@ export {
|
|
|
50
50
|
InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
|
|
51
51
|
InsertableTypedNode,
|
|
52
52
|
InsertableTypedNodeUnsafe,
|
|
53
|
+
InternalTreeNode,
|
|
53
54
|
IsEvent,
|
|
54
55
|
IterableTreeArrayContent,
|
|
55
56
|
LazyItem,
|
|
@@ -70,6 +71,7 @@ export {
|
|
|
70
71
|
Revertible,
|
|
71
72
|
RevertibleFactory,
|
|
72
73
|
RevertibleStatus,
|
|
74
|
+
RunTransaction,
|
|
73
75
|
SchemaFactory,
|
|
74
76
|
SchemaIncompatible,
|
|
75
77
|
ScopedSchemaName,
|
|
@@ -105,5 +107,6 @@ export {
|
|
|
105
107
|
ValidateRecursiveSchema,
|
|
106
108
|
WithType,
|
|
107
109
|
disposeSymbol,
|
|
110
|
+
rollback,
|
|
108
111
|
type
|
|
109
112
|
} from "./index.js";
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.4.0.1",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
"main": "lib/index.js",
|
|
38
38
|
"types": "lib/public.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluidframework/container-definitions": ">=2.0.0-rc.
|
|
41
|
-
"@fluidframework/container-loader": ">=2.0.0-rc.
|
|
42
|
-
"@fluidframework/driver-definitions": ">=2.0.0-rc.
|
|
43
|
-
"@fluidframework/fluid-static": ">=2.0.0-rc.
|
|
44
|
-
"@fluidframework/map": ">=2.0.0-rc.
|
|
45
|
-
"@fluidframework/sequence": ">=2.0.0-rc.
|
|
46
|
-
"@fluidframework/tree": ">=2.0.0-rc.
|
|
40
|
+
"@fluidframework/container-definitions": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
41
|
+
"@fluidframework/container-loader": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
42
|
+
"@fluidframework/driver-definitions": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
43
|
+
"@fluidframework/fluid-static": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
44
|
+
"@fluidframework/map": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
45
|
+
"@fluidframework/sequence": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0",
|
|
46
|
+
"@fluidframework/tree": ">=2.0.0-rc.4.0.1 <2.0.0-rc.4.1.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
50
50
|
"@biomejs/biome": "^1.6.2",
|
|
51
|
-
"@fluid-tools/build-cli": "^0.
|
|
51
|
+
"@fluid-tools/build-cli": "^0.38.0",
|
|
52
52
|
"@fluidframework/build-common": "^2.0.3",
|
|
53
|
-
"@fluidframework/build-tools": "^0.
|
|
53
|
+
"@fluidframework/build-tools": "^0.38.0",
|
|
54
54
|
"@fluidframework/eslint-config-fluid": "^5.1.0",
|
|
55
|
-
"@microsoft/api-extractor": "^7.
|
|
55
|
+
"@microsoft/api-extractor": "^7.43.1",
|
|
56
56
|
"@types/node": "^18.19.0",
|
|
57
57
|
"copyfiles": "^2.4.1",
|
|
58
58
|
"eslint": "~8.55.0",
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"fluidBuild": {
|
|
64
64
|
"tasks": {
|
|
65
65
|
"tsc": [
|
|
66
|
-
"...",
|
|
67
66
|
"typetests:gen"
|
|
68
67
|
]
|
|
69
68
|
}
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
"lint": "fluid-build . --task lint",
|
|
94
93
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
95
94
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
96
|
-
"typetests:gen": "
|
|
95
|
+
"typetests:gen": "flub generate typetests --dir . -v --publicFallback",
|
|
97
96
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
98
97
|
}
|
|
99
98
|
}
|
package/src/index.ts
CHANGED
|
@@ -15,7 +15,6 @@ export type {
|
|
|
15
15
|
ICriticalContainerError,
|
|
16
16
|
} from "@fluidframework/container-definitions";
|
|
17
17
|
export { AttachState } from "@fluidframework/container-definitions";
|
|
18
|
-
export { DriverErrorTypes } from "@fluidframework/driver-definitions";
|
|
19
18
|
export { ConnectionState } from "@fluidframework/container-loader";
|
|
20
19
|
export type {
|
|
21
20
|
ContainerAttachProps,
|
|
@@ -91,5 +90,4 @@ export {
|
|
|
91
90
|
SequenceMaintenanceEvent,
|
|
92
91
|
SharedSegmentSequence,
|
|
93
92
|
SharedString,
|
|
94
|
-
SharedStringFactory,
|
|
95
93
|
} from "@fluidframework/sequence/internal";
|