Skip to content

Commit

Permalink
Add html-editor format in dataschema
Browse files Browse the repository at this point in the history
  • Loading branch information
Paola Nicosia committed Feb 27, 2024
1 parent e453ae0 commit 4f1e3b2
Show file tree
Hide file tree
Showing 3 changed files with 1,782 additions and 1,646 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- `dataschema`: format `html-editor` is now available

## [1.0.16] - 2024-01-28

- `customLocale` property is available in `bk-base` component
Expand Down Expand Up @@ -60,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.4] - 2023-01-31

- `dataschema` `description` field is now of type `LocalizedText`

## [1.0.3] - 2023-01-30

- `http-client` `get` and `post` methods reject the promise on `downloadAsFile` when response is not ok
Expand Down
4 changes: 3 additions & 1 deletion src/schemas/data-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export type DateFormat = 'date-time' | 'time' | 'date'

export type TextFormat = 'email' | 'uri' | 'regex' | 'password' | 'text'

export type StringFormat = DateFormat | TextFormat | 'text-area' | 'lookup'
export type EditorFormat = 'editor' | 'html-editor'

export type StringFormat = DateFormat | TextFormat | EditorFormat | 'text-area' | 'lookup'

export type ObjectFormat = 'file' | 'localized-text'

Expand Down
Loading

0 comments on commit 4f1e3b2

Please sign in to comment.