dmart 1.4.40.post32__py3-none-any.whl → 1.4.41.post34__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. dmart/alembic/__pycache__/__init__.cpython-314.pyc +0 -0
  2. dmart/alembic/__pycache__/env.cpython-314.pyc +0 -0
  3. dmart/alembic/versions/__pycache__/0f3d2b1a7c21_add_authz_materialized_views.cpython-314.pyc +0 -0
  4. dmart/alembic/versions/__pycache__/10d2041b94d4_last_checksum_history.cpython-314.pyc +0 -0
  5. dmart/alembic/versions/__pycache__/1cf4e1ee3cb8_ext_permission_with_filter_fields_values.cpython-314.pyc +0 -0
  6. dmart/alembic/versions/__pycache__/26bfe19b49d4_rm_failedloginattempts.cpython-314.pyc +0 -0
  7. dmart/alembic/versions/__pycache__/3c8bca2219cc_add_otp_table.cpython-314.pyc +0 -0
  8. dmart/alembic/versions/__pycache__/6675fd9dfe42_remove_unique_from_sessions_table.cpython-314.pyc +0 -0
  9. dmart/alembic/versions/__pycache__/71bc1df82e6a_adding_user_last_login_at.cpython-314.pyc +0 -0
  10. dmart/alembic/versions/__pycache__/74288ccbd3b5_initial.cpython-314.pyc +0 -0
  11. dmart/alembic/versions/__pycache__/7520a89a8467_rm_activesession_table.cpython-314.pyc +0 -0
  12. dmart/alembic/versions/__pycache__/848b623755a4_make_created_nd_updated_at_required.cpython-314.pyc +0 -0
  13. dmart/alembic/versions/__pycache__/8640dcbebf85_add_notes_to_users.cpython-314.pyc +0 -0
  14. dmart/alembic/versions/__pycache__/91c94250232a_adding_fk_on_owner_shortname.cpython-314.pyc +0 -0
  15. dmart/alembic/versions/__pycache__/98ecd6f56f9a_ext_meta_with_owner_group_shortname.cpython-314.pyc +0 -0
  16. dmart/alembic/versions/__pycache__/9aae9138c4ef_indexing_created_at_updated_at.cpython-314.pyc +0 -0
  17. dmart/alembic/versions/__pycache__/b53f916b3f6d_json_to_jsonb.cpython-314.pyc +0 -0
  18. dmart/alembic/versions/__pycache__/eb5f1ec65156_adding_user_locked_to_device.cpython-314.pyc +0 -0
  19. dmart/alembic/versions/__pycache__/f7a4949eed19_adding_query_policies_to_meta.cpython-314.pyc +0 -0
  20. dmart/api/managed/utils.py +2 -2
  21. dmart/api/user/router.py +1 -1
  22. dmart/config.env.sample +5 -22
  23. dmart/cxb/assets/@codemirror-prKQ1WbH.js +10 -0
  24. dmart/cxb/assets/@edraj-D-9hi9vU.js +1 -0
  25. dmart/cxb/assets/@jsonquerylang-CFfSvstT.js +12 -0
  26. dmart/cxb/assets/@lezer-Bz8YN7GE.js +1 -0
  27. dmart/cxb/assets/{@replit--ERk53eB.js → @replit-27NbNvJz.js} +1 -1
  28. dmart/cxb/assets/{@roxi-CGMFK4i8.js → @roxi-Bw7qXphd.js} +1 -1
  29. dmart/cxb/assets/{@zerodevx-BlBZjKxu.js → @zerodevx-z992vLW9.js} +1 -1
  30. dmart/cxb/assets/{BreadCrumbLite-ClLCZ5eT.js → BreadCrumbLite-28-Sst8b.js} +1 -1
  31. dmart/cxb/assets/{EntryRenderer-9GXyhIWz.js → EntryRenderer-gOGY0M8V.js} +1 -1
  32. dmart/cxb/assets/{ListView-DZFUWyVb.js → ListView-Ctq2bVYW.js} +2 -2
  33. dmart/cxb/assets/{Prism--hMplq-p.js → Prism-DbpuKlij.js} +1 -1
  34. dmart/cxb/assets/Table2Cols-IRZ18UvF.js +1 -0
  35. dmart/cxb/assets/{_...404_-fuLH_rX9.js → _...404_-lSd1jtj4.js} +1 -1
  36. dmart/cxb/assets/_...fallback_-De94gS6U.js +1 -0
  37. dmart/cxb/assets/{_module-BwgDn_st.js → _module-CPGJEbyo.js} +1 -1
  38. dmart/cxb/assets/{_module-BTyKyzwE.js → _module-CRNnKJ_Y.js} +3 -3
  39. dmart/cxb/assets/{_module-DBPRg0LH.js → _module-ziANIEpM.js} +1 -1
  40. dmart/cxb/assets/{codemirror-wrapped-line-indent-DPhKvljI.js → codemirror-wrapped-line-indent-CCR8a-tt.js} +1 -1
  41. dmart/cxb/assets/{compare-C3AjiGFR.js → compare-C3mJz3fJ.js} +1 -1
  42. dmart/cxb/assets/{dmart_services-AL6-IdDE.js → dmart_services-BTWOtb9Z.js} +1 -1
  43. dmart/cxb/assets/export-C-4WE2nV.js +1 -0
  44. dmart/cxb/assets/flowbite-svelte-Caf58qKG.js +1 -0
  45. dmart/cxb/assets/{flowbite-svelte-icons-D8uFOOjS.js → flowbite-svelte-icons-DXemwXNH.js} +1 -1
  46. dmart/cxb/assets/{global-igKv-1g9.js → global-CF7LWRdS.js} +1 -1
  47. dmart/cxb/assets/import-BMOPDoXp.js +1 -0
  48. dmart/cxb/assets/{index-DtiCmB4o.js → index-BAsZYsRz.js} +1 -1
  49. dmart/cxb/assets/{index-CC-A1ipE.js → index-BBCAZYiv.js} +1 -1
  50. dmart/cxb/assets/{index-BWN92sjI.js → index-BJ8k452_.js} +4 -4
  51. dmart/cxb/assets/{index-xuuZoPt8.js → index-BUIZc0eo.js} +1 -1
  52. dmart/cxb/assets/{index-BejgdGl7.js → index-Ba1QyM6b.js} +1 -1
  53. dmart/cxb/assets/{index-Du1Yp_ew.js → index-BhRFcH0w.js} +1 -1
  54. dmart/cxb/assets/{index-UMAHQJV7.js → index-C2qX9HoV.js} +1 -1
  55. dmart/cxb/assets/{index-DTfhnhwd.js → index-CDaVHY1H.js} +1 -1
  56. dmart/cxb/assets/{index-BdeNM69f.js → index-C_qmKy7R.js} +1 -1
  57. dmart/cxb/assets/index-CbbMUQaM.css +2 -0
  58. dmart/cxb/assets/{index-CJk5Ul2Q.js → index-CsFEfUT6.js} +1 -1
  59. dmart/cxb/assets/{index-CIUfy6RC.js → index-DVbd0rhr.js} +1 -1
  60. dmart/cxb/assets/index-DtR8jRRM.js +1 -0
  61. dmart/cxb/assets/{index-DQmwVe-X.js → index-Eaqb7YHm.js} +1 -1
  62. dmart/cxb/assets/{info-Dd-l-jS9.js → info-B3CPbnSo.js} +1 -1
  63. dmart/cxb/assets/{jsonrepair-B30Dx381.js → jsonrepair-DJT3kRBj.js} +6 -6
  64. dmart/cxb/assets/{pagination-svelte-D5CyoiE_.js → pagination-svelte-D8AVMXcz.js} +1 -1
  65. dmart/cxb/assets/{profile-BUf-tKMe.js → profile-uY5zsYbu.js} +1 -1
  66. dmart/cxb/assets/{query-BSLdkT80.js → query-Ck7rjPsV.js} +1 -1
  67. dmart/cxb/assets/spaces-5QYuv6aM.js +1 -0
  68. dmart/cxb/assets/svelte-B9Ye91X-.js +4 -0
  69. dmart/cxb/assets/{svelte-awesome-DhnMA6Q_.js → svelte-awesome-DpV9QpGy.js} +1 -1
  70. dmart/cxb/assets/{svelte-datatables-net-CY7LBj6I.js → svelte-datatables-net-PrmrsOQE.js} +1 -1
  71. dmart/cxb/assets/{svelte-floating-ui-BlS3sOAQ.js → svelte-floating-ui-BWukrOq5.js} +1 -1
  72. dmart/cxb/assets/{svelte-i18n-CT2KkQaN.js → svelte-i18n-CZ4cFDVx.js} +1 -1
  73. dmart/cxb/assets/{svelte-jsoneditor-BzfX6Usi.css → svelte-jsoneditor-6jH6h6zi.css} +1 -1
  74. dmart/cxb/assets/{svelte-jsoneditor-CUGSvWId.js → svelte-jsoneditor-BdDDhQGI.js} +1 -1
  75. dmart/cxb/assets/{svelte-select-CjHAt_85.js → svelte-select-BDtNxMKN.js} +2 -2
  76. dmart/cxb/assets/toast-nP_bUL2P.js +1 -0
  77. dmart/cxb/assets/{typewriter-editor-DkTVIJdm.js → typewriter-editor-Do-KAaNp.js} +1 -1
  78. dmart/cxb/assets/{user-DeK_NB5v.js → user-BQpJ6b6h.js} +1 -1
  79. dmart/cxb/config.json +1 -2
  80. dmart/cxb/index.html +6 -6
  81. dmart/data_adapters/sql/adapter.py +19 -2
  82. dmart/dmart.py +106 -46
  83. dmart/fast.py +6 -0
  84. dmart/info.json +1 -1
  85. dmart/main.py +5 -0
  86. dmart/my.py +11 -0
  87. dmart/publish.sh +2 -2
  88. dmart/sample/spaces/applications/.dm/meta.space.json +24 -29
  89. dmart/sample/spaces/applications/api/.dm/meta.folder.json +18 -1
  90. dmart/sample/spaces/applications/api/.dm/query_all_applications/meta.content.json +17 -1
  91. dmart/sample/spaces/applications/api/.dm/test_by_saad/attachments.media/meta.warframe.json +16 -1
  92. dmart/sample/spaces/applications/api/.dm/test_by_saad/meta.content.json +16 -1
  93. dmart/sample/spaces/applications/api/.dm/user_profile/meta.content.json +17 -1
  94. dmart/sample/spaces/applications/api/applications/.dm/create_log/meta.content.json +15 -1
  95. dmart/sample/spaces/applications/api/applications/.dm/create_public_logs/meta.content.json +15 -1
  96. dmart/sample/spaces/applications/api/applications/.dm/meta.folder.json +15 -1
  97. dmart/sample/spaces/applications/api/applications/.dm/query_all_translated_data/meta.content.json +15 -1
  98. dmart/sample/spaces/applications/api/applications/.dm/query_logs/meta.content.json +15 -1
  99. dmart/sample/spaces/applications/api/applications/.dm/query_translated_enums/meta.content.json +15 -1
  100. dmart/sample/spaces/applications/api/applications/.dm/query_translated_others/meta.content.json +15 -1
  101. dmart/sample/spaces/applications/api/applications/.dm/query_translated_resolution/meta.content.json +15 -1
  102. dmart/sample/spaces/applications/api/applications/create_log.json +46 -1
  103. dmart/sample/spaces/applications/api/applications/create_public_logs.json +22 -1
  104. dmart/sample/spaces/applications/api/applications/query_all_translated_data.json +14 -1
  105. dmart/sample/spaces/applications/api/applications/query_logs.json +11 -1
  106. dmart/sample/spaces/applications/api/applications/query_translated_enums.json +14 -1
  107. dmart/sample/spaces/applications/api/applications/query_translated_others.json +14 -1
  108. dmart/sample/spaces/applications/api/applications/query_translated_resolution.json +13 -1
  109. dmart/sample/spaces/applications/api/applications.json +16 -1
  110. dmart/sample/spaces/applications/api/management/.dm/create_subaccount/meta.content.json +15 -1
  111. dmart/sample/spaces/applications/api/management/.dm/meta.folder.json +15 -1
  112. dmart/sample/spaces/applications/api/management/.dm/update_password/meta.content.json +15 -1
  113. dmart/sample/spaces/applications/api/management/create_subaccount.json +29 -29
  114. dmart/sample/spaces/applications/api/management/update_password.json +19 -1
  115. dmart/sample/spaces/applications/api/management.json +16 -1
  116. dmart/sample/spaces/applications/api/query_all_applications.json +5 -6
  117. dmart/sample/spaces/applications/api/test_by_saad.json +4 -1
  118. dmart/sample/spaces/applications/api/user/.dm/meta.folder.json +9 -1
  119. dmart/sample/spaces/applications/api/user/.dm/test_by_saad/meta.content.json +16 -1
  120. dmart/sample/spaces/applications/api/user/.dm/user_profile/meta.content.json +17 -1
  121. dmart/sample/spaces/applications/api/user/test_by_saad.json +4 -1
  122. dmart/sample/spaces/applications/api/user/user_profile.json +4 -1
  123. dmart/sample/spaces/applications/api/user_profile.json +4 -1
  124. dmart/sample/spaces/applications/api.json +33 -1
  125. dmart/sample/spaces/applications/collections/.dm/meta.folder.json +11 -10
  126. dmart/sample/spaces/applications/collections.json +20 -1
  127. dmart/sample/spaces/applications/configurations/.dm/meta.folder.json +17 -1
  128. dmart/sample/spaces/applications/configurations.json +8 -8
  129. dmart/sample/spaces/applications/logs/.dm/meta.folder.json +12 -1
  130. dmart/sample/spaces/applications/queries/.dm/meta.folder.json +15 -1
  131. dmart/sample/spaces/applications/queries/.dm/order/meta.content.json +17 -1
  132. dmart/sample/spaces/applications/queries/order.json +15 -1
  133. dmart/sample/spaces/applications/queries.json +16 -1
  134. dmart/sample/spaces/applications/schema/.dm/api/meta.schema.json +17 -1
  135. dmart/sample/spaces/applications/schema/.dm/configuration/meta.schema.json +14 -1
  136. dmart/sample/spaces/applications/schema/.dm/error/meta.schema.json +14 -1
  137. dmart/sample/spaces/applications/schema/.dm/log/meta.schema.json +15 -1
  138. dmart/sample/spaces/applications/schema/.dm/meta.folder.json +15 -1
  139. dmart/sample/spaces/applications/schema/.dm/query/meta.schema.json +15 -14
  140. dmart/sample/spaces/applications/schema/.dm/translation/meta.schema.json +14 -1
  141. dmart/sample/spaces/applications/schema/api.json +24 -18
  142. dmart/sample/spaces/applications/schema/configuration.json +26 -1
  143. dmart/sample/spaces/applications/schema/error.json +22 -22
  144. dmart/sample/spaces/applications/schema/log.json +57 -1
  145. dmart/sample/spaces/applications/schema/query.json +56 -58
  146. dmart/sample/spaces/applications/schema/translation.json +4 -4
  147. dmart/sample/spaces/applications/schema.json +16 -1
  148. dmart/sample/spaces/applications/translations/.dm/meta.folder.json +15 -1
  149. dmart/sample/spaces/applications/translations.json +22 -1
  150. dmart/sample/spaces/archive/.dm/meta.space.json +19 -26
  151. dmart/sample/spaces/custom_plugins/dummy/__pycache__/plugin.cpython-314.pyc +0 -0
  152. dmart/sample/spaces/custom_plugins/own_changed_notification/__pycache__/plugin.cpython-314.pyc +0 -0
  153. dmart/sample/spaces/dummy/.dm/myfolder/history.jsonl +3 -0
  154. dmart/sample/spaces/dummy/.dm/posts/history.jsonl +3 -0
  155. dmart/sample/spaces/dummy/.dm/workflows/history.jsonl +3 -0
  156. dmart/sample/spaces/dummy/myfolder/.dm/an_example/history.jsonl +4 -0
  157. dmart/sample/spaces/dummy/myfolder/.dm/buyer_123/history.jsonl +2 -0
  158. dmart/sample/spaces/dummy/posts/.dm/97326c47/history.jsonl +3 -0
  159. dmart/sample/spaces/dummymyfolder/.dm/an_example/history.jsonl +2 -0
  160. dmart/sample/spaces/dummymyfolder/.dm/buyer_123/history.jsonl +2 -0
  161. dmart/sample/spaces/dummymyfolder/buyer_123/.dm/receipt/history.jsonl +2 -0
  162. dmart/sample/spaces/dummyschema/.dm/test_schema/history.jsonl +2 -0
  163. dmart/sample/spaces/dummyschema/.dm/ticket_workflows/history.jsonl +2 -0
  164. dmart/sample/spaces/dummyworkflows/.dm/myworkflow/history.jsonl +2 -0
  165. dmart/sample/spaces/management/.dm/meta.space.json +24 -27
  166. dmart/sample/spaces/management/.dm/notifications/attachments.view.json/admin.json +31 -32
  167. dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.admin.json +15 -1
  168. dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.system.json +15 -1
  169. dmart/sample/spaces/management/.dm/notifications/attachments.view.json/system.json +27 -28
  170. dmart/sample/spaces/management/collections/.dm/meta.folder.json +15 -1
  171. dmart/sample/spaces/management/collections.json +26 -1
  172. dmart/sample/spaces/management/groups/.dm/meta.folder.json +15 -1
  173. dmart/sample/spaces/management/groups.json +14 -1
  174. dmart/sample/spaces/management/health_check/.dm/meta.folder.json +15 -1
  175. dmart/sample/spaces/management/health_check.json +13 -1
  176. dmart/sample/spaces/management/notifications/.dm/meta.folder.json +15 -1
  177. dmart/sample/spaces/management/notifications/admin/.dm/meta.folder.json +6 -6
  178. dmart/sample/spaces/management/notifications/system/.dm/meta.folder.json +6 -6
  179. dmart/sample/spaces/management/notifications.json +46 -1
  180. dmart/sample/spaces/management/permissions/.dm/access_applications/meta.permission.json +4 -5
  181. dmart/sample/spaces/management/permissions/.dm/access_applications_world/meta.permission.json +23 -24
  182. dmart/sample/spaces/management/permissions/.dm/access_messages/meta.permission.json +14 -8
  183. dmart/sample/spaces/management/permissions/.dm/access_personal/meta.permission.json +12 -7
  184. dmart/sample/spaces/management/permissions/.dm/access_protected/meta.permission.json +12 -8
  185. dmart/sample/spaces/management/permissions/.dm/access_public/meta.permission.json +12 -8
  186. dmart/sample/spaces/management/permissions/.dm/browse_all_folders/meta.permission.json +5 -6
  187. dmart/sample/spaces/management/permissions/.dm/create_log/meta.permission.json +9 -8
  188. dmart/sample/spaces/management/permissions/.dm/interviewer/meta.permission.json +34 -1
  189. dmart/sample/spaces/management/permissions/.dm/manage_applications/meta.permission.json +35 -1
  190. dmart/sample/spaces/management/permissions/.dm/manage_debug/meta.permission.json +9 -7
  191. dmart/sample/spaces/management/permissions/.dm/manage_spaces/meta.permission.json +5 -6
  192. dmart/sample/spaces/management/permissions/.dm/meta.folder.json +15 -1
  193. dmart/sample/spaces/management/permissions/.dm/rules_management_default/meta.permission.json +10 -7
  194. dmart/sample/spaces/management/permissions/.dm/super_manager/meta.permission.json +4 -7
  195. dmart/sample/spaces/management/permissions/.dm/view_activity_log/meta.permission.json +10 -7
  196. dmart/sample/spaces/management/permissions/.dm/view_collections/meta.permission.json +6 -6
  197. dmart/sample/spaces/management/permissions/.dm/view_logs/meta.permission.json +9 -8
  198. dmart/sample/spaces/management/permissions/.dm/view_roles/meta.permission.json +10 -11
  199. dmart/sample/spaces/management/permissions/.dm/view_users/meta.permission.json +10 -7
  200. dmart/sample/spaces/management/permissions/.dm/view_world/meta.permission.json +10 -12
  201. dmart/sample/spaces/management/permissions/.dm/world/meta.permission.json +15 -10
  202. dmart/sample/spaces/management/permissions.json +10 -1
  203. dmart/sample/spaces/management/roles/.dm/dummy/meta.role.json +6 -6
  204. dmart/sample/spaces/management/roles/.dm/logged_in/meta.role.json +7 -7
  205. dmart/sample/spaces/management/roles/.dm/manager/meta.role.json +7 -7
  206. dmart/sample/spaces/management/roles/.dm/meta.folder.json +15 -1
  207. dmart/sample/spaces/management/roles/.dm/moderator/meta.role.json +7 -7
  208. dmart/sample/spaces/management/roles/.dm/super_admin/meta.role.json +7 -7
  209. dmart/sample/spaces/management/roles/.dm/test_role/meta.role.json +7 -7
  210. dmart/sample/spaces/management/roles/.dm/world/meta.role.json +7 -7
  211. dmart/sample/spaces/management/roles.json +11 -1
  212. dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/meta.ui_schema.json +15 -9
  213. dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/ui_schema.json +4 -4
  214. dmart/sample/spaces/management/schema/.dm/admin_notification_request/meta.schema.json +17 -1
  215. dmart/sample/spaces/management/schema/.dm/api/meta.schema.json +15 -1
  216. dmart/sample/spaces/management/schema/.dm/folder_rendering/meta.schema.json +17 -1
  217. dmart/sample/spaces/management/schema/.dm/health_check/meta.schema.json +8 -8
  218. dmart/sample/spaces/management/schema/.dm/meta.folder.json +15 -1
  219. dmart/sample/spaces/management/schema/.dm/meta_schema/meta.schema.json +14 -1
  220. dmart/sample/spaces/management/schema/.dm/metafile/meta.schema.json +14 -13
  221. dmart/sample/spaces/management/schema/.dm/notification/meta.schema.json +17 -1
  222. dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/meta.ui_schema.json +15 -9
  223. dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/ui_schema.json +1 -1
  224. dmart/sample/spaces/management/schema/.dm/system_notification_request/meta.schema.json +17 -1
  225. dmart/sample/spaces/management/schema/.dm/view/meta.schema.json +17 -1
  226. dmart/sample/spaces/management/schema/.dm/workflow/meta.schema.json +17 -1
  227. dmart/sample/spaces/management/schema/admin_notification_request.json +85 -88
  228. dmart/sample/spaces/management/schema/api.json +35 -1
  229. dmart/sample/spaces/management/schema/folder_rendering.json +166 -174
  230. dmart/sample/spaces/management/schema/health_check.json +1 -4
  231. dmart/sample/spaces/management/schema/meta_schema.json +48 -48
  232. dmart/sample/spaces/management/schema/metafile.json +73 -76
  233. dmart/sample/spaces/management/schema/notification.json +15 -10
  234. dmart/sample/spaces/management/schema/system_notification_request.json +49 -38
  235. dmart/sample/spaces/management/schema/view.json +11 -11
  236. dmart/sample/spaces/management/schema/workflow.json +51 -53
  237. dmart/sample/spaces/management/schema.json +16 -1
  238. dmart/sample/spaces/management/users/.dm/alibaba/meta.user.json +14 -15
  239. dmart/sample/spaces/management/users/.dm/anonymous/meta.user.json +17 -17
  240. dmart/sample/spaces/management/users/.dm/distributor/history.jsonl +6 -0
  241. dmart/sample/spaces/management/users/.dm/dmart/meta.user.json +30 -18
  242. dmart/sample/spaces/management/users/.dm/meta.folder.json +7 -7
  243. dmart/sample/spaces/management/workflows/.dm/channel/meta.content.json +16 -1
  244. dmart/sample/spaces/management/workflows/.dm/meta.folder.json +17 -1
  245. dmart/sample/spaces/management/workflows/channel.json +40 -40
  246. dmart/sample/spaces/management/workflows.json +13 -1
  247. dmart/sample/spaces/managementusers/.dm/distributor/history.jsonl +3 -0
  248. dmart/sample/spaces/managementusers/.dm/dmart/history.jsonl +11 -0
  249. dmart/sample/spaces/maqola/.dm/meta.space.json +19 -23
  250. dmart/sample/spaces/personal/.dm/meta.space.json +24 -18
  251. dmart/sample/spaces/personal/people/.dm/meta.folder.json +9 -1
  252. dmart/sample/spaces/personal/people/distributor/.dm/meta.folder.json +9 -0
  253. dmart/sample/spaces/personal/people/distributor/inbox/.dm/meta.folder.json +9 -0
  254. dmart/sample/spaces/personal/people/distributor/notifications/.dm/meta.folder.json +9 -0
  255. dmart/sample/spaces/personal/people/distributor/private/.dm/meta.folder.json +9 -0
  256. dmart/sample/spaces/personal/people/distributor/protected/.dm/meta.folder.json +9 -0
  257. dmart/sample/spaces/personal/people/distributor/public/.dm/meta.folder.json +9 -0
  258. dmart/sample/spaces/personal/people/dmart/.dm/meta.folder.json +9 -1
  259. dmart/sample/spaces/personal/people/dmart/messages/.dm/0b5f7e7f/meta.content.json +14 -1
  260. dmart/sample/spaces/personal/people/dmart/messages/.dm/meta.folder.json +9 -1
  261. dmart/sample/spaces/personal/people/dmart/messages/.dm/mytest/meta.content.json +14 -1
  262. dmart/sample/spaces/personal/people/dmart/messages/0b5f7e7f.json +3 -1
  263. dmart/sample/spaces/personal/people/dmart/messages/mytest.json +4 -1
  264. dmart/sample/spaces/personal/people/dmart/notifications/.dm/meta.folder.json +9 -1
  265. dmart/sample/spaces/personal/people/dmart/private/.dm/inner/meta.content.json +14 -1
  266. dmart/sample/spaces/personal/people/dmart/private/.dm/meta.folder.json +9 -1
  267. dmart/sample/spaces/personal/people/dmart/private/inner.json +3 -1
  268. dmart/sample/spaces/personal/people/dmart/protected/.dm/avatar/meta.content.json +14 -1
  269. dmart/sample/spaces/personal/people/dmart/protected/.dm/meta.folder.json +9 -1
  270. dmart/sample/spaces/personal/people/dmart/public/.dm/meta.folder.json +9 -1
  271. dmart/sample/test/.gitignore +0 -1
  272. dmart/utils/settings.py +0 -31
  273. {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/METADATA +1 -1
  274. {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/RECORD +277 -236
  275. dmart/cxb/assets/@codemirror-Rn7_6DkE.js +0 -10
  276. dmart/cxb/assets/@edraj-CS4NwVbD.js +0 -1
  277. dmart/cxb/assets/@jsonquerylang-laKNoFFq.js +0 -12
  278. dmart/cxb/assets/@lezer-za4Q-8Ew.js +0 -1
  279. dmart/cxb/assets/Table2Cols-BsbwicQm.js +0 -1
  280. dmart/cxb/assets/_...fallback_-Ba_NLmAE.js +0 -1
  281. dmart/cxb/assets/export-OF_rTiXu.js +0 -1
  282. dmart/cxb/assets/flowbite-svelte-BLvjb-sa.js +0 -1
  283. dmart/cxb/assets/import-BiJTp7Zs.js +0 -1
  284. dmart/cxb/assets/index-DOCBh6PM.js +0 -1
  285. dmart/cxb/assets/index-NBrXBlLA.css +0 -2
  286. dmart/cxb/assets/spaces-0oyGvpii.js +0 -1
  287. dmart/cxb/assets/svelte-B2XmcTi_.js +0 -4
  288. dmart/cxb/assets/toast-B9WDyfyI.js +0 -1
  289. dmart/sample/spaces/management/.dm/events.jsonl +0 -32
  290. {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/WHEEL +0 -0
  291. {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/entry_points.txt +0 -0
  292. {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/top_level.txt +0 -0
@@ -1,238 +1,230 @@
1
1
  {
2
- "title": "Folder schema",
3
- "description": "Folder schema description",
4
2
  "type": "object",
5
- "additionalProperties": false,
3
+ "title": "Folder schema",
4
+ "required": [
5
+ "index_attributes"
6
+ ],
6
7
  "properties": {
7
- "stream": {
8
- "title": "Enable websocket stream",
9
- "description": "folder level websocket watch",
10
- "type": "boolean"
11
- },
12
-
13
- "disable_filter": {
14
- "title": "Disable filter",
15
- "description": "The search filter icon / functionality is disabled",
16
- "type": "boolean"
17
- },
18
- "expand_children": {
19
- "title": "Expand folders' children",
20
- "description": "If the folder should expand children",
21
- "type": "boolean"
22
- },
23
- "append_subpath": {
24
- "title": "Append subpath",
25
- "description": "Append string to the query subpath",
26
- "type": "string"
27
- },
28
- "csv_columns": {
29
- "title": "CSV columns",
30
- "description": "CSV columns title",
31
- "type": "array",
32
- "items": {
33
- "type": "object",
34
- "properties": {
35
- "key": {
36
- "title": "Key",
37
- "type": "string"
38
- },
39
- "name": {
40
- "title": "Name",
41
- "type": "string"
42
- }
43
- }
44
- }
45
- },
46
- "search_columns": {
47
- "title": "Search columns",
48
- "description": "Search columns title",
49
- "type": "array",
50
- "items": {
51
- "type": "object",
52
- "properties": {
53
- "key": {
54
- "title": "Key",
55
- "type": "string"
56
- },
57
- "name": {
58
- "title": "Name",
59
- "type": "string"
60
- }
61
- }
62
- }
63
- },
64
- "enable_pdf_schema_shortnames": {
65
- "title": "List of schema shortnames for which pdf icon is displayed",
66
- "type": "array",
67
- "items": {
68
- "type": "string"
69
- }
70
- },
71
- "workflow_shortnames": {
72
- "title": "Workflow shortname",
73
- "description": "workflow shortname field title",
74
- "type": "array",
75
- "items": {
76
- "type": "string"
77
- }
78
- },
79
- "shortname_title": {
80
- "title": "shortname field title",
81
- "description": "shortname field title",
82
- "type": "string"
8
+ "icon": {
9
+ "type": "string",
10
+ "title": "folder main icon",
11
+ "description": "The icon displayed next to the folder"
83
12
  },
84
13
  "query": {
85
14
  "type": "object",
86
15
  "properties": {
87
16
  "type": {
88
- "type": "string",
89
17
  "enum": [
90
18
  "subpath",
91
19
  "search"
92
- ]
20
+ ],
21
+ "type": "string"
93
22
  },
94
23
  "search": {
95
24
  "type": "string"
96
25
  },
97
26
  "filter_types": {
98
27
  "type": "array",
99
- "items": {
100
- "type": "string"
101
- }
28
+ "items": {
29
+ "type": "string"
30
+ }
102
31
  }
103
32
  }
104
33
  },
105
- "icon": {
106
- "title": "folder main icon",
107
- "description": "The icon displayed next to the folder",
108
- "type": "string"
109
- },
110
- "icon_opened": {
111
- "title": "folder opened icon",
112
- "description": "The icon displayed next to the folder when opened",
113
- "type": "string"
34
+ "filter": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "object"
38
+ },
39
+ "title": "Additional filter options"
114
40
  },
115
- "icon_closed": {
116
- "title": "folder closed icon",
117
- "description": "The icon displayed next to the folder when closed",
118
- "type": "string"
41
+ "stream": {
42
+ "type": "boolean",
43
+ "title": "Enable websocket stream",
44
+ "description": "folder level websocket watch"
119
45
  },
120
46
  "sort_by": {
47
+ "type": "string",
121
48
  "title": "sort by",
122
- "description": "the field name to be used in ordering",
123
- "type": "string"
49
+ "description": "the field name to be used in ordering"
50
+ },
51
+ "allow_csv": {
52
+ "type": "boolean",
53
+ "title": "flag to enable or disable CSV download button",
54
+ "description": "Allow the user to download csv of the displayed list"
124
55
  },
125
56
  "sort_type": {
126
- "title": "sort order",
127
- "description": "the ordering of the sort asc/desc",
128
- "type": "string",
129
57
  "enum": [
130
58
  "ascending",
131
59
  "descending"
132
- ]
60
+ ],
61
+ "type": "string",
62
+ "title": "sort order",
63
+ "description": "the ordering of the sort asc/desc"
133
64
  },
134
- "content_resource_types": {
135
- "title": "Resource types",
136
- "description": "Resource types",
65
+ "use_media": {
66
+ "type": "boolean",
67
+ "title": "does the content inside this folder has a media or not",
68
+ "description": "does the content inside this folder has a media or not"
69
+ },
70
+ "allow_view": {
71
+ "type": "boolean",
72
+ "title": "flag to enable or disable resource view inside this folder",
73
+ "description": "flag to enable or disable resource view inside this folder"
74
+ },
75
+ "csv_columns": {
137
76
  "type": "array",
138
77
  "items": {
139
- "type": "string"
140
- }
78
+ "type": "object",
79
+ "properties": {
80
+ "key": {
81
+ "type": "string",
82
+ "title": "Key"
83
+ },
84
+ "name": {
85
+ "type": "string",
86
+ "title": "Name"
87
+ }
88
+ }
89
+ },
90
+ "title": "CSV columns",
91
+ "description": "CSV columns title"
141
92
  },
142
- "content_schema_shortnames": {
143
- "title": "schema shortname",
144
- "description": "schema shortnames",
93
+ "icon_closed": {
94
+ "type": "string",
95
+ "title": "folder closed icon",
96
+ "description": "The icon displayed next to the folder when closed"
97
+ },
98
+ "icon_opened": {
99
+ "type": "string",
100
+ "title": "folder opened icon",
101
+ "description": "The icon displayed next to the folder when opened"
102
+ },
103
+ "allow_create": {
104
+ "type": "boolean",
105
+ "title": "flag to enable or disable resource creation inside this folder",
106
+ "description": "flag to enable or disable resource creation inside this folder"
107
+ },
108
+ "allow_delete": {
109
+ "type": "boolean",
110
+ "title": "flag to enable or disable resource delete inside this folder",
111
+ "description": "flag to enable or disable resource delete inside this folder"
112
+ },
113
+ "allow_update": {
114
+ "type": "boolean",
115
+ "title": "flag to enable or disable resource update inside this folder",
116
+ "description": "flag to enable or disable resource update inside this folder"
117
+ },
118
+ "unique_fields": {
145
119
  "type": "array",
146
120
  "items": {
147
- "type": "string"
148
- }
121
+ "type": "array",
122
+ "items": {
123
+ "type": "string",
124
+ "title": "Field Name"
125
+ },
126
+ "title": "Composite unique list"
127
+ },
128
+ "title": "Unique Fields",
129
+ "description": "List of list of composite fields which should be unique accross the folder entries"
149
130
  },
150
- "filter": {
151
- "title": "Additional filter options",
131
+ "append_subpath": {
132
+ "type": "string",
133
+ "title": "Append string to subpath"
134
+ },
135
+ "disable_filter": {
136
+ "type": "boolean",
137
+ "title": "Disable filter",
138
+ "description": "The search filter icon / functionality is disabled"
139
+ },
140
+ "search_columns": {
152
141
  "type": "array",
153
142
  "items": {
154
143
  "type": "object",
155
- "properties": {}
156
- }
144
+ "properties": {
145
+ "key": {
146
+ "type": "string",
147
+ "title": "Key"
148
+ },
149
+ "name": {
150
+ "type": "string",
151
+ "title": "Name"
152
+ }
153
+ }
154
+ },
155
+ "title": "Search columns",
156
+ "description": "Search columns title"
157
157
  },
158
- "append_subpath": {
159
- "title": "Append string to subpath",
160
- "type": "string"
158
+ "expand_children": {
159
+ "type": "boolean",
160
+ "title": "Expand folders' children",
161
+ "description": "If the folder should expand children"
162
+ },
163
+ "shortname_title": {
164
+ "type": "string",
165
+ "title": "shortname field title",
166
+ "description": "shortname field title"
167
+ },
168
+ "allow_upload_csv": {
169
+ "type": "boolean",
170
+ "title": "flag to enable or disable CSV upload feature",
171
+ "description": "Allow the user to upload csv"
161
172
  },
162
173
  "index_attributes": {
163
- "title": "index attributes",
164
- "description": "the attributes from the schema that should be displayed in index page",
165
174
  "type": "array",
166
175
  "items": {
167
176
  "type": "object",
168
177
  "properties": {
169
178
  "key": {
170
- "title": "Key",
171
- "type": "string"
179
+ "type": "string",
180
+ "title": "Key"
172
181
  },
173
182
  "name": {
174
- "title": "Name",
175
- "type": "string"
183
+ "type": "string",
184
+ "title": "Name"
176
185
  }
177
186
  }
178
187
  },
188
+ "title": "index attributes",
189
+ "description": "the attributes from the schema that should be displayed in index page",
179
190
  "uniqueItems": true
180
191
  },
181
- "unique_fields": {
182
- "title": "Unique Fields",
183
- "description": "List of list of composite fields which should be unique accross the folder entries",
192
+ "workflow_shortnames": {
184
193
  "type": "array",
185
194
  "items": {
186
- "title": "Composite unique list",
187
- "type": "array",
188
- "items": {
189
- "title": "Field Name",
190
- "type": "string"
191
- }
192
- }
193
- },
194
- "allow_view": {
195
- "title": "flag to enable or disable resource view inside this folder",
196
- "description": "flag to enable or disable resource view inside this folder",
197
- "type": "boolean"
198
- },
199
- "allow_create": {
200
- "title": "flag to enable or disable resource creation inside this folder",
201
- "description": "flag to enable or disable resource creation inside this folder",
202
- "type": "boolean"
195
+ "type": "string"
196
+ },
197
+ "title": "Workflow shortname",
198
+ "description": "workflow shortname field title"
203
199
  },
204
200
  "allow_create_category": {
201
+ "type": "boolean",
205
202
  "title": "flag to enable or disable folder creation inside this folder",
206
- "description": "flag to enable or disable folder creation inside this folder",
207
- "type": "boolean"
208
- },
209
- "allow_update": {
210
- "title": "flag to enable or disable resource update inside this folder",
211
- "description": "flag to enable or disable resource update inside this folder",
212
- "type": "boolean"
203
+ "description": "flag to enable or disable folder creation inside this folder"
213
204
  },
214
- "allow_delete": {
215
- "title": "flag to enable or disable resource delete inside this folder",
216
- "description": "flag to enable or disable resource delete inside this folder",
217
- "type": "boolean"
218
- },
219
- "allow_csv": {
220
- "title": "flag to enable or disable CSV download button",
221
- "description": "Allow the user to download csv of the displayed list",
222
- "type": "boolean"
205
+ "content_resource_types": {
206
+ "type": "array",
207
+ "items": {
208
+ "type": "string"
209
+ },
210
+ "title": "Resource types",
211
+ "description": "Resource types"
223
212
  },
224
- "allow_upload_csv": {
225
- "title": "flag to enable or disable CSV upload feature",
226
- "description": "Allow the user to upload csv",
227
- "type": "boolean"
213
+ "content_schema_shortnames": {
214
+ "type": "array",
215
+ "items": {
216
+ "type": "string"
217
+ },
218
+ "title": "schema shortname",
219
+ "description": "schema shortnames"
228
220
  },
229
- "use_media": {
230
- "title": "does the content inside this folder has a media or not",
231
- "description": "does the content inside this folder has a media or not",
232
- "type": "boolean"
221
+ "enable_pdf_schema_shortnames": {
222
+ "type": "array",
223
+ "items": {
224
+ "type": "string"
225
+ },
226
+ "title": "List of schema shortnames for which pdf icon is displayed"
233
227
  }
234
228
  },
235
- "required": [
236
- "index_attributes"
237
- ]
238
- }
229
+ "description": "Folder schema description"
230
+ }
@@ -1,8 +1,5 @@
1
1
  {
2
2
  "type": "object",
3
3
  "title": "health_check",
4
- "additionalProperties": true,
5
- "properties": {
6
- },
7
- "required": []
4
+ "additionalProperties": true
8
5
  }
@@ -1,30 +1,48 @@
1
1
  {
2
- "oneOf": [
3
- {
4
- "$ref": "#/$defs/type_object"
5
- },
6
- {
7
- "$ref": "#/$defs/type_leaf"
8
- }
9
- ],
10
2
  "$defs": {
11
- "type_object": {
3
+ "type_leaf": {
12
4
  "type": "object",
5
+ "required": [
6
+ "title",
7
+ "type"
8
+ ],
13
9
  "properties": {
10
+ "title": {
11
+ "type": "string"
12
+ },
14
13
  "prop_type": {
15
- "type": "string",
16
14
  "enum": [
17
- "object"
18
- ]
19
- },
20
- "title": {
15
+ "string",
16
+ "number",
17
+ "integer",
18
+ "boolean",
19
+ "array",
20
+ "null"
21
+ ],
21
22
  "type": "string"
22
23
  },
23
24
  "description": {
24
25
  "type": "string"
26
+ }
27
+ }
28
+ },
29
+ "type_object": {
30
+ "type": "object",
31
+ "required": [
32
+ "title",
33
+ "additionalProperties",
34
+ "properties",
35
+ "type"
36
+ ],
37
+ "properties": {
38
+ "title": {
39
+ "type": "string"
25
40
  },
26
- "additionalProperties": {
27
- "type": "boolean"
41
+ "prop_type": {
42
+ "enum": [
43
+ "object"
44
+ ],
45
+ "type": "string"
28
46
  },
29
47
  "properties": {
30
48
  "oneOf": [
@@ -35,40 +53,22 @@
35
53
  "$ref": "#/$defs/type_leaf"
36
54
  }
37
55
  ]
38
- }
39
- },
40
- "required": [
41
- "title",
42
- "additionalProperties",
43
- "properties",
44
- "type"
45
- ]
46
- },
47
- "type_leaf": {
48
- "type": "object",
49
- "properties": {
50
- "prop_type": {
51
- "type": "string",
52
- "enum": [
53
- "string",
54
- "number",
55
- "integer",
56
- "boolean",
57
- "array",
58
- "null"
59
- ]
60
- },
61
- "title": {
62
- "type": "string"
63
56
  },
64
57
  "description": {
65
58
  "type": "string"
59
+ },
60
+ "additionalProperties": {
61
+ "type": "boolean"
66
62
  }
67
- },
68
- "required": [
69
- "title",
70
- "type"
71
- ]
63
+ }
64
+ }
65
+ },
66
+ "oneOf": [
67
+ {
68
+ "$ref": "#/$defs/type_object"
69
+ },
70
+ {
71
+ "$ref": "#/$defs/type_leaf"
72
72
  }
73
- }
74
- }
73
+ ]
74
+ }