Code0 LogoCodeZero

@Editable

Controls whether the item is editable in the platform UI

Controls whether the item can be edited by users in the platform UI. Defaults to true when called without arguments.

import { Editable } from '@code0-tech/hercules';

Signature

@Editable(editable?: boolean): ClassDecorator

Example

@Editable(false)
export class UserCreatedEvent extends UserCreatedRuntimeEvent {}

Applies to

Function, RuntimeFunction, Event, RuntimeEvent

On this page