plugin-constant-manager.model.ts 261 B

1234567
  1. export interface ConstantManager <K extends string | number> {
  2. addConstant: (key: K, label: string) => boolean
  3. deleteConstant: (key: K) => boolean
  4. getConstantValue: (key: K) => string
  5. getConstants: () => Record<K, string>
  6. resetConstants: () => void
  7. }