diff --git a/packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md b/packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md index e76ae59b47b6..75f9bc337440 100644 --- a/packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md +++ b/packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md @@ -1100,6 +1100,7 @@ export interface TreeBranch extends IDisposable { // @alpha @sealed export interface TreeBranchEvents { + changed(data: CommitMetadata, getRevertible?: RevertibleFactory): void; commitApplied(data: CommitMetadata, getRevertible?: RevertibleFactory): void; schemaChanged(): void; } @@ -1248,7 +1249,9 @@ export interface TreeView extends ID } // @alpha @sealed -export interface TreeViewAlpha extends Omit>, "root" | "initialize">, Omit { +export interface TreeViewAlpha extends Omit>, "root" | "initialize">, TreeBranch { + // (undocumented) + readonly events: Listenable; // (undocumented) fork(): ReturnType & TreeViewAlpha; // (undocumented) @@ -1270,8 +1273,6 @@ export class TreeViewConfiguration { const { container } = await client.createContainer(schema, "2"); await container.attach(); - const view = asTreeViewAlpha(container.initialObjects.tree1.viewWith( - new TreeViewConfiguration({ schema: User, enableSchemaValidation: true }), - )); + const view = asTreeViewAlpha( + container.initialObjects.tree1.viewWith( + new TreeViewConfiguration({ schema: User, enableSchemaValidation: true }), + ), + ); view.initialize( new User({