Code0 LogoCodeZero

@Name

Sets the localised display name

Sets the localised display name shown in the platform UI. Accepts multiple translations.

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

Signature

@Name(...translations: Translation[]): ClassDecorator

Example

@Name(
  { code: 'en-US', content: 'My Function' },
  { code: 'de-DE', content: 'Meine Funktion' },
)
export class MyFunction extends MyRuntimeFunction {}

Applies to

Function, RuntimeFunction, Event, RuntimeEvent, DataType

On this page