Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

384 B
Raw Blame
<script lang="ts" setup>
import type { BaseType } from 'nocodb-sdk'

const props = withDefaults(
  defineProps<{
    baseRole: string | string[]
    base: BaseType
  }>(),
  {
    baseRole: '',
  },
)

const baseRole = toRef(props, 'baseRole')
const base = toRef(props, 'base')

provide(ProjectRoleInj, baseRole)
provide(ProjectInj, base)
</script>

<template>
  <slot />
</template>