Update librarian to new API

This commit is contained in:
Cyber MacGeddon 2025-05-03 14:48:18 +01:00
parent 6bf485788a
commit 6e31d24fb1
8 changed files with 136 additions and 221 deletions

View file

@ -28,6 +28,7 @@ from . documents import Document, TextDocument
class DocumentPackage(Record):
id = String()
flow = String()
document = Bytes()
kind = String()
user = String()
@ -39,6 +40,7 @@ class DocumentPackage(Record):
class DocumentInfo(Record):
id = String()
flow = String()
kind = String()
user = String()
collection = String()
@ -55,6 +57,7 @@ class Criteria(Record):
class LibrarianRequest(Record):
operation = String()
id = String()
flow = String()
document = DocumentPackage()
user = String()
collection = String()