Skip to content

Commit

Permalink
feat: Add Custom Field setters for Text, Votes, Ratings, Numbers,
Browse files Browse the repository at this point in the history
Checkboxes, Dates, and Links.
  • Loading branch information
adam-coster committed Aug 26, 2021
1 parent b942aa8 commit e854e97
Show file tree
Hide file tree
Showing 13 changed files with 716 additions and 308 deletions.
19 changes: 10 additions & 9 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@
### TODOs

- Setters for Custom Field Value setters (in priority order):
- Text
- Status
- ✅ Text
- ✅ Vote
- ✅ Rating
- ✅ Number
- ✅ Checkbox
- ✅ Date
- ✅ Link
- 😒 Status
- Members
- Tags
- Number
- Checkbox
- Date
- Multiple select
- Link
- Time
- Timeline
- Vote
- Rating
- ~~Time~~ (only used in Enterprise)
- Are custom fields unsettable? Maybe by sending a `null`?

### Feature List

Expand Down
2 changes: 1 addition & 1 deletion src/lib/BravoClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
stringsMatch,
} from './utility.js';
import { BravoCollection } from './entities/BravoCollection';
import { BravoUser } from '$entities/users';
import { BravoUser } from '$/lib/entities/BravoUser';
import { BravoOrganization } from '$entities/BravoOrganization';
import { BravoWidget } from '$entities/BravoWidget.js';
import type { DataFavroWidget } from '$/types/FavroWidgetTypes.js';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/clientLib/BravoClientCache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { assertBravoClaim } from '$lib/errors.js';
import type { BravoOrganization } from '$entities/BravoOrganization.js';
import type { BravoUser } from '$entities/users';
import type { BravoUser } from '$/lib/entities/BravoUser';
import type { BravoCollection } from '$entities/BravoCollection.js';
import type {
BravoResponseCustomFields,
Expand Down
Loading

0 comments on commit e854e97

Please sign in to comment.