API Reference
@univerjs
@univerjs/sheets
classes
Worksheetviewpermission

@univerjs/sheets v0.4.2Docs


Class: WorksheetViewPermission

Implements

Constructors

new WorksheetViewPermission()

new WorksheetViewPermission(unitId, subUnitId): WorksheetViewPermission

Parameters

ParameterType
unitIdstring
subUnitIdstring

Returns

WorksheetViewPermission

Defined in

packages/sheets/src/services/permission/permission-point/worksheet/view.ts:27 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueDefined in
idpublicstringundefinedpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:25 (opens in a new tab)
statuspublicPermissionStatusPermissionStatus.INITpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:24 (opens in a new tab)
subTypepublicUnitActionUnitAction.Viewpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:26 (opens in a new tab)
subUnitIdpublicstringundefinedpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:27 (opens in a new tab)
typepublicUnitObjectUnitObject.Worksheetpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:23 (opens in a new tab)
unitIdpublicstringundefinedpackages/sheets/src/services/permission/permission-point/worksheet/view.ts:27 (opens in a new tab)
valuepublicbooleantruepackages/sheets/src/services/permission/permission-point/worksheet/view.ts:22 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.