@solidxai/core 0.1.6-beta.16 → 0.1.6-beta.17
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/services/permission-metadata.service.d.ts +4 -1
- package/dist/services/permission-metadata.service.d.ts.map +1 -1
- package/dist/services/permission-metadata.service.js +61 -18
- package/dist/services/permission-metadata.service.js.map +1 -1
- package/logs_load_testing +49 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/services/permission-metadata.service.ts +67 -19
package/dist/index.d.ts
CHANGED
|
@@ -170,6 +170,7 @@ export * from './helpers/field-crud-managers/ShortTextFieldCrudManager';
|
|
|
170
170
|
export * from './helpers/field-crud-managers/UUIDFieldCrudManager';
|
|
171
171
|
export * from './helpers/bootstrap.helper';
|
|
172
172
|
export * from './helpers/environment.helper';
|
|
173
|
+
export * from './helpers/cache.helper';
|
|
173
174
|
export * from './helpers/cors.helper';
|
|
174
175
|
export * from './helpers/security.helper';
|
|
175
176
|
export * from './helpers/model-metadata-helper.service';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,yBAAyB,CAAA;AAEvC,cAAc,wBAAwB,CAAA;AAEtC,cAAc,oCAAoC,CAAA;AAClD,cAAc,8CAA8C,CAAA;AAC5D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gDAAgD,CAAA;AAC9D,cAAc,+CAA+C,CAAA;A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AiD,CAAA;AAC/D,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,mCAAmC,CAAA;AAGjD,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAG5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAI/D,cAAc,yCAAyC,CAAA;AACvD,cAAc,kDAAkD,CAAA;AAChE,cAAc,wCAAwC,CAAA;AACtD,cAAc,gCAAgC,CAAA;AAI9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACpF,cAAc,oDAAoD,CAAA;AAElE,cAAc,8BAA8B,CAAA;AAE5C,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AAEnC,cAAc,kBAAkB,CAAA;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -190,6 +190,7 @@ __exportStar(require("./helpers/field-crud-managers/ShortTextFieldCrudManager"),
|
|
|
190
190
|
__exportStar(require("./helpers/field-crud-managers/UUIDFieldCrudManager"), exports);
|
|
191
191
|
__exportStar(require("./helpers/bootstrap.helper"), exports);
|
|
192
192
|
__exportStar(require("./helpers/environment.helper"), exports);
|
|
193
|
+
__exportStar(require("./helpers/cache.helper"), exports);
|
|
193
194
|
__exportStar(require("./helpers/cors.helper"), exports);
|
|
194
195
|
__exportStar(require("./helpers/security.helper"), exports);
|
|
195
196
|
__exportStar(require("./helpers/model-metadata-helper.service"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,mEAAgD;AAChD,oEAAiD;AACjD,mEAAgD;AAChD,0DAAuC;AACvC,+DAA4C;AAC5C,+DAA4C;AAC5C,0DAAuC;AAEvC,yDAAsC;AAEtC,qEAAkD;AAClD,+EAA4D;AAC5D,8DAA2C;AAC3C,iFAA8D;AAC9D,gFAA6D;AAC7D,wEAAqD;AACrD,kEAA+C;AAC/C,gEAA6C;AAC7C,+DAA4C;AAC5C,4EAAyD;AACzD,8EAA2D;AAC3D,+EAA4D;AAC5D,uEAAoD;AACpD,uEAAoD;AACpD,uFAAoE;AACpE,sEAAmD;AACnD,2EAAwD;AAExD,kEAA+C;AAC/C,kEAA+C;AAC/C,2DAAwC;AACxC,mEAAgD;AAChD,6DAA0C;AAC1C,qEAAkD;AAClD,oEAAiD;AACjD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,mEAAgD;AAChD,oFAAiE;AACjE,0DAAuC;AACvC,uEAAoD;AACpD,4DAAyC;AACzC,mEAAgD;AAChD,oEAAiD;AACjD,qEAAkD;AAClD,+DAA4C;AAC5C,kEAA+C;AAC/C,wEAAqD;AACrD,kEAA+C;AAC/C,8DAA2C;AAC3C,iEAA8C;AAC9C,yDAAsC;AACtC,kEAA+C;AAC/C,oEAAiD;AACjD,4EAAyD;AACzD,2DAAwC;AACxC,yDAAsC;AACtC,sEAAmD;AACnD,qEAAkD;AAClD,oEAAiD;AACjD,+DAA4C;AAC5C,wDAAqC;AACrC,6DAA0C;AAC1C,yDAAsC;AACtC,yDAAsC;AACtC,8DAA2C;AAC3C,mDAAgC;AAChC,2DAAwC;AACxC,8DAA2C;AAC3C,qEAAkD;AAClD,qDAAkC;AAClC,qDAAkC;AAClC,yDAAsC;AACtC,oEAAiD;AACjD,mEAAgD;A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C,yEAAsD;AACtD,+EAA4D;AAC5D,gFAA6D;AAC7D,+EAA4D;AAC5D,mEAAgD;AAChD,2GAAwF;AACxF,wEAAqD;AACrD,qEAAkD;AAClD,iEAA8C;AAC9C,iEAA8C;AAC9C,kEAA+C;AAC/C,4DAAyC;AACzC,kEAA+C;AAC/C,sEAAmD;AACnD,0DAAuC;AACvC,mEAAgD;AAChD,2EAAwD;AACxD,6DAA0C;AAC1C,0DAAuC;AACvC,gEAA6C;AAC7C,wFAAqE;AACrE,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAClD,6EAA0D;AAC1D,4DAAyC;AACzC,2EAAwD;AACxD,wEAAqD;AACrD,kFAA+D;AAC/D,2DAAwC;AACxC,yDAAsC;AACtC,8EAA2D;AAC3D,+EAA4D;AAC5D,gFAA6D;AAC7D,oEAAiD;AAGjD,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAG5C,qEAAkD;AAClD,wEAAqD;AACrD,0EAAuD;AACvD,kFAA+D;AAI/D,0EAAuD;AACvD,mFAAgE;AAChE,yEAAsD;AACtD,iEAA8C;AAI9C,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAClD,4EAAoF;AAA3E,4IAAA,OAAO,OAAuB;AACvC,qFAAkE;AAElE,+DAA4C;AAE5C,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AAEnC,mDAAgC;AAEhC,6DAA2D;AAAlD,gHAAA,cAAc,OAAA","sourcesContent":["export * from './commands/helper'\nexport * from './commands/refresh-model.command'\nexport * from './commands/refresh-module.command'\nexport * from './commands/remove-fields.command'\nexport * from './commands/seed.command'\nexport * from './commands/test-data.command'\nexport * from './commands/run-tests.command'\nexport * from './commands/test.command'\n\nexport * from './config/cache.options'\n\nexport * from './decorators/active-user.decorator'\nexport * from './decorators/solid-request-context.decorator'\nexport * from './decorators/auth.decorator'\nexport * from './decorators/computed-field-provider.decorator'\nexport * from './decorators/scheduled-job-provider.decorator'\nexport * from './decorators/is-not-in-enum.decorator'\nexport * from './decorators/protocol.decorator'\nexport * from './decorators/public.decorator'\nexport * from './decorators/roles.decorator'\nexport * from './decorators/selection-provider.decorator'\nexport * from './decorators/error-codes-provider.decorator'\nexport * from './decorators/solid-database-module.decorator'\nexport * from './decorators/solid-service.decorator'\nexport * from './decorators/mail-provider.decorator'\nexport * from './decorators/security-rule-config-provider.decorator'\nexport * from './decorators/sms-provider.decorator'\nexport * from './decorators/settings-provider.decorator'\n\nexport * from './dtos/post-chatter-message.dto'\nexport * from './dtos/security-rule-config.dto'\nexport * from './dtos/basic-filters.dto'\nexport * from './dtos/solid-request-context.dto'\nexport * from './dtos/change-password.dto'\nexport * from './dtos/confirm-forgot-password.dto'\nexport * from './dtos/create-action-metadata.dto'\nexport * from './dtos/create-email-attachment.dto'\nexport * from './dtos/create-email-template.dto'\nexport * from './dtos/create-field-metadata.dto'\nexport * from './dtos/create-list-of-values.dto'\nexport * from './dtos/create-media-storage-provider-metadata.dto'\nexport * from './dtos/create-media.dto'\nexport * from './dtos/create-menu-item-metadata.dto'\nexport * from './dtos/create-message.dto'\nexport * from './dtos/create-model-metadata.dto'\nexport * from './dtos/create-module-metadata.dto'\nexport * from './dtos/create-mq-message-queue.dto'\nexport * from './dtos/create-mq-message.dto'\nexport * from './dtos/create-scheduled-job.dto'\nexport * from './dtos/create-permission-metadata.dto'\nexport * from './dtos/create-role-metadata.dto'\nexport * from './dtos/create-short-url.dto'\nexport * from './dtos/create-sms-template.dto'\nexport * from './dtos/create-user.dto'\nexport * from './dtos/create-view-metadata.dto'\nexport * from './dtos/create-chatter-message.dto'\nexport * from './dtos/create-chatter-message-details.dto'\nexport * from './dtos/create-locale.dto'\nexport * from './dtos/fetch-roles.dto'\nexport * from './dtos/initiate-forgot-password.dto'\nexport * from './dtos/mutate-role-permissions.dto'\nexport * from './dtos/mutate-user-roles-list.dto'\nexport * from './dtos/mutate-user-roles.dto'\nexport * from './dtos/oauth-user-dto'\nexport * from './dtos/otp-confirm-otp.dto'\nexport * from './dtos/otp-sign-in.dto'\nexport * from './dtos/otp-sign-up.dto'\nexport * from './dtos/pagination-query.dto'\nexport * from './dtos/query.dto'\nexport * from './dtos/refresh-token.dto'\nexport * from './dtos/register-private.dto'\nexport * from './dtos/selection-dynamic-query.dto'\nexport * from './dtos/sign-in.dto'\nexport * from './dtos/sign-up.dto'\nexport * from './dtos/sort-filter.dto'\nexport * from './dtos/update-action-metadata.dto'\nexport * from './dtos/update-email-template.dto'\nexport * from './dtos/update-field-metadata.dto'\nexport * from './dtos/update-media-storage-provider.dto'\nexport * from './dtos/update-media.dto'\nexport * from './dtos/update-menu-item-metadata.dto'\nexport * from './dtos/update-message.dto'\nexport * from './dtos/update-model-metadata.dto'\nexport * from './dtos/update-module-metadata.dto'\nexport * from './dtos/update-mq-message-queue.dto'\nexport * from './dtos/update-mq-message.dto'\nexport * from './dtos/update-scheduled-job.dto'\nexport * from './dtos/update-permission-metadata.dto'\nexport * from './dtos/update-role-metadata.dto'\nexport * from './dtos/update-sms-template.dto'\nexport * from './dtos/update-user.dto'\nexport * from './dtos/update-view-metadata.dto'\nexport * from './dtos/create-setting.dto'\nexport * from './dtos/update-setting.dto'\nexport * from './dtos/create-security-rule.dto'\nexport * from './dtos/update-security-rule.dto'\nexport * from './dtos/update-chatter-message.dto'\nexport * from './dtos/update-chatter-message-details.dto'\nexport * from './dtos/update-locale.dto'\nexport * from './dtos/create-user-activity-history.dto'\nexport * from './dtos/update-user-activity-history.dto'\n\nexport * from './entities/action-metadata.entity'\nexport * from './entities/common.entity'\nexport * from './entities/legacy-common.entity'\nexport * from './entities/legacy-common-with-id.entity'\nexport * from './entities/email-attachment.entity'\nexport * from './entities/email-template.entity'\nexport * from './entities/field-metadata.entity'\nexport * from './entities/list-of-values.entity'\nexport * from './entities/media.entity'\nexport * from './entities/media-storage-provider-metadata.entity'\nexport * from './entities/menu-item-metadata.entity'\nexport * from './entities/model-metadata.entity'\nexport * from './entities/module-metadata.entity'\nexport * from './entities/mq-message-queue.entity'\nexport * from './entities/mq-message.entity'\nexport * from './entities/scheduled-job.entity'\nexport * from './entities/permission-metadata.entity'\nexport * from './entities/role-metadata.entity'\nexport * from './entities/sms-template.entity'\nexport * from './entities/user.entity'\nexport * from './entities/view-metadata.entity'\nexport * from './entities/setting.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/user-view-metadata.entity'\nexport * from './entities/security-rule.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/chatter-message.entity'\nexport * from './entities/chatter-message-details.entity'\nexport * from './entities/export-template.entity'\nexport * from './entities/export-transaction.entity'\nexport * from './entities/import-transaction.entity'\nexport * from './entities/import-transaction-error-log.entity'\nexport * from './entities/locale.entity'\nexport * from './entities/user-activity-history.entity'\nexport * from './entities/dashboard.entity'\nexport * from './entities/dashboard-variable.entity'\nexport * from './entities/dashboard-question.entity'\nexport * from './entities/dashboard-layout.entity'\nexport * from './entities/dashboard-question-sql-dataset-config.entity'\nexport * from './entities/ai-interaction.entity'\nexport * from './entities/model-sequence.entity'\n\nexport * from './enums/auth-type.enum'\nexport * from './decorators/disallow-in-production.decorator'\n\nexport * from './filters/http-exception.filter'\n\nexport * from './guards/access-token.guard'\nexport * from './guards/authentication.guard'\nexport * from './guards/permissions.guard'\nexport * from './guards/roles.guard'\n\nexport * from './helpers/command.service'\nexport * from './helpers/module.helper'\nexport * from './helpers/schematic.service'\nexport * from './helpers/solid-registry'\nexport * from './helpers/field-crud-managers/BigIntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/BooleanFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ComputedFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DateFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DecimalFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/EmailFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/IntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/JsonFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/LongTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToOneRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/MediaFieldCrudManager' // Need to resolve ambiguity\nexport * from './helpers/field-crud-managers/NoOpsFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/OneToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/PasswordFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/RichTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionDynamicFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionStaticFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ShortTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/UUIDFieldCrudManager' //rename\nexport * from './helpers/bootstrap.helper'\nexport * from './helpers/environment.helper'\nexport * from './helpers/cors.helper'\nexport * from './helpers/security.helper'\nexport * from './helpers/model-metadata-helper.service'\nexport * from './helpers/image-encoding.helper'\nexport * from './helpers/solid-microservice-adapter.service'\nexport * from './helpers/typeorm-db-helper';\n\nexport * from './services/crud.service'\nexport * from './interceptors/logging.interceptor'\nexport * from './interceptors/wrap-response.interceptor'\n\nexport * from './interfaces/active-user-data.interface'\nexport * from './interfaces/mq'\nexport * from './services/scheduled-jobs/scheduled-job.interface';\nexport * from './services/scheduled-jobs/scheduler.interface';\nexport * from './services/scheduled-jobs/scheduler.service';\n\nexport * from './jobs/api-email-publisher.service'\nexport * from './jobs/api-email-queue-options'\nexport * from './jobs/api-email-subscriber.service'\nexport { SmtpEmailQueuePublisherRabbitmq, SmtpEmailQueuePublisherRabbitmq as EmailQueuePublisher } from './jobs/smtp-email-publisher.service' // alias for backward compatibility\nexport * from './jobs/smtp-email-queue-options'\nexport { SmtpEmailQueueSubscriberRabbitmq, SmtpEmailQueueSubscriberRabbitmq as EmailQueueSubscriber } from './jobs/smtp-email-subscriber.service' // alias for backward compatibility\nexport * from './jobs/msg91-otp-publisher.service'\nexport * from './jobs/msg91-otp-queue-options'\nexport * from './jobs/msg91-otp-subscriber.service'\nexport * from './jobs/msg91-sms-publisher.service'\nexport * from './jobs/msg91-sms-queue-options'\nexport * from './jobs/msg91-sms-subscriber.service'\nexport * from './jobs/msg91-whatsapp-publisher.service'\nexport * from './jobs/msg91-whatsapp-queue-options'\nexport * from './jobs/msg91-whatsapp-subscriber.service'\n\nexport * from './listeners/user-registration.listener'\n\nexport * from './passport-strategies/google-oauth.strategy'\n\nexport * from './services/selection-providers/list-of-values-selection-providers.service'\n\n// seed-data\nexport * from './seeders/permission-metadata-seeder.service'\nexport * from './seeders/module-metadata-seeder.service'\n\n// export * from './services/access-token-storage.service'\nexport * from './services/action-metadata.service'\nexport * from './services/authentication.service'\nexport * from './services/bcrypt.service'\nexport * from './services/computed-fields/uuid-external-id-computed-field-provider.service'\nexport * from './services/crud-helper.service'\nexport * from './services/crud.service'\nexport * from './services/email-template.service'\nexport * from './services/field-metadata.service'\nexport * from './services/file'\nexport * from './services/textract.service'\nexport * from './services/hashing.service'\nexport * from './services/list-of-values.service'\nexport * from './services/mail/elastic-email.service'\nexport * from './services/mail/smtp-email.service'\nexport * from './services/media-storage-provider-metadata.service'\nexport * from './services/media.service'\nexport * from './services/mediaStorageProviders/file-s3-storage-provider'\nexport * from './services/mediaStorageProviders/file-storage-provider'\nexport * from './services/mediaStorageProviders/index'\nexport * from './services/menu-item-metadata.service'\nexport * from './services/model-metadata.service'\nexport * from './services/module-metadata.service'\nexport * from './services/mq-message-queue.service'\nexport * from './services/mq-message.service'\nexport * from './services/scheduled-job.service'\nexport * from './services/pdf.service'\nexport * from './services/permission-metadata.service'\nexport * from './services/queues/rabbitmq-publisher.service'\nexport * from './services/queues/rabbitmq-subscriber.service'\nexport * from './services/refresh-token-ids-storage.service'\nexport * from './services/role-metadata.service'\nexport * from './services/selection-providers/list-of-models-selection-provider.service'\nexport * from './services/short-url/tiny-url.service'\nexport * from './services/sms/Msg91BaseSMSService' //rename\nexport * from './services/sms/Msg91OTPService' //rename\nexport * from './services/sms/Msg91SMSService' //rename\nexport * from './services/sms/TwilioSMSService' //rename\nexport * from './services/poller.service'\nexport * from './services/sms-template.service'\nexport * from './services/solid-introspect.service'\nexport * from './services/user.service'\nexport * from './services/view-metadata.service'\nexport * from './services/whatsapp/Msg91WhatsappService' //rename\nexport * from './services/setting.service'\nexport * from './services/info.service'\nexport * from './controllers/info.controller'\nexport * from './services/settings/default-settings-provider.service'\nexport * from './services/security-rule.service'\nexport * from './services/request-context.service'\nexport * from './services/chatter-message.service'\nexport * from './services/chatter-message-details.service'\nexport * from './services/locale.service'\nexport * from './services/user-activity-history.service'\nexport * from './services/import-transaction.service'\nexport * from './services/import-transaction-error-log.service'\nexport * from './services/excel.service'\nexport * from './services/csv.service'\nexport * from './services/queues/publisher-factory.service'\nexport * from './services/queues/database-publisher.service'\nexport * from './services/queues/database-subscriber.service'\nexport * from './services/ai-interaction.service'\n\n// Factories\nexport * from './factories/mail.factory'\nexport * from './factories/sms.factory'\nexport * from './factories/whatsapp.factory'\n\n// Repositories\nexport * from './repository/solid-base.repository'\nexport * from './repository/security-rule.repository'\nexport * from './repository/chatter-message.repository'\nexport * from './repository/chatter-message-details.repository'\n\n\n//softDeleteAwareEventSubscriber.subscriber.ts\nexport * from './subscribers/model-metadata.subscriber'\nexport * from './subscribers/soft-delete-aware-event.subscriber' //rename\nexport * from './subscribers/view-metadata.subscriber' //rename\nexport * from './subscribers/audit.subscriber'\n\n\n\nexport * from './transformers/array-transformer'\nexport * from './transformers/boolean-transformer'\nexport * from './transformers/integer-transformer'\nexport { default as datetimeTransformer } from './transformers/datetime-transformer'\nexport * from './transformers/typeorm/local-date-time-transformer'\n\nexport * from './validators/is-parsable-int'\n\nexport * from './constants'\nexport * from './interfaces'\nexport * from './solid-core.module'\n\nexport * from './winston.logger'\n\nexport { ERROR_MESSAGES } from './constants/error-messages'\n"]}
|
|
1
|
+
{"version":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AC7D,+EAA4D;AAC5D,mEAAgD;AAChD,2GAAwF;AACxF,wEAAqD;AACrD,qEAAkD;AAClD,iEAA8C;AAC9C,iEAA8C;AAC9C,kEAA+C;AAC/C,4DAAyC;AACzC,kEAA+C;AAC/C,sEAAmD;AACnD,0DAAuC;AACvC,mEAAgD;AAChD,2EAAwD;AACxD,6DAA0C;AAC1C,0DAAuC;AACvC,gEAA6C;AAC7C,wFAAqE;AACrE,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAClD,6EAA0D;AAC1D,4DAAyC;AACzC,2EAAwD;AACxD,wEAAqD;AACrD,kFAA+D;AAC/D,2DAAwC;AACxC,yDAAsC;AACtC,8EAA2D;AAC3D,+EAA4D;AAC5D,gFAA6D;AAC7D,oEAAiD;AAGjD,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAG5C,qEAAkD;AAClD,wEAAqD;AACrD,0EAAuD;AACvD,kFAA+D;AAI/D,0EAAuD;AACvD,mFAAgE;AAChE,yEAAsD;AACtD,iEAA8C;AAI9C,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAClD,4EAAoF;AAA3E,4IAAA,OAAO,OAAuB;AACvC,qFAAkE;AAElE,+DAA4C;AAE5C,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AAEnC,mDAAgC;AAEhC,6DAA2D;AAAlD,gHAAA,cAAc,OAAA","sourcesContent":["export * from './commands/helper'\nexport * from './commands/refresh-model.command'\nexport * from './commands/refresh-module.command'\nexport * from './commands/remove-fields.command'\nexport * from './commands/seed.command'\nexport * from './commands/test-data.command'\nexport * from './commands/run-tests.command'\nexport * from './commands/test.command'\n\nexport * from './config/cache.options'\n\nexport * from './decorators/active-user.decorator'\nexport * from './decorators/solid-request-context.decorator'\nexport * from './decorators/auth.decorator'\nexport * from './decorators/computed-field-provider.decorator'\nexport * from './decorators/scheduled-job-provider.decorator'\nexport * from './decorators/is-not-in-enum.decorator'\nexport * from './decorators/protocol.decorator'\nexport * from './decorators/public.decorator'\nexport * from './decorators/roles.decorator'\nexport * from './decorators/selection-provider.decorator'\nexport * from './decorators/error-codes-provider.decorator'\nexport * from './decorators/solid-database-module.decorator'\nexport * from './decorators/solid-service.decorator'\nexport * from './decorators/mail-provider.decorator'\nexport * from './decorators/security-rule-config-provider.decorator'\nexport * from './decorators/sms-provider.decorator'\nexport * from './decorators/settings-provider.decorator'\n\nexport * from './dtos/post-chatter-message.dto'\nexport * from './dtos/security-rule-config.dto'\nexport * from './dtos/basic-filters.dto'\nexport * from './dtos/solid-request-context.dto'\nexport * from './dtos/change-password.dto'\nexport * from './dtos/confirm-forgot-password.dto'\nexport * from './dtos/create-action-metadata.dto'\nexport * from './dtos/create-email-attachment.dto'\nexport * from './dtos/create-email-template.dto'\nexport * from './dtos/create-field-metadata.dto'\nexport * from './dtos/create-list-of-values.dto'\nexport * from './dtos/create-media-storage-provider-metadata.dto'\nexport * from './dtos/create-media.dto'\nexport * from './dtos/create-menu-item-metadata.dto'\nexport * from './dtos/create-message.dto'\nexport * from './dtos/create-model-metadata.dto'\nexport * from './dtos/create-module-metadata.dto'\nexport * from './dtos/create-mq-message-queue.dto'\nexport * from './dtos/create-mq-message.dto'\nexport * from './dtos/create-scheduled-job.dto'\nexport * from './dtos/create-permission-metadata.dto'\nexport * from './dtos/create-role-metadata.dto'\nexport * from './dtos/create-short-url.dto'\nexport * from './dtos/create-sms-template.dto'\nexport * from './dtos/create-user.dto'\nexport * from './dtos/create-view-metadata.dto'\nexport * from './dtos/create-chatter-message.dto'\nexport * from './dtos/create-chatter-message-details.dto'\nexport * from './dtos/create-locale.dto'\nexport * from './dtos/fetch-roles.dto'\nexport * from './dtos/initiate-forgot-password.dto'\nexport * from './dtos/mutate-role-permissions.dto'\nexport * from './dtos/mutate-user-roles-list.dto'\nexport * from './dtos/mutate-user-roles.dto'\nexport * from './dtos/oauth-user-dto'\nexport * from './dtos/otp-confirm-otp.dto'\nexport * from './dtos/otp-sign-in.dto'\nexport * from './dtos/otp-sign-up.dto'\nexport * from './dtos/pagination-query.dto'\nexport * from './dtos/query.dto'\nexport * from './dtos/refresh-token.dto'\nexport * from './dtos/register-private.dto'\nexport * from './dtos/selection-dynamic-query.dto'\nexport * from './dtos/sign-in.dto'\nexport * from './dtos/sign-up.dto'\nexport * from './dtos/sort-filter.dto'\nexport * from './dtos/update-action-metadata.dto'\nexport * from './dtos/update-email-template.dto'\nexport * from './dtos/update-field-metadata.dto'\nexport * from './dtos/update-media-storage-provider.dto'\nexport * from './dtos/update-media.dto'\nexport * from './dtos/update-menu-item-metadata.dto'\nexport * from './dtos/update-message.dto'\nexport * from './dtos/update-model-metadata.dto'\nexport * from './dtos/update-module-metadata.dto'\nexport * from './dtos/update-mq-message-queue.dto'\nexport * from './dtos/update-mq-message.dto'\nexport * from './dtos/update-scheduled-job.dto'\nexport * from './dtos/update-permission-metadata.dto'\nexport * from './dtos/update-role-metadata.dto'\nexport * from './dtos/update-sms-template.dto'\nexport * from './dtos/update-user.dto'\nexport * from './dtos/update-view-metadata.dto'\nexport * from './dtos/create-setting.dto'\nexport * from './dtos/update-setting.dto'\nexport * from './dtos/create-security-rule.dto'\nexport * from './dtos/update-security-rule.dto'\nexport * from './dtos/update-chatter-message.dto'\nexport * from './dtos/update-chatter-message-details.dto'\nexport * from './dtos/update-locale.dto'\nexport * from './dtos/create-user-activity-history.dto'\nexport * from './dtos/update-user-activity-history.dto'\n\nexport * from './entities/action-metadata.entity'\nexport * from './entities/common.entity'\nexport * from './entities/legacy-common.entity'\nexport * from './entities/legacy-common-with-id.entity'\nexport * from './entities/email-attachment.entity'\nexport * from './entities/email-template.entity'\nexport * from './entities/field-metadata.entity'\nexport * from './entities/list-of-values.entity'\nexport * from './entities/media.entity'\nexport * from './entities/media-storage-provider-metadata.entity'\nexport * from './entities/menu-item-metadata.entity'\nexport * from './entities/model-metadata.entity'\nexport * from './entities/module-metadata.entity'\nexport * from './entities/mq-message-queue.entity'\nexport * from './entities/mq-message.entity'\nexport * from './entities/scheduled-job.entity'\nexport * from './entities/permission-metadata.entity'\nexport * from './entities/role-metadata.entity'\nexport * from './entities/sms-template.entity'\nexport * from './entities/user.entity'\nexport * from './entities/view-metadata.entity'\nexport * from './entities/setting.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/user-view-metadata.entity'\nexport * from './entities/security-rule.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/chatter-message.entity'\nexport * from './entities/chatter-message-details.entity'\nexport * from './entities/export-template.entity'\nexport * from './entities/export-transaction.entity'\nexport * from './entities/import-transaction.entity'\nexport * from './entities/import-transaction-error-log.entity'\nexport * from './entities/locale.entity'\nexport * from './entities/user-activity-history.entity'\nexport * from './entities/dashboard.entity'\nexport * from './entities/dashboard-variable.entity'\nexport * from './entities/dashboard-question.entity'\nexport * from './entities/dashboard-layout.entity'\nexport * from './entities/dashboard-question-sql-dataset-config.entity'\nexport * from './entities/ai-interaction.entity'\nexport * from './entities/model-sequence.entity'\n\nexport * from './enums/auth-type.enum'\nexport * from './decorators/disallow-in-production.decorator'\n\nexport * from './filters/http-exception.filter'\n\nexport * from './guards/access-token.guard'\nexport * from './guards/authentication.guard'\nexport * from './guards/permissions.guard'\nexport * from './guards/roles.guard'\n\nexport * from './helpers/command.service'\nexport * from './helpers/module.helper'\nexport * from './helpers/schematic.service'\nexport * from './helpers/solid-registry'\nexport * from './helpers/field-crud-managers/BigIntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/BooleanFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ComputedFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DateFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DecimalFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/EmailFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/IntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/JsonFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/LongTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToOneRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/MediaFieldCrudManager' // Need to resolve ambiguity\nexport * from './helpers/field-crud-managers/NoOpsFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/OneToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/PasswordFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/RichTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionDynamicFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionStaticFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ShortTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/UUIDFieldCrudManager' //rename\nexport * from './helpers/bootstrap.helper'\nexport * from './helpers/environment.helper'\nexport * from './helpers/cache.helper'\nexport * from './helpers/cors.helper'\nexport * from './helpers/security.helper'\nexport * from './helpers/model-metadata-helper.service'\nexport * from './helpers/image-encoding.helper'\nexport * from './helpers/solid-microservice-adapter.service'\nexport * from './helpers/typeorm-db-helper';\n\nexport * from './services/crud.service'\nexport * from './interceptors/logging.interceptor'\nexport * from './interceptors/wrap-response.interceptor'\n\nexport * from './interfaces/active-user-data.interface'\nexport * from './interfaces/mq'\nexport * from './services/scheduled-jobs/scheduled-job.interface';\nexport * from './services/scheduled-jobs/scheduler.interface';\nexport * from './services/scheduled-jobs/scheduler.service';\n\nexport * from './jobs/api-email-publisher.service'\nexport * from './jobs/api-email-queue-options'\nexport * from './jobs/api-email-subscriber.service'\nexport { SmtpEmailQueuePublisherRabbitmq, SmtpEmailQueuePublisherRabbitmq as EmailQueuePublisher } from './jobs/smtp-email-publisher.service' // alias for backward compatibility\nexport * from './jobs/smtp-email-queue-options'\nexport { SmtpEmailQueueSubscriberRabbitmq, SmtpEmailQueueSubscriberRabbitmq as EmailQueueSubscriber } from './jobs/smtp-email-subscriber.service' // alias for backward compatibility\nexport * from './jobs/msg91-otp-publisher.service'\nexport * from './jobs/msg91-otp-queue-options'\nexport * from './jobs/msg91-otp-subscriber.service'\nexport * from './jobs/msg91-sms-publisher.service'\nexport * from './jobs/msg91-sms-queue-options'\nexport * from './jobs/msg91-sms-subscriber.service'\nexport * from './jobs/msg91-whatsapp-publisher.service'\nexport * from './jobs/msg91-whatsapp-queue-options'\nexport * from './jobs/msg91-whatsapp-subscriber.service'\n\nexport * from './listeners/user-registration.listener'\n\nexport * from './passport-strategies/google-oauth.strategy'\n\nexport * from './services/selection-providers/list-of-values-selection-providers.service'\n\n// seed-data\nexport * from './seeders/permission-metadata-seeder.service'\nexport * from './seeders/module-metadata-seeder.service'\n\n// export * from './services/access-token-storage.service'\nexport * from './services/action-metadata.service'\nexport * from './services/authentication.service'\nexport * from './services/bcrypt.service'\nexport * from './services/computed-fields/uuid-external-id-computed-field-provider.service'\nexport * from './services/crud-helper.service'\nexport * from './services/crud.service'\nexport * from './services/email-template.service'\nexport * from './services/field-metadata.service'\nexport * from './services/file'\nexport * from './services/textract.service'\nexport * from './services/hashing.service'\nexport * from './services/list-of-values.service'\nexport * from './services/mail/elastic-email.service'\nexport * from './services/mail/smtp-email.service'\nexport * from './services/media-storage-provider-metadata.service'\nexport * from './services/media.service'\nexport * from './services/mediaStorageProviders/file-s3-storage-provider'\nexport * from './services/mediaStorageProviders/file-storage-provider'\nexport * from './services/mediaStorageProviders/index'\nexport * from './services/menu-item-metadata.service'\nexport * from './services/model-metadata.service'\nexport * from './services/module-metadata.service'\nexport * from './services/mq-message-queue.service'\nexport * from './services/mq-message.service'\nexport * from './services/scheduled-job.service'\nexport * from './services/pdf.service'\nexport * from './services/permission-metadata.service'\nexport * from './services/queues/rabbitmq-publisher.service'\nexport * from './services/queues/rabbitmq-subscriber.service'\nexport * from './services/refresh-token-ids-storage.service'\nexport * from './services/role-metadata.service'\nexport * from './services/selection-providers/list-of-models-selection-provider.service'\nexport * from './services/short-url/tiny-url.service'\nexport * from './services/sms/Msg91BaseSMSService' //rename\nexport * from './services/sms/Msg91OTPService' //rename\nexport * from './services/sms/Msg91SMSService' //rename\nexport * from './services/sms/TwilioSMSService' //rename\nexport * from './services/poller.service'\nexport * from './services/sms-template.service'\nexport * from './services/solid-introspect.service'\nexport * from './services/user.service'\nexport * from './services/view-metadata.service'\nexport * from './services/whatsapp/Msg91WhatsappService' //rename\nexport * from './services/setting.service'\nexport * from './services/info.service'\nexport * from './controllers/info.controller'\nexport * from './services/settings/default-settings-provider.service'\nexport * from './services/security-rule.service'\nexport * from './services/request-context.service'\nexport * from './services/chatter-message.service'\nexport * from './services/chatter-message-details.service'\nexport * from './services/locale.service'\nexport * from './services/user-activity-history.service'\nexport * from './services/import-transaction.service'\nexport * from './services/import-transaction-error-log.service'\nexport * from './services/excel.service'\nexport * from './services/csv.service'\nexport * from './services/queues/publisher-factory.service'\nexport * from './services/queues/database-publisher.service'\nexport * from './services/queues/database-subscriber.service'\nexport * from './services/ai-interaction.service'\n\n// Factories\nexport * from './factories/mail.factory'\nexport * from './factories/sms.factory'\nexport * from './factories/whatsapp.factory'\n\n// Repositories\nexport * from './repository/solid-base.repository'\nexport * from './repository/security-rule.repository'\nexport * from './repository/chatter-message.repository'\nexport * from './repository/chatter-message-details.repository'\n\n\n//softDeleteAwareEventSubscriber.subscriber.ts\nexport * from './subscribers/model-metadata.subscriber'\nexport * from './subscribers/soft-delete-aware-event.subscriber' //rename\nexport * from './subscribers/view-metadata.subscriber' //rename\nexport * from './subscribers/audit.subscriber'\n\n\n\nexport * from './transformers/array-transformer'\nexport * from './transformers/boolean-transformer'\nexport * from './transformers/integer-transformer'\nexport { default as datetimeTransformer } from './transformers/datetime-transformer'\nexport * from './transformers/typeorm/local-date-time-transformer'\n\nexport * from './validators/is-parsable-int'\n\nexport * from './constants'\nexport * from './interfaces'\nexport * from './solid-core.module'\n\nexport * from './winston.logger'\n\nexport { ERROR_MESSAGES } from './constants/error-messages'\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModuleRef } from "@nestjs/core";
|
|
2
|
+
import { Cache } from 'cache-manager';
|
|
2
3
|
import { CRUDService } from 'src/services/crud.service';
|
|
3
4
|
import { EntityManager } from 'typeorm';
|
|
4
5
|
import { PermissionMetadataRepository } from 'src/repository/permission-metadata.repository';
|
|
@@ -7,7 +8,9 @@ export declare class PermissionMetadataService extends CRUDService<PermissionMet
|
|
|
7
8
|
readonly entityManager: EntityManager;
|
|
8
9
|
readonly repo: PermissionMetadataRepository;
|
|
9
10
|
readonly moduleRef: ModuleRef;
|
|
10
|
-
|
|
11
|
+
private readonly cacheManager;
|
|
12
|
+
constructor(entityManager: EntityManager, repo: PermissionMetadataRepository, moduleRef: ModuleRef, cacheManager: Cache);
|
|
13
|
+
private buildPermissionsByRoleCacheKey;
|
|
11
14
|
findAllUsingRoles(roles: string[]): Promise<PermissionMetadata[]>;
|
|
12
15
|
permissionExistsInRole(role: string, permission: string): Promise<PermissionMetadata[]>;
|
|
13
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-metadata.service.d.ts","sourceRoot":"","sources":["../../src/services/permission-metadata.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"permission-metadata.service.d.ts","sourceRoot":"","sources":["../../src/services/permission-metadata.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,aAAa,EAAM,MAAM,SAAS,CAAC;AAG5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,qBACa,yBAA0B,SAAQ,WAAW,CAAC,kBAAkB,CAAC;IAG1E,QAAQ,CAAC,aAAa,EAAE,aAAa;IAGrC,QAAQ,CAAC,IAAI,EAAE,4BAA4B;IAC3C,QAAQ,CAAC,SAAS,EAAE,SAAS;IACN,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAL3C,aAAa,EAAE,aAAa,EAG5B,IAAI,EAAE,4BAA4B,EAClC,SAAS,EAAE,SAAS,EACW,YAAY,EAAE,KAAK;IAK7D,OAAO,CAAC,8BAA8B;IAIhC,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IA0CjE,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;CAuB9F"}
|
|
@@ -14,46 +14,89 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.PermissionMetadataService = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
|
+
const cache_manager_1 = require("@nestjs/cache-manager");
|
|
17
18
|
const core_1 = require("@nestjs/core");
|
|
18
19
|
const typeorm_1 = require("@nestjs/typeorm");
|
|
19
20
|
const crud_service_1 = require("./crud.service");
|
|
21
|
+
const cache_helper_1 = require("../helpers/cache.helper");
|
|
20
22
|
const typeorm_2 = require("typeorm");
|
|
21
23
|
const permission_metadata_repository_1 = require("../repository/permission-metadata.repository");
|
|
22
24
|
let PermissionMetadataService = class PermissionMetadataService extends crud_service_1.CRUDService {
|
|
23
|
-
constructor(entityManager, repo, moduleRef) {
|
|
25
|
+
constructor(entityManager, repo, moduleRef, cacheManager) {
|
|
24
26
|
super(entityManager, repo, 'permissionMetadata', 'solid-core', moduleRef);
|
|
25
27
|
this.entityManager = entityManager;
|
|
26
28
|
this.repo = repo;
|
|
27
29
|
this.moduleRef = moduleRef;
|
|
30
|
+
this.cacheManager = cacheManager;
|
|
28
31
|
}
|
|
29
|
-
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
buildPermissionsByRoleCacheKey(roleName) {
|
|
33
|
+
return `permissions:role:${roleName}`;
|
|
34
|
+
}
|
|
35
|
+
async findAllUsingRoles(roles) {
|
|
36
|
+
const useCache = (0, cache_helper_1.shouldUseCache)();
|
|
37
|
+
const cached = [];
|
|
38
|
+
const uncachedRoles = [];
|
|
39
|
+
if (useCache) {
|
|
40
|
+
for (const role of roles) {
|
|
41
|
+
const hit = await this.cacheManager.get(this.buildPermissionsByRoleCacheKey(role));
|
|
42
|
+
if (hit) {
|
|
43
|
+
cached.push(...hit);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
uncachedRoles.push(role);
|
|
34
47
|
}
|
|
35
|
-
}
|
|
36
|
-
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
uncachedRoles.push(...roles);
|
|
52
|
+
}
|
|
53
|
+
if (uncachedRoles.length === 0) {
|
|
54
|
+
return cached;
|
|
55
|
+
}
|
|
56
|
+
const fromDb = await this.repo.find({
|
|
57
|
+
where: { roles: { name: (0, typeorm_2.In)(uncachedRoles) } },
|
|
58
|
+
relations: { roles: true },
|
|
59
|
+
});
|
|
60
|
+
if (useCache) {
|
|
61
|
+
for (const role of uncachedRoles) {
|
|
62
|
+
const permsForRole = fromDb.filter(p => p.roles?.some(r => r.name === role));
|
|
63
|
+
await this.cacheManager.set(this.buildPermissionsByRoleCacheKey(role), permsForRole);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
const seen = new Set();
|
|
67
|
+
return [...cached, ...fromDb].filter(p => {
|
|
68
|
+
if (seen.has(p.id))
|
|
69
|
+
return false;
|
|
70
|
+
seen.add(p.id);
|
|
71
|
+
return true;
|
|
37
72
|
});
|
|
38
73
|
}
|
|
39
|
-
permissionExistsInRole(role, permission) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
74
|
+
async permissionExistsInRole(role, permission) {
|
|
75
|
+
const useCache = (0, cache_helper_1.shouldUseCache)();
|
|
76
|
+
const cacheKey = this.buildPermissionsByRoleCacheKey(role);
|
|
77
|
+
if (useCache) {
|
|
78
|
+
const hit = await this.cacheManager.get(cacheKey);
|
|
79
|
+
if (hit) {
|
|
80
|
+
return hit.filter(p => p.name === permission);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const fromDb = await this.repo.find({
|
|
84
|
+
where: { roles: { name: role } },
|
|
85
|
+
relations: { roles: true },
|
|
48
86
|
});
|
|
87
|
+
if (useCache) {
|
|
88
|
+
await this.cacheManager.set(cacheKey, fromDb);
|
|
89
|
+
}
|
|
90
|
+
return fromDb.filter(p => p.name === permission);
|
|
49
91
|
}
|
|
50
92
|
};
|
|
51
93
|
exports.PermissionMetadataService = PermissionMetadataService;
|
|
52
94
|
exports.PermissionMetadataService = PermissionMetadataService = __decorate([
|
|
53
95
|
(0, common_1.Injectable)(),
|
|
54
96
|
__param(0, (0, typeorm_1.InjectEntityManager)()),
|
|
97
|
+
__param(3, (0, common_1.Inject)(cache_manager_1.CACHE_MANAGER)),
|
|
55
98
|
__metadata("design:paramtypes", [typeorm_2.EntityManager,
|
|
56
99
|
permission_metadata_repository_1.PermissionMetadataRepository,
|
|
57
|
-
core_1.ModuleRef])
|
|
100
|
+
core_1.ModuleRef, Object])
|
|
58
101
|
], PermissionMetadataService);
|
|
59
102
|
//# sourceMappingURL=permission-metadata.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-metadata.service.js","sourceRoot":"","sources":["../../src/services/permission-metadata.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"permission-metadata.service.js","sourceRoot":"","sources":["../../src/services/permission-metadata.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yDAAsD;AACtD,uCAAyC;AACzC,6CAAsD;AAEt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ACxE,IAAI,GAAG,EAAE,CAAC;gBACR,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC;YAChD,CAAC;QACH,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YAClC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;YAChC,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;SAC3B,CAAC,CAAC;QAEH,IAAI,QAAQ,EAAE,CAAC;YACb,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAChD,CAAC;QAED,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC;IACnD,CAAC;CAEF,CAAA;AAlFY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,6BAAmB,GAAE,CAAA;IAMrB,WAAA,IAAA,eAAM,EAAC,6BAAa,CAAC,CAAA;qCALE,uBAAa;QAGtB,6DAA4B;QACvB,gBAAS;GAPpB,yBAAyB,CAkFrC","sourcesContent":["import { Inject, Injectable } from '@nestjs/common';\nimport { CACHE_MANAGER } from '@nestjs/cache-manager';\nimport { ModuleRef } from \"@nestjs/core\";\nimport { InjectEntityManager } from '@nestjs/typeorm';\nimport { Cache } from 'cache-manager';\nimport { CRUDService } from 'src/services/crud.service';\nimport { shouldUseCache } from 'src/helpers/cache.helper';\nimport { EntityManager, In } from 'typeorm';\n\n\nimport { PermissionMetadataRepository } from 'src/repository/permission-metadata.repository';\nimport { PermissionMetadata } from '../entities/permission-metadata.entity';\n\n@Injectable()\nexport class PermissionMetadataService extends CRUDService<PermissionMetadata> {\n constructor(\n @InjectEntityManager()\n readonly entityManager: EntityManager,\n // @InjectRepository(PermissionMetadata, 'default')\n // readonly repo: Repository<PermissionMetadata>,\n readonly repo: PermissionMetadataRepository,\n readonly moduleRef: ModuleRef,\n @Inject(CACHE_MANAGER) private readonly cacheManager: Cache,\n ) {\n super(entityManager, repo, 'permissionMetadata', 'solid-core',moduleRef);\n }\n\n private buildPermissionsByRoleCacheKey(roleName: string): string {\n return `permissions:role:${roleName}`;\n }\n\n async findAllUsingRoles(roles: string[]): Promise<PermissionMetadata[]> {\n const useCache = shouldUseCache();\n const cached: PermissionMetadata[] = [];\n const uncachedRoles: string[] = [];\n\n if (useCache) {\n for (const role of roles) {\n const hit = await this.cacheManager.get<PermissionMetadata[]>(this.buildPermissionsByRoleCacheKey(role));\n if (hit) {\n cached.push(...hit);\n } else {\n uncachedRoles.push(role);\n }\n }\n } else {\n uncachedRoles.push(...roles);\n }\n\n if (uncachedRoles.length === 0) {\n return cached;\n }\n\n const fromDb = await this.repo.find({\n where: { roles: { name: In(uncachedRoles) } },\n relations: { roles: true },\n });\n\n if (useCache) {\n for (const role of uncachedRoles) {\n const permsForRole = fromDb.filter(p => p.roles?.some(r => r.name === role));\n await this.cacheManager.set(this.buildPermissionsByRoleCacheKey(role), permsForRole);\n }\n }\n\n const seen = new Set<number>();\n return [...cached, ...fromDb].filter(p => {\n if (seen.has(p.id)) return false;\n seen.add(p.id);\n return true;\n });\n }\n\n async permissionExistsInRole(role: string, permission: string): Promise<PermissionMetadata[]> {\n const useCache = shouldUseCache();\n const cacheKey = this.buildPermissionsByRoleCacheKey(role);\n\n if (useCache) {\n const hit = await this.cacheManager.get<PermissionMetadata[]>(cacheKey);\n if (hit) {\n return hit.filter(p => p.name === permission);\n }\n }\n\n const fromDb = await this.repo.find({\n where: { roles: { name: role } },\n relations: { roles: true },\n });\n\n if (useCache) {\n await this.cacheManager.set(cacheKey, fromDb);\n }\n\n return fromDb.filter(p => p.name === permission);\n }\n\n}\n\n\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[2026-04-01T11:32:43.795Z] ERROR: [200 OK] POST /api/iam/otp/login/confirm - Connection terminated unexpectedly 59891ms
|
|
2
|
+
[2026-04-01T11:32:43.795Z] ERROR: [500 Internal Server Error] POST /api/iam/otp/login/confirm - Connection terminated unexpectedly [code=solidx-unknown-error]
|
|
3
|
+
[2026-04-01T11:32:43.795Z] ERROR: QueryFailedError: Connection terminated unexpectedly
|
|
4
|
+
at PostgresQueryRunner.query (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:325:19)
|
|
5
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
6
|
+
at async SelectQueryBuilder.loadRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3868:25)
|
|
7
|
+
at async SelectQueryBuilder.executeEntitiesAndRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3614:26)
|
|
8
|
+
at async SelectQueryBuilder.getRawAndEntities (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1671:29)
|
|
9
|
+
at async SelectQueryBuilder.getOne (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1698:25)
|
|
10
|
+
at async AuthenticationService.findUserForLogin (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/services/authentication.service.ts:725:22)
|
|
11
|
+
at async AuthenticationService.otpConfirmLogin (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/services/authentication.service.ts:821:22)
|
|
12
|
+
[2026-04-01T11:32:43.796Z] ERROR: [200 OK] POST /api/iam/otp/login/confirm - Connection terminated unexpectedly 59912ms
|
|
13
|
+
[2026-04-01T11:32:43.796Z] ERROR: [500 Internal Server Error] POST /api/iam/otp/login/confirm - Connection terminated unexpectedly [code=solidx-unknown-error]
|
|
14
|
+
[2026-04-01T11:32:43.796Z] ERROR: QueryFailedError: Connection terminated unexpectedly
|
|
15
|
+
at PostgresQueryRunner.query (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:325:19)
|
|
16
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
17
|
+
at async SelectQueryBuilder.loadRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3868:25)
|
|
18
|
+
at async SelectQueryBuilder.executeEntitiesAndRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3614:26)
|
|
19
|
+
at async SelectQueryBuilder.getRawAndEntities (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1671:29)
|
|
20
|
+
at async SelectQueryBuilder.getOne (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1698:25)
|
|
21
|
+
at async AuthenticationService.findUserForLogin (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/services/authentication.service.ts:725:22)
|
|
22
|
+
at async AuthenticationService.otpConfirmLogin (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/services/authentication.service.ts:821:22)
|
|
23
|
+
[2026-04-01T11:32:43.797Z] ERROR: [500 Internal Server Error] POST /api/lead - Connection terminated unexpectedly [code=solidx-unknown-error]
|
|
24
|
+
[2026-04-01T11:32:43.797Z] ERROR: QueryFailedError: Connection terminated unexpectedly
|
|
25
|
+
at PostgresQueryRunner.query (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:325:19)
|
|
26
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
27
|
+
at async SelectQueryBuilder.loadRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3868:25)
|
|
28
|
+
at async SelectQueryBuilder.executeEntitiesAndRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3614:26)
|
|
29
|
+
at async SelectQueryBuilder.getRawAndEntities (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1671:29)
|
|
30
|
+
at async SelectQueryBuilder.getMany (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1761:25)
|
|
31
|
+
at async AuthenticationGuard.canActivate (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/guards/authentication.guard.ts:55:36)
|
|
32
|
+
at async GuardsConsumer.tryActivate (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/guards/guards-consumer.js:16:17)
|
|
33
|
+
at async canActivateFn (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-execution-context.js:135:33)
|
|
34
|
+
at async /opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-execution-context.js:42:31
|
|
35
|
+
at async /opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-proxy.js:9:17
|
|
36
|
+
[2026-04-01T11:32:43.798Z] ERROR: [500 Internal Server Error] POST /api/lead - Connection terminated unexpectedly [code=solidx-unknown-error]
|
|
37
|
+
[2026-04-01T11:32:43.798Z] ERROR: QueryFailedError: Connection terminated unexpectedly
|
|
38
|
+
at PostgresQueryRunner.query (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/driver/src/driver/postgres/PostgresQueryRunner.ts:325:19)
|
|
39
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
40
|
+
at async SelectQueryBuilder.loadRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3868:25)
|
|
41
|
+
at async SelectQueryBuilder.executeEntitiesAndRawResults (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:3614:26)
|
|
42
|
+
at async SelectQueryBuilder.getRawAndEntities (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1671:29)
|
|
43
|
+
at async SelectQueryBuilder.getMany (/opt/gitco/rnlic-venue-app/solid-api/node_modules/typeorm/query-builder/src/query-builder/SelectQueryBuilder.ts:1761:25)
|
|
44
|
+
at async AuthenticationGuard.canActivate (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@solidxai/core/src/guards/authentication.guard.ts:55:36)
|
|
45
|
+
at async GuardsConsumer.tryActivate (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/guards/guards-consumer.js:16:17)
|
|
46
|
+
at async canActivateFn (/opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-execution-context.js:135:33)
|
|
47
|
+
at async /opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-execution-context.js:42:31
|
|
48
|
+
at async /opt/gitco/rnlic-venue-app/solid-api/node_modules/@nestjs/core/router/router-proxy.js:9:17
|
|
49
|
+
[2026-04-01T11:32:43.799Z] ERROR: [500 Internal Server Error] POST /api/lead - Connection terminated unexpectedly [code=solidx-unknown-error]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidxai/core",
|
|
3
|
-
"version": "0.1.6-beta.
|
|
3
|
+
"version": "0.1.6-beta.17",
|
|
4
4
|
"description": "This module is a NestJS module containing all the required core providers required by a Solid application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
package/src/index.ts
CHANGED
|
@@ -178,6 +178,7 @@ export * from './helpers/field-crud-managers/ShortTextFieldCrudManager' //rename
|
|
|
178
178
|
export * from './helpers/field-crud-managers/UUIDFieldCrudManager' //rename
|
|
179
179
|
export * from './helpers/bootstrap.helper'
|
|
180
180
|
export * from './helpers/environment.helper'
|
|
181
|
+
export * from './helpers/cache.helper'
|
|
181
182
|
export * from './helpers/cors.helper'
|
|
182
183
|
export * from './helpers/security.helper'
|
|
183
184
|
export * from './helpers/model-metadata-helper.service'
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { Injectable } from '@nestjs/common';
|
|
1
|
+
import { Inject, Injectable } from '@nestjs/common';
|
|
2
|
+
import { CACHE_MANAGER } from '@nestjs/cache-manager';
|
|
2
3
|
import { ModuleRef } from "@nestjs/core";
|
|
3
4
|
import { InjectEntityManager } from '@nestjs/typeorm';
|
|
5
|
+
import { Cache } from 'cache-manager';
|
|
4
6
|
import { CRUDService } from 'src/services/crud.service';
|
|
7
|
+
import { shouldUseCache } from 'src/helpers/cache.helper';
|
|
5
8
|
import { EntityManager, In } from 'typeorm';
|
|
6
9
|
|
|
7
10
|
|
|
@@ -16,34 +19,79 @@ export class PermissionMetadataService extends CRUDService<PermissionMetadata> {
|
|
|
16
19
|
// @InjectRepository(PermissionMetadata, 'default')
|
|
17
20
|
// readonly repo: Repository<PermissionMetadata>,
|
|
18
21
|
readonly repo: PermissionMetadataRepository,
|
|
19
|
-
readonly moduleRef: ModuleRef
|
|
20
|
-
|
|
22
|
+
readonly moduleRef: ModuleRef,
|
|
23
|
+
@Inject(CACHE_MANAGER) private readonly cacheManager: Cache,
|
|
21
24
|
) {
|
|
22
25
|
super(entityManager, repo, 'permissionMetadata', 'solid-core',moduleRef);
|
|
23
26
|
}
|
|
24
27
|
|
|
28
|
+
private buildPermissionsByRoleCacheKey(roleName: string): string {
|
|
29
|
+
return `permissions:role:${roleName}`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
async findAllUsingRoles(roles: string[]): Promise<PermissionMetadata[]> {
|
|
33
|
+
const useCache = shouldUseCache();
|
|
34
|
+
const cached: PermissionMetadata[] = [];
|
|
35
|
+
const uncachedRoles: string[] = [];
|
|
25
36
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
37
|
+
if (useCache) {
|
|
38
|
+
for (const role of roles) {
|
|
39
|
+
const hit = await this.cacheManager.get<PermissionMetadata[]>(this.buildPermissionsByRoleCacheKey(role));
|
|
40
|
+
if (hit) {
|
|
41
|
+
cached.push(...hit);
|
|
42
|
+
} else {
|
|
43
|
+
uncachedRoles.push(role);
|
|
31
44
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
uncachedRoles.push(...roles);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (uncachedRoles.length === 0) {
|
|
51
|
+
return cached;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const fromDb = await this.repo.find({
|
|
55
|
+
where: { roles: { name: In(uncachedRoles) } },
|
|
56
|
+
relations: { roles: true },
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
if (useCache) {
|
|
60
|
+
for (const role of uncachedRoles) {
|
|
61
|
+
const permsForRole = fromDb.filter(p => p.roles?.some(r => r.name === role));
|
|
62
|
+
await this.cacheManager.set(this.buildPermissionsByRoleCacheKey(role), permsForRole);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const seen = new Set<number>();
|
|
67
|
+
return [...cached, ...fromDb].filter(p => {
|
|
68
|
+
if (seen.has(p.id)) return false;
|
|
69
|
+
seen.add(p.id);
|
|
70
|
+
return true;
|
|
34
71
|
});
|
|
35
72
|
}
|
|
36
73
|
|
|
37
|
-
permissionExistsInRole(role: string, permission: string
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
74
|
+
async permissionExistsInRole(role: string, permission: string): Promise<PermissionMetadata[]> {
|
|
75
|
+
const useCache = shouldUseCache();
|
|
76
|
+
const cacheKey = this.buildPermissionsByRoleCacheKey(role);
|
|
77
|
+
|
|
78
|
+
if (useCache) {
|
|
79
|
+
const hit = await this.cacheManager.get<PermissionMetadata[]>(cacheKey);
|
|
80
|
+
if (hit) {
|
|
81
|
+
return hit.filter(p => p.name === permission);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
const fromDb = await this.repo.find({
|
|
86
|
+
where: { roles: { name: role } },
|
|
87
|
+
relations: { roles: true },
|
|
46
88
|
});
|
|
89
|
+
|
|
90
|
+
if (useCache) {
|
|
91
|
+
await this.cacheManager.set(cacheKey, fromDb);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return fromDb.filter(p => p.name === permission);
|
|
47
95
|
}
|
|
48
96
|
|
|
49
97
|
}
|