diff --git a/src/components/AddItemModal/SourceTypeStep/constants.ts b/src/components/AddItemModal/SourceTypeStep/constants.ts index 1e9046154..56c9c680f 100644 --- a/src/components/AddItemModal/SourceTypeStep/constants.ts +++ b/src/components/AddItemModal/SourceTypeStep/constants.ts @@ -25,6 +25,10 @@ export const OptionTypes: TOption[] = [ label: 'string', value: 'string', }, + { + label: 'boolean', + value: 'boolean', + }, ] export const OPTIONS: TOption[] = [ diff --git a/src/network/fetchSourcesData/index.ts b/src/network/fetchSourcesData/index.ts index 7b0793de6..51d3cd457 100644 --- a/src/network/fetchSourcesData/index.ts +++ b/src/network/fetchSourcesData/index.ts @@ -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 {