Skip to content

Commit

Permalink
fix: update ignore comments for various facade interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai committed Jan 23, 2025
1 parent d9bf795 commit 6893a9e
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
4 changes: 3 additions & 1 deletion packages/sheets-filter/src/facade/f-worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ import { SheetsFilterService } from '@univerjs/sheets-filter';
import { FWorksheet } from '@univerjs/sheets/facade';
import { FFilter } from './f-filter';

/** @ignore */
/**
* @ignore
*/
export interface IFWorksheetFilter {
/**
* Get the filter for the current worksheet.
Expand Down
4 changes: 3 additions & 1 deletion packages/sheets-sort/src/facade/f-worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ import { type IRange, RANGE_TYPE } from '@univerjs/core';
import { SortRangeCommand, SortType } from '@univerjs/sheets-sort';
import { FWorksheet } from '@univerjs/sheets/facade';

/** @ignore */
/**
* @ignore
*/
export interface IFWorksheetSort {
/**
* Sort the worksheet by the specified column.
Expand Down
3 changes: 3 additions & 0 deletions packages/sheets-ui/src/facade/f-univer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ export class FUniverSheetsUIMixin extends FUniver implements IFUniverSheetsUIMix
this._initObserverListener(injector);
}

/**
* @ignore
*/
// eslint-disable-next-line max-lines-per-function
_initObserverListener(injector: Injector): void {
const univerInstanceService = injector.get(IUniverInstanceService);
Expand Down
4 changes: 3 additions & 1 deletion packages/sheets-ui/src/facade/f-workbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import { FWorkbook } from '@univerjs/sheets/facade';
import { type IDialogPartMethodOptions, IDialogService, type ISidebarMethodOptions, ISidebarService, KeyCode } from '@univerjs/ui';
import { filter } from 'rxjs';

/** @ignore */
/**
* @ignore
*/
export interface IFWorkbookSheetsUIMixin {
/**
* Open a sidebar.
Expand Down
4 changes: 3 additions & 1 deletion packages/sheets-ui/src/facade/f-worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ import { IRenderManagerService, SHEET_VIEWPORT_KEY, sheetContentViewportKeys } f
import { ChangeZoomRatioCommand, SetWorksheetColAutoWidthCommand, SheetScrollManagerService, SheetSkeletonManagerService, SheetsScrollRenderController } from '@univerjs/sheets-ui';
import { FWorksheet } from '@univerjs/sheets/facade';

/** @ignore */
/**
* @ignore
*/
export interface IFWorksheetSkeletonMixin {
/**
* Refresh the canvas.
Expand Down
12 changes: 9 additions & 3 deletions packages/ui/src/facade/f-menu-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export interface IFacadeSubmenuItem {
order?: number;
}

/** @ignore */
/**
* @ignore
*/
type FAllMenu = FMenu | FSubmenu;

/**
Expand Down Expand Up @@ -183,7 +185,9 @@ export class FMenu extends FMenuBase {
}
}

/** @ignore */
/**
* @ignore
*/
__getSchema(): { [key: string]: MenuSchemaType } {
this._commandToRegister.forEach((command, id) => {
if (!this._commandService.hasCommand(id)) {
Expand Down Expand Up @@ -260,7 +264,9 @@ export class FSubmenu extends FMenuBase {
return this;
}

/** @ignore */
/**
* @ignore
*/
__getSchema(): { [key: string]: MenuSchemaType } {
const schema: { [key: string]: MenuSchemaType } = {};
this.addSeparator();
Expand Down

0 comments on commit 6893a9e

Please sign in to comment.