@solidxai/core 0.1.11-beta.9 → 0.1.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.
- package/CHANGELOG.md +456 -0
- package/dist/controllers/datasource-introspection.controller.d.ts +8 -0
- package/dist/controllers/datasource-introspection.controller.d.ts.map +1 -1
- package/dist/controllers/media.controller.js +0 -2
- package/dist/controllers/media.controller.js.map +1 -1
- package/dist/helpers/environment.helper.d.ts +0 -1
- package/dist/helpers/environment.helper.d.ts.map +1 -1
- package/dist/helpers/environment.helper.js +0 -4
- package/dist/helpers/environment.helper.js.map +1 -1
- package/dist/helpers/model-metadata-helper.service.d.ts +1 -2
- package/dist/helpers/model-metadata-helper.service.d.ts.map +1 -1
- package/dist/helpers/model-metadata-helper.service.js +2 -6
- package/dist/helpers/model-metadata-helper.service.js.map +1 -1
- package/dist/helpers/module-metadata-helper.service.js +1 -1
- package/dist/helpers/module-metadata-helper.service.js.map +1 -1
- package/dist/helpers/solid-registry.d.ts +1 -2
- package/dist/helpers/solid-registry.d.ts.map +1 -1
- package/dist/helpers/solid-registry.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +1 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/repository/scheduled-job.repository.d.ts +2 -2
- package/dist/repository/scheduled-job.repository.d.ts.map +1 -1
- package/dist/repository/scheduled-job.repository.js +3 -6
- package/dist/repository/scheduled-job.repository.js.map +1 -1
- package/dist/repository/security-rule.repository.d.ts +2 -2
- package/dist/repository/security-rule.repository.d.ts.map +1 -1
- package/dist/repository/security-rule.repository.js +3 -6
- package/dist/repository/security-rule.repository.js.map +1 -1
- package/dist/seeders/seed-data/solid-core-metadata.json +62 -33
- package/dist/services/authentication.service.d.ts +2 -0
- package/dist/services/authentication.service.d.ts.map +1 -1
- package/dist/services/authentication.service.js +32 -11
- package/dist/services/authentication.service.js.map +1 -1
- package/dist/services/computed-fields/entity/alpha-num-external-id-computed-field-provider.d.ts.map +1 -1
- package/dist/services/computed-fields/entity/alpha-num-external-id-computed-field-provider.js +5 -7
- package/dist/services/computed-fields/entity/alpha-num-external-id-computed-field-provider.js.map +1 -1
- package/dist/services/crud-helper.service.d.ts.map +1 -1
- package/dist/services/crud-helper.service.js +7 -0
- package/dist/services/crud-helper.service.js.map +1 -1
- package/dist/services/datasource-introspection.service.d.ts +10 -0
- package/dist/services/datasource-introspection.service.d.ts.map +1 -1
- package/dist/services/datasource-introspection.service.js +109 -17
- package/dist/services/datasource-introspection.service.js.map +1 -1
- package/dist/services/menu-item-metadata.service.d.ts.map +1 -1
- package/dist/services/menu-item-metadata.service.js +1 -0
- package/dist/services/menu-item-metadata.service.js.map +1 -1
- package/dist/services/model-metadata.service.d.ts +2 -0
- package/dist/services/model-metadata.service.d.ts.map +1 -1
- package/dist/services/model-metadata.service.js +49 -16
- package/dist/services/model-metadata.service.js.map +1 -1
- package/dist/services/module-metadata.service.d.ts.map +1 -1
- package/dist/services/module-metadata.service.js +0 -28
- package/dist/services/module-metadata.service.js.map +1 -1
- package/dist/services/settings/default-settings-provider.service.d.ts +212 -0
- package/dist/services/settings/default-settings-provider.service.d.ts.map +1 -1
- package/dist/services/settings/default-settings-provider.service.js +106 -0
- package/dist/services/settings/default-settings-provider.service.js.map +1 -1
- package/dist/services/solid-ts-morph.service.d.ts +6 -0
- package/dist/services/solid-ts-morph.service.d.ts.map +1 -1
- package/dist/services/solid-ts-morph.service.js +43 -0
- package/dist/services/solid-ts-morph.service.js.map +1 -1
- package/dist/subscribers/audit.subscriber.d.ts.map +1 -1
- package/dist/subscribers/audit.subscriber.js +2 -8
- package/dist/subscribers/audit.subscriber.js.map +1 -1
- package/dist/subscribers/computed-entity-field.subscriber.d.ts +0 -8
- package/dist/subscribers/computed-entity-field.subscriber.d.ts.map +1 -1
- package/dist/subscribers/computed-entity-field.subscriber.js +3 -36
- package/dist/subscribers/computed-entity-field.subscriber.js.map +1 -1
- package/dist/subscribers/created-by-updated-by.subscriber.d.ts.map +1 -1
- package/dist/subscribers/created-by-updated-by.subscriber.js.map +1 -1
- package/dist/subscribers/field-metadata.subscriber.d.ts.map +1 -1
- package/dist/subscribers/field-metadata.subscriber.js.map +1 -1
- package/dist/subscribers/scheduled-job.subscriber.d.ts.map +1 -1
- package/dist/subscribers/scheduled-job.subscriber.js +2 -3
- package/dist/subscribers/scheduled-job.subscriber.js.map +1 -1
- package/dist/subscribers/security-rule.subscriber.d.ts.map +1 -1
- package/dist/subscribers/security-rule.subscriber.js +3 -5
- package/dist/subscribers/security-rule.subscriber.js.map +1 -1
- package/package.json +1 -1
- package/src/controllers/media.controller.ts +1 -1
- package/src/helpers/environment.helper.ts +0 -11
- package/src/helpers/model-metadata-helper.service.ts +2 -7
- package/src/helpers/module-metadata-helper.service.ts +1 -1
- package/src/helpers/solid-registry.ts +1 -7
- package/src/index.ts +0 -1
- package/src/interfaces.ts +1 -0
- package/src/repository/scheduled-job.repository.ts +4 -10
- package/src/repository/security-rule.repository.ts +4 -10
- package/src/seeders/seed-data/solid-core-metadata.json +62 -33
- package/src/services/authentication.service.ts +46 -12
- package/src/services/computed-fields/entity/alpha-num-external-id-computed-field-provider.ts +5 -11
- package/src/services/crud-helper.service.ts +7 -0
- package/src/services/datasource-introspection.service.ts +176 -16
- package/src/services/menu-item-metadata.service.ts +2 -1
- package/src/services/model-metadata.service.ts +63 -22
- package/src/services/module-metadata.service.ts +0 -36
- package/src/services/settings/default-settings-provider.service.ts +106 -0
- package/src/services/solid-ts-morph.service.ts +61 -1
- package/src/subscribers/audit.subscriber.ts +2 -11
- package/src/subscribers/computed-entity-field.subscriber.ts +6 -63
- package/src/subscribers/created-by-updated-by.subscriber.ts +0 -3
- package/src/subscribers/field-metadata.subscriber.ts +0 -3
- package/src/subscribers/scheduled-job.subscriber.ts +2 -3
- package/src/subscribers/security-rule.subscriber.ts +3 -8
- package/dist/helpers/nodemon-heartbeat.d.ts +0 -5
- package/dist/helpers/nodemon-heartbeat.d.ts.map +0 -1
- package/dist/helpers/nodemon-heartbeat.js +0 -67
- package/dist/helpers/nodemon-heartbeat.js.map +0 -1
- package/src/helpers/nodemon-heartbeat.ts +0 -59
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,461 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.11] - 2026-07-09
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- implement API key generation for system admin users in ModuleMetadataSeederService
|
|
8
|
+
- enhance ModuleMetadataSeederService to generate and store API keys for system admin users
|
|
9
|
+
- add fieldConfig property to DatasourceIntrospectionMappingColumnDto and enhance field sanitization in DatasourceIntrospectionService
|
|
10
|
+
- enhance migration process with build and seed commands
|
|
11
|
+
- enhance datasource introspection with primary key detection and migration support
|
|
12
|
+
- enhance role creation with module linkage and resolve module metadata
|
|
13
|
+
- enhance action, role, and view metadata services with change detection and JSON normalization
|
|
14
|
+
- add introspection services for MSSQL, MySQL, and PostgreSQL
|
|
15
|
+
- add new dashboard controller actions to permissions
|
|
16
|
+
- simplify queue health permissions by consolidating patterns
|
|
17
|
+
- implement explicit widget permissions and unauthorized response handling
|
|
18
|
+
- enhance widget permission checks and add unauthorized response handling
|
|
19
|
+
- add Queue SLA heatmap provider and update metadata
|
|
20
|
+
- update queue health menu item and reorder messages
|
|
21
|
+
- add various dashboard providers and runtime services
|
|
22
|
+
- implement WhatsApp Cloud API integration
|
|
23
|
+
- add gupshup whatsapp provider
|
|
24
|
+
- add deleteByMediaRecord method to MediaStorageProvider implementations
|
|
25
|
+
- add updateCustomNoteMessage action to ChatterMessageController
|
|
26
|
+
- add secure custom-note edit API with attachment add/remove support
|
|
27
|
+
- implemented social media oath for facebook and microsoft
|
|
28
|
+
- add partialUpdate endpoint to menu-item-metadata controller and update metadata seeder relation field name
|
|
29
|
+
- implemented social media oath for facebook and microsoft
|
|
30
|
+
- add Message Tree Action and corresponding view for mqMessage
|
|
31
|
+
- implement processing timeout for RabbitMQ subscriber
|
|
32
|
+
- Add a composite index to `ChatterMessage` on `coModelName` and `coModelEntityId`, and an index to `chatterMessage` in `ChatterMessageDetails`.
|
|
33
|
+
- Migrate date/time transformers to UtcDateTimeTransformer.
|
|
34
|
+
- simplify S3 URL resolution DTO, and remove unused S3 resolution logic.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- use transactions entitymanager for all subscribers only for embedded db projects
|
|
39
|
+
- update consuming project name resolution to use parent directory
|
|
40
|
+
- update solidx directory path to include consuming project name
|
|
41
|
+
- correct package name in model generation command and update error handling in module metadata retrieval
|
|
42
|
+
- username
|
|
43
|
+
- remove type specification for encrypted column in Setting entity, to work in mssql also
|
|
44
|
+
- handle null or empty security rule configuration strings in repository
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- remove handleSeedLocales method to streamline locale seeding process
|
|
49
|
+
- remove legacy dashboard files and add new dashboarding architecture guide
|
|
50
|
+
- remove unused dashboard question and variable providers, SQL expression resolver, and related subscribers
|
|
51
|
+
- remove redundant null check in resolveSecurityRuleConfig
|
|
52
|
+
- update body column type to longText using getColumnType helper in SmsTemplate entity
|
|
53
|
+
- update legacy entity fields to be nullable and support null types
|
|
54
|
+
- replace DTO introspection with explicit isUpdate flag in MediaFieldCrudManager
|
|
55
|
+
- make password scheme and failed login attempt columns non-nullable in UserEntity.
|
|
56
|
+
- make passwordScheme, passwordSchemeVersion, and failedLoginAttempts fields nullable in the User entity.
|
|
57
|
+
|
|
58
|
+
### Documentation
|
|
59
|
+
|
|
60
|
+
- update expired discord link
|
|
61
|
+
|
|
62
|
+
### Other
|
|
63
|
+
|
|
64
|
+
- removed embedded db support
|
|
65
|
+
- Add default sorting by ID if not explicitly specified in order options
|
|
66
|
+
- add icons across all the models in solid core
|
|
67
|
+
- media upload added behind auth
|
|
68
|
+
- Refactor module path resolution to use kebab-case and extract migration file writing logic into a separate method
|
|
69
|
+
- Implement cleanup for TypeORM datasource entities and enhance file handling in SolidTsMorphService
|
|
70
|
+
- Enhance datasource introspection with primary key validation and user key resolution
|
|
71
|
+
- user enumeration
|
|
72
|
+
- add helper text key on settings object .........
|
|
73
|
+
- changes to handle case insenstive filter operations if the values are other than string by casting
|
|
74
|
+
- menus item fix
|
|
75
|
+
- changes to ensure entity manager does not get serialized as part of the message for the computed field queue
|
|
76
|
+
- added nodemon heartbeat to allow in-process db query execution for code generation for embedded db
|
|
77
|
+
- display name changed
|
|
78
|
+
- name changed
|
|
79
|
+
- added settings for configure the row click on solid list view
|
|
80
|
+
- Revert "Fix for this issue > stop applying lower for numeric fields."
|
|
81
|
+
- fixed legacy entity files names
|
|
82
|
+
- view metadata type field - selection static and roles required false from menu-item
|
|
83
|
+
- Fix for this issue > stop applying lower for numeric fields.
|
|
84
|
+
- refactor and add migration command
|
|
85
|
+
- Handling for audit subscriber to defer audit publish when in embedded db mode
|
|
86
|
+
- Fixed the one genuine mid-transaction second-connection case and hardened the latent spots (for embedded db)
|
|
87
|
+
- changes to take in option for seeding with modules in current seed method
|
|
88
|
+
- Fix validation logic to parse string field values as integers before applying validations
|
|
89
|
+
- remove computed field from instruction add one remove field command fix many-to-many on chatter log
|
|
90
|
+
- ad changes
|
|
91
|
+
- Add locale seeding functionality and enhance locale management
|
|
92
|
+
- subscribers now use the event’s own transaction connection instead of a second pooled one (helpful for embedded db)
|
|
93
|
+
- changes to avoid extra module checks before dynamically loading it
|
|
94
|
+
- defaulted to modulemetadataseederservice if no seeder provided
|
|
95
|
+
- Add Date field in Instructions Response
|
|
96
|
+
- ai interaction cleanup changes
|
|
97
|
+
- enabling create,edit,import,export on permission and lov modules
|
|
98
|
+
- added module to rolemetadata list view
|
|
99
|
+
- roles group by module changes
|
|
100
|
+
- Refactor dashboard providers to utilize new bucket expression and normalization functions
|
|
101
|
+
- Implement Datasource Management functionality with controller, service, and DTO
|
|
102
|
+
- added index to fields newly added as sortable and searchable
|
|
103
|
+
- Add archiver package to dependencies
|
|
104
|
+
- removed unnecessary seed file
|
|
105
|
+
- Add TypeORM migration helper functions and export in index
|
|
106
|
+
- fixes
|
|
107
|
+
- reverted accidental removal of the layout builder root menu
|
|
108
|
+
- pending cleanup of solid core menu items
|
|
109
|
+
- Refactor metadata: remove standalone menu items and add scheduled jobs and saved filters tree views
|
|
110
|
+
- Remove ChatterMessageDetails and ImportTransactionErrorLog menu items; add Chatter Messages tree view and action. Other menu sub menus cleanup done
|
|
111
|
+
- Add model sequence and list of values tree views to metadata, other cleanup changes
|
|
112
|
+
- changes for IAM
|
|
113
|
+
- Add clearPackageRuntime functionality and corresponding metadata action
|
|
114
|
+
- Add archiver dependency and implement module package export functionality
|
|
115
|
+
- Refactor menu cleanup logic in ModelMetadataService and ModuleMetadataService; improve error handling for file deletion and update build commands in ModulePackageService to use solidctl.
|
|
116
|
+
- 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
|
|
117
|
+
- Add media tree view and action & media view cleanup, enhance file storage provider with file size tracking, implemented storeStreams for s3
|
|
118
|
+
- Remove cleanup procedures for module metadata across all SQL dialects and implement menu and action cleanup in the service layer.
|
|
119
|
+
- Remove unused database bootstrap service and related SQL cleanup procedures
|
|
120
|
+
- cleanup
|
|
121
|
+
- Add view and action metadata tree views with updated permissions and searchable fields
|
|
122
|
+
- Add view and action metadata tree views with updated permissions and searchable fields
|
|
123
|
+
- menu item model cleanup
|
|
124
|
+
- Add resumable import handling and transaction management in module package service
|
|
125
|
+
- Add method to retrieve Solid UI module path and enhance cleanup logging
|
|
126
|
+
- 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.
|
|
127
|
+
- Implement module package management: add controller, service, and DTOs for import, export, and build operations.
|
|
128
|
+
- many to one left join issue fixed
|
|
129
|
+
- Refactor field metadata actions and views: update action types, enhance searchability, and adjust permissions for create, edit, and delete operations.
|
|
130
|
+
- 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
|
|
131
|
+
- Update solid-core metadata: remove import/export options, rename fields, and add sortable attribute
|
|
132
|
+
- Enhance solid-core metadata structure for module mdtadata by removing import/export options and adding sortable attributes for fields
|
|
133
|
+
- Implement module metadata explorer with CRUD operations and search functionality
|
|
134
|
+
- Refactor module metadata paths to use a consistent directory structure and improve file resolution logic
|
|
135
|
+
- Bug fixs
|
|
136
|
+
- added frontend base url as well to the default settings
|
|
137
|
+
- minor cleanup
|
|
138
|
+
- changes to cleanup legacy table related fields
|
|
139
|
+
- changes for new dashboards functionality
|
|
140
|
+
- always print server startup line regardless of log level
|
|
141
|
+
- Add field quality checks and fixes checklist for backend validation
|
|
142
|
+
- typeo issue
|
|
143
|
+
- Agent table clean up
|
|
144
|
+
- Add manual interaction step for Playwright and update README
|
|
145
|
+
- provision made to unlink data rather than having to teardown everything
|
|
146
|
+
- provision made to unlink data rather than having to teardown everything
|
|
147
|
+
- changes to colour the server startup line
|
|
148
|
+
- Agent table clean up
|
|
149
|
+
- changes to avoid too many initialization logs. controlled thru the verboseBootstrap option to the boostrap helper
|
|
150
|
+
- removed id command options and retained the singular name option only for consistency purposes
|
|
151
|
+
- 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
|
|
152
|
+
- 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
|
|
153
|
+
- MCP table solid changes
|
|
154
|
+
- playwrite added as dependency instead
|
|
155
|
+
- changes to the test runner
|
|
156
|
+
- chatter message user resolution chagnes
|
|
157
|
+
- bug fix in chatter message user resolution after we moved to queues.
|
|
158
|
+
- moved back to beta3
|
|
159
|
+
- failed login attempts field added to the json and update dto and exposed in entity
|
|
160
|
+
- removed un-necessary index on newvalue display
|
|
161
|
+
- ts changes error: any
|
|
162
|
+
- auto addition of menus happens at the bottom now. list view layout changes for security access rules + enabled delete made welcome email & sms SystemAdminEditable
|
|
163
|
+
- changed model metadata service default form layout to be single column
|
|
164
|
+
- added typing to catch blocks + authentication service bug fixes for private registration flow
|
|
165
|
+
- added typing to catch blocks + authentication service bug fixes for private registration flow
|
|
166
|
+
- normalised @ApiTags
|
|
167
|
+
- enum for passwordless modes
|
|
168
|
+
- bug fix in how alternative actions are rendered
|
|
169
|
+
- queue related bug fixes
|
|
170
|
+
- changes to add a websocket adaptor to the bootstrap server routine
|
|
171
|
+
- license changes
|
|
172
|
+
- type fixes
|
|
173
|
+
- removed min and max from long text mapping
|
|
174
|
+
- bug fix for shortext field mapping
|
|
175
|
+
- changes to post the testing results to a webhook api with a test payload
|
|
176
|
+
- added import multer this fixes un-necessary ts errors in vscode
|
|
177
|
+
- ts errors fixed
|
|
178
|
+
- bug fix in rabbitmq subscriber optimisation in all subscribers to default to role both if not specified
|
|
179
|
+
- formatting changes
|
|
180
|
+
- facebook oauth
|
|
181
|
+
- Status required false
|
|
182
|
+
- updated gitignore
|
|
183
|
+
- dleete un-necessary docs
|
|
184
|
+
- deleted un-necessary files
|
|
185
|
+
- changes related to more grooming
|
|
186
|
+
- api added in cors
|
|
187
|
+
- refactor Oauth strategy
|
|
188
|
+
- Revert "Ft social media login"
|
|
189
|
+
- bug fix
|
|
190
|
+
- bug fix
|
|
191
|
+
- add new api me endpoint and role based settings
|
|
192
|
+
- setting changes for new ui architecture
|
|
193
|
+
- changes for new settings structure
|
|
194
|
+
- chatter task subtype and related changes
|
|
195
|
+
- bug fix
|
|
196
|
+
- fixes
|
|
197
|
+
- 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
|
|
198
|
+
- changes to handle import logs as well, thru configured winston log level
|
|
199
|
+
- change isMultiSelect to true in solid-core-metadata.json
|
|
200
|
+
- change isMultiSelect to false and set visibility for cronExpression, dayOfWeek, and dayOfMonth fields to false
|
|
201
|
+
- 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
|
|
202
|
+
- removed authTheme setting, auth pages dark - light is now controlled by the same local storage as the rest of the app shell
|
|
203
|
+
- bug fix: passwordless registration should create a user with active false
|
|
204
|
+
- apikeys attribute was not exposed
|
|
205
|
+
- refactor Oauth strategy
|
|
206
|
+
- 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)
|
|
207
|
+
- bug fix
|
|
208
|
+
- null check on role
|
|
209
|
+
- made provision to seed custom permissions
|
|
210
|
+
- handled seed scenario too
|
|
211
|
+
- upload File and expectHidden changes
|
|
212
|
+
- extension user cleanup and checks added
|
|
213
|
+
- fixed types for cleanup
|
|
214
|
+
- added tsc-alias as well to ensure clean imports in dist as an extra cleanup measure
|
|
215
|
+
- fixes bare shell imports with relative imports
|
|
216
|
+
- dynamic import fix
|
|
217
|
+
- removed unnecessary file
|
|
218
|
+
- fixes for 1. throw exception if extension user and no provider configured 2. fixed roles method in the extensionUserProvider interface to make it mandatory
|
|
219
|
+
- removed base abstract class
|
|
220
|
+
- added interface too
|
|
221
|
+
- changes
|
|
222
|
+
- changes to test data seeding & fixed the type for authenticationService.signup method
|
|
223
|
+
- changes to user dto to include the api keys toggle
|
|
224
|
+
- add default role to the user only if there are no roles resolved against a user
|
|
225
|
+
- 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
|
|
226
|
+
- Only forward --debug when explicitly enabled.
|
|
227
|
+
- toolOutput field changes to json
|
|
228
|
+
- adding user api key entity to export
|
|
229
|
+
- minor optimisation to how dynamic modules are loaded
|
|
230
|
+
- Add Discord badge to top of README
|
|
231
|
+
- Fix broken BSL license link and add Discord link to README
|
|
232
|
+
- Add BSL 1.1 license and update package.json license field
|
|
233
|
+
- Seed user and roles in testing data
|
|
234
|
+
- removed readme.txt
|
|
235
|
+
- moved type and interfaces in interfaces.ts and refactored accordingly
|
|
236
|
+
- changed to md
|
|
237
|
+
- added readme
|
|
238
|
+
- Ai setting model change
|
|
239
|
+
- changes to allow encrypting setting keys
|
|
240
|
+
- form view clean up
|
|
241
|
+
- Agent table list view changes
|
|
242
|
+
- synchronize false
|
|
243
|
+
- changes to resolve the selection dynamic provider by name and token both
|
|
244
|
+
- changes to bypass swagger urls from csp policy
|
|
245
|
+
- changes to create a seperate endpoint for admin users to generate api key + custom repository created for userApiKey
|
|
246
|
+
- changes to fix issue around isAllowedToGenerateApiKeys not getting saved during user creation
|
|
247
|
+
- changes to implement the sso code and sso exchange use cases
|
|
248
|
+
- removed orm types / exported api key entity
|
|
249
|
+
- added provision to control if api key creation is allowed for the user
|
|
250
|
+
- api key changes for backend
|
|
251
|
+
- changes to bootstrap helper to read from standard env variables and avoid redundantly passing swagger options
|
|
252
|
+
- fix to call addRoles only if role names are present
|
|
253
|
+
- Revert "revert: refactor: update legacy entity fields to be nullable and support null types"
|
|
254
|
+
- refactor: update legacy entity fields to be nullable and support null types
|
|
255
|
+
- Json structure change
|
|
256
|
+
- Agent table metadata clean up changes
|
|
257
|
+
- longtext
|
|
258
|
+
- longtext changes
|
|
259
|
+
- Agent tables clean up
|
|
260
|
+
- fixes to seed many-to-many relation for tests
|
|
261
|
+
- changes to seed media in testing data
|
|
262
|
+
- Chatter modelUserkey and excel many to one issue
|
|
263
|
+
- keeping the default selectionValueType as string since this is a good default
|
|
264
|
+
- bug fixes around how media is done
|
|
265
|
+
- bug fixes
|
|
266
|
+
- try catch inside logEvent
|
|
267
|
+
- media has card based metadata
|
|
268
|
+
- Refresh token activity
|
|
269
|
+
- changes to implement the sso code and sso exchange use cases
|
|
270
|
+
- cleanup
|
|
271
|
+
- enabled kanban view on mq message
|
|
272
|
+
- Agent table changes
|
|
273
|
+
- changes to disallow deleting a model or module in production
|
|
274
|
+
- changelog version bumped
|
|
275
|
+
- changelog added
|
|
276
|
+
- changes to control the logging using env variables & set appropriate defaults basis environment
|
|
277
|
+
- chnages for logging
|
|
278
|
+
- Chatter queue fixs
|
|
279
|
+
- one more "beta" for ozzy
|
|
280
|
+
- additional loggging in cors helper
|
|
281
|
+
- changes
|
|
282
|
+
- Redis Queue component and rabbitMQ folder changes
|
|
283
|
+
- changes to track old and new fields as part of the delete entity operation
|
|
284
|
+
- optimizations done for audit subcriber
|
|
285
|
+
- changes to optimize audit subscriber code to use background jobs entirely instead of partially
|
|
286
|
+
- changes to push all work/processing to the chatter queue subscriber to better manage workloads & db pooling utilization
|
|
287
|
+
- formatting changes
|
|
288
|
+
- 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
|
|
289
|
+
- qs depth config increased
|
|
290
|
+
- changes to move the shouldTrackAudit check into registry to avoid unnecessary checks during runtime
|
|
291
|
+
- cached model metadata queries
|
|
292
|
+
- changse
|
|
293
|
+
- disabled extra loggign
|
|
294
|
+
- chagnes
|
|
295
|
+
- reduced concurrency in computed fields
|
|
296
|
+
- additional loggign
|
|
297
|
+
- added indexes to mobile & email since those are frequently queries upon
|
|
298
|
+
- changes to optimize the permission service methods used in the hotspot load paths within auth and access token guards
|
|
299
|
+
- Redis background job changes
|
|
300
|
+
- Chatter Rationalizing
|
|
301
|
+
- changes
|
|
302
|
+
- changes
|
|
303
|
+
- changes to merge the entityId sequence computed provider into the existing sequence number provider
|
|
304
|
+
- changes to export bootstrap helpers for server & cli nest applications
|
|
305
|
+
- changes to toggle the validation for selection dynamic provider. Also changes to export a bootstrap helper function
|
|
306
|
+
- registered the EntityIdSequenceNumComputedFieldProvider computation provider as a nest provider
|
|
307
|
+
- Added EntityIdSequenceNumComputedFieldProvider as an alternative simpler provider which uses the modelSequence configuration and relies on the id persisted during creation for an entity
|
|
308
|
+
- added index on message id in mq message table
|
|
309
|
+
- changes around sequence num computed field being a post computation provider error logging in rabbit mq
|
|
310
|
+
- changes to save model sequence id as part of post compute instead of pre compute
|
|
311
|
+
- changse
|
|
312
|
+
- Revert "High concurrency fix for alpha num and sequence num computed fields"
|
|
313
|
+
- High concurrency fix for alpha num and sequence num computed fields
|
|
314
|
+
- bug fix in cron evalutaion
|
|
315
|
+
- tighter logging around roles
|
|
316
|
+
- scheduler now supports env based specific jobs starting and others not
|
|
317
|
+
- reverting back to text (i.e since it is good enough for mysql too) i.e 64kb for these fields
|
|
318
|
+
- revert cross db changes for view-metadata-entity
|
|
319
|
+
- fixes
|
|
320
|
+
- changes to handle cross-db compatibility
|
|
321
|
+
- added type as simple-json
|
|
322
|
+
- Remove isValidateForUpdate hack that relied on checking dto.id !== undefined
|
|
323
|
+
- Revert "Merge branch 'media-update' into 'main'"
|
|
324
|
+
- Mysql related changes
|
|
325
|
+
- ts-morph and media storage fix
|
|
326
|
+
- dashboard layout menu item added
|
|
327
|
+
- dashboard changes
|
|
328
|
+
- scheduler bug fix
|
|
329
|
+
- made provision to execute scheduled jobs manually
|
|
330
|
+
- changes
|
|
331
|
+
- cleanup
|
|
332
|
+
- logging related changes and made user activity history tree view
|
|
333
|
+
- changes to return the wall clock time as utc for chatter as well to keep it...
|
|
334
|
+
- changes around dashboard question refactoring
|
|
335
|
+
- default tree view and action added on code generation
|
|
336
|
+
- Date time format changes in audit
|
|
337
|
+
- user activity history on otp login
|
|
338
|
+
- changes
|
|
339
|
+
- changelog added
|
|
340
|
+
- reverted legacy and common entity to use local date time transformer only
|
|
341
|
+
- added changelog
|
|
342
|
+
- made playwright dependency lazy
|
|
343
|
+
- ai interaction table user is nullable now
|
|
344
|
+
- rabbitmq subscriber does a prefetch now allowing for more concurrency
|
|
345
|
+
- formatting changes
|
|
346
|
+
- Version info changes
|
|
347
|
+
- dummy otp can now be enabled on a per user basis
|
|
348
|
+
- jwt token optimisation
|
|
349
|
+
- optimised the authentication flow in microservice adapter to cache access token
|
|
350
|
+
- deleted file containing secrets
|
|
351
|
+
- changes
|
|
352
|
+
- optimisation around how dummy otp is managed
|
|
353
|
+
- isSeeded added
|
|
354
|
+
- bug fix for fetch layouts
|
|
355
|
+
- view modes added in layout
|
|
356
|
+
- One to many crud manager fixes
|
|
357
|
+
- one-to-many-crud-manager-fixes
|
|
358
|
+
- Many to many crud field manager fixes
|
|
359
|
+
- patch endpoint added in role controller
|
|
360
|
+
- many-to-many field fixes
|
|
361
|
+
- modelSequenceFormViewChangeHandler added on field change
|
|
362
|
+
- changes to convert the passwordlessRegistrationValidateWhat from array to string
|
|
363
|
+
- changes to format group values consistently
|
|
364
|
+
- fixes for normalizing group values
|
|
365
|
+
- Revert "changes to return groupValue in the group meta response as well. groupValue is..."
|
|
366
|
+
- changes to return groupValue in the group meta response as well. groupValue is...
|
|
367
|
+
- changes to return groupValue in the group meta response as well. groupValue is...
|
|
368
|
+
- filter_field_granularity_supported_added_for_date_fields
|
|
369
|
+
- password registration/login cleanup + max failed login attempts checks added
|
|
370
|
+
- removed unsafe inline from CSP
|
|
371
|
+
- removed incorrect comment
|
|
372
|
+
- changes
|
|
373
|
+
- Revert "replaced playwright with lazy dependency"
|
|
374
|
+
- replaced playwright with lazy dependency
|
|
375
|
+
- count and average
|
|
376
|
+
- fixes to solid core metadata configuration
|
|
377
|
+
- make `s3Key` and `isPrivate` properties mandatory in `ResolveS3UrlDto`.
|
|
378
|
+
- solid seed now prints proper exception stack trace
|
|
379
|
+
- added playwright dependencies as peer dependencies
|
|
380
|
+
- changed playwright import to make it lazy
|
|
381
|
+
- issue fixes
|
|
382
|
+
- formatting changes
|
|
383
|
+
- formatting changes
|
|
384
|
+
- changes for test setup
|
|
385
|
+
- package changes
|
|
386
|
+
- Changes to generate an SA user with the default password for simpler experience during setup
|
|
387
|
+
- more changes to support form data based uploads
|
|
388
|
+
- changes
|
|
389
|
+
- changes around testing workflow
|
|
390
|
+
- unified testing utitlities
|
|
391
|
+
- added comments to the slug code
|
|
392
|
+
- refactored queue namespacign
|
|
393
|
+
- queue namespacing related chanes
|
|
394
|
+
- removed todo
|
|
395
|
+
- queue name related changes
|
|
396
|
+
- cag
|
|
397
|
+
- changrs
|
|
398
|
+
- queues names are now namespaced by service naem
|
|
399
|
+
- enabled logs
|
|
400
|
+
- debug logs
|
|
401
|
+
- testing docs updated
|
|
402
|
+
- changes
|
|
403
|
+
- cleanup
|
|
404
|
+
- removed old testing related fiels
|
|
405
|
+
- testing infra now supports data based interpolation
|
|
406
|
+
- testing changes: now we support fully custom test specs
|
|
407
|
+
- changes for test automation
|
|
408
|
+
- changes to tsconfig for playwright tests
|
|
409
|
+
- exporting typeorm db helper
|
|
410
|
+
- removed the files section
|
|
411
|
+
- changes for playwright testing
|
|
412
|
+
- changes to disable service controller seed method
|
|
413
|
+
- formatting changes
|
|
414
|
+
- oom issue
|
|
415
|
+
- logger added for chatter
|
|
416
|
+
- changed arg to kebab case instead of came case in schematic service
|
|
417
|
+
- default menu icons added
|
|
418
|
+
- rabbitmq subscriber: add retries, DLX queues, reconnects, and docs
|
|
419
|
+
- removed un-necessary log
|
|
420
|
+
- fix for handling non existence of fieldNamesForRemoval arg
|
|
421
|
+
- foirmatting canges
|
|
422
|
+
- Archived/solidstarters main
|
|
423
|
+
- version changes
|
|
424
|
+
- changed org : @solidstarters -> @solidxai
|
|
425
|
+
- removed publish script, since it is replaced with solidctl release
|
|
426
|
+
- chanes
|
|
427
|
+
- Revert "@solidstarters namespace changed to @solidx"
|
|
428
|
+
- @solidstarters namespace changed to @solidx
|
|
429
|
+
- file service interface changes
|
|
430
|
+
- CR in s3 file service, url options now supports isPrivateBucket allowing one to generate signed and un-signed URLs using the getUrl method
|
|
431
|
+
- 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
|
|
432
|
+
- changes to pass minimal parameters to the schematics project and pick the rest from the metadata configuration json file (avoid long shell commands)
|
|
433
|
+
- test data workflow
|
|
434
|
+
- test-data command
|
|
435
|
+
- seed command updated
|
|
436
|
+
- changes
|
|
437
|
+
- changes
|
|
438
|
+
- seed command changes to support pruning, test-data-setup and test-data-teardown.
|
|
439
|
+
- seeding now supports seedData allowing us to seed fixtures for testing.
|
|
440
|
+
- precomputations now skip computation if value is already provided
|
|
441
|
+
- added utility for findOneByUserKey
|
|
442
|
+
- pruning related chagnes
|
|
443
|
+
- changes
|
|
444
|
+
- more changes related to pruning metadata
|
|
445
|
+
- pruen logs added
|
|
446
|
+
- module metadata seeder now does prune also
|
|
447
|
+
- reformatting to improve readability
|
|
448
|
+
- changes
|
|
449
|
+
- file type not allowed. Allowed: image, document, pdf. Received mimetype: application/pdf (mapped to file)
|
|
450
|
+
- bug fixes
|
|
451
|
+
- changes to cleanup the implementation by having the write method of file service return the url post write
|
|
452
|
+
- changes to support using the region specified in a media storage provider, instead only the default while creating an s3 client
|
|
453
|
+
- fixes for using the default-aws-s3 bucket for storing the settings media if default file service is s3
|
|
454
|
+
- changes to settings media storage logic i.e copy multer path to file service implementation write
|
|
455
|
+
- file service abstraction cleanup
|
|
456
|
+
- chagnes
|
|
457
|
+
- Dashboard Question Responsive
|
|
458
|
+
|
|
3
459
|
## [0.1.10] - 2026-06-23
|
|
4
460
|
|
|
5
461
|
### Added
|
|
@@ -91,6 +91,10 @@ export declare class DatasourceIntrospectionController {
|
|
|
91
91
|
suggestedUserKeyField: string;
|
|
92
92
|
columnCount: number;
|
|
93
93
|
physicalColumnCount: number;
|
|
94
|
+
hasPrimaryKey: boolean;
|
|
95
|
+
primaryKeyColumnCount: number;
|
|
96
|
+
primaryKeyColumnNames: string[];
|
|
97
|
+
mappingBlockedReason: string | null;
|
|
94
98
|
}[];
|
|
95
99
|
meta: {
|
|
96
100
|
totalRecords: number;
|
|
@@ -133,6 +137,10 @@ export declare class DatasourceIntrospectionController {
|
|
|
133
137
|
suggestedUserKeyField: string;
|
|
134
138
|
columnCount: number;
|
|
135
139
|
physicalColumnCount: number;
|
|
140
|
+
hasPrimaryKey: boolean;
|
|
141
|
+
primaryKeyColumnCount: number;
|
|
142
|
+
primaryKeyColumnNames: string[];
|
|
143
|
+
mappingBlockedReason: string | null;
|
|
136
144
|
};
|
|
137
145
|
columns: {
|
|
138
146
|
columnName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource-introspection.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/datasource-introspection.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACzI,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAE9F,qBAEa,iCAAiC;IAEtC,OAAO,CAAC,QAAQ,CAAC,8BAA8B;gBAA9B,8BAA8B,EAAE,8BAA8B;IAKnF,YAAY,CACyB,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;IAOrD,SAAS,CAC4B,QAAQ,EAAE,MAAM,EAC5B,cAAc,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"datasource-introspection.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/datasource-introspection.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACzI,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAE9F,qBAEa,iCAAiC;IAEtC,OAAO,CAAC,QAAQ,CAAC,8BAA8B;gBAA9B,8BAA8B,EAAE,8BAA8B;IAKnF,YAAY,CACyB,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;IAOrD,SAAS,CAC4B,QAAQ,EAAE,MAAM,EAC5B,cAAc,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAO/C,cAAc,CACuB,QAAQ,EAAE,MAAM,EAC5B,cAAc,EAAE,MAAM,EAC3B,SAAS,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOpC,cAAc,CACuB,QAAQ,EAAE,MAAM,EACzC,UAAU,EAAE,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;IAOzD,YAAY,CACyB,QAAQ,EAAE,MAAM,EACzC,UAAU,EAAE,iCAAiC;;;;;;;;;;;;;;;;IAOzD,wBAAwB,CACa,QAAQ,EAAE,MAAM,EACzC,UAAU,EAAE,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOzD,YAAY,CACyB,QAAQ,EAAE,MAAM;;;;;;;IAOrD,YAAY,CACyB,QAAQ,EAAE,MAAM,EACzC,OAAO,EAAE,sCAAsC;;;;;;;;;CAI9D"}
|
|
@@ -17,7 +17,6 @@ const openapi = require("@nestjs/swagger");
|
|
|
17
17
|
const common_1 = require("@nestjs/common");
|
|
18
18
|
const platform_express_1 = require("@nestjs/platform-express");
|
|
19
19
|
const swagger_1 = require("@nestjs/swagger");
|
|
20
|
-
const public_decorator_1 = require("../decorators/public.decorator");
|
|
21
20
|
const create_media_dto_1 = require("../dtos/create-media.dto");
|
|
22
21
|
const update_media_dto_1 = require("../dtos/update-media.dto");
|
|
23
22
|
const media_service_1 = require("../services/media.service");
|
|
@@ -112,7 +111,6 @@ __decorate([
|
|
|
112
111
|
__metadata("design:returntype", void 0)
|
|
113
112
|
], MediaController.prototype, "partialUpdate", null);
|
|
114
113
|
__decorate([
|
|
115
|
-
(0, public_decorator_1.Public)(),
|
|
116
114
|
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
117
115
|
(0, common_1.Post)('/upload'),
|
|
118
116
|
(0, common_1.UseInterceptors)((0, platform_express_1.AnyFilesInterceptor)()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.controller.js","sourceRoot":"","sources":["../../src/controllers/media.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+H;AAC/H,+DAA+D;AAC/D,6CAAmE;
|
|
1
|
+
{"version":3,"file":"media.controller.js","sourceRoot":"","sources":["../../src/controllers/media.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+H;AAC/H,+DAA+D;AAC/D,6CAAmE;AAEnE,+DAA2D;AAC3D,+DAA2D;AAC3D,6DAA0D;AAE1D,IAAK,eAGJ;AAHD,WAAK,eAAe;IAClB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;AACzB,CAAC,EAHI,eAAe,KAAf,eAAe,QAGnB;AAMM,IAAM,eAAe,GAArB,MAAM,eAAe;IAC1B,YAA6B,OAAqB;QAArB,YAAO,GAAP,OAAO,CAAc;IAAG,CAAC;IAKtD,MAAM,CAAS,SAAyB,EAAmB,KAAiC;QAC1F,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAKD,UAAU,CAAS,UAA4B,EAAmB,aAAsC,EAAE;QACxG,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IACzD,CAAC;IAMD,MAAM,CAAc,EAAU,EAAU,SAAyB,EAAmB,KAAiC;QACnH,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IACnD,CAAC;IAKD,aAAa,CAAc,EAAU,EAAU,SAAyB,EAAmB,KAAiC;QAC1H,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAOD,MAAM,CAAkB,KAAiC,EAAU,SAAyB;QAExF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAKK,AAAN,KAA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AAC,OAAO,CAAC;;IACE,WAAA,IAAA,aAAI,GAAE,CAAA;;;;iDAEvB;AAIK;IAFL,IAAA,uBAAa,EAAC,KAAK,CAAC;IACpB,IAAA,eAAM,EAAC,KAAK,CAAC;;IACA,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;6CAExB;0BAtFU,eAAe;IAJ3B,IAAA,iBAAO,EAAC,YAAY,CAAC;IACrB,IAAA,mBAAU,EAAC,OAAO,CAAC;qCAIoB,4BAAY;GADvC,eAAe,CAyF3B","sourcesContent":["import { Body, Controller, Delete, Get, Param, Patch, Post, Put, Query, UploadedFiles, UseInterceptors } from '@nestjs/common';\nimport { AnyFilesInterceptor } from \"@nestjs/platform-express\";\nimport { ApiBearerAuth, ApiQuery, ApiTags } from '@nestjs/swagger';\nimport { Public } from 'src/decorators/public.decorator';\nimport { CreateMediaDto } from 'src/dtos/create-media.dto';\nimport { UpdateMediaDto } from 'src/dtos/update-media.dto';\nimport { MediaService } from 'src/services/media.service';\n\nenum ShowSoftDeleted {\n INCLUSIVE = \"inclusive\",\n EXCLUSIVE = \"exclusive\",\n}\n\n@ApiTags('Solid Core')\n@Controller('media')\n// @UseGuards(ThrottlerGuard)\n// @SkipThrottle({ short: true, login: true, burst: true, sustained: true }) //Skip all\nexport class MediaController {\n constructor(private readonly service: MediaService) {}\n\n @ApiBearerAuth(\"jwt\")\n @Post()\n @UseInterceptors(AnyFilesInterceptor())\n create(@Body() createDto: CreateMediaDto, @UploadedFiles() files: Array<Express.Multer.File>) {\n return this.service.create(createDto, files);\n }\n\n @ApiBearerAuth(\"jwt\")\n @Post('/bulk')\n @UseInterceptors(AnyFilesInterceptor())\n insertMany(@Body() createDtos: CreateMediaDto[], @UploadedFiles() filesArray: Express.Multer.File[][] = []) {\n return this.service.insertMany(createDtos, filesArray);\n }\n\n\n @ApiBearerAuth(\"jwt\")\n @Put(':id')\n @UseInterceptors(AnyFilesInterceptor())\n update(@Param('id') id: number, @Body() updateDto: UpdateMediaDto, @UploadedFiles() files: Array<Express.Multer.File>) {\n return this.service.update(id, updateDto, files);\n }\n\n @ApiBearerAuth(\"jwt\")\n @Patch(':id')\n @UseInterceptors(AnyFilesInterceptor())\n partialUpdate(@Param('id') id: number, @Body() updateDto: UpdateMediaDto, @UploadedFiles() files: Array<Express.Multer.File>) {\n return this.service.update(id, updateDto, files, true);\n }\n\n // @Public()\n // @SkipThrottle({ short: false, login: true, burst: true, sustained: true }) //Enable the short throttle only\n @ApiBearerAuth(\"jwt\")\n @Post('/upload')\n @UseInterceptors(AnyFilesInterceptor())\n upload(@UploadedFiles() files: Array<Express.Multer.File>, @Body() createDto: CreateMediaDto, ) {\n // this.logger.log(`Creating a new model: ${JSON.stringify(createDto)}`);\n return this.service.upload(createDto, files);\n }\n\n\n @ApiBearerAuth(\"jwt\")\n @Post('/bulk-recover')\n async recoverMany(@Body() ids: number[]) {\n return this.service.recoverMany(ids);\n }\n\n @ApiBearerAuth(\"jwt\")\n @Get('/recover/:id')\n async recover(@Param('id') id: number) {\n return this.service.recover(id);\n }\n \n @ApiBearerAuth(\"jwt\")\n @ApiQuery({ name: 'showSoftDeleted', required: false, enum: ShowSoftDeleted })\n @ApiQuery({ name: 'limit', required: false, type: Number })\n @ApiQuery({ name: 'offset', required: false, type: Number })\n @ApiQuery({ name: 'fields', required: false, type: Array })\n @ApiQuery({ name: 'sort', required: false, type: Array }) \n @ApiQuery({ name: 'groupBy', required: false, type: Array })\n @ApiQuery({ name: 'populate', required: false, type: Array })\n @ApiQuery({ name: 'populateMedia', required: false, type: Array })\n @ApiQuery({ name: 'filters', required: false, type: Array })\n @Get()\n async findMany(@Query() query: any) { \n return this.service.find(query); \n }\n\n @ApiBearerAuth(\"jwt\")\n @Get(':id')\n async findOne(@Param('id') id: string, @Query() query: any) {\n return this.service.findOne(+id, query);\n }\n\n @ApiBearerAuth(\"jwt\")\n @Delete('/bulk')\n async deleteMany(@Body() ids: number[]) {\n return this.service.deleteMany(ids);\n }\n\n @ApiBearerAuth(\"jwt\")\n @Delete(':id')\n async delete(@Param('id') id: number) {\n return this.service.delete(id);\n }\n\n\n}\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ConfigService } from "@nestjs/config";
|
|
2
2
|
export declare function parseBooleanEnv(key: string, defaultValue?: boolean): boolean;
|
|
3
3
|
export declare function isRedisConfigured(configService: ConfigService): boolean;
|
|
4
|
-
export declare function isEmbeddedDb(): boolean;
|
|
5
4
|
//# sourceMappingURL=environment.helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.helper.d.ts","sourceRoot":"","sources":["../../src/helpers/environment.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAMnF;AAED,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAIvE
|
|
1
|
+
{"version":3,"file":"environment.helper.d.ts","sourceRoot":"","sources":["../../src/helpers/environment.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAMnF;AAED,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAIvE"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parseBooleanEnv = parseBooleanEnv;
|
|
4
4
|
exports.isRedisConfigured = isRedisConfigured;
|
|
5
|
-
exports.isEmbeddedDb = isEmbeddedDb;
|
|
6
5
|
const class_validator_1 = require("class-validator");
|
|
7
6
|
function parseBooleanEnv(key, defaultValue = false) {
|
|
8
7
|
const value = process.env[key];
|
|
@@ -16,7 +15,4 @@ function isRedisConfigured(configService) {
|
|
|
16
15
|
const port = configService.get('REDIS_PORT');
|
|
17
16
|
return host && port && (0, class_validator_1.isNumber)(parseInt(port));
|
|
18
17
|
}
|
|
19
|
-
function isEmbeddedDb() {
|
|
20
|
-
return process.env.DEFAULT_DATABASE_DRIVER === 'pglite';
|
|
21
|
-
}
|
|
22
18
|
//# sourceMappingURL=environment.helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.helper.js","sourceRoot":"","sources":["../../src/helpers/environment.helper.ts"],"names":[],"mappings":";;AAGA,0CAMC;AAED,8CAIC;
|
|
1
|
+
{"version":3,"file":"environment.helper.js","sourceRoot":"","sources":["../../src/helpers/environment.helper.ts"],"names":[],"mappings":";;AAGA,0CAMC;AAED,8CAIC;AAdD,qDAA2C;AAE3C,SAAgB,eAAe,CAAC,GAAW,EAAE,eAAwB,KAAK;IACtE,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,YAAY,CAAC;IACxB,CAAC;IACD,OAAO,KAAK,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC;AAC1C,CAAC;AAED,SAAgB,iBAAiB,CAAC,aAA4B;IAC1D,MAAM,IAAI,GAAG,aAAa,CAAC,GAAG,CAAS,YAAY,CAAC,CAAC;IACrD,MAAM,IAAI,GAAG,aAAa,CAAC,GAAG,CAAS,YAAY,CAAC,CAAC;IACrD,OAAO,IAAI,IAAI,IAAI,IAAI,IAAA,0BAAQ,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AACpD,CAAC","sourcesContent":["import { ConfigService } from \"@nestjs/config\";\nimport { isNumber } from 'class-validator';\n\nexport function parseBooleanEnv(key: string, defaultValue: boolean = false): boolean {\n const value = process.env[key];\n if (value === undefined) {\n return defaultValue;\n }\n return value.toLowerCase() === 'true';\n}\n\nexport function isRedisConfigured(configService: ConfigService): boolean {\n const host = configService.get<string>('REDIS_HOST');\n const port = configService.get<string>('REDIS_PORT');\n return host && port && isNumber(parseInt(port));\n}"]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { LegacyTableType } from "../enums/legacy-table-type.enum";
|
|
2
2
|
import { ModelMetadataRepository } from "../repository/model-metadata.repository";
|
|
3
3
|
import { SolidRegistry } from "./solid-registry";
|
|
4
|
-
import { EntityManager } from "typeorm";
|
|
5
4
|
export declare class ModelMetadataHelperService {
|
|
6
5
|
private readonly registry;
|
|
7
6
|
private readonly modelMetadataRepo;
|
|
@@ -11,6 +10,6 @@ export declare class ModelMetadataHelperService {
|
|
|
11
10
|
private checkWithRegistry;
|
|
12
11
|
private getSystemFieldsMetadataMapping;
|
|
13
12
|
private getSystemFieldsMetadataMappingForLegacyTable;
|
|
14
|
-
loadFieldHierarchy(modelName: any
|
|
13
|
+
loadFieldHierarchy(modelName: any): Promise<any[]>;
|
|
15
14
|
}
|
|
16
15
|
//# sourceMappingURL=model-metadata-helper.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-metadata-helper.service.d.ts","sourceRoot":"","sources":["../../src/helpers/model-metadata-helper.service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"model-metadata-helper.service.d.ts","sourceRoot":"","sources":["../../src/helpers/model-metadata-helper.service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,qBACa,0BAA0B;IAI/B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAIzB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAPtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;gBAGjD,QAAQ,EAAE,aAAa,EAIvB,iBAAiB,EAAE,uBAAuB;IAI/D,uBAAuB,CAAC,eAAe,GAAE,eAAsC,GAAG,GAAG,EAAE;IAmBvF,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,8BAA8B;IAoEtC,OAAO,CAAC,4CAA4C;IA2B9C,kBAAkB,CAAC,SAAS,EAAE,GAAG;CAwB1C"}
|
|
@@ -18,7 +18,6 @@ const common_1 = require("@nestjs/common");
|
|
|
18
18
|
const lodash_1 = require("lodash");
|
|
19
19
|
const legacy_common_entity_with_existing_id_entity_1 = require("../entities/legacy-common.entity-with-existing-id.entity");
|
|
20
20
|
const legacy_table_type_enum_1 = require("../enums/legacy-table-type.enum");
|
|
21
|
-
const model_metadata_entity_1 = require("../entities/model-metadata.entity");
|
|
22
21
|
const model_metadata_repository_1 = require("../repository/model-metadata.repository");
|
|
23
22
|
const solid_registry_1 = require("./solid-registry");
|
|
24
23
|
let ModelMetadataHelperService = ModelMetadataHelperService_1 = class ModelMetadataHelperService {
|
|
@@ -134,11 +133,8 @@ let ModelMetadataHelperService = ModelMetadataHelperService_1 = class ModelMetad
|
|
|
134
133
|
});
|
|
135
134
|
return systemFieldsMetadata;
|
|
136
135
|
}
|
|
137
|
-
async loadFieldHierarchy(modelName
|
|
138
|
-
const
|
|
139
|
-
? manager.getRepository(model_metadata_entity_1.ModelMetadata)
|
|
140
|
-
: this.modelMetadataRepo;
|
|
141
|
-
const model = await repo.findOne({
|
|
136
|
+
async loadFieldHierarchy(modelName) {
|
|
137
|
+
const model = await this.modelMetadataRepo.findOne({
|
|
142
138
|
where: {
|
|
143
139
|
singularName: modelName,
|
|
144
140
|
},
|