Browse Source

refactor(nocodb): implements SelectOptionType

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
fd7118bf6a
  1. 6
      packages/nocodb/src/lib/models/SelectOption.ts

6
packages/nocodb/src/lib/models/SelectOption.ts

@ -2,8 +2,10 @@ import Noco from '../Noco';
import NocoCache from '../cache/NocoCache';
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals';
import { extractProps } from '../meta/helpers/extractProps';
import type { SelectOptionType } from 'nocodb-sdk';
export default class SelectOption {
export default class SelectOption implements SelectOptionType {
id: string;
title: string;
fk_column_id: string;
color: string;
@ -110,6 +112,4 @@ export default class SelectOption {
return data && new SelectOption(data);
}
id: string;
}

Loading…
Cancel
Save