Make accessible optional in HDAObject

It is probably enough to serialize the `accessible` property only when requesting collection contents displayed in the UI.
This commit is contained in:
davelopez
2024-05-24 13:43:33 +02:00
parent 810b246fbf
commit 0104764bb8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6084,7 +6084,7 @@ export interface components {
*/
HDAObject: {
/** Accessible */
accessible: boolean;
accessible?: boolean | null;
/** Copied From Ldda Id */
copied_from_ldda_id?: string | null;
/**
+1 -1
View File
@@ -939,7 +939,7 @@ class HDAObject(Model, WithModelClass):
history_id: HistoryID
tags: List[str]
copied_from_ldda_id: Optional[EncodedDatabaseIdField] = None
accessible: bool
accessible: Optional[bool] = None
model_config = ConfigDict(extra="allow")