@solidxai/core 0.1.13-beta.10 → 0.1.13-beta.11

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