05e00d2c5c
* chore(acc): put permission gql in correct place * feat(acc): swap to new rvt import * fix(acc): add oda secrets * feat(acc): auth cookies * feat(acc): introduce integrations as workspace setting * feat(acc): create sync item from models * fix(acc): bump * fix(acc): naming lost in merge * feat(acc): no acc tab - table under settings * chore(acc): new sync but will disapper * feat(acc): see statuses over model list * chore(acc): fix return type * chore(acc): type saga * chore(acc): status badge * chore(acc): refactor acc gql (#5556) * checkpoint * fix(acc): refactor gql items * feat(acc): double button * chore(acc): gqlgen * fix(acc): model ids are not project ids * chore(acc): bump function version * chore(acc): split up clients * feat(acc): more-optimised gql folder fetching schema * feat(acc): acc folder contents gql impl * feat(acc): apollo cache optimisations * chore(acc): gqlgen * fix(acc): return something for * fix(acc): handle null values correctly * chore(acc): specify prod functions --------- Co-authored-by: Chuck Driesler <chuck@speckle.systems>
34 lines
968 B
Vue
34 lines
968 B
Vue
<template>
|
|
<section>
|
|
<SettingsSectionHeader
|
|
title="Integrations"
|
|
text="Connect your workspace to authorized applications."
|
|
/>
|
|
<IntegrationsAccCard
|
|
:workspace-id="workspaceResult?.workspaceBySlug.id || ''"
|
|
:workspace-slug="routeSlug"
|
|
></IntegrationsAccCard>
|
|
<!-- <div v-for="integration in integrations" :key="integration.cookieKey">
|
|
<IntegrationsCard
|
|
:integration="integration"
|
|
@handle-c-t-a="handleCTA(integration)"
|
|
></IntegrationsCard>
|
|
</div> -->
|
|
</section>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useQuery } from '@vue/apollo-composable'
|
|
import { settingsWorkspaceGeneralQuery } from '~/lib/settings/graphql/queries'
|
|
|
|
definePageMeta({
|
|
layout: 'settings'
|
|
})
|
|
|
|
const route = useRoute()
|
|
const routeSlug = computed(() => (route.params.slug as string) || '')
|
|
const { result: workspaceResult } = useQuery(settingsWorkspaceGeneralQuery, () => ({
|
|
slug: routeSlug.value
|
|
}))
|
|
</script>
|