mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
488 B
24 lines
488 B
6 months ago
|
export const useOrganization = () => {
|
||
|
const workspaces = ref([])
|
||
|
const members = ref([])
|
||
|
const bases = ref([])
|
||
|
|
||
|
const { orgId } = storeToRefs(useOrg())
|
||
|
|
||
|
const listWorkspaces = async (..._args: any) => {}
|
||
|
|
||
|
const fetchOrganizationMembers = async (..._args: any) => {}
|
||
|
|
||
|
const fetchOrganizationBases = async (..._args: any) => {}
|
||
|
|
||
|
return {
|
||
|
orgId,
|
||
|
workspaces,
|
||
|
listWorkspaces,
|
||
|
fetchOrganizationMembers,
|
||
|
fetchOrganizationBases,
|
||
|
bases,
|
||
|
members,
|
||
|
}
|
||
|
}
|