mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 06:46:51 +00:00
refactor: rename project and base
- 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>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ProjectType } from 'nocodb-sdk'
|
||||
import type { BaseType } from 'nocodb-sdk'
|
||||
import { ProjectInj, ProjectRoleInj } from '#imports'
|
||||
|
||||
const props = defineProps<{
|
||||
projectRole: string | string[]
|
||||
project: ProjectType
|
||||
baseRole: string | string[]
|
||||
base: BaseType
|
||||
}>()
|
||||
|
||||
const projectRole = toRef(props, 'projectRole')
|
||||
const project = toRef(props, 'project')
|
||||
const baseRole = toRef(props, 'baseRole')
|
||||
const base = toRef(props, 'base')
|
||||
|
||||
provide(ProjectRoleInj, projectRole)
|
||||
provide(ProjectInj, project)
|
||||
provide(ProjectRoleInj, baseRole)
|
||||
provide(ProjectInj, base)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user