Skip to content

Commit

Permalink
Merge pull request #2280 from saithsab877/Add-boolean-data-type
Browse files Browse the repository at this point in the history
[Blueprint] Add Boolean Data Type to Schema
  • Loading branch information
Rassl authored Oct 8, 2024
2 parents 21cfbaa + d26cfe2 commit e6e61c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/AddItemModal/SourceTypeStep/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export const OptionTypes: TOption[] = [
label: 'string',
value: 'string',
},
{
label: 'boolean',
value: 'boolean',
},
]

export const OPTIONS: TOption[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/network/fetchSourcesData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export interface Schema {
media_url?: string
image_url?: string
source_link?: string
attributes?: { [key: string]: string }
attributes?: { [key: string]: string | boolean }
}

export interface SchemaLink {
Expand Down

0 comments on commit e6e61c0

Please sign in to comment.