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

fixes from linter

parent 9c95db14
No related branches found
No related tags found
1 merge request!77ACL
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<script setup lang="ts"> <script setup lang="ts">
import OcLayoutSimple from '@/layout/OcLayoutSimple/OcLayoutSimple.vue' import OcLayoutSimple from '@/layout/OcLayoutSimple/OcLayoutSimple.vue'
import type { OcBreadcrumbItem, OcCatalog, OcDataset } from '@/declarations' import type { OcBreadcrumbItem, OcDataset } from '@/declarations'
import { useAccountStore } from '@/stores/account' import { useAccountStore } from '@/stores/account'
import { computed, ref } from 'vue' import { computed, ref } from 'vue'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
......
...@@ -54,7 +54,6 @@ import type { OcCatalog } from '@/declarations' ...@@ -54,7 +54,6 @@ import type { OcCatalog } from '@/declarations'
import { useAccountStore } from '@/stores/account' import { useAccountStore } from '@/stores/account'
import { ref } from 'vue' import { ref } from 'vue'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { useTranslateValue } from '@/composables/useTranslateValue'
import { insertCatalog } from '@/sparql/catalog' import { insertCatalog } from '@/sparql/catalog'
import { useCommunityData } from '@/dataLoaders/community' import { useCommunityData } from '@/dataLoaders/community'
import { useAccountData } from '@/dataLoaders/account' import { useAccountData } from '@/dataLoaders/account'
...@@ -76,7 +75,6 @@ definePage({ ...@@ -76,7 +75,6 @@ definePage({
}) })
const router = useRouter() const router = useRouter()
const { translateValue } = useTranslateValue()
const accountStore = useAccountStore() const accountStore = useAccountStore()
const treeStore = useTreeStore() const treeStore = useTreeStore()
const { t } = useI18n() const { t } = useI18n()
......
...@@ -66,7 +66,6 @@ import OcLink from '@/components/OcLink.vue' ...@@ -66,7 +66,6 @@ import OcLink from '@/components/OcLink.vue'
import ProgressSpinner from 'primevue/progressspinner' import ProgressSpinner from 'primevue/progressspinner'
import Button from 'primevue/button' import Button from 'primevue/button'
import { useCatalogData } from '@/dataLoaders/catalog' import { useCatalogData } from '@/dataLoaders/catalog'
import { useTreeStore } from '@/stores/tree'
import { getCatalog, updateCatalog } from '@/sparql/catalog' import { getCatalog, updateCatalog } from '@/sparql/catalog'
import { useRoute } from 'vue-router' import { useRoute } from 'vue-router'
...@@ -83,7 +82,6 @@ const router = useRouter() ...@@ -83,7 +82,6 @@ const router = useRouter()
const route = useRoute() const route = useRoute()
const { translateValue } = useTranslateValue() const { translateValue } = useTranslateValue()
const accountStore = useAccountStore() const accountStore = useAccountStore()
const treeStore = useTreeStore()
const { t } = useI18n() const { t } = useI18n()
const { data: community } = useCommunityData() const { data: community } = useCommunityData()
......
...@@ -100,7 +100,7 @@ const { data: community } = useCommunityData() ...@@ -100,7 +100,7 @@ const { data: community } = useCommunityData()
const { t } = useI18n() const { t } = useI18n()
const { translateValue } = useTranslateValue() const { translateValue } = useTranslateValue()
const { can, cannot } = useAbility() const { cannot } = useAbility()
const account = useAccountStore() const account = useAccountStore()
......
...@@ -24,91 +24,6 @@ export const resourceContext: ContextDefinition = { ...@@ -24,91 +24,6 @@ export const resourceContext: ContextDefinition = {
} }
} }
/**
* @deprecated
*/
const resourceFullContext: ContextDefinition = {
...resourceContext,
language: {
'@id': 'http://purl.org/dc/terms/language',
'@type': '@id'
},
contactPoint: {
'@id': 'http://www.w3.org/ns/dcat#contactPoint',
'@type': '@id'
},
status: {
'@id': 'http://www.w3.org/ns/adms#status',
'@type': '@id'
},
spatial: {
'@id': 'http://purl.org/dc/terms/spatial',
'@type': '@id'
},
landingPage: {
'@id': 'http://www.w3.org/ns/dcat#landingPage',
'@type': '@id'
},
bibliographicCitation: {
'@id': 'http://purl.org/dc/terms/bibliographicCitation'
},
theme: {
'@id': 'http://www.w3.org/ns/dcat#theme',
'@type': '@id'
},
publisher: {
'@id': 'http://purl.org/dc/terms/publisher',
'@type': '@id'
},
sameAs: {
'@id': 'http://www.w3.org/2002/07/owl#sameAs',
'@type': '@id'
},
isReferencedBy: {
'@id': 'http://purl.org/dc/terms/isReferencedBy',
'@type': '@id'
},
creator: {
'@id': 'http://purl.org/dc/terms/creator',
'@type': '@id'
},
modified: {
'@id': 'http://purl.org/dc/terms/modified',
'@type': 'http://www.w3.org/2001/XMLSchema#date'
},
provenance: {
'@id': 'http://purl.org/dc/terms/provenance',
'@type': '@id'
},
temporal: {
'@id': 'http://purl.org/dc/terms/temporal',
'@type': '@id'
},
'creator@string': {
'@id': 'http://purl.org/dc/elements/1.1/creator'
},
accrualPeriodicity: {
'@id': 'http://purl.org/dc/terms/accrualPeriodicity',
'@type': '@id'
},
issued: {
'@id': 'http://purl.org/dc/terms/issued',
'@type': 'http://www.w3.org/2001/XMLSchema#date'
},
keyword: {
'@id': 'http://www.w3.org/ns/dcat#keyword',
'@container': '@language'
},
distribution: {
'@id': 'http://www.w3.org/ns/dcat#distribution',
'@type': '@id'
},
isPartOf: {
'@id': 'http://purl.org/dc/terms/isPartOf',
'@type': '@id'
}
}
/** /**
* Retrieve a non specific resource, * Retrieve a non specific resource,
* can be a dataset, catalog, service or distribution * can be a dataset, catalog, service or distribution
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment