f7
f7 is a spreadsheet formula execution library
git clone https://git.vogt.world/f7.git
Log | Files | README.md | LICENSE.md
← All files
name: src/main/js/spreadsheet/NamedRange.ts
-rw-r--r--
452
 1import { Length } from "class-validator";
 2
 3export interface INamedRange {
 4  name: string;
 5  ref: string;
 6}
 7
 8/**
 9 * A named range.
10 */
11export class NamedRange implements INamedRange {
12  /**
13   * The name of the named range.
14   */
15  @Length(1, 255)
16  name: string;
17  /**
18   * The ref of the named range that it represents.
19   */
20  @Length(1, 255)
21  ref: string;
22
23  constructor(name: string, ref: string) {
24    this.name = name;
25    this.ref = ref;
26  }
27}