feat: implement standardized protocol

Signed-off-by: Sebastian <krupinski01@gmail.com>
This commit is contained in:
2026-02-14 11:46:50 -05:00
parent 2a251f9b3f
commit 3599bea4c5
7 changed files with 28 additions and 39 deletions

View File

@@ -140,12 +140,12 @@ const handleCreate = async () => {
properties.subscribed = true
// Create the collection
const newFolder = await collectionsStore.createCollection({
provider: props.service.provider,
service: props.service.identifier,
collection: props.parentFolder?.identifier ?? null,
properties: properties
})
const newFolder = await collectionsStore.create(
props.service.provider,
props.service.identifier as string | number,
props.parentFolder?.identifier ?? null,
properties
)
// Success!
emit('created', newFolder)