Skip to content

Commit

Permalink
Update API reports
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigMacomber committed Jun 3, 2024
1 parent a36f833 commit 96dedbb
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface IConfigProviderBase {
getRawConfig(name: string): ConfigTypes;
}

// @public
// @public @sealed
export interface IDisposable {
dispose(error?: Error): void;
readonly disposed: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface IConfigProviderBase {
getRawConfig(name: string): ConfigTypes;
}

// @public
// @public @sealed
export interface IDisposable {
dispose(error?: Error): void;
readonly disposed: boolean;
Expand Down
13 changes: 3 additions & 10 deletions packages/dds/tree/api-report/tree.alpha.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { ErasedType } from '@fluidframework/core-interfaces';
import { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IFluidHandle } from '@fluidframework/core-interfaces';
import { IFluidLoadable } from '@fluidframework/core-interfaces';
import { ISharedObject } from '@fluidframework/shared-object-base/internal';
Expand Down Expand Up @@ -42,9 +43,6 @@ export interface CommitMetadata {
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
}

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -83,11 +81,6 @@ export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
// @public
export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public
export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;

Expand Down Expand Up @@ -217,7 +210,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down Expand Up @@ -445,7 +438,7 @@ export enum TreeStatus {
}

// @public
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable {
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable_2 {
readonly error?: SchemaIncompatible;
readonly events: Listenable<TreeViewEvents>;
get root(): TreeFieldFromImplicitField<TSchema>;
Expand Down
13 changes: 3 additions & 10 deletions packages/dds/tree/api-report/tree.beta.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { ErasedType } from '@fluidframework/core-interfaces';
import { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IFluidHandle } from '@fluidframework/core-interfaces';
import { IFluidLoadable } from '@fluidframework/core-interfaces';
import { ISharedObject } from '@fluidframework/shared-object-base/internal';
Expand Down Expand Up @@ -42,9 +43,6 @@ export interface CommitMetadata {
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
}

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -83,11 +81,6 @@ export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
// @public
export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public
export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;

Expand Down Expand Up @@ -217,7 +210,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down Expand Up @@ -442,7 +435,7 @@ export enum TreeStatus {
}

// @public
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable {
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable_2 {
readonly error?: SchemaIncompatible;
readonly events: Listenable<TreeViewEvents>;
get root(): TreeFieldFromImplicitField<TSchema>;
Expand Down
13 changes: 3 additions & 10 deletions packages/dds/tree/api-report/tree.public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { ErasedType } from '@fluidframework/core-interfaces';
import { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IFluidHandle } from '@fluidframework/core-interfaces';
import { IFluidLoadable } from '@fluidframework/core-interfaces';
import { ISharedObject } from '@fluidframework/shared-object-base/internal';
Expand Down Expand Up @@ -42,9 +43,6 @@ export interface CommitMetadata {
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
}

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -83,11 +81,6 @@ export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
// @public
export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public
export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;

Expand Down Expand Up @@ -217,7 +210,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down Expand Up @@ -442,7 +435,7 @@ export enum TreeStatus {
}

// @public
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable {
export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable_2 {
readonly error?: SchemaIncompatible;
readonly events: Listenable<TreeViewEvents>;
get root(): TreeFieldFromImplicitField<TSchema>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { Client } from '@fluidframework/merge-tree/internal';
import { ErasedType } from '@fluidframework/core-interfaces';
import { IChannel } from '@fluidframework/datastore-definitions/internal';
import type { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IDisposable } from '@fluidframework/core-interfaces';
import type { IErrorBase } from '@fluidframework/core-interfaces';
import { IErrorEvent } from '@fluidframework/core-interfaces';
import { IEvent } from '@fluidframework/core-interfaces';
Expand Down Expand Up @@ -105,9 +105,6 @@ export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldP
// @alpha (undocumented)
export type DeserializeCallback = (properties: PropertySet) => void;

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -163,7 +160,7 @@ export interface IConnection {
export type ICriticalContainerError = IErrorBase;

// @alpha
export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryEvents>, Partial<IDisposable_2> {
export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryEvents>, Partial<IDisposable> {
readonly absolutePath: string;
countSubDirectory?(): number;
createSubDirectory(subdirName: string): IDirectory;
Expand All @@ -190,11 +187,6 @@ export interface IDirectoryValueChanged extends IValueChanged {
path: string;
}

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public @sealed
export interface IFluidContainer<TContainerSchema extends ContainerSchema = ContainerSchema> extends IEventProvider<IFluidContainerEvents> {
attach(props?: ContainerAttachProps): Promise<string>;
Expand Down Expand Up @@ -652,7 +644,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { Client } from '@fluidframework/merge-tree/internal';
import { ErasedType } from '@fluidframework/core-interfaces';
import { IChannel } from '@fluidframework/datastore-definitions/internal';
import type { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IDisposable } from '@fluidframework/core-interfaces';
import type { IErrorBase } from '@fluidframework/core-interfaces';
import { IErrorEvent } from '@fluidframework/core-interfaces';
import { IEvent } from '@fluidframework/core-interfaces';
Expand Down Expand Up @@ -102,9 +102,6 @@ export interface ContainerSchema {
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
}

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -159,11 +156,6 @@ export interface IConnection {
// @public
export type ICriticalContainerError = IErrorBase;

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public @sealed
export interface IFluidContainer<TContainerSchema extends ContainerSchema = ContainerSchema> extends IEventProvider<IFluidContainerEvents> {
attach(props?: ContainerAttachProps): Promise<string>;
Expand Down Expand Up @@ -375,7 +367,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { Client } from '@fluidframework/merge-tree/internal';
import { ErasedType } from '@fluidframework/core-interfaces';
import { IChannel } from '@fluidframework/datastore-definitions/internal';
import type { IDisposable as IDisposable_2 } from '@fluidframework/core-interfaces';
import { IDisposable } from '@fluidframework/core-interfaces';
import type { IErrorBase } from '@fluidframework/core-interfaces';
import { IErrorEvent } from '@fluidframework/core-interfaces';
import { IEvent } from '@fluidframework/core-interfaces';
Expand Down Expand Up @@ -102,9 +102,6 @@ export interface ContainerSchema {
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
}

// @public
export const disposeSymbol: unique symbol;

// @public
export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Expand Down Expand Up @@ -159,11 +156,6 @@ export interface IConnection {
// @public
export type ICriticalContainerError = IErrorBase;

// @public
export interface IDisposable {
[disposeSymbol](): void;
}

// @public @sealed
export interface IFluidContainer<TContainerSchema extends ContainerSchema = ContainerSchema> extends IEventProvider<IFluidContainerEvents> {
attach(props?: ContainerAttachProps): Promise<string>;
Expand Down Expand Up @@ -375,7 +367,7 @@ export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {

// @public
export interface Revertible {
[disposeSymbol](): void;
dispose(): void;
revert(): void;
revert(dispose: boolean): void;
readonly status: RevertibleStatus;
Expand Down

0 comments on commit 96dedbb

Please sign in to comment.