useChannelPermissions Composable
File: src/composables/useChannelPermissions.ts
Overview
Exports
- useChannelPermissions - function export
Functions
useChannelPermissions()
No description available.
Parameters: None
Returns: void
typescript
export function useChannelPermissions()1
canViewChannel(_channelId: string)
No description available.
Parameters:
_channelId: string
Returns: Unknown
typescript
const canViewChannel = (_channelId: string) =>1
canAccessChannel(_channelId: string)
No description available.
Parameters:
_channelId: string
Returns: Unknown
typescript
const canAccessChannel = (_channelId: string) =>1
getDragCursor(itemType: 'channel' | 'category', isDragging = false)
No description available.
Parameters:
itemType: 'channel' | 'category'isDragging = false
Returns: Unknown
typescript
const getDragCursor = (itemType: 'channel' | 'category', isDragging = false) =>1
validateDragAndDrop(itemType: string, dropType: string)
No description available.
Parameters:
itemType: stringdropType: string
Returns: Unknown
typescript
const validateDragAndDrop = (itemType: string, dropType: string) =>1
Source Code Insights
File Size: 3408 characters Lines of Code: 118 Imports: 2
Usage Example
typescript
import { useChannelPermissions } from '@/composables/useChannelPermissions'
// Example usage
useChannelPermissions()1
2
3
4
2
3
4
This documentation was automatically generated from the source code.
