mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
Replace existing code in src/opencdeserver with code from the "Kontroll OpenCDE API:s server" POC project on https://github.com/marwiss/Kontroll
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from typing import List, Optional
|
||||
from pydantic import BaseModel
|
||||
from models.documents_common import Document, DocumentVersion
|
||||
|
||||
|
||||
# This file contains models that are not used at all, at least not yet.
|
||||
|
||||
|
||||
# ---- not used at all, at least not yet ----
|
||||
|
||||
|
||||
class DocumentQuery(BaseModel):
|
||||
document_ids: List[str]
|
||||
|
||||
|
||||
class DocumentUpload(Document):
|
||||
session_file_id: Optional[str]
|
||||
ifc_project: Optional[str]
|
||||
|
||||
|
||||
class MetadataForDocumentsSaved(BaseModel):
|
||||
documents: Optional[List[str]]
|
||||
|
||||
|
||||
class DocumentQueryResult(BaseModel):
|
||||
versions: List[DocumentVersion]
|
||||
Reference in New Issue
Block a user