Skip to content

Commit

Permalink
docs(tree): improve docs for move destination index argument (microso…
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-achard-MS authored Sep 26, 2024
1 parent 711a667 commit a5eb7a2
Show file tree
Hide file tree
Showing 11 changed files with 194 additions and 61 deletions.
8 changes: 4 additions & 4 deletions packages/dds/tree/api-report/tree.alpha.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,14 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToStart(sourceStart: number, sourceEnd: number): void;
moveRangeToStart(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveToEnd(sourceIndex: number): void;
moveToEnd(sourceIndex: number, source: TMoveFrom): void;
moveToIndex(index: number, sourceIndex: number): void;
moveToIndex(index: number, sourceIndex: number, source: TMoveFrom): void;
moveToIndex(destinationGap: number, sourceIndex: number): void;
moveToIndex(destinationGap: number, sourceIndex: number, source: TMoveFrom): void;
moveToStart(sourceIndex: number): void;
moveToStart(sourceIndex: number, source: TMoveFrom): void;
removeAt(index: number): void;
Expand Down
8 changes: 4 additions & 4 deletions packages/dds/tree/api-report/tree.beta.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,14 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToStart(sourceStart: number, sourceEnd: number): void;
moveRangeToStart(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveToEnd(sourceIndex: number): void;
moveToEnd(sourceIndex: number, source: TMoveFrom): void;
moveToIndex(index: number, sourceIndex: number): void;
moveToIndex(index: number, sourceIndex: number, source: TMoveFrom): void;
moveToIndex(destinationGap: number, sourceIndex: number): void;
moveToIndex(destinationGap: number, sourceIndex: number, source: TMoveFrom): void;
moveToStart(sourceIndex: number): void;
moveToStart(sourceIndex: number, source: TMoveFrom): void;
removeAt(index: number): void;
Expand Down
8 changes: 4 additions & 4 deletions packages/dds/tree/api-report/tree.legacy.alpha.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,14 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToStart(sourceStart: number, sourceEnd: number): void;
moveRangeToStart(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveToEnd(sourceIndex: number): void;
moveToEnd(sourceIndex: number, source: TMoveFrom): void;
moveToIndex(index: number, sourceIndex: number): void;
moveToIndex(index: number, sourceIndex: number, source: TMoveFrom): void;
moveToIndex(destinationGap: number, sourceIndex: number): void;
moveToIndex(destinationGap: number, sourceIndex: number, source: TMoveFrom): void;
moveToStart(sourceIndex: number): void;
moveToStart(sourceIndex: number, source: TMoveFrom): void;
removeAt(index: number): void;
Expand Down
8 changes: 4 additions & 4 deletions packages/dds/tree/api-report/tree.legacy.public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,14 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToStart(sourceStart: number, sourceEnd: number): void;
moveRangeToStart(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveToEnd(sourceIndex: number): void;
moveToEnd(sourceIndex: number, source: TMoveFrom): void;
moveToIndex(index: number, sourceIndex: number): void;
moveToIndex(index: number, sourceIndex: number, source: TMoveFrom): void;
moveToIndex(destinationGap: number, sourceIndex: number): void;
moveToIndex(destinationGap: number, sourceIndex: number, source: TMoveFrom): void;
moveToStart(sourceIndex: number): void;
moveToStart(sourceIndex: number, source: TMoveFrom): void;
removeAt(index: number): void;
Expand Down
8 changes: 4 additions & 4 deletions packages/dds/tree/api-report/tree.public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,14 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number): void;
moveRangeToEnd(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(index: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number): void;
moveRangeToIndex(destinationGap: number, sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveRangeToStart(sourceStart: number, sourceEnd: number): void;
moveRangeToStart(sourceStart: number, sourceEnd: number, source: TMoveFrom): void;
moveToEnd(sourceIndex: number): void;
moveToEnd(sourceIndex: number, source: TMoveFrom): void;
moveToIndex(index: number, sourceIndex: number): void;
moveToIndex(index: number, sourceIndex: number, source: TMoveFrom): void;
moveToIndex(destinationGap: number, sourceIndex: number): void;
moveToIndex(destinationGap: number, sourceIndex: number, source: TMoveFrom): void;
moveToStart(sourceIndex: number): void;
moveToStart(sourceIndex: number, source: TMoveFrom): void;
removeAt(index: number): void;
Expand Down
Loading

0 comments on commit a5eb7a2

Please sign in to comment.