mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 03:46:52 +00:00
* fix: get rid of barrel files * chore: get rid of explicit imports * fix: use explicit import for classes and enums * fix: use explicit import for enum & class & aliases * fix: build issues
24 lines
384 B
Vue
24 lines
384 B
Vue
<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>
|