mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 02:07:07 +00:00
- Rename `Project` => `Base` - Rename `Base` => `Source` - Remove `db` from data/meta api endpoints - Add backward compatibility for old apis - Migrations for renaming table and columns Signed-off-by: Pranav C <pranavxc@gmail.com>
20 lines
386 B
Vue
20 lines
386 B
Vue
<script lang="ts" setup>
|
|
import type { BaseType } from 'nocodb-sdk'
|
|
import { ProjectInj, ProjectRoleInj } from '#imports'
|
|
|
|
const props = defineProps<{
|
|
baseRole: string | string[]
|
|
base: BaseType
|
|
}>()
|
|
|
|
const baseRole = toRef(props, 'baseRole')
|
|
const base = toRef(props, 'base')
|
|
|
|
provide(ProjectRoleInj, baseRole)
|
|
provide(ProjectInj, base)
|
|
</script>
|
|
|
|
<template>
|
|
<slot />
|
|
</template>
|