Skip to content

Commit

Permalink
fix: change colour attribute type in InternalTag c
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-from-cheng[bot] authored Oct 31, 2023
1 parent 1282b7a commit 70f7635
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions typescript/src/internal_tag.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Entity } from './entity';
import { Field } from './field';

export class InternalTag extends Entity {
protected static resourceName: string = 'internal_tags';
protected static singularName: string = 'internalTag';
protected static pluralName: string = 'internalTags';

@Field.d({readonly: true})
public id: number;
@Field.d()
public name: string;
@Field.d()
public colour = new Field<string>(this);
@Field.d()
public description: string;
}

0 comments on commit 70f7635

Please sign in to comment.