Skip to content
Snippets Groups Projects
Commit 0d4264f6 authored by simon.mellerin's avatar simon.mellerin
Browse files

#22 - Dataset step 1 - add optional fields + FAIR

parent b8eeac9e
No related branches found
No related tags found
1 merge request!34#22 - Dataset step 1 - add optional fields + FAIR
......@@ -28,6 +28,14 @@ export const Default: Story = {
{ '@id': `freq-1-id`, prefLabel: { en: `freq 1` } },
{ '@id': `freq-2-id`, prefLabel: { en: `freq 2` } },
] as OcVocabulary[],
licenseList: [
{ '@id': `lic-1-id`, prefLabel: { en: `license 1` } },
{ '@id': `lic-2-id`, prefLabel: { en: `license 2` } },
] as OcVocabulary[],
conformsToList: [
{ '@id': `conforms-1-id`, prefLabel: { en: `conforms 1` } },
{ '@id': `conforms-2-id`, prefLabel: { en: `conforms 2` } },
] as OcVocabulary[],
languageSearchCallback: (query: string) => [{ '@id': `${query}-id`, '@type': ['https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Concept'], prefLabel: { en: `${query} lang` } } as OcVocabulary],
keywordSearchCallback: (query: string) => [`${query} keyword 1`, `${query} keyword 2`],
spatialSearchCallback: (query: string) => [{ '@id': `${query}-id`, '@type': ['https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Concept'], prefLabel: { en: `${query} spatial` } } as OcVocabulary],
......
......@@ -48,7 +48,7 @@ import { useI18n } from 'vue-i18n'
const props = defineProps({
badges: {
type: Array as PropType<OcFairValues>,
default: []
default: () => []
},
size: {
type: String as PropType<'large' | 'xlarge' | 'small'>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment