@solidxai/core 0.1.13-beta.7 → 0.1.13-beta.8

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 (257) hide show
  1. package/.claude/settings.local.json +16 -0
  2. package/CHANGELOG.md +548 -0
  3. package/CLAUDE.md +26 -0
  4. package/dist/constants/draft-publish-fields.d.ts +2 -0
  5. package/dist/constants/draft-publish-fields.d.ts.map +1 -0
  6. package/dist/constants/draft-publish-fields.js +5 -0
  7. package/dist/constants/draft-publish-fields.js.map +1 -0
  8. package/dist/constants/media-file-types.d.ts +9 -0
  9. package/dist/constants/media-file-types.d.ts.map +1 -1
  10. package/dist/constants/media-file-types.js +27 -1
  11. package/dist/constants/media-file-types.js.map +1 -1
  12. package/dist/controllers/action-metadata.controller.d.ts +1 -1
  13. package/dist/controllers/action-metadata.controller.js +1 -1
  14. package/dist/controllers/agent-event.controller.d.ts +1 -1
  15. package/dist/controllers/agent-event.controller.js +1 -1
  16. package/dist/controllers/agent-session.controller.d.ts +1 -1
  17. package/dist/controllers/agent-session.controller.js +1 -1
  18. package/dist/controllers/dashboard-user-layout.controller.d.ts +1 -1
  19. package/dist/controllers/dashboard-user-layout.controller.js +1 -1
  20. package/dist/controllers/email-template.controller.d.ts +1 -1
  21. package/dist/controllers/email-template.controller.js +1 -1
  22. package/dist/controllers/export-template.controller.d.ts +1 -1
  23. package/dist/controllers/export-template.controller.d.ts.map +1 -1
  24. package/dist/controllers/export-template.controller.js +6 -4
  25. package/dist/controllers/export-template.controller.js.map +1 -1
  26. package/dist/controllers/export-transaction.controller.d.ts +1 -1
  27. package/dist/controllers/export-transaction.controller.js +1 -1
  28. package/dist/controllers/import-transaction-error-log.controller.d.ts +1 -1
  29. package/dist/controllers/import-transaction-error-log.controller.js +1 -1
  30. package/dist/controllers/import-transaction.controller.d.ts +1 -1
  31. package/dist/controllers/import-transaction.controller.d.ts.map +1 -1
  32. package/dist/controllers/import-transaction.controller.js +7 -7
  33. package/dist/controllers/import-transaction.controller.js.map +1 -1
  34. package/dist/controllers/list-of-values.controller.d.ts +1 -1
  35. package/dist/controllers/list-of-values.controller.js +1 -1
  36. package/dist/controllers/locale.controller.d.ts +1 -1
  37. package/dist/controllers/locale.controller.js +1 -1
  38. package/dist/controllers/mcp-audit-log.controller.d.ts +1 -1
  39. package/dist/controllers/mcp-audit-log.controller.js +1 -1
  40. package/dist/controllers/media.controller.d.ts +1 -1
  41. package/dist/controllers/media.controller.d.ts.map +1 -1
  42. package/dist/controllers/media.controller.js +12 -7
  43. package/dist/controllers/media.controller.js.map +1 -1
  44. package/dist/controllers/menu-item-metadata.controller.d.ts +1 -1
  45. package/dist/controllers/menu-item-metadata.controller.js +1 -1
  46. package/dist/controllers/model-sequence.controller.d.ts +1 -1
  47. package/dist/controllers/model-sequence.controller.js +1 -1
  48. package/dist/controllers/module-package.controller.d.ts.map +1 -1
  49. package/dist/controllers/module-package.controller.js +2 -3
  50. package/dist/controllers/module-package.controller.js.map +1 -1
  51. package/dist/controllers/mq-message-queue.controller.d.ts +1 -1
  52. package/dist/controllers/mq-message-queue.controller.js +1 -1
  53. package/dist/controllers/mq-message.controller.d.ts +1 -1
  54. package/dist/controllers/mq-message.controller.js +1 -1
  55. package/dist/controllers/permission-metadata.controller.d.ts +1 -1
  56. package/dist/controllers/permission-metadata.controller.js +1 -1
  57. package/dist/controllers/role-metadata.controller.d.ts +1 -1
  58. package/dist/controllers/role-metadata.controller.js +1 -1
  59. package/dist/controllers/saved-filters.controller.d.ts +1 -1
  60. package/dist/controllers/saved-filters.controller.js +1 -1
  61. package/dist/controllers/scheduled-job.controller.d.ts +1 -1
  62. package/dist/controllers/scheduled-job.controller.js +1 -1
  63. package/dist/controllers/security-rule.controller.d.ts +1 -1
  64. package/dist/controllers/security-rule.controller.js +1 -1
  65. package/dist/controllers/sms-template.controller.d.ts +1 -1
  66. package/dist/controllers/sms-template.controller.js +1 -1
  67. package/dist/controllers/user-activity-history.controller.d.ts +1 -1
  68. package/dist/controllers/user-activity-history.controller.js +1 -1
  69. package/dist/controllers/user-view-metadata.controller.d.ts +1 -1
  70. package/dist/controllers/user-view-metadata.controller.js +1 -1
  71. package/dist/controllers/user.controller.d.ts +2 -2
  72. package/dist/controllers/user.controller.js +2 -2
  73. package/dist/controllers/view-metadata.controller.d.ts +2 -2
  74. package/dist/controllers/view-metadata.controller.js +1 -1
  75. package/dist/controllers/workflow-definition.controller.d.ts +1 -1
  76. package/dist/controllers/workflow-definition.controller.js +1 -1
  77. package/dist/controllers/workflow-execution-artifact.controller.d.ts +1 -1
  78. package/dist/controllers/workflow-execution-artifact.controller.js +1 -1
  79. package/dist/controllers/workflow-execution-log.controller.d.ts +1 -1
  80. package/dist/controllers/workflow-execution-log.controller.js +1 -1
  81. package/dist/controllers/workflow-execution.controller.d.ts +1 -1
  82. package/dist/controllers/workflow-execution.controller.js +1 -1
  83. package/dist/controllers/workflow-secret.controller.d.ts +1 -1
  84. package/dist/controllers/workflow-secret.controller.js +1 -1
  85. package/dist/controllers/workflow-step-execution.controller.d.ts +1 -1
  86. package/dist/controllers/workflow-step-execution.controller.js +1 -1
  87. package/dist/controllers/workflow-trigger-execution.controller.d.ts +1 -1
  88. package/dist/controllers/workflow-trigger-execution.controller.js +1 -1
  89. package/dist/dtos/basic-filters.dto.d.ts +0 -1
  90. package/dist/dtos/basic-filters.dto.d.ts.map +1 -1
  91. package/dist/dtos/basic-filters.dto.js +1 -6
  92. package/dist/dtos/basic-filters.dto.js.map +1 -1
  93. package/dist/entities/common.entity.d.ts +4 -0
  94. package/dist/entities/common.entity.d.ts.map +1 -1
  95. package/dist/entities/common.entity.js +25 -1
  96. package/dist/entities/common.entity.js.map +1 -1
  97. package/dist/entities/user.entity.js +2 -2
  98. package/dist/entities/user.entity.js.map +1 -1
  99. package/dist/factories/mail.factory.d.ts.map +1 -1
  100. package/dist/factories/mail.factory.js +4 -0
  101. package/dist/factories/mail.factory.js.map +1 -1
  102. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.d.ts +1 -0
  103. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.d.ts.map +1 -1
  104. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.js +18 -11
  105. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.js.map +1 -1
  106. package/dist/helpers/file-download.helper.d.ts +9 -0
  107. package/dist/helpers/file-download.helper.d.ts.map +1 -0
  108. package/dist/helpers/file-download.helper.js +14 -0
  109. package/dist/helpers/file-download.helper.js.map +1 -0
  110. package/dist/helpers/model-metadata-helper.service.d.ts.map +1 -1
  111. package/dist/helpers/model-metadata-helper.service.js +30 -1
  112. package/dist/helpers/model-metadata-helper.service.js.map +1 -1
  113. package/dist/helpers/solid-registry.js +1 -1
  114. package/dist/helpers/solid-registry.js.map +1 -1
  115. package/dist/index.d.ts +2 -0
  116. package/dist/index.d.ts.map +1 -1
  117. package/dist/index.js +2 -0
  118. package/dist/index.js.map +1 -1
  119. package/dist/seeders/module-test-data.service.d.ts +3 -1
  120. package/dist/seeders/module-test-data.service.d.ts.map +1 -1
  121. package/dist/seeders/module-test-data.service.js +8 -2
  122. package/dist/seeders/module-test-data.service.js.map +1 -1
  123. package/dist/seeders/seed-data/solid-core-metadata.json +2 -0
  124. package/dist/services/authentication.service.d.ts +4 -1
  125. package/dist/services/authentication.service.d.ts.map +1 -1
  126. package/dist/services/authentication.service.js +52 -4
  127. package/dist/services/authentication.service.js.map +1 -1
  128. package/dist/services/chatter-message.service.d.ts +1 -0
  129. package/dist/services/chatter-message.service.d.ts.map +1 -1
  130. package/dist/services/chatter-message.service.js +8 -0
  131. package/dist/services/chatter-message.service.js.map +1 -1
  132. package/dist/services/crud-helper.service.d.ts +5 -2
  133. package/dist/services/crud-helper.service.d.ts.map +1 -1
  134. package/dist/services/crud-helper.service.js +30 -32
  135. package/dist/services/crud-helper.service.js.map +1 -1
  136. package/dist/services/crud.service.d.ts +11 -1
  137. package/dist/services/crud.service.d.ts.map +1 -1
  138. package/dist/services/crud.service.js +79 -66
  139. package/dist/services/crud.service.js.map +1 -1
  140. package/dist/services/datasource-introspection.service.d.ts.map +1 -1
  141. package/dist/services/datasource-introspection.service.js.map +1 -1
  142. package/dist/services/draft-publish-helper.service.d.ts +52 -0
  143. package/dist/services/draft-publish-helper.service.d.ts.map +1 -0
  144. package/dist/services/draft-publish-helper.service.js +368 -0
  145. package/dist/services/draft-publish-helper.service.js.map +1 -0
  146. package/dist/services/internationalisation-helper.service.d.ts +19 -0
  147. package/dist/services/internationalisation-helper.service.d.ts.map +1 -0
  148. package/dist/services/internationalisation-helper.service.js +107 -0
  149. package/dist/services/internationalisation-helper.service.js.map +1 -0
  150. package/dist/services/locale.service.d.ts +1 -1
  151. package/dist/services/media.service.d.ts +2 -1
  152. package/dist/services/media.service.d.ts.map +1 -1
  153. package/dist/services/media.service.js +28 -2
  154. package/dist/services/media.service.js.map +1 -1
  155. package/dist/services/metadata-validation.service.d.ts +7 -0
  156. package/dist/services/metadata-validation.service.d.ts.map +1 -0
  157. package/dist/services/metadata-validation.service.js +42 -0
  158. package/dist/services/metadata-validation.service.js.map +1 -0
  159. package/dist/services/model-metadata.service.d.ts.map +1 -1
  160. package/dist/services/model-metadata.service.js +2 -1
  161. package/dist/services/model-metadata.service.js.map +1 -1
  162. package/dist/services/object.utils.d.ts +2 -0
  163. package/dist/services/object.utils.d.ts.map +1 -0
  164. package/dist/services/object.utils.js +11 -0
  165. package/dist/services/object.utils.js.map +1 -0
  166. package/dist/services/settings/default-settings-provider.service.d.ts +6 -6
  167. package/dist/services/settings/default-settings-provider.service.js +3 -3
  168. package/dist/services/settings/default-settings-provider.service.js.map +1 -1
  169. package/dist/services/user.service.d.ts +2 -2
  170. package/dist/services/user.service.d.ts.map +1 -1
  171. package/dist/services/user.service.js +9 -3
  172. package/dist/services/user.service.js.map +1 -1
  173. package/dist/services/view-metadata.service.d.ts +1 -2
  174. package/dist/services/view-metadata.service.d.ts.map +1 -1
  175. package/dist/services/view-metadata.service.js +3 -55
  176. package/dist/services/view-metadata.service.js.map +1 -1
  177. package/dist/services/workflow-definition.service.d.ts +1 -1
  178. package/dist/solid-core.module.d.ts.map +1 -1
  179. package/dist/solid-core.module.js +10 -1
  180. package/dist/solid-core.module.js.map +1 -1
  181. package/package.json +1 -1
  182. package/src/constants/draft-publish-fields.ts +5 -0
  183. package/src/constants/media-file-types.ts +50 -0
  184. package/src/controllers/export-template.controller.ts +5 -3
  185. package/src/controllers/import-transaction.controller.ts +6 -6
  186. package/src/controllers/media.controller.ts +17 -6
  187. package/src/controllers/module-package.controller.ts +2 -3
  188. package/src/dtos/basic-filters.dto.ts +0 -4
  189. package/src/entities/common.entity.ts +20 -0
  190. package/src/entities/user.entity.ts +2 -2
  191. package/src/factories/mail.factory.ts +7 -1
  192. package/src/helpers/field-crud-managers/MediaFieldCrudManager.ts +26 -12
  193. package/src/helpers/file-download.helper.ts +31 -0
  194. package/src/helpers/model-metadata-helper.service.ts +32 -1
  195. package/src/helpers/solid-registry.ts +1 -1
  196. package/src/index.ts +2 -0
  197. package/src/seeders/module-test-data.service.ts +6 -0
  198. package/src/seeders/seed-data/solid-core-metadata.json +2 -0
  199. package/src/services/1.js +6 -0
  200. package/src/services/authentication.service.ts +76 -5
  201. package/src/services/chatter-message.service.ts +16 -0
  202. package/src/services/crud-helper.service.ts +16 -34
  203. package/src/services/crud.service.ts +98 -103
  204. package/src/services/datasource-introspection.service.ts +5 -0
  205. package/src/services/draft-publish-helper.service.ts +529 -0
  206. package/src/services/internationalisation-helper.service.ts +148 -0
  207. package/src/services/media.service.ts +48 -3
  208. package/src/services/metadata-validation.service.ts +39 -0
  209. package/src/services/model-metadata.service.ts +4 -1
  210. package/src/services/object.utils.ts +10 -0
  211. package/src/services/settings/default-settings-provider.service.ts +3 -3
  212. package/src/services/user.service.ts +18 -3
  213. package/src/services/view-metadata.service.ts +5 -145
  214. package/src/solid-core.module.ts +16 -3
  215. package/dist-tests/api/authenticate.spec.js +0 -119
  216. package/dist-tests/api/authenticate.spec.js.map +0 -1
  217. package/dist-tests/api/crud-service.findOne.cityMaster.spec.js +0 -97
  218. package/dist-tests/api/crud-service.findOne.cityMaster.spec.js.map +0 -1
  219. package/dist-tests/api/ping.spec.js +0 -21
  220. package/dist-tests/api/ping.spec.js.map +0 -1
  221. package/dist-tests/helpers/auth.js +0 -41
  222. package/dist-tests/helpers/auth.js.map +0 -1
  223. package/dist-tests/helpers/env.js +0 -11
  224. package/dist-tests/helpers/env.js.map +0 -1
  225. package/docs/agent-builder/notebook-lm-prompt-for-agent-builder.md +0 -136
  226. package/docs/agent-builder/team-ready-note-agent-builder.md +0 -305
  227. package/docs/agent-hub-grooming.md +0 -301
  228. package/docs/dashboards/AGENTIC_DASHBOARD_IMPLEMENTATION_PLAN.md +0 -438
  229. package/docs/dashboards/dashboard-curl-smoke-tests.txt +0 -146
  230. package/docs/dashboards/delete-legacy-dashboard-metadata.sql +0 -172
  231. package/docs/datasource-introspection-ddl-analysis.md +0 -326
  232. package/docs/datasource-introspection-implementation-plan.md +0 -306
  233. package/docs/grouping-enhancements.md +0 -89
  234. package/docs/java-spring/README.md +0 -3
  235. package/docs/java-spring/solid-core-module-deep-dive-report.md +0 -1317
  236. package/docs/module-package-import-handoff.md +0 -691
  237. package/docs/seed-changes.md +0 -65
  238. package/docs/test-data-workflow.md +0 -200
  239. package/docs/type-declaration-import-issue.md +0 -24
  240. package/docs/workflow/business-automation-example-notes.md +0 -309
  241. package/docs/workflow/control-flow-node-addition-sop.md +0 -324
  242. package/docs/workflow/data-engineering-pipeline-example-notes.md +0 -330
  243. package/docs/workflow/foreach-example-notes.md +0 -187
  244. package/docs/workflow/hello-world-example-notes.md +0 -271
  245. package/docs/workflow/kestra-concepts-plugins-blueprints.md +0 -315
  246. package/docs/workflow/loop-until-example-notes.md +0 -198
  247. package/docs/workflow/microservices-and-apis-example-notes.md +0 -264
  248. package/docs/workflow/samples.md +0 -25
  249. package/docs/workflow/what-is-kestra.md +0 -79
  250. package/docs/workflow/workflow-core-module-handoff-summary.md +0 -191
  251. package/docs/workflow/workflow-module-brd.md +0 -185
  252. package/docs/workflow/workflow-module-domain-model.md +0 -252
  253. package/docs/workflow/workflow-module-metadata-dsl.md +0 -302
  254. package/docs/workflow/workflow-module-technical-spec.md +0 -293
  255. package/docs/workflow/workflow-node-type-contracts.md +0 -635
  256. package/docs/workflow/workflow-node-ui-metadata-contract.md +0 -1262
  257. package/docs/workflow/workflow-solidx-model-field-spec.md +0 -284
@@ -0,0 +1,16 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(node -e:*)",
5
+ "WebFetch(domain:docs.solidxai.com)",
6
+ "WebFetch(domain:github.com)",
7
+ "Read(//Users/oswald/projects/Solid_Starters/solidctl/**)",
8
+ "Read(//Users/oswald/projects/Solid_Starters/**)",
9
+ "Bash(find /Users/oswald/projects/Solid_Starters/solid-core-module -type d -name migration* -o -name *database*)",
10
+ "Bash(node verify-imports.js)"
11
+ ],
12
+ "additionalDirectories": [
13
+ "/Users/oswald/projects/Solid_Starters/solidctl"
14
+ ]
15
+ }
16
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,553 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.13-beta.8] - 2026-07-29
4
+
5
+ ### Added
6
+
7
+ - add configurable UI timeouts for testing steps and update documentation
8
+ - enhance internationalisation by adding applyCreateDefaults method for localeName on create DTOs
9
+ - implement promoteRecoveredDraftPublishVersion method and integrate with CRUDService for soft-deleted records
10
+ - add default locale name for internationalised entries in test data seeding
11
+ - implement draft/publish versioning support and refactor related services
12
+ - add DraftPublishHelperService for managing draft and publish workflows
13
+ - add workflow field data provider support and related interfaces
14
+ - add asynchronous execution for workflows and enhance execution status retrieval
15
+ - implement WorkflowSecret management with CRUD operations and integrate into workflow execution
16
+ - enhance workflow definition management and add Python runtime node
17
+ - add SolidX integration nodes for login, email, and SMS
18
+ - add support for versioning and publishing in CRUD operations, including new fields in entities and filters
19
+ - enhance http.request node with query parameters and body modes
20
+ - refactor node structure and add sequential and switch nodes
21
+ - update workflow execution and definition handling
22
+ - implement workflow execution services and nodes
23
+ - implement API key generation for system admin users in ModuleMetadataSeederService
24
+ - enhance ModuleMetadataSeederService to generate and store API keys for system admin users
25
+ - add fieldConfig property to DatasourceIntrospectionMappingColumnDto and enhance field sanitization in DatasourceIntrospectionService
26
+ - enhance migration process with build and seed commands
27
+ - enhance datasource introspection with primary key detection and migration support
28
+ - enhance role creation with module linkage and resolve module metadata
29
+ - enhance action, role, and view metadata services with change detection and JSON normalization
30
+ - add introspection services for MSSQL, MySQL, and PostgreSQL
31
+ - add new dashboard controller actions to permissions
32
+ - simplify queue health permissions by consolidating patterns
33
+ - implement explicit widget permissions and unauthorized response handling
34
+ - enhance widget permission checks and add unauthorized response handling
35
+ - add Queue SLA heatmap provider and update metadata
36
+ - update queue health menu item and reorder messages
37
+ - add various dashboard providers and runtime services
38
+ - implement WhatsApp Cloud API integration
39
+ - add gupshup whatsapp provider
40
+ - add deleteByMediaRecord method to MediaStorageProvider implementations
41
+ - add updateCustomNoteMessage action to ChatterMessageController
42
+ - add secure custom-note edit API with attachment add/remove support
43
+ - implemented social media oath for facebook and microsoft
44
+ - add partialUpdate endpoint to menu-item-metadata controller and update metadata seeder relation field name
45
+ - implemented social media oath for facebook and microsoft
46
+ - add Message Tree Action and corresponding view for mqMessage
47
+ - implement processing timeout for RabbitMQ subscriber
48
+ - Add a composite index to `ChatterMessage` on `coModelName` and `coModelEntityId`, and an index to `chatterMessage` in `ChatterMessageDetails`.
49
+ - Migrate date/time transformers to UtcDateTimeTransformer.
50
+ - simplify S3 URL resolution DTO, and remove unused S3 resolution logic.
51
+
52
+ ### Fixed
53
+
54
+ - improve error message for media deletion restriction
55
+ - use transactions entitymanager for all subscribers only for embedded db projects
56
+ - update consuming project name resolution to use parent directory
57
+ - update solidx directory path to include consuming project name
58
+ - correct package name in model generation command and update error handling in module metadata retrieval
59
+ - username
60
+ - remove type specification for encrypted column in Setting entity, to work in mssql also
61
+ - handle null or empty security rule configuration strings in repository
62
+
63
+ ### Changed
64
+
65
+ - rename create-draft-publish-helper.service to draft-publish-helper.service and update imports
66
+ - inject InternationalisationHelperService in ModuleTestDataService and CrudHelperService
67
+ - separate generic delete from draft-publish and i18n cleanup in CRUDService
68
+ - remove unused boolean type and related system column definitions from DatasourceIntrospectionService
69
+ - update CrudHelperService to initialize DraftPublishHelperService directly in the class refactor: remove publishedAt sorting logic from getLayout method in ViewMetadataService
70
+ - simplify published version filtering in CRUDService
71
+ - remove handleSeedLocales method to streamline locale seeding process
72
+ - remove legacy dashboard files and add new dashboarding architecture guide
73
+ - remove unused dashboard question and variable providers, SQL expression resolver, and related subscribers
74
+ - remove redundant null check in resolveSecurityRuleConfig
75
+ - update body column type to longText using getColumnType helper in SmsTemplate entity
76
+ - update legacy entity fields to be nullable and support null types
77
+ - replace DTO introspection with explicit isUpdate flag in MediaFieldCrudManager
78
+ - make password scheme and failed login attempt columns non-nullable in UserEntity.
79
+ - make passwordScheme, passwordSchemeVersion, and failedLoginAttempts fields nullable in the User entity.
80
+
81
+ ### Documentation
82
+
83
+ - update expired discord link
84
+
85
+ ### Other
86
+
87
+ - remove duplicate code
88
+ - refactoring around chatter media security fix
89
+ - add media extension support for post chatter
90
+ - Add media upload action and validation in MediaService
91
+ - add media extension support for post chatter
92
+ - changes to ensure only id and field are returned while populating the user in chatter
93
+ - Update defaultValue types in solid-core-metadata.json to strings
94
+ - 1. changes to ensure user populated for chatter and createdBy/updatedBy has only id and fullName populate 2. Added Exclude at property level on user to exclude sensitive fields by default without having to add an exclude at the class level
95
+ - Add getMentionableUsers permission
96
+ - Add endpoint to retrieve mentionable users with search and limit options
97
+ - Add error handling nodes and enhance workflow node definitions
98
+ - Add skipHooks option to seed command and related services
99
+ - Remove type specification for matched column in WorkflowTriggerExecution entity
100
+ - Enhance workflow node definitions and runtime context handling
101
+ - remvoing redundent code
102
+ - Remove onDelete cascade option from ManyToOne relationships in SavedFilters entity
103
+ - changes
104
+ - changes
105
+ - sql injection vulnerability closed in filter queries
106
+ - Remove LocalPath
107
+ - revert changes
108
+ - revert changes
109
+ - revert changes
110
+ - re revert
111
+ - revert changes
112
+ - private-file-cleanup
113
+ - add downlaodurl
114
+ - changes to allow overriding the is allowed api keys flag thru extension user
115
+ - Revert "user enumeration"
116
+ - remove validation from username and mobile
117
+ - user create validation bugs
118
+ - add normalize for otp based also
119
+ - Disable metadata pruning by default in seed command configuration
120
+ - Update seed command to enable metadata pruning by default
121
+ - handle-case-sensitive-for-email
122
+ - Add delete permissions for ImportTransactionController in solid-core metadata
123
+ - Add permissions for import/export functionality in solid-core metadata
124
+ - Refactor role assignment for admin users to handle capability roles individually
125
+ - discard changes
126
+ - add support for static file
127
+ - Add capability roles for admin users in module metadata seeder
128
+ - Enhance module metadata seeder with event emission for start and finish; add options interface for seeding configuration
129
+ - attachment
130
+ - Add new roles and permissions for import/export functionality; refactor role permission handling
131
+ - make isPublic default true
132
+ - changes to show the image inline
133
+ - cleanup againts media's
134
+ - inline role crate false
135
+ - Implement chatter mention notification system with email templates and queue handling
136
+ - Add messageBodyMentions field to chatter message DTOs and entity
137
+ - fix-audit-bug
138
+ - changes to include signed url token for private media
139
+ - Revert "Revert "rename function name""
140
+ - Revert "Revert "add private media support""
141
+ - Add media file type constants and enhance security for media uploads
142
+ - handle technical error messages due to missing resource in static resources folder
143
+ - Revert "add private media support"
144
+ - Revert "rename function name"
145
+ - rename function name
146
+ - add private media support
147
+ - some fixes
148
+ - solidx session invalid changes
149
+ - add validation on get chatter message
150
+ - updatedAt value is updating now
151
+ - fix to allow linking a userKey belonging to the parent model while seeding a child model
152
+ - add security against chatter
153
+ - chatter message endpoint made public
154
+ - removed embedded db support
155
+ - Add default sorting by ID if not explicitly specified in order options
156
+ - add icons across all the models in solid core
157
+ - media upload added behind auth
158
+ - Refactor module path resolution to use kebab-case and extract migration file writing logic into a separate method
159
+ - Implement cleanup for TypeORM datasource entities and enhance file handling in SolidTsMorphService
160
+ - class serializer interceptor added for impact of Exclude and Expose
161
+ - Enhance datasource introspection with primary key validation and user key resolution
162
+ - Concurrent Login Feature
163
+ - user enumeration
164
+ - add helper text key on settings object .........
165
+ - changes to handle case insenstive filter operations if the values are other than string by casting
166
+ - menus item fix
167
+ - changes to ensure entity manager does not get serialized as part of the message for the computed field queue
168
+ - added nodemon heartbeat to allow in-process db query execution for code generation for embedded db
169
+ - display name changed
170
+ - name changed
171
+ - added settings for configure the row click on solid list view
172
+ - Revert "Fix for this issue > stop applying lower for numeric fields."
173
+ - fixed legacy entity files names
174
+ - view metadata type field - selection static and roles required false from menu-item
175
+ - Fix for this issue > stop applying lower for numeric fields.
176
+ - refactor and add migration command
177
+ - Handling for audit subscriber to defer audit publish when in embedded db mode
178
+ - Fixed the one genuine mid-transaction second-connection case and hardened the latent spots (for embedded db)
179
+ - changes to take in option for seeding with modules in current seed method
180
+ - Fix validation logic to parse string field values as integers before applying validations
181
+ - remove computed field from instruction add one remove field command fix many-to-many on chatter log
182
+ - ad changes
183
+ - Add locale seeding functionality and enhance locale management
184
+ - subscribers now use the event’s own transaction connection instead of a second pooled one (helpful for embedded db)
185
+ - changes to avoid extra module checks before dynamically loading it
186
+ - defaulted to modulemetadataseederservice if no seeder provided
187
+ - Add Date field in Instructions Response
188
+ - ai interaction cleanup changes
189
+ - enabling create,edit,import,export on permission and lov modules
190
+ - added module to rolemetadata list view
191
+ - roles group by module changes
192
+ - Refactor dashboard providers to utilize new bucket expression and normalization functions
193
+ - Implement Datasource Management functionality with controller, service, and DTO
194
+ - added index to fields newly added as sortable and searchable
195
+ - Add archiver package to dependencies
196
+ - removed unnecessary seed file
197
+ - Add TypeORM migration helper functions and export in index
198
+ - fixes
199
+ - reverted accidental removal of the layout builder root menu
200
+ - pending cleanup of solid core menu items
201
+ - Refactor metadata: remove standalone menu items and add scheduled jobs and saved filters tree views
202
+ - Remove ChatterMessageDetails and ImportTransactionErrorLog menu items; add Chatter Messages tree view and action. Other menu sub menus cleanup done
203
+ - Add model sequence and list of values tree views to metadata, other cleanup changes
204
+ - changes for IAM
205
+ - Add clearPackageRuntime functionality and corresponding metadata action
206
+ - Add archiver dependency and implement module package export functionality
207
+ - Refactor menu cleanup logic in ModelMetadataService and ModuleMetadataService; improve error handling for file deletion and update build commands in ModulePackageService to use solidctl.
208
+ - Update solid-core-metadata.json to disable create, edit, and delete actions, and set searchable attributes to false for specific fields for media storage provider
209
+ - Add media tree view and action & media view cleanup, enhance file storage provider with file size tracking, implemented storeStreams for s3
210
+ - Remove cleanup procedures for module metadata across all SQL dialects and implement menu and action cleanup in the service layer.
211
+ - Remove unused database bootstrap service and related SQL cleanup procedures
212
+ - cleanup
213
+ - Add view and action metadata tree views with updated permissions and searchable fields
214
+ - Add view and action metadata tree views with updated permissions and searchable fields
215
+ - menu item model cleanup
216
+ - Add resumable import handling and transaction management in module package service
217
+ - Add method to retrieve Solid UI module path and enhance cleanup logging
218
+ - Enhance module metadata seeder: add validation for module name, streamline array handling for scheduled jobs, saved filters, list of values, security rules, sms templates, email templates, menus, actions, views, users, roles, media storage providers, model sequences, and models metadata.
219
+ - Implement module package management: add controller, service, and DTOs for import, export, and build operations.
220
+ - many to one left join issue fixed
221
+ - Refactor field metadata actions and views: update action types, enhance searchability, and adjust permissions for create, edit, and delete operations.
222
+ - Refactor CRUD and model metadata services to enhance group filtering and pagination; streamline response handling and improve query structure. configuration changes to support tree view in model metadata
223
+ - Update solid-core metadata: remove import/export options, rename fields, and add sortable attribute
224
+ - Enhance solid-core metadata structure for module mdtadata by removing import/export options and adding sortable attributes for fields
225
+ - Implement module metadata explorer with CRUD operations and search functionality
226
+ - Refactor module metadata paths to use a consistent directory structure and improve file resolution logic
227
+ - Bug fixs
228
+ - added frontend base url as well to the default settings
229
+ - minor cleanup
230
+ - changes to cleanup legacy table related fields
231
+ - changes for new dashboards functionality
232
+ - always print server startup line regardless of log level
233
+ - Add field quality checks and fixes checklist for backend validation
234
+ - typeo issue
235
+ - Agent table clean up
236
+ - Add manual interaction step for Playwright and update README
237
+ - provision made to unlink data rather than having to teardown everything
238
+ - provision made to unlink data rather than having to teardown everything
239
+ - changes to colour the server startup line
240
+ - Agent table clean up
241
+ - changes to avoid too many initialization logs. controlled thru the verboseBootstrap option to the boostrap helper
242
+ - removed id command options and retained the singular name option only for consistency purposes
243
+ - changes to route genertion commands thru solidctl. The refresh-module & refresh-model commands are what are eventually called and end up calling the services only, keeping calling consistent and ensuring everything is route thru solidctl generate
244
+ - got rid of fieldNamesForRefresh and fieldIdsForRefresh dead chain since it is not used now, due to fields being read in the code builder from the metadata json directly
245
+ - MCP table solid changes
246
+ - playwrite added as dependency instead
247
+ - changes to the test runner
248
+ - chatter message user resolution chagnes
249
+ - bug fix in chatter message user resolution after we moved to queues.
250
+ - moved back to beta3
251
+ - failed login attempts field added to the json and update dto and exposed in entity
252
+ - removed un-necessary index on newvalue display
253
+ - ts changes error: any
254
+ - auto addition of menus happens at the bottom now. list view layout changes for security access rules + enabled delete made welcome email & sms SystemAdminEditable
255
+ - changed model metadata service default form layout to be single column
256
+ - added typing to catch blocks + authentication service bug fixes for private registration flow
257
+ - added typing to catch blocks + authentication service bug fixes for private registration flow
258
+ - normalised @ApiTags
259
+ - enum for passwordless modes
260
+ - bug fix in how alternative actions are rendered
261
+ - queue related bug fixes
262
+ - changes to add a websocket adaptor to the bootstrap server routine
263
+ - license changes
264
+ - type fixes
265
+ - removed min and max from long text mapping
266
+ - bug fix for shortext field mapping
267
+ - changes to post the testing results to a webhook api with a test payload
268
+ - added import multer this fixes un-necessary ts errors in vscode
269
+ - ts errors fixed
270
+ - bug fix in rabbitmq subscriber optimisation in all subscribers to default to role both if not specified
271
+ - formatting changes
272
+ - facebook oauth
273
+ - Status required false
274
+ - updated gitignore
275
+ - dleete un-necessary docs
276
+ - deleted un-necessary files
277
+ - changes related to more grooming
278
+ - api added in cors
279
+ - refactor Oauth strategy
280
+ - Revert "Ft social media login"
281
+ - bug fix
282
+ - bug fix
283
+ - add new api me endpoint and role based settings
284
+ - setting changes for new ui architecture
285
+ - changes for new settings structure
286
+ - chatter task subtype and related changes
287
+ - bug fix
288
+ - fixes
289
+ - changes to get rid of angular schematics for helping with string case transformation for consistency purpose i.e (lodash is being used on frontend too) and avoid edge cases
290
+ - changes to handle import logs as well, thru configured winston log level
291
+ - change isMultiSelect to true in solid-core-metadata.json
292
+ - change isMultiSelect to false and set visibility for cronExpression, dayOfWeek, and dayOfMonth fields to false
293
+ - tightened up queue subscriber interface + fixed core subscribers that were not returning anything. all subscribers must either return a promise or if not async then the actual value
294
+ - removed authTheme setting, auth pages dark - light is now controlled by the same local storage as the rest of the app shell
295
+ - bug fix: passwordless registration should create a user with active false
296
+ - apikeys attribute was not exposed
297
+ - refactor Oauth strategy
298
+ - changes to avoid sending out encrypted setting in api responses. also removed menu item and action entries for ai settings. (temporary fix, since setting ui to be revamped soon)
299
+ - bug fix
300
+ - null check on role
301
+ - made provision to seed custom permissions
302
+ - handled seed scenario too
303
+ - upload File and expectHidden changes
304
+ - extension user cleanup and checks added
305
+ - fixed types for cleanup
306
+ - added tsc-alias as well to ensure clean imports in dist as an extra cleanup measure
307
+ - fixes bare shell imports with relative imports
308
+ - dynamic import fix
309
+ - removed unnecessary file
310
+ - fixes for 1. throw exception if extension user and no provider configured 2. fixed roles method in the extensionUserProvider interface to make it mandatory
311
+ - removed base abstract class
312
+ - added interface too
313
+ - changes
314
+ - changes to test data seeding & fixed the type for authenticationService.signup method
315
+ - changes to user dto to include the api keys toggle
316
+ - add default role to the user only if there are no roles resolved against a user
317
+ - changes to replace current extension user custom user creation logic with the use of dynamic extension user provider. cleans up creation of an extension user
318
+ - Only forward --debug when explicitly enabled.
319
+ - toolOutput field changes to json
320
+ - adding user api key entity to export
321
+ - minor optimisation to how dynamic modules are loaded
322
+ - Add Discord badge to top of README
323
+ - Fix broken BSL license link and add Discord link to README
324
+ - Add BSL 1.1 license and update package.json license field
325
+ - Seed user and roles in testing data
326
+ - removed readme.txt
327
+ - moved type and interfaces in interfaces.ts and refactored accordingly
328
+ - changed to md
329
+ - added readme
330
+ - Ai setting model change
331
+ - changes to allow encrypting setting keys
332
+ - form view clean up
333
+ - Agent table list view changes
334
+ - synchronize false
335
+ - changes to resolve the selection dynamic provider by name and token both
336
+ - changes to bypass swagger urls from csp policy
337
+ - changes to create a seperate endpoint for admin users to generate api key + custom repository created for userApiKey
338
+ - changes to fix issue around isAllowedToGenerateApiKeys not getting saved during user creation
339
+ - changes to implement the sso code and sso exchange use cases
340
+ - removed orm types / exported api key entity
341
+ - added provision to control if api key creation is allowed for the user
342
+ - api key changes for backend
343
+ - changes to bootstrap helper to read from standard env variables and avoid redundantly passing swagger options
344
+ - fix to call addRoles only if role names are present
345
+ - Revert "revert: refactor: update legacy entity fields to be nullable and support null types"
346
+ - refactor: update legacy entity fields to be nullable and support null types
347
+ - Json structure change
348
+ - Agent table metadata clean up changes
349
+ - longtext
350
+ - longtext changes
351
+ - Agent tables clean up
352
+ - fixes to seed many-to-many relation for tests
353
+ - changes to seed media in testing data
354
+ - Chatter modelUserkey and excel many to one issue
355
+ - keeping the default selectionValueType as string since this is a good default
356
+ - bug fixes around how media is done
357
+ - bug fixes
358
+ - try catch inside logEvent
359
+ - media has card based metadata
360
+ - Refresh token activity
361
+ - changes to implement the sso code and sso exchange use cases
362
+ - cleanup
363
+ - enabled kanban view on mq message
364
+ - Agent table changes
365
+ - changes to disallow deleting a model or module in production
366
+ - changelog version bumped
367
+ - changelog added
368
+ - changes to control the logging using env variables & set appropriate defaults basis environment
369
+ - chnages for logging
370
+ - Chatter queue fixs
371
+ - one more "beta" for ozzy
372
+ - additional loggging in cors helper
373
+ - changes
374
+ - Redis Queue component and rabbitMQ folder changes
375
+ - changes to track old and new fields as part of the delete entity operation
376
+ - optimizations done for audit subcriber
377
+ - changes to optimize audit subscriber code to use background jobs entirely instead of partially
378
+ - changes to push all work/processing to the chatter queue subscriber to better manage workloads & db pooling utilization
379
+ - formatting changes
380
+ - performance optimisations 1. created by updated by subscriber is not querying users again and again 2. rabbit pub / sub can now optinally switch off db persistence
381
+ - qs depth config increased
382
+ - changes to move the shouldTrackAudit check into registry to avoid unnecessary checks during runtime
383
+ - cached model metadata queries
384
+ - changse
385
+ - disabled extra loggign
386
+ - chagnes
387
+ - reduced concurrency in computed fields
388
+ - additional loggign
389
+ - added indexes to mobile & email since those are frequently queries upon
390
+ - changes to optimize the permission service methods used in the hotspot load paths within auth and access token guards
391
+ - Redis background job changes
392
+ - Chatter Rationalizing
393
+ - changes
394
+ - changes
395
+ - changes to merge the entityId sequence computed provider into the existing sequence number provider
396
+ - changes to export bootstrap helpers for server & cli nest applications
397
+ - changes to toggle the validation for selection dynamic provider. Also changes to export a bootstrap helper function
398
+ - registered the EntityIdSequenceNumComputedFieldProvider computation provider as a nest provider
399
+ - Added EntityIdSequenceNumComputedFieldProvider as an alternative simpler provider which uses the modelSequence configuration and relies on the id persisted during creation for an entity
400
+ - added index on message id in mq message table
401
+ - changes around sequence num computed field being a post computation provider error logging in rabbit mq
402
+ - changes to save model sequence id as part of post compute instead of pre compute
403
+ - changse
404
+ - Revert "High concurrency fix for alpha num and sequence num computed fields"
405
+ - High concurrency fix for alpha num and sequence num computed fields
406
+ - bug fix in cron evalutaion
407
+ - tighter logging around roles
408
+ - scheduler now supports env based specific jobs starting and others not
409
+ - reverting back to text (i.e since it is good enough for mysql too) i.e 64kb for these fields
410
+ - revert cross db changes for view-metadata-entity
411
+ - fixes
412
+ - changes to handle cross-db compatibility
413
+ - added type as simple-json
414
+ - Remove isValidateForUpdate hack that relied on checking dto.id !== undefined
415
+ - Revert "Merge branch 'media-update' into 'main'"
416
+ - Mysql related changes
417
+ - ts-morph and media storage fix
418
+ - dashboard layout menu item added
419
+ - dashboard changes
420
+ - scheduler bug fix
421
+ - made provision to execute scheduled jobs manually
422
+ - changes
423
+ - cleanup
424
+ - logging related changes and made user activity history tree view
425
+ - changes to return the wall clock time as utc for chatter as well to keep it...
426
+ - changes around dashboard question refactoring
427
+ - default tree view and action added on code generation
428
+ - Date time format changes in audit
429
+ - user activity history on otp login
430
+ - changes
431
+ - changelog added
432
+ - reverted legacy and common entity to use local date time transformer only
433
+ - added changelog
434
+ - made playwright dependency lazy
435
+ - ai interaction table user is nullable now
436
+ - rabbitmq subscriber does a prefetch now allowing for more concurrency
437
+ - formatting changes
438
+ - Version info changes
439
+ - dummy otp can now be enabled on a per user basis
440
+ - jwt token optimisation
441
+ - optimised the authentication flow in microservice adapter to cache access token
442
+ - deleted file containing secrets
443
+ - changes
444
+ - optimisation around how dummy otp is managed
445
+ - isSeeded added
446
+ - bug fix for fetch layouts
447
+ - view modes added in layout
448
+ - One to many crud manager fixes
449
+ - one-to-many-crud-manager-fixes
450
+ - Many to many crud field manager fixes
451
+ - patch endpoint added in role controller
452
+ - many-to-many field fixes
453
+ - modelSequenceFormViewChangeHandler added on field change
454
+ - changes to convert the passwordlessRegistrationValidateWhat from array to string
455
+ - changes to format group values consistently
456
+ - fixes for normalizing group values
457
+ - Revert "changes to return groupValue in the group meta response as well. groupValue is..."
458
+ - changes to return groupValue in the group meta response as well. groupValue is...
459
+ - changes to return groupValue in the group meta response as well. groupValue is...
460
+ - filter_field_granularity_supported_added_for_date_fields
461
+ - password registration/login cleanup + max failed login attempts checks added
462
+ - removed unsafe inline from CSP
463
+ - removed incorrect comment
464
+ - changes
465
+ - Revert "replaced playwright with lazy dependency"
466
+ - replaced playwright with lazy dependency
467
+ - count and average
468
+ - fixes to solid core metadata configuration
469
+ - make `s3Key` and `isPrivate` properties mandatory in `ResolveS3UrlDto`.
470
+ - solid seed now prints proper exception stack trace
471
+ - added playwright dependencies as peer dependencies
472
+ - changed playwright import to make it lazy
473
+ - issue fixes
474
+ - formatting changes
475
+ - formatting changes
476
+ - changes for test setup
477
+ - package changes
478
+ - Changes to generate an SA user with the default password for simpler experience during setup
479
+ - more changes to support form data based uploads
480
+ - changes
481
+ - changes around testing workflow
482
+ - unified testing utitlities
483
+ - added comments to the slug code
484
+ - refactored queue namespacign
485
+ - queue namespacing related chanes
486
+ - removed todo
487
+ - queue name related changes
488
+ - cag
489
+ - changrs
490
+ - queues names are now namespaced by service naem
491
+ - enabled logs
492
+ - debug logs
493
+ - testing docs updated
494
+ - changes
495
+ - cleanup
496
+ - removed old testing related fiels
497
+ - testing infra now supports data based interpolation
498
+ - testing changes: now we support fully custom test specs
499
+ - changes for test automation
500
+ - changes to tsconfig for playwright tests
501
+ - exporting typeorm db helper
502
+ - removed the files section
503
+ - changes for playwright testing
504
+ - changes to disable service controller seed method
505
+ - formatting changes
506
+ - oom issue
507
+ - logger added for chatter
508
+ - changed arg to kebab case instead of came case in schematic service
509
+ - default menu icons added
510
+ - rabbitmq subscriber: add retries, DLX queues, reconnects, and docs
511
+ - removed un-necessary log
512
+ - fix for handling non existence of fieldNamesForRemoval arg
513
+ - foirmatting canges
514
+ - Archived/solidstarters main
515
+ - version changes
516
+ - changed org : @solidstarters -> @solidxai
517
+ - removed publish script, since it is replaced with solidctl release
518
+ - chanes
519
+ - Revert "@solidstarters namespace changed to @solidx"
520
+ - @solidstarters namespace changed to @solidx
521
+ - file service interface changes
522
+ - CR in s3 file service, url options now supports isPrivateBucket allowing one to generate signed and un-signed URLs using the getUrl method
523
+ - changes to the publish script to support: 1.reverse merging main to dev to ensure latest package version is synced with dev post publish. 2. added guardrail to allow publishing from main branch only 3. added dry run option and force option i.e (in case we want to publish from another branch, but is hidden) 4. script now pushes the git version tags as well
524
+ - changes to pass minimal parameters to the schematics project and pick the rest from the metadata configuration json file (avoid long shell commands)
525
+ - test data workflow
526
+ - test-data command
527
+ - seed command updated
528
+ - changes
529
+ - changes
530
+ - seed command changes to support pruning, test-data-setup and test-data-teardown.
531
+ - seeding now supports seedData allowing us to seed fixtures for testing.
532
+ - precomputations now skip computation if value is already provided
533
+ - added utility for findOneByUserKey
534
+ - pruning related chagnes
535
+ - changes
536
+ - more changes related to pruning metadata
537
+ - pruen logs added
538
+ - module metadata seeder now does prune also
539
+ - reformatting to improve readability
540
+ - changes
541
+ - file type not allowed. Allowed: image, document, pdf. Received mimetype: application/pdf (mapped to file)
542
+ - bug fixes
543
+ - changes to cleanup the implementation by having the write method of file service return the url post write
544
+ - changes to support using the region specified in a media storage provider, instead only the default while creating an s3 client
545
+ - fixes for using the default-aws-s3 bucket for storing the settings media if default file service is s3
546
+ - changes to settings media storage logic i.e copy multer path to file service implementation write
547
+ - file service abstraction cleanup
548
+ - chagnes
549
+ - Dashboard Question Responsive
550
+
3
551
  ## [0.1.13-beta.7] - 2026-07-29
4
552
 
5
553
  ### Added
package/CLAUDE.md ADDED
@@ -0,0 +1,26 @@
1
+ # This is the SolidX API project.
2
+ This is included as a dependency in consuming projects.
3
+
4
+ # SolidX UI
5
+ # The corresponding UI project is at the below path:
6
+ /Users/oswald/projects/Solid_Starters/solid-core-ui
7
+
8
+ # SolidX Docs
9
+ # The documentation project is at the below path:
10
+ /Users/oswald/projects/solidxai-docs
11
+
12
+ # SolidX Agent
13
+ # The agent project which has the skills for helping users configure, build and use SolidX is at the below path:
14
+ /Users/oswald/projects/Solid_Starters/agent
15
+
16
+ # SolidX Control Plane Commands
17
+ # The control plane commands for managing SolidX instances are in the below path:
18
+ /Users/oswald/projects/Solid_Starters/solidctl
19
+
20
+ # Testing reference project
21
+ # This is the reference library management project that is used for testing and development of SolidX features. It is located at the below path:
22
+ /Users/oswald/projects/Solid_Starters/solid-library-management
23
+
24
+ # Code Builder project
25
+ # This is the project that contains the code builder which generates code based on user input and templates. It is located at the below path:
26
+ /Users/oswald/projects/Solid_Starters/solid-code-builder
@@ -0,0 +1,2 @@
1
+ export declare const DRAFT_PUBLISH_VERSIONING_FIELD_NAMES: readonly ["isPublished", "isLatest", "initialEntityVersionId", "publishedTracker"];
2
+ //# sourceMappingURL=draft-publish-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-publish-fields.d.ts","sourceRoot":"","sources":["../../src/constants/draft-publish-fields.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oCAAoC,oFAAqF,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DRAFT_PUBLISH_VERSIONING_FIELD_NAMES = void 0;
4
+ exports.DRAFT_PUBLISH_VERSIONING_FIELD_NAMES = ['isPublished', 'isLatest', 'initialEntityVersionId', 'publishedTracker'];
5
+ //# sourceMappingURL=draft-publish-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-publish-fields.js","sourceRoot":"","sources":["../../src/constants/draft-publish-fields.ts"],"names":[],"mappings":";;;AAIa,QAAA,oCAAoC,GAAG,CAAC,aAAa,EAAE,UAAU,EAAE,wBAAwB,EAAE,kBAAkB,CAAU,CAAC","sourcesContent":["// The versioning columns CommonEntity adds for draft/publish support. These don't exist on\n// legacy tables (see LegacyCommonEntityWithExistingId) and don't carry over when a new draft\n// version is copied from its source entity, so both of those call sites share this list rather\n// than each hand-enumerating the same four names.\nexport const DRAFT_PUBLISH_VERSIONING_FIELD_NAMES = ['isPublished', 'isLatest', 'initialEntityVersionId', 'publishedTracker'] as const;\n"]}
@@ -1,5 +1,14 @@
1
1
  export type MediaCategory = 'image' | 'audio' | 'video' | 'file' | 'pdf';
2
2
  export declare const DANGEROUS_EXTENSIONS: Set<string>;
3
+ export declare const DANGEROUS_MIME_TYPES: Set<string>;
4
+ export declare function getLowercaseFileExtension(fileName?: string | null): string | undefined;
5
+ export interface UploadedFileLike {
6
+ mimetype?: string;
7
+ originalname?: string;
8
+ filename?: string;
9
+ }
10
+ export declare function getUploadedFileName(file?: UploadedFileLike | null): string;
11
+ export declare function isDangerousMediaFile(file?: UploadedFileLike | null): boolean;
3
12
  export declare const EXT_TO_MEDIA_TYPE: Record<string, MediaCategory>;
4
13
  export declare const INLINE_SAFE_EXTENSIONS: Set<string>;
5
14
  //# sourceMappingURL=media-file-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"media-file-types.d.ts","sourceRoot":"","sources":["../../src/constants/media-file-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAazE,eAAO,MAAM,oBAAoB,aAI/B,CAAC;AASH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAM3D,CAAC;AAMF,eAAO,MAAM,sBAAsB,aAKjC,CAAC"}
1
+ {"version":3,"file":"media-file-types.d.ts","sourceRoot":"","sources":["../../src/constants/media-file-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAazE,eAAO,MAAM,oBAAoB,aAI/B,CAAC;AAQH,eAAO,MAAM,oBAAoB,aAE/B,CAAC;AAEH,wBAAgB,yBAAyB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAWtF;AAGD,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,MAAM,CAE1E;AAQD,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,OAAO,CAO5E;AASD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAM3D,CAAC;AAMF,eAAO,MAAM,sBAAsB,aAKjC,CAAC"}