UNPKG

@nextcloud/vue

Version:
28 lines (27 loc) 932 B
/** * Use collections composable */ export function useCollections(): { storedCollections: import('vue').Ref<never[], never[]>; fetchCollectionsByResource: ({ resourceType, resourceId }: { resourceType: any; resourceId: any; }) => Promise<void>; createCollection: ({ baseResourceType, baseResourceId, resourceType, resourceId, name }: { baseResourceType: any; baseResourceId: any; resourceType: any; resourceId: any; name: any; }) => Promise<void>; renameCollection: ({ collectionId, name }: { collectionId: any; name: any; }) => Promise<void>; addResourceToCollection: ({ collectionId, resourceType, resourceId }: any) => Promise<void>; removeResourceFromCollection: ({ collectionId, resourceType, resourceId }: { collectionId: any; resourceType: any; resourceId: any; }) => Promise<void>; };