@solidstarters/solid-core 1.2.192 → 1.2.200
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/commands/mcp.command.d.ts +20 -0
- package/dist/commands/mcp.command.d.ts.map +1 -0
- package/dist/commands/mcp.command.js +208 -0
- package/dist/commands/mcp.command.js.map +1 -0
- package/dist/commands/refresh-model.command.d.ts +8 -5
- package/dist/commands/refresh-model.command.d.ts.map +1 -1
- package/dist/commands/refresh-model.command.js +32 -0
- package/dist/commands/refresh-model.command.js.map +1 -1
- package/dist/commands/remove-fields.command.js +1 -1
- package/dist/commands/remove-fields.command.js.map +1 -1
- package/dist/commands/seed.command.d.ts +2 -0
- package/dist/commands/seed.command.d.ts.map +1 -1
- package/dist/commands/seed.command.js +28 -1
- package/dist/commands/seed.command.js.map +1 -1
- package/dist/controllers/authentication.controller.js +1 -1
- package/dist/controllers/authentication.controller.js.map +1 -1
- package/dist/controllers/email-template.controller.js +1 -1
- package/dist/controllers/email-template.controller.js.map +1 -1
- package/dist/controllers/field-metadata.controller.d.ts +136 -4
- package/dist/controllers/field-metadata.controller.d.ts.map +1 -1
- package/dist/controllers/field-metadata.controller.js +14 -1
- package/dist/controllers/field-metadata.controller.js.map +1 -1
- package/dist/controllers/media-storage-provider-metadata.controller.js +1 -1
- package/dist/controllers/media-storage-provider-metadata.controller.js.map +1 -1
- package/dist/controllers/model-metadata.controller.js +1 -1
- package/dist/controllers/model-metadata.controller.js.map +1 -1
- package/dist/controllers/module-metadata.controller.js +1 -1
- package/dist/controllers/module-metadata.controller.js.map +1 -1
- package/dist/controllers/otp-authentication.controller.js +1 -1
- package/dist/controllers/otp-authentication.controller.js.map +1 -1
- package/dist/controllers/service.controller.js +1 -1
- package/dist/controllers/service.controller.js.map +1 -1
- package/dist/controllers/sms-template.controller.js +1 -1
- package/dist/controllers/sms-template.controller.js.map +1 -1
- package/dist/controllers/test-queue.controller.js +1 -1
- package/dist/controllers/test-queue.controller.js.map +1 -1
- package/dist/controllers/test.controller.js +1 -1
- package/dist/controllers/test.controller.js.map +1 -1
- package/dist/dtos/create-ai-interaction.dto.d.ts +2 -0
- package/dist/dtos/create-ai-interaction.dto.d.ts.map +1 -1
- package/dist/dtos/create-ai-interaction.dto.js +14 -1
- package/dist/dtos/create-ai-interaction.dto.js.map +1 -1
- package/dist/dtos/create-field-metadata.dto.d.ts +22 -5
- package/dist/dtos/create-field-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/create-field-metadata.dto.js +33 -7
- package/dist/dtos/create-field-metadata.dto.js.map +1 -1
- package/dist/dtos/create-import-transaction.dto.d.ts +0 -1
- package/dist/dtos/create-import-transaction.dto.d.ts.map +1 -1
- package/dist/dtos/create-import-transaction.dto.js +1 -7
- package/dist/dtos/create-import-transaction.dto.js.map +1 -1
- package/dist/dtos/create-model-metadata.dto.d.ts +2 -0
- package/dist/dtos/create-model-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/create-model-metadata.dto.js +13 -1
- package/dist/dtos/create-model-metadata.dto.js.map +1 -1
- package/dist/dtos/create-role-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/create-role-metadata.dto.js +5 -1
- package/dist/dtos/create-role-metadata.dto.js.map +1 -1
- package/dist/dtos/resolve-s3-url.dto.d.ts +10 -0
- package/dist/dtos/resolve-s3-url.dto.d.ts.map +1 -0
- package/dist/dtos/resolve-s3-url.dto.js +49 -0
- package/dist/dtos/resolve-s3-url.dto.js.map +1 -0
- package/dist/dtos/update-ai-interaction.dto.d.ts +2 -0
- package/dist/dtos/update-ai-interaction.dto.d.ts.map +1 -1
- package/dist/dtos/update-ai-interaction.dto.js +13 -1
- package/dist/dtos/update-ai-interaction.dto.js.map +1 -1
- package/dist/dtos/update-field-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/update-field-metadata.dto.js.map +1 -1
- package/dist/dtos/update-import-transaction.dto.d.ts +0 -1
- package/dist/dtos/update-import-transaction.dto.d.ts.map +1 -1
- package/dist/dtos/update-import-transaction.dto.js +1 -7
- package/dist/dtos/update-import-transaction.dto.js.map +1 -1
- package/dist/entities/action-metadata.entity.js +4 -4
- package/dist/entities/action-metadata.entity.js.map +1 -1
- package/dist/entities/ai-interaction.entity.d.ts +2 -0
- package/dist/entities/ai-interaction.entity.d.ts.map +1 -1
- package/dist/entities/ai-interaction.entity.js +15 -6
- package/dist/entities/ai-interaction.entity.js.map +1 -1
- package/dist/entities/chatter-message-details.entity.d.ts.map +1 -1
- package/dist/entities/chatter-message-details.entity.js +1 -1
- package/dist/entities/chatter-message-details.entity.js.map +1 -1
- package/dist/entities/chatter-message.entity.js +1 -1
- package/dist/entities/chatter-message.entity.js.map +1 -1
- package/dist/entities/common.entity.d.ts +2 -3
- package/dist/entities/common.entity.d.ts.map +1 -1
- package/dist/entities/common.entity.js +9 -11
- package/dist/entities/common.entity.js.map +1 -1
- package/dist/entities/dashboard-question-sql-dataset-config.entity.js +2 -2
- package/dist/entities/dashboard-question-sql-dataset-config.entity.js.map +1 -1
- package/dist/entities/dashboard-question.entity.js +3 -3
- package/dist/entities/dashboard-question.entity.js.map +1 -1
- package/dist/entities/dashboard-variable.entity.js +3 -3
- package/dist/entities/dashboard-variable.entity.js.map +1 -1
- package/dist/entities/dashboard.entity.js +1 -1
- package/dist/entities/dashboard.entity.js.map +1 -1
- package/dist/entities/email-template.entity.d.ts.map +1 -1
- package/dist/entities/email-template.entity.js +4 -3
- package/dist/entities/email-template.entity.js.map +1 -1
- package/dist/entities/export-template.entity.js +2 -2
- package/dist/entities/export-template.entity.js.map +1 -1
- package/dist/entities/export-transaction.entity.js +2 -2
- package/dist/entities/export-transaction.entity.js.map +1 -1
- package/dist/entities/field-metadata.entity.d.ts +1 -0
- package/dist/entities/field-metadata.entity.d.ts.map +1 -1
- package/dist/entities/field-metadata.entity.js +8 -4
- package/dist/entities/field-metadata.entity.js.map +1 -1
- package/dist/entities/import-transaction-error-log.entity.js +1 -1
- package/dist/entities/import-transaction-error-log.entity.js.map +1 -1
- package/dist/entities/import-transaction.entity.d.ts +0 -1
- package/dist/entities/import-transaction.entity.d.ts.map +1 -1
- package/dist/entities/import-transaction.entity.js +2 -7
- package/dist/entities/import-transaction.entity.js.map +1 -1
- package/dist/entities/legacy-common-with-id.entity.d.ts +5 -0
- package/dist/entities/legacy-common-with-id.entity.d.ts.map +1 -0
- package/dist/entities/legacy-common-with-id.entity.js +32 -0
- package/dist/entities/legacy-common-with-id.entity.js.map +1 -0
- package/dist/entities/legacy-common.entity.d.ts +13 -0
- package/dist/entities/legacy-common.entity.d.ts.map +1 -0
- package/dist/entities/legacy-common.entity.js +67 -0
- package/dist/entities/legacy-common.entity.js.map +1 -0
- package/dist/entities/list-of-values.entity.js +2 -2
- package/dist/entities/list-of-values.entity.js.map +1 -1
- package/dist/entities/locale.entity.js +1 -1
- package/dist/entities/locale.entity.js.map +1 -1
- package/dist/entities/media.entity.d.ts.map +1 -1
- package/dist/entities/media.entity.js +3 -3
- package/dist/entities/media.entity.js.map +1 -1
- package/dist/entities/menu-item-metadata.entity.js +4 -4
- package/dist/entities/menu-item-metadata.entity.js.map +1 -1
- package/dist/entities/model-metadata.entity.d.ts +2 -0
- package/dist/entities/model-metadata.entity.d.ts.map +1 -1
- package/dist/entities/model-metadata.entity.js +11 -3
- package/dist/entities/model-metadata.entity.js.map +1 -1
- package/dist/entities/mq-message-queue.entity.js +1 -1
- package/dist/entities/mq-message-queue.entity.js.map +1 -1
- package/dist/entities/mq-message.entity.d.ts +3 -3
- package/dist/entities/mq-message.entity.d.ts.map +1 -1
- package/dist/entities/mq-message.entity.js +10 -10
- package/dist/entities/mq-message.entity.js.map +1 -1
- package/dist/entities/saved-filters.entity.js +4 -4
- package/dist/entities/saved-filters.entity.js.map +1 -1
- package/dist/entities/scheduled-job.entity.js +4 -4
- package/dist/entities/scheduled-job.entity.js.map +1 -1
- package/dist/entities/security-rule.entity.js +2 -2
- package/dist/entities/security-rule.entity.js.map +1 -1
- package/dist/entities/setting.entity.js +2 -2
- package/dist/entities/setting.entity.js.map +1 -1
- package/dist/entities/sms-template.entity.js +2 -2
- package/dist/entities/sms-template.entity.js.map +1 -1
- package/dist/entities/user-activity-history.entity.d.ts.map +1 -1
- package/dist/entities/user-activity-history.entity.js +1 -1
- package/dist/entities/user-activity-history.entity.js.map +1 -1
- package/dist/entities/user-view-metadata.entity.js +2 -2
- package/dist/entities/user-view-metadata.entity.js.map +1 -1
- package/dist/entities/user.entity.js +13 -15
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entities/view-metadata.entity.js +3 -3
- package/dist/entities/view-metadata.entity.js.map +1 -1
- package/dist/helpers/date.helper.d.ts +1 -1
- package/dist/helpers/date.helper.d.ts.map +1 -1
- package/dist/helpers/date.helper.js +24 -2
- package/dist/helpers/date.helper.js.map +1 -1
- package/dist/helpers/model-metadata-helper.service.d.ts +4 -1
- package/dist/helpers/model-metadata-helper.service.d.ts.map +1 -1
- package/dist/helpers/model-metadata-helper.service.js +48 -30
- package/dist/helpers/model-metadata-helper.service.js.map +1 -1
- package/dist/helpers/module.helper.d.ts.map +1 -1
- package/dist/helpers/module.helper.js +1 -3
- package/dist/helpers/module.helper.js.map +1 -1
- package/dist/helpers/schematic.service.d.ts +9 -3
- package/dist/helpers/schematic.service.d.ts.map +1 -1
- package/dist/helpers/schematic.service.js +49 -32
- package/dist/helpers/schematic.service.js.map +1 -1
- package/dist/helpers/solid-registry.d.ts +3 -2
- package/dist/helpers/solid-registry.d.ts.map +1 -1
- package/dist/helpers/solid-registry.js +10 -0
- package/dist/helpers/solid-registry.js.map +1 -1
- package/dist/helpers/typeorm-db-helper.d.ts +3 -0
- package/dist/helpers/typeorm-db-helper.d.ts.map +1 -0
- package/dist/helpers/typeorm-db-helper.js +24 -0
- package/dist/helpers/typeorm-db-helper.js.map +1 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +3 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.d.ts.map +1 -1
- package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.js +6 -1
- package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.js.map +1 -1
- package/dist/seeders/module-metadata-seeder.service.d.ts +1 -1
- package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
- package/dist/seeders/module-metadata-seeder.service.js +39 -17
- package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
- package/dist/seeders/seed-data/solid-core-metadata.json +53 -468
- package/dist/seeders/system-fields-seeder.service.d.ts.map +1 -1
- package/dist/seeders/system-fields-seeder.service.js +1 -1
- package/dist/seeders/system-fields-seeder.service.js.map +1 -1
- package/dist/services/ai-interaction.service.js +1 -1
- package/dist/services/ai-interaction.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 +6 -4
- 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 +8 -0
- package/dist/services/crud-helper.service.d.ts.map +1 -1
- package/dist/services/crud-helper.service.js +28 -5
- package/dist/services/crud-helper.service.js.map +1 -1
- package/dist/services/crud.service.d.ts +4 -1
- package/dist/services/crud.service.d.ts.map +1 -1
- package/dist/services/crud.service.js +87 -7
- package/dist/services/crud.service.js.map +1 -1
- package/dist/services/field-metadata.service.d.ts +143 -6
- package/dist/services/field-metadata.service.d.ts.map +1 -1
- package/dist/services/field-metadata.service.js +211 -56
- package/dist/services/field-metadata.service.js.map +1 -1
- package/dist/services/menu-item-metadata.service.d.ts +3 -1
- package/dist/services/menu-item-metadata.service.d.ts.map +1 -1
- package/dist/services/menu-item-metadata.service.js +31 -11
- package/dist/services/menu-item-metadata.service.js.map +1 -1
- package/dist/services/model-metadata.service.d.ts.map +1 -1
- package/dist/services/model-metadata.service.js +14 -3
- package/dist/services/model-metadata.service.js.map +1 -1
- package/dist/services/mq-message.service.d.ts.map +1 -1
- package/dist/services/mq-message.service.js +3 -4
- package/dist/services/mq-message.service.js.map +1 -1
- package/dist/services/queues/publisher-factory.service.d.ts.map +1 -1
- package/dist/services/queues/publisher-factory.service.js +4 -0
- package/dist/services/queues/publisher-factory.service.js.map +1 -1
- package/dist/{providers → services/selection-providers}/list-of-values-selection-providers.service.d.ts +2 -2
- package/dist/services/selection-providers/list-of-values-selection-providers.service.d.ts.map +1 -0
- package/dist/{providers → services/selection-providers}/list-of-values-selection-providers.service.js +3 -3
- package/dist/services/selection-providers/list-of-values-selection-providers.service.js.map +1 -0
- package/dist/services/selection-providers/pseudo-foreign-key-selection-provider.service.d.ts +20 -0
- package/dist/services/selection-providers/pseudo-foreign-key-selection-provider.service.d.ts.map +1 -0
- package/dist/services/selection-providers/pseudo-foreign-key-selection-provider.service.js +87 -0
- package/dist/services/selection-providers/pseudo-foreign-key-selection-provider.service.js.map +1 -0
- package/dist/services/setting.service.d.ts.map +1 -1
- package/dist/services/setting.service.js +2 -1
- package/dist/services/setting.service.js.map +1 -1
- package/dist/services/solid-introspect.service.d.ts +19 -3
- package/dist/services/solid-introspect.service.d.ts.map +1 -1
- package/dist/services/solid-introspect.service.js +83 -11
- package/dist/services/solid-introspect.service.js.map +1 -1
- package/dist/services/view-metadata.service.d.ts +3 -1
- package/dist/services/view-metadata.service.d.ts.map +1 -1
- package/dist/services/view-metadata.service.js +31 -5
- package/dist/services/view-metadata.service.js.map +1 -1
- package/dist/solid-core.module.d.ts.map +1 -1
- package/dist/solid-core.module.js +5 -1
- package/dist/solid-core.module.js.map +1 -1
- package/dist/subscribers/audit.subscriber.d.ts +3 -2
- package/dist/subscribers/audit.subscriber.d.ts.map +1 -1
- package/dist/subscribers/audit.subscriber.js +6 -12
- package/dist/subscribers/audit.subscriber.js.map +1 -1
- package/dist/subscribers/computed-entity-field.subscriber.d.ts +3 -2
- package/dist/subscribers/computed-entity-field.subscriber.d.ts.map +1 -1
- package/dist/subscribers/computed-entity-field.subscriber.js +7 -9
- package/dist/subscribers/computed-entity-field.subscriber.js.map +1 -1
- package/dist/subscribers/created-by-updated-by.subscriber.d.ts +4 -2
- package/dist/subscribers/created-by-updated-by.subscriber.d.ts.map +1 -1
- package/dist/subscribers/created-by-updated-by.subscriber.js +10 -8
- 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 +0 -1
- package/dist/subscribers/field-metadata.subscriber.js.map +1 -1
- package/dist/subscribers/model-metadata.subscriber.d.ts.map +1 -1
- package/dist/subscribers/model-metadata.subscriber.js +3 -2
- package/dist/subscribers/model-metadata.subscriber.js.map +1 -1
- package/dist/subscribers/soft-delete-aware-event.subscriber.d.ts +3 -2
- package/dist/subscribers/soft-delete-aware-event.subscriber.d.ts.map +1 -1
- package/dist/subscribers/soft-delete-aware-event.subscriber.js +6 -11
- package/dist/subscribers/soft-delete-aware-event.subscriber.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/sql/mssql/proc_CleanupModelMetadata.sql +175 -0
- package/sql/mssql/proc_CleanupModuleMetadata.sql +78 -0
- package/sql/mssql/scratchpad.sql +10 -0
- package/sql/postgres/proc_CleanupModelMetadata.sql +148 -0
- package/sql/postgres/proc_CleanupModuleMetadata.sql +50 -0
- package/sql/postgres/scratchpad.sql +12 -0
- package/sql-server-changes.txt +88 -0
- package/src/commands/mcp.command.ts +215 -0
- package/src/commands/refresh-model.command.ts +37 -5
- package/src/commands/remove-fields.command.ts +1 -1
- package/src/commands/seed.command.ts +34 -15
- package/src/controllers/authentication.controller.ts +1 -1
- package/src/controllers/email-template.controller.ts +1 -1
- package/src/controllers/field-metadata.controller.ts +7 -1
- package/src/controllers/media-storage-provider-metadata.controller.ts +1 -1
- package/src/controllers/model-metadata.controller.ts +1 -1
- package/src/controllers/module-metadata.controller.ts +1 -1
- package/src/controllers/otp-authentication.controller.ts +1 -1
- package/src/controllers/service.controller.ts +1 -1
- package/src/controllers/sms-template.controller.ts +1 -1
- package/src/controllers/test-queue.controller.ts +1 -1
- package/src/controllers/test.controller.ts +1 -1
- package/src/dtos/create-ai-interaction.dto.ts +16 -9
- package/src/dtos/create-field-metadata.dto.ts +42 -12
- package/src/dtos/create-import-transaction.dto.ts +0 -4
- package/src/dtos/create-model-metadata.dto.ts +10 -0
- package/src/dtos/create-role-metadata.dto.ts +8 -2
- package/src/dtos/resolve-s3-url.dto.ts +33 -0
- package/src/dtos/update-ai-interaction.dto.ts +16 -9
- package/src/dtos/update-field-metadata.dto.ts +1 -2
- package/src/dtos/update-import-transaction.dto.ts +0 -4
- package/src/entities/action-metadata.entity.ts +4 -4
- package/src/entities/ai-interaction.entity.ts +16 -12
- package/src/entities/chatter-message-details.entity.ts +18 -18
- package/src/entities/chatter-message.entity.ts +2 -2
- package/src/entities/common.entity.ts +19 -10
- package/src/entities/dashboard-question-sql-dataset-config.entity.ts +2 -2
- package/src/entities/dashboard-question.entity.ts +3 -3
- package/src/entities/dashboard-variable.entity.ts +3 -3
- package/src/entities/dashboard.entity.ts +1 -1
- package/src/entities/email-template.entity.ts +4 -3
- package/src/entities/export-template.entity.ts +2 -2
- package/src/entities/export-transaction.entity.ts +2 -2
- package/src/entities/field-metadata.entity.ts +6 -3
- package/src/entities/import-transaction-error-log.entity.ts +2 -2
- package/src/entities/import-transaction.entity.ts +2 -5
- package/src/entities/legacy-common-with-id.entity.ts +11 -0
- package/src/entities/legacy-common.entity.ts +57 -0
- package/src/entities/list-of-values.entity.ts +2 -2
- package/src/entities/locale.entity.ts +1 -1
- package/src/entities/media.entity.ts +25 -25
- package/src/entities/menu-item-metadata.entity.ts +4 -4
- package/src/entities/model-metadata.entity.ts +9 -2
- package/src/entities/mq-message-queue.entity.ts +1 -1
- package/src/entities/mq-message.entity.ts +34 -34
- package/src/entities/saved-filters.entity.ts +5 -5
- package/src/entities/scheduled-job.entity.ts +4 -4
- package/src/entities/security-rule.entity.ts +2 -2
- package/src/entities/setting.entity.ts +2 -2
- package/src/entities/sms-template.entity.ts +2 -2
- package/src/entities/user-activity-history.entity.ts +14 -14
- package/src/entities/user-view-metadata.entity.ts +2 -2
- package/src/entities/user.entity.ts +15 -15
- package/src/entities/view-metadata.entity.ts +3 -3
- package/src/helpers/date.helper.ts +31 -10
- package/src/helpers/model-metadata-helper.service.ts +63 -32
- package/src/helpers/module.helper.ts +4 -3
- package/src/helpers/schematic.service.ts +72 -46
- package/src/helpers/solid-registry.ts +14 -2
- package/src/helpers/typeorm-db-helper.ts +26 -0
- package/src/index.ts +5 -1
- package/src/interfaces.ts +3 -0
- package/src/jobs/database/trigger-mcp-client-subscriber-database.service.ts +17 -21
- package/src/seeders/module-metadata-seeder.service.ts +73 -29
- package/src/seeders/seed-data/solid-core-metadata.json +55 -470
- package/src/seeders/system-fields-seeder.service.ts +34 -35
- package/src/services/ai-interaction.service.ts +1 -1
- package/src/services/computed-fields/entity/alpha-num-external-id-computed-field-provider.ts +13 -9
- package/src/services/crud-helper.service.ts +32 -4
- package/src/services/crud.service.ts +158 -10
- package/src/services/field-metadata.service.ts +272 -67
- package/src/services/menu-item-metadata.service.ts +81 -50
- package/src/services/model-metadata.service.ts +18 -3
- package/src/services/mq-message.service.ts +16 -15
- package/src/services/queues/publisher-factory.service.ts +2 -1
- package/src/{providers → services/selection-providers}/list-of-values-selection-providers.service.ts +2 -2
- package/src/services/selection-providers/pseudo-foreign-key-selection-provider.service.ts +94 -0
- package/src/services/setting.service.ts +13 -10
- package/src/services/solid-introspect.service.ts +110 -10
- package/src/services/view-metadata.service.ts +48 -18
- package/src/solid-core.module.ts +5 -1
- package/src/subscribers/audit.subscriber.ts +12 -8
- package/src/subscribers/computed-entity-field.subscriber.ts +13 -7
- package/src/subscribers/created-by-updated-by.subscriber.ts +14 -8
- package/src/subscribers/field-metadata.subscriber.ts +1 -1
- package/src/subscribers/model-metadata.subscriber.ts +4 -2
- package/src/subscribers/soft-delete-aware-event.subscriber.ts +12 -6
- package/dist/providers/list-of-values-selection-providers.service.d.ts.map +0 -1
- package/dist/providers/list-of-values-selection-providers.service.js.map +0 -1
- package/src/commands/ingest-rag-chunking-strategy-for.md +0 -224
- package/src/entities/user.entity.ts.bkp +0 -144
- package/src/services/docker exec -it mssql //" +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.entity.d.ts","sourceRoot":"","sources":["../../src/entities/media.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,qBACa,KAAM,SAAQ,YAAY;
|
|
1
|
+
{"version":3,"file":"media.entity.d.ts","sourceRoot":"","sources":["../../src/entities/media.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,qBACa,KAAM,SAAQ,YAAY;IAGnC,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,aAAa,EAAE,aAAa,CAAC;IAK7B,4BAA4B,EAAE,4BAA4B,CAAC;IAK3D,aAAa,EAAE,aAAa,CAAC;CAChC"}
|
|
@@ -45,19 +45,19 @@ __decorate([
|
|
|
45
45
|
], Media.prototype, "originalFileName", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, typeorm_1.Index)(),
|
|
48
|
-
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, {
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, { nullable: false }),
|
|
49
49
|
(0, typeorm_1.JoinColumn)(),
|
|
50
50
|
__metadata("design:type", model_metadata_entity_1.ModelMetadata)
|
|
51
51
|
], Media.prototype, "modelMetadata", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, typeorm_1.Index)(),
|
|
54
|
-
(0, typeorm_1.ManyToOne)(() => media_storage_provider_metadata_entity_1.MediaStorageProviderMetadata, {
|
|
54
|
+
(0, typeorm_1.ManyToOne)(() => media_storage_provider_metadata_entity_1.MediaStorageProviderMetadata, { nullable: false }),
|
|
55
55
|
(0, typeorm_1.JoinColumn)(),
|
|
56
56
|
__metadata("design:type", media_storage_provider_metadata_entity_1.MediaStorageProviderMetadata)
|
|
57
57
|
], Media.prototype, "mediaStorageProviderMetadata", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, typeorm_1.Index)(),
|
|
60
|
-
(0, typeorm_1.ManyToOne)(() => field_metadata_entity_1.FieldMetadata, {
|
|
60
|
+
(0, typeorm_1.ManyToOne)(() => field_metadata_entity_1.FieldMetadata, { nullable: false }),
|
|
61
61
|
(0, typeorm_1.JoinColumn)(),
|
|
62
62
|
__metadata("design:type", field_metadata_entity_1.FieldMetadata)
|
|
63
63
|
], Media.prototype, "fieldMetadata", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.entity.js","sourceRoot":"","sources":["../../src/entities/media.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"media.entity.js","sourceRoot":"","sources":["../../src/entities/media.entity.ts"],"names":[],"mappings":";;;;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AAC;GACN,KAAK,CA+BjB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne } from 'typeorm';\nimport { ModelMetadata } from 'src/entities/model-metadata.entity';\nimport { MediaStorageProviderMetadata } from 'src/entities/media-storage-provider-metadata.entity';\nimport { FieldMetadata } from 'src/entities/field-metadata.entity'\n@Entity(\"ss_media\")\nexport class Media extends CommonEntity {\n @Index()\n @Column({ type: \"integer\" })\n entityId: number;\n\n @Column({ type: \"varchar\", nullable: true })\n relativeUri: string;\n\n @Column({ type: \"integer\", nullable: true })\n fileSize: number;\n\n @Column({ type: \"varchar\", nullable: true })\n mimeType: string;\n\n @Column({ type: \"varchar\", nullable: true })\n originalFileName: string;\n\n @Index()\n @ManyToOne(() => ModelMetadata, { nullable: false })\n @JoinColumn()\n modelMetadata: ModelMetadata;\n\n @Index()\n @ManyToOne(() => MediaStorageProviderMetadata, { nullable: false })\n @JoinColumn()\n mediaStorageProviderMetadata: MediaStorageProviderMetadata;\n\n @Index()\n @ManyToOne(() => FieldMetadata, { nullable: false })\n @JoinColumn()\n fieldMetadata: FieldMetadata;\n}"]}
|
|
@@ -24,7 +24,7 @@ let MenuItemMetadata = class MenuItemMetadata extends common_entity_1.CommonEnti
|
|
|
24
24
|
exports.MenuItemMetadata = MenuItemMetadata;
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, typeorm_1.Index)({ unique: true }),
|
|
27
|
-
(0, typeorm_1.Column)({ name: "name", type: "varchar"
|
|
27
|
+
(0, typeorm_1.Column)({ name: "name", type: "varchar" }),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], MenuItemMetadata.prototype, "name", void 0);
|
|
30
30
|
__decorate([
|
|
@@ -33,19 +33,19 @@ __decorate([
|
|
|
33
33
|
], MenuItemMetadata.prototype, "displayName", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, typeorm_1.Index)(),
|
|
36
|
-
(0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, {
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, { nullable: false }),
|
|
37
37
|
(0, typeorm_1.JoinColumn)({ referencedColumnName: 'id' }),
|
|
38
38
|
__metadata("design:type", module_metadata_entity_1.ModuleMetadata)
|
|
39
39
|
], MenuItemMetadata.prototype, "module", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, typeorm_1.Index)(),
|
|
42
|
-
(0, typeorm_1.ManyToOne)(() => MenuItemMetadata, {
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => MenuItemMetadata, { nullable: true }),
|
|
43
43
|
(0, typeorm_1.JoinColumn)({ referencedColumnName: 'id' }),
|
|
44
44
|
__metadata("design:type", MenuItemMetadata)
|
|
45
45
|
], MenuItemMetadata.prototype, "parentMenuItem", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, typeorm_1.Index)(),
|
|
48
|
-
(0, typeorm_1.ManyToOne)(() => action_metadata_entity_1.ActionMetadata, {
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => action_metadata_entity_1.ActionMetadata, { nullable: true }),
|
|
49
49
|
(0, typeorm_1.JoinColumn)({ referencedColumnName: 'id' }),
|
|
50
50
|
__metadata("design:type", action_metadata_entity_1.ActionMetadata)
|
|
51
51
|
], MenuItemMetadata.prototype, "action", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item-metadata.entity.js","sourceRoot":"","sources":["../../src/entities/menu-item-metadata.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAA8F;AAC9F,qEAAqE;AACrE,qEAAqE;AACrE,iEAAiE;AAG1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;;;;CA2BjD,CAAA;AA3BY,4CAAgB;AAGzB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gB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AAC;AAGvB;IAFC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACzF,IAAA,mBAAS,GAAE;;+CACU;AAEtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAC1C;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC9C;2BAzBR,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,gBAAgB,CA2B5B","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, ManyToOne, Index, JoinTable, ManyToMany, JoinColumn } from \"typeorm\";\nimport { ModuleMetadata } from 'src/entities/module-metadata.entity';\nimport { ActionMetadata } from 'src/entities/action-metadata.entity';\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\n\n@Entity(\"ss_menu_item_metadata\")\nexport class MenuItemMetadata extends CommonEntity {\n @Index({ unique: true })\n @Column({ name: \"name\", type: \"varchar\" })\n name: string;\n @Column({ name: \"display_name\", type: \"varchar\" })\n displayName: string;\n @Index()\n @ManyToOne(() => ModuleMetadata, { nullable: false })\n @JoinColumn({ referencedColumnName: 'id' })\n module: ModuleMetadata;\n @Index()\n @ManyToOne(() => MenuItemMetadata, { nullable: true })\n @JoinColumn({ referencedColumnName: 'id' })\n parentMenuItem: MenuItemMetadata;\n @Index()\n @ManyToOne(() => ActionMetadata, { nullable: true })\n @JoinColumn({ referencedColumnName: 'id' })\n action: ActionMetadata;\n @ManyToMany(() => RoleMetadata, roleMetadata => roleMetadata.menuItems, { cascade: true })\n @JoinTable()\n roles: RoleMetadata[];\n @Column({ name: \"sequence_number\", type: \"int\", nullable: true })\n sequenceNumber: number;\n\n @Column({ name: \"icon_name\", type: \"varchar\", nullable: true })\n iconName: string;\n\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-metadata.entity.d.ts","sourceRoot":"","sources":["../../src/entities/model-metadata.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,qBACa,aAAc,SAAQ,YAAY;IAG3C,YAAY,EAAE,MAAM,CAAC;IAIrB,SAAS,EAAE,MAAM,CAAC;IAIlB,UAAU,EAAE,MAAM,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,MAAM,CAAC;IAGvB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,mBAAmB,EAAE,OAAO,CAAC;IAG7B,oBAAoB,EAAE,OAAO,CAAC;IAG9B,oBAAoB,EAAE,OAAO,CAAC;IAG9B,MAAM,EAAE,aAAa,EAAE,CAAC;IAKxB,MAAM,EAAE,cAAc,CAAC;IAOvB,YAAY,EAAE,aAAa,CAAC;IAG5B,QAAQ,EAAE,OAAO,CAAC;IAGlB,OAAO,EAAE,OAAO,CAAC;IAGjB,WAAW,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"model-metadata.entity.d.ts","sourceRoot":"","sources":["../../src/entities/model-metadata.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,qBACa,aAAc,SAAQ,YAAY;IAG3C,YAAY,EAAE,MAAM,CAAC;IAIrB,SAAS,EAAE,MAAM,CAAC;IAIlB,UAAU,EAAE,MAAM,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,MAAM,CAAC;IAGvB,gBAAgB,EAAE,OAAO,CAAC;IAG1B,mBAAmB,EAAE,OAAO,CAAC;IAG7B,oBAAoB,EAAE,OAAO,CAAC;IAG9B,oBAAoB,EAAE,OAAO,CAAC;IAG9B,MAAM,EAAE,aAAa,EAAE,CAAC;IAKxB,MAAM,EAAE,cAAc,CAAC;IAOvB,YAAY,EAAE,aAAa,CAAC;IAG5B,QAAQ,EAAE,OAAO,CAAC;IAGlB,OAAO,EAAE,OAAO,CAAC;IAGjB,WAAW,EAAE,aAAa,CAAC;IAG3B,aAAa,EAAE,OAAO,CAAC;IAGvB,mBAAmB,EAAE,OAAO,CAAC;CAEhC"}
|
|
@@ -17,7 +17,7 @@ const field_metadata_entity_1 = require("./field-metadata.entity");
|
|
|
17
17
|
const module_metadata_entity_1 = require("./module-metadata.entity");
|
|
18
18
|
let ModelMetadata = class ModelMetadata extends common_entity_1.CommonEntity {
|
|
19
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
-
return { singularName: { required: true, type: () => String }, tableName: { required: true, type: () => String }, pluralName: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, dataSource: { required: true, type: () => String }, dataSourceType: { required: true, type: () => String }, enableSoftDelete: { required: true, type: () => Boolean }, enableAuditTracking: { required: true, type: () => Boolean }, internationalisation: { required: true, type: () => Boolean }, draftPublishWorkflow: { required: true, type: () => Boolean }, fields: { required: true, type: () => [require("./field-metadata.entity").FieldMetadata] }, module: { required: true, type: () => require("./module-metadata.entity").ModuleMetadata }, userKeyField: { required: true, type: () => require("./field-metadata.entity").FieldMetadata }, isSystem: { required: true, type: () => Boolean }, isChild: { required: true, type: () => Boolean }, parentModel: { required: true, type: () => require("./model-metadata.entity").ModelMetadata } };
|
|
20
|
+
return { singularName: { required: true, type: () => String }, tableName: { required: true, type: () => String }, pluralName: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, dataSource: { required: true, type: () => String }, dataSourceType: { required: true, type: () => String }, enableSoftDelete: { required: true, type: () => Boolean }, enableAuditTracking: { required: true, type: () => Boolean }, internationalisation: { required: true, type: () => Boolean }, draftPublishWorkflow: { required: true, type: () => Boolean }, fields: { required: true, type: () => [require("./field-metadata.entity").FieldMetadata] }, module: { required: true, type: () => require("./module-metadata.entity").ModuleMetadata }, userKeyField: { required: true, type: () => require("./field-metadata.entity").FieldMetadata }, isSystem: { required: true, type: () => Boolean }, isChild: { required: true, type: () => Boolean }, parentModel: { required: true, type: () => require("./model-metadata.entity").ModelMetadata }, isLegacyTable: { required: true, type: () => Boolean }, isLegacyTableWithId: { required: true, type: () => Boolean } };
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
exports.ModelMetadata = ModelMetadata;
|
|
@@ -79,7 +79,7 @@ __decorate([
|
|
|
79
79
|
__metadata("design:type", module_metadata_entity_1.ModuleMetadata)
|
|
80
80
|
], ModelMetadata.prototype, "module", void 0);
|
|
81
81
|
__decorate([
|
|
82
|
-
(0, typeorm_1.ManyToOne)(() => field_metadata_entity_1.FieldMetadata, {
|
|
82
|
+
(0, typeorm_1.ManyToOne)(() => field_metadata_entity_1.FieldMetadata, {}),
|
|
83
83
|
__metadata("design:type", field_metadata_entity_1.FieldMetadata)
|
|
84
84
|
], ModelMetadata.prototype, "userKeyField", void 0);
|
|
85
85
|
__decorate([
|
|
@@ -91,9 +91,17 @@ __decorate([
|
|
|
91
91
|
__metadata("design:type", Boolean)
|
|
92
92
|
], ModelMetadata.prototype, "isChild", void 0);
|
|
93
93
|
__decorate([
|
|
94
|
-
(0, typeorm_1.ManyToOne)(() => ModelMetadata, {
|
|
94
|
+
(0, typeorm_1.ManyToOne)(() => ModelMetadata, {}),
|
|
95
95
|
__metadata("design:type", ModelMetadata)
|
|
96
96
|
], ModelMetadata.prototype, "parentModel", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
99
|
+
__metadata("design:type", Boolean)
|
|
100
|
+
], ModelMetadata.prototype, "isLegacyTable", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
103
|
+
__metadata("design:type", Boolean)
|
|
104
|
+
], ModelMetadata.prototype, "isLegacyTableWithId", void 0);
|
|
97
105
|
exports.ModelMetadata = ModelMetadata = __decorate([
|
|
98
106
|
(0, typeorm_1.Entity)("ss_model_metadata")
|
|
99
107
|
], ModelMetadata);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-metadata.entity.js","sourceRoot":"","sources":["../../src/entities/model-metadata.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAkF;AAClF,mEAAwD;AACxD,qEAA0D;AAGnD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,4BAAY;;;;
|
|
1
|
+
{"version":3,"file":"model-metadata.entity.js","sourceRoot":"","sources":["../../src/entities/model-metadata.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAkF;AAClF,mEAAwD;AACxD,qEAA0D;AAGnD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,4BAAY;;;;CAoE9C,CAAA;AApEY,sCAAa;AAGtB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;;mDACb;AAIrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,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EAAE,IAAI,EAAE,CAAC;8BACtD,uCAAc;6CAAC;AAOvB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,EAAE,CAAC;8BACrB,qCAAa;mDAAC;AAG5B;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACV;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC;8BACtB,aAAa;kDAAC;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;oDACJ;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0DACE;wBAlEpB,aAAa;IADzB,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,aAAa,CAoEzB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\";\nimport { Column, Entity, Index, JoinColumn, ManyToOne, OneToMany } from \"typeorm\";\nimport { FieldMetadata } from \"./field-metadata.entity\";\nimport { ModuleMetadata } from \"./module-metadata.entity\";\n\n@Entity(\"ss_model_metadata\")\nexport class ModelMetadata extends CommonEntity {\n @Index({ unique: true })\n @Column({ name: \"singular_name\" })\n singularName: string;\n\n @Index({ unique: true })\n @Column({ name: \"table_name\", nullable: true })\n tableName: string;\n\n @Index({ unique: true })\n @Column({ name: \"plural_name\" })\n pluralName: string;\n\n @Column({ name: \"display_name\" })\n displayName: string;\n\n @Column({ name: \"description\", nullable: true })\n description: string;\n\n @Column({ name: \"data_source\" })\n dataSource: string;\n\n /** mongo | postgres | mssql | mysql | oracle | mariadb */\n @Column({ name: \"data_source_type\" })\n dataSourceType: string;\n\n @Column({ name: \"enable_soft_delete\", default: false })\n enableSoftDelete: boolean;\n\n @Column({ name: \"enable_audit_tracking\", default: false })\n enableAuditTracking: boolean;\n\n @Column({ name: \"internationalisation\", default: false })\n internationalisation: boolean;\n\n @Column({ name: \"draftPublishWorkflow\", default: false })\n draftPublishWorkflow: boolean;\n\n @OneToMany(() => FieldMetadata, (field) => field.model)\n fields: FieldMetadata[];\n\n @Index()\n @ManyToOne(() => ModuleMetadata, { onDelete: 'SET NULL' })\n @JoinColumn({ name: 'module_id', referencedColumnName: 'id' })\n module: ModuleMetadata;\n\n // ExternalId\n // 1. Single field. \n // 2. Composite field. \n // 3. Auto generated human readable sequence. \n @ManyToOne(() => FieldMetadata, {})\n userKeyField: FieldMetadata;\n\n @Column({ default: false })\n isSystem: boolean;\n\n @Column({ default: false })\n isChild: boolean;\n\n @ManyToOne(() => ModelMetadata, {})\n parentModel: ModelMetadata;\n\n @Column({ default: false })\n isLegacyTable: boolean;\n\n @Column({ default: false })\n isLegacyTableWithId: boolean;\n\n}\n"]}
|
|
@@ -25,7 +25,7 @@ __decorate([
|
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], MqMessageQueue.prototype, "name", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: "varchar",
|
|
28
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], MqMessageQueue.prototype, "description", void 0);
|
|
31
31
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mq-message-queue.entity.js","sourceRoot":"","sources":["../../src/entities/mq-message-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkD;AAClD,2DAA0D;AAEnD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAS/C,CAAA;AATY,wCAAc;AAE3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4CAC7B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"mq-message-queue.entity.js","sourceRoot":"","sources":["../../src/entities/mq-message-queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkD;AAClD,2DAA0D;AAEnD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAS/C,CAAA;AATY,wCAAc;AAE3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4CAC7B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACxB;AAGpB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAS,EAAE,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;kDAC7D;yBARX,cAAc;IAD1B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,cAAc,CAS1B","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport {Entity, Column, OneToMany} from \"typeorm\";\nimport { MqMessage } from 'src/entities/mq-message.entity'\n@Entity(\"ss_mq_message_queue\")\nexport class MqMessageQueue extends CommonEntity{\n@Column({ type: \"varchar\", unique: true })\nname: string;\n\n@Column({ type: \"varchar\", nullable: true })\ndescription: string;\n\n@OneToMany(() => MqMessage, mqMessage => mqMessage.mqMessageQueue, { cascade: true })\nmqMessages: MqMessage[];\n}"]}
|
|
@@ -10,9 +10,9 @@ export declare class MqMessage extends CommonEntity {
|
|
|
10
10
|
startedAt: Date;
|
|
11
11
|
finishedAt: Date;
|
|
12
12
|
elapsedMillis: number;
|
|
13
|
-
input:
|
|
14
|
-
output:
|
|
15
|
-
error:
|
|
13
|
+
input: string;
|
|
14
|
+
output: string;
|
|
15
|
+
error: string;
|
|
16
16
|
parentEntityId: number;
|
|
17
17
|
parentEntity: string;
|
|
18
18
|
mqMessageQueue: MqMessageQueue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mq-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/mq-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AACrE,qBACa,SAAU,SAAQ,YAAY;
|
|
1
|
+
{"version":3,"file":"mq-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/mq-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AACrE,qBACa,SAAU,SAAQ,YAAY;IAEvC,SAAS,EAAE,MAAM,CAAC;IAGlB,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC;IAGnB,aAAa,EAAE,MAAM,CAAC;IAGtB,WAAW,EAAE,MAAM,CAAC;IAIpB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,IAAI,CAAC;IAGhB,UAAU,EAAE,IAAI,CAAC;IAGjB,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,MAAM,CAAC;IAGd,cAAc,EAAE,MAAM,CAAC;IAGvB,YAAY,EAAE,MAAM,CAAC;IAIrB,cAAc,EAAE,cAAc,CAAC;CAClC"}
|
|
@@ -16,7 +16,7 @@ const typeorm_1 = require("typeorm");
|
|
|
16
16
|
const mq_message_queue_entity_1 = require("./mq-message-queue.entity");
|
|
17
17
|
let MqMessage = class MqMessage extends common_entity_1.CommonEntity {
|
|
18
18
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { messageId: { required: true, type: () => String }, messageBroker: { required: true, type: () => String }, retryCount: { required: true, type: () => Number }, retryInterval: { required: true, type: () => Number }, messageType: { required: true, type: () => String }, stage: { required: true, type: () => String }, startedAt: { required: true, type: () => Date }, finishedAt: { required: true, type: () => Date }, elapsedMillis: { required: true, type: () => Number }, input: { required: true, type: () =>
|
|
19
|
+
return { messageId: { required: true, type: () => String }, messageBroker: { required: true, type: () => String }, retryCount: { required: true, type: () => Number }, retryInterval: { required: true, type: () => Number }, messageType: { required: true, type: () => String }, stage: { required: true, type: () => String }, startedAt: { required: true, type: () => Date }, finishedAt: { required: true, type: () => Date }, elapsedMillis: { required: true, type: () => Number }, input: { required: true, type: () => String }, output: { required: true, type: () => String }, error: { required: true, type: () => String }, parentEntityId: { required: true, type: () => Number }, parentEntity: { required: true, type: () => String }, mqMessageQueue: { required: true, type: () => require("./mq-message-queue.entity").MqMessageQueue } };
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
exports.MqMessage = MqMessage;
|
|
@@ -46,11 +46,11 @@ __decorate([
|
|
|
46
46
|
__metadata("design:type", String)
|
|
47
47
|
], MqMessage.prototype, "stage", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({
|
|
49
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
50
50
|
__metadata("design:type", Date)
|
|
51
51
|
], MqMessage.prototype, "startedAt", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({
|
|
53
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
54
54
|
__metadata("design:type", Date)
|
|
55
55
|
], MqMessage.prototype, "finishedAt", void 0);
|
|
56
56
|
__decorate([
|
|
@@ -58,16 +58,16 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", Number)
|
|
59
59
|
], MqMessage.prototype, "elapsedMillis", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type: "
|
|
62
|
-
__metadata("design:type",
|
|
61
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
63
|
], MqMessage.prototype, "input", void 0);
|
|
64
64
|
__decorate([
|
|
65
|
-
(0, typeorm_1.Column)({ type: "
|
|
66
|
-
__metadata("design:type",
|
|
65
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
67
|
], MqMessage.prototype, "output", void 0);
|
|
68
68
|
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: "
|
|
70
|
-
__metadata("design:type",
|
|
69
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
71
|
], MqMessage.prototype, "error", void 0);
|
|
72
72
|
__decorate([
|
|
73
73
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
@@ -79,7 +79,7 @@ __decorate([
|
|
|
79
79
|
], MqMessage.prototype, "parentEntity", void 0);
|
|
80
80
|
__decorate([
|
|
81
81
|
(0, typeorm_1.Index)(),
|
|
82
|
-
(0, typeorm_1.ManyToOne)(() => mq_message_queue_entity_1.MqMessageQueue, {
|
|
82
|
+
(0, typeorm_1.ManyToOne)(() => mq_message_queue_entity_1.MqMessageQueue, {}),
|
|
83
83
|
__metadata("design:type", mq_message_queue_entity_1.MqMessageQueue)
|
|
84
84
|
], MqMessage.prototype, "mqMessageQueue", void 0);
|
|
85
85
|
exports.MqMessage = MqMessage = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mq-message.entity.js","sourceRoot":"","sources":["../../src/entities/mq-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"mq-message.entity.js","sourceRoot":"","sources":["../../src/entities/mq-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAA2D;AAC3D,uEAAqE;AAE9D,IAAM,SAAS,GAAf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AC;;wCAC3B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACrB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACvB;AAIrB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wCAAc,EAAE,EAAE,CAAC;8BACpB,wCAAc;iDAAC;oBA9CtB,SAAS;IADrB,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,SAAS,CA+CrB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, Index, ManyToOne } from \"typeorm\";\nimport { MqMessageQueue } from 'src/entities/mq-message-queue.entity'\n@Entity(\"ss_mq_message\")\nexport class MqMessage extends CommonEntity {\n @Column({ type: \"varchar\", nullable: true })\n messageId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n messageBroker: string;\n\n @Column({ type: \"integer\", nullable: true })\n retryCount: number;\n\n @Column({ type: \"integer\", nullable: true })\n retryInterval: number;\n\n @Column({ type: \"varchar\", nullable: true })\n messageType: string;\n\n @Index()\n @Column({ type: \"varchar\" })\n stage: string;\n\n @Column({ nullable: true })\n startedAt: Date;\n\n @Column({ nullable: true })\n finishedAt: Date;\n\n @Column({ type: \"integer\", nullable: true })\n elapsedMillis: number;\n\n @Column({ type: \"text\", nullable: true })\n input: string;\n\n @Column({ type: \"text\", nullable: true })\n output: string;\n\n @Column({ type: \"text\", nullable: true })\n error: string;\n\n @Column({ type: \"integer\", nullable: true })\n parentEntityId: number;\n\n @Column({ type: \"varchar\", nullable: true })\n parentEntity: string;\n\n @Index()\n @ManyToOne(() => MqMessageQueue, {})\n mqMessageQueue: MqMessageQueue;\n}"]}
|
|
@@ -35,21 +35,21 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], SavedFilters.prototype, "name", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true, default: false }),
|
|
39
39
|
__metadata("design:type", Boolean)
|
|
40
40
|
], SavedFilters.prototype, "isPrivate", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true }),
|
|
43
43
|
(0, typeorm_1.JoinColumn)(),
|
|
44
44
|
__metadata("design:type", user_entity_1.User)
|
|
45
45
|
], SavedFilters.prototype, "user", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, {
|
|
47
|
+
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, { nullable: false }),
|
|
48
48
|
(0, typeorm_1.JoinColumn)(),
|
|
49
49
|
__metadata("design:type", model_metadata_entity_1.ModelMetadata)
|
|
50
50
|
], SavedFilters.prototype, "model", void 0);
|
|
51
51
|
__decorate([
|
|
52
|
-
(0, typeorm_1.ManyToOne)(() => view_metadata_entity_1.ViewMetadata, {
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => view_metadata_entity_1.ViewMetadata, { nullable: false }),
|
|
53
53
|
(0, typeorm_1.JoinColumn)(),
|
|
54
54
|
__metadata("design:type", view_metadata_entity_1.ViewMetadata)
|
|
55
55
|
], SavedFilters.prototype, "view", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saved-filters.entity.js","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"saved-filters.entity.js","sourceRoot":"","sources":["../../src/entities/saved-filters.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAgE;AAChE,+CAAgD;AAChD,mEAAmE;AACnE,iEAAgE;AAGzD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAAvC;;QAMH,cAAS,GAAY,KAAK,CAAC;KAY9B;;mLAZwB,KAAK;;CAY7B,CAAA;AAlBY,oCAAY;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpB;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;0CACf;AAEb;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CAChB;AAG3B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;0CAAC;AAGX;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnD,IAAA,oBAAU,GAAE;8BACN,qCAAa;2CAAC;AAGrB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClD,IAAA,oBAAU,GAAE;8BACP,mCAAY;0CAAC;AAEnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1C;uBAjBX,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CAkBxB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, JoinColumn, ManyToOne } from 'typeorm';\nimport { User } from 'src/entities/user.entity';\nimport { ModelMetadata } from 'src/entities/model-metadata.entity';\nimport { ViewMetadata } from 'src/entities/view-metadata.entity'\n\n@Entity(\"ss_saved_fitlers\")\nexport class SavedFilters extends CommonEntity {\n @Column({ type: \"text\", nullable: true })\n filterQueryJson: any;\n @Column({ type: \"varchar\" })\n name: string;\n @Column({ nullable: true, default: false })\n isPrivate: boolean = false;\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n @ManyToOne(() => ModelMetadata, { nullable: false })\n @JoinColumn()\n model: ModelMetadata;\n @ManyToOne(() => ViewMetadata, { nullable: false })\n @JoinColumn()\n view: ViewMetadata;\n @Column({ name: \"description\", type: \"text\", nullable: true })\n description: string;\n}"]}
|
|
@@ -30,7 +30,7 @@ __decorate([
|
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], ScheduledJob.prototype, "scheduleName", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({
|
|
33
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
34
34
|
__metadata("design:type", Boolean)
|
|
35
35
|
], ScheduledJob.prototype, "isActive", void 0);
|
|
36
36
|
__decorate([
|
|
@@ -58,11 +58,11 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", Number)
|
|
59
59
|
], ScheduledJob.prototype, "dayOfMonth", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({
|
|
61
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
62
62
|
__metadata("design:type", Date)
|
|
63
63
|
], ScheduledJob.prototype, "lastRunAt", void 0);
|
|
64
64
|
__decorate([
|
|
65
|
-
(0, typeorm_1.Column)({
|
|
65
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
66
66
|
__metadata("design:type", Date)
|
|
67
67
|
], ScheduledJob.prototype, "nextRunAt", void 0);
|
|
68
68
|
__decorate([
|
|
@@ -75,7 +75,7 @@ __decorate([
|
|
|
75
75
|
], ScheduledJob.prototype, "job", void 0);
|
|
76
76
|
__decorate([
|
|
77
77
|
(0, typeorm_1.Index)(),
|
|
78
|
-
(0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, {
|
|
78
|
+
(0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, { nullable: false }),
|
|
79
79
|
(0, typeorm_1.JoinColumn)({ referencedColumnName: 'id' }),
|
|
80
80
|
__metadata("design:type", module_metadata_entity_1.ModuleMetadata)
|
|
81
81
|
], ScheduledJob.prototype, "module", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-job.entity.js","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAuE;AACvE,mDAA+C;AAC/C,qEAAqE;AAG9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAAvC;;QAKH,aAAQ,GAAY,KAAK,CAAC;KAyB7B;;iIAzBuB,KAAK;;CAyB5B,CAAA;AA9BY,oCAAY;AAGrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;kDACP;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"scheduled-job.entity.js","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAuE;AACvE,mDAA+C;AAC/C,qEAAqE;AAG9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAAvC;;QAKH,aAAQ,GAAY,KAAK,CAAC;KAyB7B;;iIAzBuB,KAAK;;CAyB5B,CAAA;AA9BY,oCAAY;AAGrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;kDACP;AAErB;I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AC;8BACnC,uCAAc;4CAAC;uBA7Bd,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CA8BxB","sourcesContent":["import { Entity, Column, ManyToOne, JoinColumn, Index } from 'typeorm';\nimport { CommonEntity } from './common.entity';\nimport { ModuleMetadata } from 'src/entities/module-metadata.entity';\n\n@Entity('ss_scheduled_job')\nexport class ScheduledJob extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n scheduleName: string;\n @Column({ default: false })\n isActive: boolean = false;\n @Column({ type: \"varchar\" })\n frequency: string;\n @Column({ type: \"time\", nullable: true })\n startTime: Date;\n @Column({ type: \"time\", nullable: true })\n endTime: Date;\n @Column({ type: \"date\", nullable: true })\n startDate: Date;\n @Column({ type: \"date\", nullable: true })\n endDate: Date;\n @Column({ type: \"integer\", nullable: true })\n dayOfMonth: number;\n @Column({ nullable: true })\n lastRunAt: Date;\n @Column({ nullable: true })\n nextRunAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n dayOfWeek: string;\n @Column({ type: \"varchar\" })\n job: string;\n @Index()\n @ManyToOne(() => ModuleMetadata, { nullable: false })\n @JoinColumn({ referencedColumnName: 'id' })\n module: ModuleMetadata;\n}\n"]}
|
|
@@ -32,13 +32,13 @@ __decorate([
|
|
|
32
32
|
], SecurityRule.prototype, "description", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Index)(),
|
|
35
|
-
(0, typeorm_1.ManyToOne)(() => role_metadata_entity_1.RoleMetadata, {
|
|
35
|
+
(0, typeorm_1.ManyToOne)(() => role_metadata_entity_1.RoleMetadata, { nullable: false }),
|
|
36
36
|
(0, typeorm_1.JoinColumn)(),
|
|
37
37
|
__metadata("design:type", role_metadata_entity_1.RoleMetadata)
|
|
38
38
|
], SecurityRule.prototype, "role", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, typeorm_1.Index)(),
|
|
41
|
-
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, {
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => model_metadata_entity_1.ModelMetadata, { nullable: false }),
|
|
42
42
|
(0, typeorm_1.JoinColumn)(),
|
|
43
43
|
__metadata("design:type", model_metadata_entity_1.ModelMetadata)
|
|
44
44
|
], SecurityRule.prototype, "modelMetadata", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-rule.entity.js","sourceRoot":"","sources":["../../src/entities/security-rule.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,mEAAmE;AACnE,iEAAiE;AACjE,qCAAuE;AAGhE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;;;;CAoB7C,CAAA;AApBY,oCAAY;AAGrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;0CACf;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;iDACR;AAIpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"security-rule.entity.js","sourceRoot":"","sources":["../../src/entities/security-rule.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,mEAAmE;AACnE,iEAAiE;AACjE,qCAAuE;AAGhE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;;;;CAoB7C,CAAA;AApBY,oCAAY;AAGrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;0CACf;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;iDACR;AAIpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClD,IAAA,oBAAU,GAAE;8BACP,mCAAY;0CAAC;AAInB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnD,IAAA,oBAAU,GAAE;8BACE,qCAAa;mDAAC;AAE7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACD;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACT;uBAnB1B,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CAoBxB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { ModelMetadata } from 'src/entities/model-metadata.entity';\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\nimport { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';\n\n@Entity(\"ss_security_rule\")\nexport class SecurityRule extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n name: string;\n // @Index({ unique: true })\n @Column({ type: \"varchar\" })\n description: string;\n @Index()\n @ManyToOne(() => RoleMetadata, { nullable: false })\n @JoinColumn()\n role: RoleMetadata;\n @Index()\n @ManyToOne(() => ModelMetadata, { nullable: false })\n @JoinColumn()\n modelMetadata: ModelMetadata;\n @Column({ type: \"text\" })\n securityRuleConfig: any;\n\n @Column({ type: \"varchar\", nullable: true })\n securityRuleConfigProvider: string;\n}\n"]}
|
|
@@ -22,7 +22,7 @@ let Setting = class Setting extends common_entity_1.CommonEntity {
|
|
|
22
22
|
exports.Setting = Setting;
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, typeorm_1.Index)({ unique: true }),
|
|
25
|
-
(0, typeorm_1.Column)({ type: "varchar", nullable:
|
|
25
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: false }),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], Setting.prototype, "key", void 0);
|
|
28
28
|
__decorate([
|
|
@@ -34,7 +34,7 @@ __decorate([
|
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], Setting.prototype, "type", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true }),
|
|
38
38
|
(0, typeorm_1.JoinColumn)(),
|
|
39
39
|
__metadata("design:type", user_entity_1.User)
|
|
40
40
|
], Setting.prototype, "user", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.entity.js","sourceRoot":"","sources":["../../src/entities/setting.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,+CAA+C;AAGxC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,4BAAY;;;;CAWxC,CAAA;AAXY,0BAAO;AAGhB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"setting.entity.js","sourceRoot":"","sources":["../../src/entities/setting.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,+CAA+C;AAGxC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,4BAAY;;;;CAWxC,CAAA;AAXY,0BAAO;AAGhB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oCACjC;AAEZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCAC9B;AAEd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qCAC7C;AAGb;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;qCAAC;kBAVF,OAAO;IADnB,IAAA,gBAAM,EAAC,YAAY,CAAC;GACR,OAAO,CAWnB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\n\n@Entity(\"ss_setting\")\nexport class Setting extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\", nullable: false })\n key: string;\n @Column({ type: \"varchar\", nullable: true })\n value: string;\n @Column({ name: \"type\", type: \"varchar\", nullable: true })\n type: string;\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n}"]}
|
|
@@ -25,7 +25,7 @@ let SmsTemplate = class SmsTemplate extends common_entity_1.CommonEntity {
|
|
|
25
25
|
exports.SmsTemplate = SmsTemplate;
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, typeorm_1.Index)({ unique: true }),
|
|
28
|
-
(0, typeorm_1.Column)({ name: "name", type: "varchar"
|
|
28
|
+
(0, typeorm_1.Column)({ name: "name", type: "varchar" }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], SmsTemplate.prototype, "name", void 0);
|
|
31
31
|
__decorate([
|
|
@@ -45,7 +45,7 @@ __decorate([
|
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], SmsTemplate.prototype, "description", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ name: "active",
|
|
48
|
+
(0, typeorm_1.Column)({ name: "active", nullable: true, default: true }),
|
|
49
49
|
__metadata("design:type", Boolean)
|
|
50
50
|
], SmsTemplate.prototype, "active", void 0);
|
|
51
51
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sms-template.entity.js","sourceRoot":"","sources":["../../src/entities/sms-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAgD;AAGzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,4BAAY;IAAtC;;QAaH,WAAM,GAAY,IAAI,CAAC;KAG1B;;8UAHqB,IAAI;;CAGzB,CAAA;AAhBY,kCAAW;AAGpB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"sms-template.entity.js","sourceRoot":"","sources":["../../src/entities/sms-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAgD;AAGzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,4BAAY;IAAtC;;QAaH,WAAM,GAAY,IAAI,CAAC;KAG1B;;8UAHqB,IAAI;;CAGzB,CAAA;AAhBY,kCAAW;AAGpB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAC,CAAC;;yCAC5B;AAEb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;gDAC9B;AAEpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC7C;AAEb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACd;AAE9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC1C;AAEpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;2CACnC;AAEvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC7C;sBAfJ,WAAW;IADvB,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,WAAW,CAgBvB","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { Column, Entity, Index } from 'typeorm';\n\n@Entity(\"ss_sms_template\")\nexport class SmsTemplate extends CommonEntity {\n @Index({ unique: true })\n @Column({ name: \"name\", type: \"varchar\"})\n name: string;\n @Column({ name: \"display_name\", type: \"varchar\" })\n displayName: string;\n @Column({ name: \"body\", type: \"varchar\", nullable: true })\n body: string;\n @Column({ type: \"varchar\", nullable: true })\n smsProviderTemplateId: string;\n @Column({ name: \"description\", type: \"text\", nullable: true })\n description: string;\n @Column({ name: \"active\", nullable: true, default: true })\n active: boolean = true;\n @Column({ name: \"type\", type: \"varchar\", nullable: true })\n type: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-activity-history.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user-activity-history.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,qBACa,mBAAoB,SAAQ,YAAY;
|
|
1
|
+
{"version":3,"file":"user-activity-history.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user-activity-history.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,qBACa,mBAAoB,SAAQ,YAAY;IAGjD,IAAI,EAAE,IAAI,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -21,7 +21,7 @@ let UserActivityHistory = class UserActivityHistory extends common_entity_1.Comm
|
|
|
21
21
|
};
|
|
22
22
|
exports.UserActivityHistory = UserActivityHistory;
|
|
23
23
|
__decorate([
|
|
24
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
24
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true }),
|
|
25
25
|
(0, typeorm_1.JoinColumn)(),
|
|
26
26
|
__metadata("design:type", user_entity_1.User)
|
|
27
27
|
], UserActivityHistory.prototype, "user", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-activity-history.entity.js","sourceRoot":"","sources":["../../src/entities/user-activity-history.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"user-activity-history.entity.js","sourceRoot":"","sources":["../../src/entities/user-activity-history.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,+CAA+C;AAExC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,4BAAY;;;;CAgBpD,CAAA;AAhBY,kDAAmB;AAG5B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;iDAAC;AAIX;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC9B;AAId;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1B;AAIlB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1B;8BAfT,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,0BAA0B,CAAC;GACtB,mBAAmB,CAgB/B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, JoinColumn, ManyToOne, Column, Index } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\n@Entity(\"ss_user_activity_history\")\nexport class UserActivityHistory extends CommonEntity {\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n event: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n ipAddress: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n userAgent: string;\n}"]}
|
|
@@ -27,7 +27,7 @@ let UserViewMetadata = class UserViewMetadata extends common_entity_1.CommonEnti
|
|
|
27
27
|
exports.UserViewMetadata = UserViewMetadata;
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, typeorm_1.Index)(),
|
|
30
|
-
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
|
|
30
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false }),
|
|
31
31
|
(0, typeorm_1.JoinColumn)(),
|
|
32
32
|
__metadata("design:type", user_entity_1.User)
|
|
33
33
|
], UserViewMetadata.prototype, "user", void 0);
|
|
@@ -37,7 +37,7 @@ __decorate([
|
|
|
37
37
|
], UserViewMetadata.prototype, "layout", void 0);
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, typeorm_1.Index)(),
|
|
40
|
-
(0, typeorm_1.ManyToOne)(() => view_metadata_entity_1.ViewMetadata, {
|
|
40
|
+
(0, typeorm_1.ManyToOne)(() => view_metadata_entity_1.ViewMetadata, { nullable: false }),
|
|
41
41
|
(0, typeorm_1.JoinColumn)(),
|
|
42
42
|
__metadata("design:type", view_metadata_entity_1.ViewMetadata)
|
|
43
43
|
], UserViewMetadata.prototype, "viewMetadata", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-view-metadata.entity.js","sourceRoot":"","sources":["../../src/entities/user-view-metadata.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,iEAAiE;AACjE,+CAA+C;AAGxC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;IAA3C;;QAMH,WAAM,GAAQ,IAAI,CAAC;KAKtB;;;;CAAA,CAAA;AAXY,4CAAgB;AAIzB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"user-view-metadata.entity.js","sourceRoot":"","sources":["../../src/entities/user-view-metadata.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAuE;AACvE,iEAAiE;AACjE,+CAA+C;AAGxC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;IAA3C;;QAMH,WAAM,GAAQ,IAAI,CAAC;KAKtB;;;;CAAA,CAAA;AAXY,4CAAgB;AAIzB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1C,IAAA,oBAAU,GAAE;8BACP,kBAAI;8CAAC;AAEX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACtC;AAInB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,mCAAY,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClD,IAAA,oBAAU,GAAE;8BACC,mCAAY;sDAAC;2BAVlB,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,uBAAuB,CAAC;GACnB,gBAAgB,CAW5B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, JoinColumn, ManyToOne, Index, Column } from 'typeorm';\nimport { ViewMetadata } from 'src/entities/view-metadata.entity';\nimport { User } from 'src/entities/user.entity'\n\n@Entity(\"ss_user_view_metadata\")\nexport class UserViewMetadata extends CommonEntity {\n @Index()\n @ManyToOne(() => User, { nullable: false })\n @JoinColumn()\n user: User;\n @Column({ name: \"layout\", type: \"text\", nullable: true })\n layout: any = \"{}\";\n @Index()\n @ManyToOne(() => ViewMetadata, { nullable: false })\n @JoinColumn()\n viewMetadata: ViewMetadata;\n}"]}
|