@mrxsys/mrx-core 2.8.0 → 2.9.0-1-and-259-20250918
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/chunk-00s6t4tw.js +26 -0
- package/dist/{chunk-sepwfqdh.js → chunk-0601exyg.js} +2 -1
- package/dist/chunk-4mvsje21.js +7 -0
- package/dist/chunk-547mr88s.js +10 -0
- package/dist/chunk-5pwb7peq.js +9 -0
- package/dist/{chunk-syhskygx.js → chunk-6g29g0tk.js} +15 -24
- package/dist/{chunk-z1skzn1j.js → chunk-6tqh339a.js} +4 -3
- package/dist/{chunk-m18th1g5.js → chunk-75hgws2d.js} +18 -39
- package/dist/chunk-8y9b2m5a.js +53 -0
- package/dist/chunk-9cgzhc50.js +15 -0
- package/dist/chunk-9dzsj7f2.js +23 -0
- package/dist/{chunk-kv9hms2z.js → chunk-b23dvm2d.js} +2 -1
- package/dist/chunk-b6f6ez2w.js +8 -0
- package/dist/{chunk-zaje5tv4.js → chunk-c9vjf06h.js} +31 -30
- package/dist/chunk-d0p9787v.js +272 -0
- package/dist/{chunk-5qtpggzv.js → chunk-grfyngq0.js} +3 -2
- package/dist/{chunk-4n72ks5x.js → chunk-h4dyeeqg.js} +4 -5
- package/dist/{chunk-9nw6qekv.js → chunk-h9t48r9q.js} +2 -1
- package/dist/{chunk-7g8k2epn.js → chunk-k9dtqf1p.js} +6 -9
- package/dist/{chunk-26brdrbz.js → chunk-kje1qysg.js} +59 -46
- package/dist/{chunk-4mt568fz.js → chunk-m3grz32t.js} +4 -3
- package/dist/{chunk-yvyahr2h.js → chunk-mvrxngm7.js} +2 -1
- package/dist/{chunk-j28jpfv2.js → chunk-n6d9ncnv.js} +2 -1
- package/dist/chunk-ngrxhdkb.js +32 -0
- package/dist/{chunk-79mw7w0g.js → chunk-nvt16s80.js} +2 -1
- package/dist/{chunk-yd82hdxv.js → chunk-w1547qd4.js} +2 -1
- package/dist/chunk-yagxbm1r.js +9 -0
- package/dist/{chunk-snqdnkk7.js → chunk-z9a175mk.js} +4 -3
- package/dist/{chunk-r1kcf1q6.js → chunk-zwrygafm.js} +5 -6
- package/dist/errors/base-error.d.ts +5 -0
- package/dist/errors/enums/index.d.ts +1 -1
- package/dist/errors/enums/index.js +1 -1
- package/dist/errors/http-error.d.ts +11 -0
- package/dist/errors/index.d.ts +2 -2
- package/dist/errors/index.js +3 -3
- package/dist/errors/utils/index.d.ts +1 -0
- package/dist/errors/utils/index.js +16 -0
- package/dist/errors/utils/is-nowarajs-error.ts.d.ts +4 -0
- package/dist/modules/data/data.d.ts +2 -2
- package/dist/modules/data/enums/index.d.ts +1 -1
- package/dist/modules/data/enums/index.js +1 -1
- package/dist/modules/data/index.js +3 -3
- package/dist/modules/data/transformers/{camelCase.d.ts → camel-case.d.ts} +2 -2
- package/dist/modules/data/transformers/index.d.ts +4 -4
- package/dist/modules/data/transformers/index.js +4 -4
- package/dist/modules/data/transformers/{kebabCase.d.ts → kebab-case.d.ts} +2 -2
- package/dist/modules/data/transformers/{pascalCase.d.ts → pascal-case.d.ts} +2 -2
- package/dist/modules/data/transformers/{snakeCase.d.ts → snake-case.d.ts} +2 -2
- package/dist/modules/data/types/index.d.ts +10 -10
- package/dist/modules/data/types/{pascalCase.d.ts → pascal-case.d.ts} +1 -1
- package/dist/modules/data/types/{transformKeysCamelCase.d.ts → transform-keys-camel-case.d.ts} +1 -1
- package/dist/modules/data/types/{transformKeysKebabCase.d.ts → transform-keys-kebab-case.d.ts} +1 -1
- package/dist/modules/data/types/{transformKeysPascalCase.d.ts → transform-keys-pascal-case.d.ts} +1 -1
- package/dist/modules/data/types/{transformKeysSnakeCase.d.ts → transform-keys-snake-case.d.ts} +1 -1
- package/dist/modules/data/types/{transformObjectKeys.d.ts → transform-object-keys.d.ts} +8 -8
- package/dist/modules/database/enums/index.d.ts +2 -2
- package/dist/modules/database/enums/index.js +1 -1
- package/dist/modules/database/events/index.d.ts +2 -2
- package/dist/modules/database/events/{mssqlEventMap.d.ts → mssql-event-map.d.ts} +1 -1
- package/dist/modules/database/events/{tableEventMap.d.ts → table-event-map.d.ts} +1 -1
- package/dist/modules/database/index.js +8 -8
- package/dist/modules/database/mssql.d.ts +3 -3
- package/dist/modules/database/table.d.ts +2 -2
- package/dist/modules/database/types/index.d.ts +3 -3
- package/dist/modules/elysia/cache/cache.d.ts +15 -132
- package/dist/modules/elysia/cache/index.js +8 -6
- package/dist/modules/elysia/cache/types/{cacheOptions.d.ts → cache-options.d.ts} +1 -1
- package/dist/modules/elysia/cache/types/index.d.ts +1 -1
- package/dist/modules/elysia/cache/utils/index.d.ts +1 -1
- package/dist/modules/elysia/cache/utils/index.js +1 -1
- package/dist/modules/elysia/{crudSchema/crudSchema.d.ts → crud/crud-schema.d.ts} +4 -4
- package/dist/modules/elysia/crud/crud.d.ts +34 -42
- package/dist/modules/elysia/crud/index.d.ts +1 -0
- package/dist/modules/elysia/crud/index.js +125 -280
- package/dist/modules/elysia/crud/operations/count.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/delete.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/deleteOne.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/find.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/findOne.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/index.d.ts +8 -0
- package/dist/modules/elysia/crud/operations/index.js +33 -0
- package/dist/modules/elysia/crud/operations/insert.d.ts +258 -0
- package/dist/modules/elysia/crud/operations/update.d.ts +268 -0
- package/dist/modules/elysia/crud/operations/updateOne.d.ts +268 -0
- package/dist/modules/elysia/{crudSchema/types/adaptiveWhereClauseSchema.d.ts → crud/types/adaptive-where-clause-schema.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/count-response-200-schema.d.ts +5 -0
- package/dist/modules/elysia/crud/types/count-schema.d.ts +10 -0
- package/dist/modules/elysia/crud/types/crud-operation-base.d.ts +4 -0
- package/dist/modules/elysia/crud/types/crud-operation-count.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-delete-one.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-delete.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-find-one.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-find.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-insert.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operation-update-one.d.ts +16 -0
- package/dist/modules/elysia/crud/types/crud-operation-update.d.ts +14 -0
- package/dist/modules/elysia/crud/types/crud-operations.d.ts +19 -0
- package/dist/modules/elysia/crud/types/crud-options.d.ts +44 -0
- package/dist/modules/elysia/crud/types/crud-schema-models-type.d.ts +12 -0
- package/dist/modules/elysia/{crudSchema/types/crudSchemaOptions.d.ts → crud/types/crud-schema-options.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/delete-schema.d.ts +12 -0
- package/dist/modules/elysia/crud/types/filter-schema.d.ts +9 -0
- package/dist/modules/elysia/crud/types/find-schema.d.ts +16 -0
- package/dist/modules/elysia/{crudSchema/utils/createIdParamSchema.d.ts → crud/types/id-param-schema.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/index.d.ts +29 -11
- package/dist/modules/elysia/crud/types/insert-schema.d.ts +11 -0
- package/dist/modules/elysia/{crudSchema/types/orderSchema.d.ts → crud/types/order-schema.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/properties-schema.d.ts +9 -0
- package/dist/modules/elysia/{crudSchema/types/qSchema.d.ts → crud/types/q-schema.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/response-200-schema.d.ts +11 -0
- package/dist/modules/elysia/{crudSchema/types/selectedFieldSchema.d.ts → crud/types/selected-field-schema.d.ts} +1 -1
- package/dist/modules/elysia/crud/types/update-one-schema.d.ts +4 -0
- package/dist/modules/elysia/crud/types/update-schema.d.ts +13 -0
- package/dist/modules/elysia/{crudSchema/utils/createAdaptiveWhereClauseSchema.d.ts → crud/utils/create-adaptive-where-clause-schema.d.ts} +2 -2
- package/dist/modules/elysia/crud/utils/create-count-response-200-schema.d.ts +8 -0
- package/dist/modules/elysia/crud/utils/create-count-schema.d.ts +12 -0
- package/dist/modules/elysia/crud/utils/create-delete-schema.d.ts +12 -0
- package/dist/modules/elysia/{crudSchema/utils/createFiltersSchema.d.ts → crud/utils/create-filters-schema.d.ts} +3 -6
- package/dist/modules/elysia/crud/utils/create-find-schema.d.ts +12 -0
- package/dist/modules/elysia/crud/utils/create-id-param-schema.d.ts +2 -0
- package/dist/modules/elysia/crud/utils/create-insert-schema.d.ts +8 -0
- package/dist/modules/elysia/{crudSchema/utils/createOrderSchema.d.ts → crud/utils/create-order-schema.d.ts} +2 -2
- package/dist/modules/elysia/crud/utils/create-properties-schema.d.ts +12 -0
- package/dist/modules/elysia/{crudSchema/utils/createQSchema.d.ts → crud/utils/create-q-schema.d.ts} +2 -2
- package/dist/modules/elysia/crud/utils/create-response-200-schema.d.ts +3 -0
- package/dist/modules/elysia/{crudSchema/utils/createSelectedFieldsSchema.d.ts → crud/utils/create-selected-fields-schema.d.ts} +2 -2
- package/dist/modules/elysia/crud/utils/create-update-one-schema.d.ts +3 -0
- package/dist/modules/elysia/crud/utils/create-update-schema.d.ts +3 -0
- package/dist/modules/elysia/crud/utils/index.d.ts +16 -0
- package/dist/modules/elysia/{crudSchema → crud}/utils/index.js +7 -4
- package/dist/modules/elysia/{crudSchema/utils/isDateFromElysiaTypeBox.d.ts → crud/utils/is-date-from-elysia-typebox.d.ts} +1 -1
- package/dist/modules/elysia/db-resolver/db-resolver.d.ts +193 -0
- package/dist/modules/elysia/db-resolver/enums/db-resolver-error-keys.d.ts +3 -0
- package/dist/modules/elysia/db-resolver/enums/index.d.ts +1 -0
- package/dist/modules/elysia/{dbResolver → db-resolver}/enums/index.js +1 -1
- package/dist/modules/elysia/db-resolver/index.d.ts +1 -0
- package/dist/modules/elysia/db-resolver/index.js +18 -0
- package/dist/modules/elysia/error/error.d.ts +14 -3
- package/dist/modules/elysia/error/index.js +5 -5
- package/dist/modules/elysia/microservice/microservice.d.ts +17 -14
- package/dist/modules/elysia/rate-limit/enums/index.d.ts +1 -0
- package/dist/modules/elysia/{rateLimit → rate-limit}/enums/index.js +1 -1
- package/dist/modules/elysia/rate-limit/index.d.ts +1 -0
- package/dist/modules/elysia/{rateLimit → rate-limit}/index.js +12 -16
- package/dist/modules/elysia/{rateLimit/rateLimit.d.ts → rate-limit/rate-limit.d.ts} +5 -2
- package/dist/modules/elysia/rate-limit/types/index.d.ts +1 -0
- package/dist/modules/elysia/{rateLimit/types/rateLimitOptions.d.ts → rate-limit/types/rate-limit-options.d.ts} +1 -1
- package/dist/modules/jwt/enums/index.d.ts +2 -2
- package/dist/modules/jwt/enums/index.js +2 -2
- package/dist/modules/jwt/index.js +8 -15
- package/dist/modules/jwt/utils/index.d.ts +1 -1
- package/dist/modules/jwt/utils/index.js +3 -3
- package/dist/modules/kv-store/enums/index.d.ts +1 -0
- package/dist/modules/{kvStore → kv-store}/enums/index.js +1 -1
- package/dist/modules/kv-store/ioredis/index.d.ts +1 -0
- package/dist/modules/{kvStore → kv-store}/ioredis/index.js +7 -17
- package/dist/modules/{kvStore/ioredis/ioredisStore.d.ts → kv-store/ioredis/ioredis-store.d.ts} +1 -1
- package/dist/modules/kv-store/memory/index.d.ts +1 -0
- package/dist/modules/kv-store/memory/index.js +9 -0
- package/dist/modules/{kvStore/memory/memoryStore.d.ts → kv-store/memory/memory-store.d.ts} +1 -1
- package/dist/modules/kv-store/types/index.d.ts +1 -0
- package/dist/modules/logger/enums/index.d.ts +1 -1
- package/dist/modules/logger/enums/index.js +1 -1
- package/dist/modules/logger/enums/logger-error-keys.d.ts +6 -0
- package/dist/modules/logger/events/index.d.ts +1 -1
- package/dist/modules/logger/events/logger-events.d.ts +11 -0
- package/dist/modules/logger/index.js +40 -52
- package/dist/modules/logger/logger.d.ts +172 -172
- package/dist/modules/logger/sinks/console-logger.d.ts +22 -0
- package/dist/modules/logger/sinks/file-logger.d.ts +25 -0
- package/dist/modules/logger/sinks/index.d.ts +2 -0
- package/dist/modules/logger/{strategies → sinks}/index.js +6 -6
- package/dist/modules/logger/types/bodies-intersection.d.ts +2 -0
- package/dist/modules/logger/types/index.d.ts +6 -6
- package/dist/modules/logger/types/log-stream-chunk.d.ts +15 -0
- package/dist/modules/logger/types/{loggerStrategy.d.ts → logger-sink.d.ts} +3 -3
- package/dist/modules/logger/types/sink-body.d.ts +2 -0
- package/dist/modules/logger/types/sink-map.d.ts +2 -0
- package/dist/modules/mailer/enums/index.d.ts +1 -1
- package/dist/modules/mailer/enums/index.js +1 -1
- package/dist/modules/mailer/index.js +5 -8
- package/dist/modules/mailer/smtp.d.ts +1 -1
- package/dist/modules/mailer/types/index.d.ts +3 -3
- package/dist/modules/mailer/types/{smtpOptions.d.ts → smtp-options.d.ts} +2 -2
- package/dist/modules/repository/index.js +6 -6
- package/dist/modules/repository/repository.d.ts +5 -5
- package/dist/modules/repository/types/filter.d.ts +2 -2
- package/dist/modules/repository/types/index.d.ts +6 -6
- package/dist/modules/repository/types/{queryOptionsExtendPagination.d.ts → query-options-extend-pagination.d.ts} +1 -1
- package/dist/modules/repository/types/{queryOptionsExtendStream.d.ts → query-options-extend-stream.d.ts} +1 -1
- package/dist/modules/repository/types/{queryOptions.d.ts → query-options.d.ts} +4 -4
- package/dist/modules/singleton-manager/enums/index.d.ts +1 -0
- package/dist/modules/{singletonManager → singleton-manager}/enums/index.js +1 -1
- package/dist/modules/singleton-manager/enums/singleton-manager-error-keys.d.ts +4 -0
- package/dist/modules/singleton-manager/index.d.ts +1 -0
- package/dist/modules/singleton-manager/index.js +9 -0
- package/dist/modules/{singletonManager/singletonManager.d.ts → singleton-manager/singleton-manager.d.ts} +9 -11
- package/dist/modules/totp/enums/index.d.ts +1 -1
- package/dist/modules/totp/enums/index.js +1 -1
- package/dist/modules/totp/hotp.d.ts +1 -1
- package/dist/modules/totp/index.d.ts +1 -1
- package/dist/modules/totp/index.js +7 -13
- package/dist/modules/totp/{otpAuthUri.d.ts → otp-auth-uri.d.ts} +1 -1
- package/dist/modules/totp/totp.d.ts +2 -2
- package/dist/modules/totp/types/index.d.ts +3 -3
- package/dist/modules/totp/types/{verifyOptions.d.ts → verify-options.d.ts} +1 -1
- package/dist/modules/totp/utils/index.d.ts +5 -5
- package/dist/modules/totp/utils/index.js +7 -12
- package/dist/modules/typed-event-emitter/index.d.ts +1 -0
- package/dist/modules/{typedEventEmitter → typed-event-emitter}/index.js +1 -1
- package/dist/modules/typed-event-emitter/typed-event-emitter.d.ts +221 -0
- package/dist/modules/typed-event-emitter/types/index.d.ts +1 -0
- package/dist/shared/enums/index.d.ts +1 -0
- package/dist/{utils → shared}/enums/index.js +1 -1
- package/dist/shared/types/index.d.ts +3 -0
- package/dist/shared/types/tflatten.d.ts +5 -0
- package/dist/shared/utils/flatten.d.ts +3 -0
- package/dist/{utils → shared/utils}/index.d.ts +2 -1
- package/dist/{utils → shared/utils}/index.js +10 -9
- package/package.json +39 -40
- package/CHANGELOG.md +0 -98
- package/dist/chunk-45gt9273.js +0 -8
- package/dist/chunk-4xs0e8cm.js +0 -9
- package/dist/chunk-683sda6e.js +0 -28
- package/dist/chunk-7jsxw1ts.js +0 -40
- package/dist/chunk-dwfyt1m6.js +0 -6
- package/dist/chunk-g821m8gq.js +0 -77
- package/dist/chunk-hcc6g1fd.js +0 -7
- package/dist/chunk-ncc0m208.js +0 -8
- package/dist/chunk-vknq69e0.js +0 -23
- package/dist/chunk-y78xrx17.js +0 -54
- package/dist/errors/baseError.d.ts +0 -9
- package/dist/errors/httpError.d.ts +0 -14
- package/dist/errors/types/baseErrorOptions.d.ts +0 -15
- package/dist/errors/types/httpErrorOptions.d.ts +0 -13
- package/dist/errors/types/index.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationBaseOptions.d.ts +0 -6
- package/dist/modules/elysia/crud/types/crudOperationCountOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationDeleteOneOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationDeleteOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationFindOneOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationFindOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationInsertOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationUpdateOneOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationUpdateOptions.d.ts +0 -2
- package/dist/modules/elysia/crud/types/crudOperationsOptions.d.ts +0 -18
- package/dist/modules/elysia/crud/types/crudOptions.d.ts +0 -25
- package/dist/modules/elysia/crudSchema/index.d.ts +0 -1
- package/dist/modules/elysia/crudSchema/index.js +0 -11
- package/dist/modules/elysia/crudSchema/types/crudModelsType.d.ts +0 -14
- package/dist/modules/elysia/crudSchema/types/index.d.ts +0 -8
- package/dist/modules/elysia/crudSchema/types/queryOptionsBuilderOptions.d.ts +0 -11
- package/dist/modules/elysia/crudSchema/utils/createCountResponse200Schema.d.ts +0 -11
- package/dist/modules/elysia/crudSchema/utils/createCountSchema.d.ts +0 -16
- package/dist/modules/elysia/crudSchema/utils/createDeleteSchema.d.ts +0 -18
- package/dist/modules/elysia/crudSchema/utils/createFindSchema.d.ts +0 -22
- package/dist/modules/elysia/crudSchema/utils/createInsertSchema.d.ts +0 -8
- package/dist/modules/elysia/crudSchema/utils/createPropertiesSchema.d.ts +0 -12
- package/dist/modules/elysia/crudSchema/utils/createResponse200Schema.d.ts +0 -5
- package/dist/modules/elysia/crudSchema/utils/createUpdateOneSchema.d.ts +0 -4
- package/dist/modules/elysia/crudSchema/utils/createUpdateSchema.d.ts +0 -10
- package/dist/modules/elysia/crudSchema/utils/index.d.ts +0 -15
- package/dist/modules/elysia/dbResolver/dbResolver.d.ts +0 -17
- package/dist/modules/elysia/dbResolver/enums/dbResolverErrorKeys.d.ts +0 -3
- package/dist/modules/elysia/dbResolver/enums/index.d.ts +0 -1
- package/dist/modules/elysia/dbResolver/index.d.ts +0 -1
- package/dist/modules/elysia/dbResolver/index.js +0 -18
- package/dist/modules/elysia/dbResolver/types/dynamicDbOptions.d.ts +0 -7
- package/dist/modules/elysia/dbResolver/types/index.d.ts +0 -1
- package/dist/modules/elysia/rateLimit/enums/index.d.ts +0 -1
- package/dist/modules/elysia/rateLimit/index.d.ts +0 -1
- package/dist/modules/elysia/rateLimit/types/index.d.ts +0 -1
- package/dist/modules/kvStore/enums/index.d.ts +0 -1
- package/dist/modules/kvStore/ioredis/index.d.ts +0 -1
- package/dist/modules/kvStore/memory/index.d.ts +0 -1
- package/dist/modules/kvStore/memory/index.js +0 -9
- package/dist/modules/kvStore/types/index.d.ts +0 -1
- package/dist/modules/kvStore/types/index.js +0 -1
- package/dist/modules/logger/enums/loggerErrorKeys.d.ts +0 -6
- package/dist/modules/logger/events/loggerEvents.d.ts +0 -11
- package/dist/modules/logger/strategies/consoleLogger.d.ts +0 -22
- package/dist/modules/logger/strategies/fileLogger.d.ts +0 -25
- package/dist/modules/logger/strategies/index.d.ts +0 -2
- package/dist/modules/logger/types/bodiesIntersection.d.ts +0 -2
- package/dist/modules/logger/types/logStreamChunk.d.ts +0 -15
- package/dist/modules/logger/types/strategyBody.d.ts +0 -2
- package/dist/modules/logger/types/strategyMap.d.ts +0 -2
- package/dist/modules/singletonManager/enums/index.d.ts +0 -1
- package/dist/modules/singletonManager/enums/singletonManagerErrorKeys.d.ts +0 -4
- package/dist/modules/singletonManager/index.d.ts +0 -1
- package/dist/modules/singletonManager/index.js +0 -9
- package/dist/modules/typedEventEmitter/index.d.ts +0 -1
- package/dist/modules/typedEventEmitter/typedEventEmitter.d.ts +0 -221
- package/dist/modules/typedEventEmitter/types/index.d.ts +0 -1
- package/dist/modules/typedEventEmitter/types/index.js +0 -1
- package/dist/utils/enums/index.d.ts +0 -1
- package/dist/utils/types/index.d.ts +0 -2
- package/dist/utils/types/index.js +0 -1
- package/dist/errors/enums/{httpErrorStatusCodes.d.ts → http-status-codes.d.ts} +0 -0
- package/dist/modules/data/enums/{dataErrorKeys.d.ts → data-error-keys.d.ts} +0 -0
- package/dist/modules/data/types/{camelCase.d.ts → camel-case.d.ts} +0 -0
- package/dist/modules/data/types/{caseTransformer.d.ts → case-transformer.d.ts} +0 -0
- package/dist/modules/data/types/{kebabCase.d.ts → kebab-case.d.ts} +0 -0
- package/dist/modules/data/types/{snakeCase.d.ts → snake-case.d.ts} +0 -0
- package/dist/modules/database/enums/{databaseErrorKeys.d.ts → database-error-keys.d.ts} +15 -15
- package/dist/modules/database/enums/{mssqlErrorCode.d.ts → mssql-error-code.d.ts} +12 -12
- package/dist/modules/database/types/{mssqlDatabaseOption.d.ts → mssql-database-option.d.ts} +0 -0
- package/dist/modules/database/types/{mssqlEventLog.d.ts → mssql-event-log.d.ts} +0 -0
- package/dist/modules/database/types/{queryContext.d.ts → query-context.d.ts} +0 -0
- package/dist/modules/elysia/cache/types/{cacheItem.d.ts → cache-item.d.ts} +0 -0
- package/dist/modules/elysia/cache/utils/{generateCacheKey.d.ts → generate-cache-key.d.ts} +0 -0
- package/dist/modules/elysia/{crudSchema/types/crudSchemaOperations.d.ts → crud/types/crud-schema-operations.d.ts} +0 -0
- package/dist/modules/elysia/{rateLimit/enums/rateLimitErrorKeys.d.ts → rate-limit/enums/rate-limit-error-keys.d.ts} +0 -0
- package/dist/{errors → modules/elysia/rate-limit}/types/index.js +0 -0
- package/dist/modules/jwt/enums/{jwtErrorKeys.d.ts → jwt-error-keys.d.ts} +2 -2
- package/dist/modules/jwt/enums/{parseHumanTimeToSecondsErrorKeys.d.ts → parse-human-time-to-seconds-error-keys.d.ts} +0 -0
- package/dist/modules/jwt/utils/{parseHumanTimeToSeconds.d.ts → parse-human-time-to-seconds.d.ts} +0 -0
- package/dist/modules/{kvStore/enums/kvStoreErrorKeys.d.ts → kv-store/enums/kv-store-error-keys.d.ts} +2 -2
- package/dist/modules/{kvStore/memory/types/memoryStoreEntry.d.ts → kv-store/memory/types/memory-store-entry.d.ts} +0 -0
- package/dist/modules/{elysia/crudSchema → kv-store}/types/index.js +0 -0
- package/dist/modules/{kvStore/types/kvStore.d.ts → kv-store/types/kv-store.d.ts} +0 -0
- package/dist/modules/logger/types/{logLevels.d.ts → log-levels.d.ts} +0 -0
- package/dist/modules/mailer/enums/{mailerErrorKeys.d.ts → mailer-error-keys.d.ts} +1 -1
- package/dist/modules/mailer/types/{smtpCredentials.d.ts → smtp-credentials.d.ts} +0 -0
- package/dist/modules/mailer/types/{smtpPoolOptions.d.ts → smtp-pool-options.d.ts} +0 -0
- package/dist/modules/repository/types/{adaptiveWhereClause.d.ts → adaptive-where-clause.d.ts} +0 -0
- package/dist/modules/repository/types/{orderByItem.d.ts → order-by-item.d.ts} +0 -0
- package/dist/modules/repository/types/{selectedFields.d.ts → selected-fields.d.ts} +0 -0
- package/dist/modules/totp/enums/{totpErrorKeys.d.ts → totp-error-keys.d.ts} +2 -2
- /package/dist/modules/totp/types/{otpAuthUri.d.ts → otp-auth-uri.d.ts} +0 -0
- /package/dist/modules/totp/types/{totpOptions.d.ts → totp-options.d.ts} +0 -0
- /package/dist/modules/totp/utils/{createCounterBuffer.d.ts → create-counter-buffer.d.ts} +0 -0
- /package/dist/modules/totp/utils/{dynamicTruncation.d.ts → dynamic-truncation.d.ts} +0 -0
- /package/dist/modules/totp/utils/{generateHmac.d.ts → generate-hmac.d.ts} +0 -0
- /package/dist/modules/totp/utils/{generateSecretBytes.d.ts → generate-secret-bytes.d.ts} +0 -0
- /package/dist/modules/totp/utils/{timeRemaining.d.ts → time-remaining.d.ts} +0 -0
- /package/dist/modules/{typedEventEmitter/types/eventMap.d.ts → typed-event-emitter/types/event-map.d.ts} +0 -0
- /package/dist/modules/{elysia/dbResolver → typed-event-emitter}/types/index.js +0 -0
- /package/dist/{utils/enums/utilsErrorKeys.d.ts → shared/enums/utils-error-keys.d.ts} +0 -0
- /package/dist/{modules/elysia/rateLimit → shared}/types/index.js +0 -0
- /package/dist/{utils/types/renameKey.d.ts → shared/types/rename-key.d.ts} +0 -0
- /package/dist/{utils/types/streamWithAsyncIterable.d.ts → shared/types/stream-with-async-iterable.d.ts} +0 -0
- /package/dist/{utils → shared/utils}/env.d.ts +0 -0
- /package/dist/{utils/isDateString.d.ts → shared/utils/is-date-string.d.ts} +0 -0
- /package/dist/{utils → shared/utils}/stream.d.ts +0 -0
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'events';
|
|
2
|
-
import type { EventMap } from './types/eventMap';
|
|
3
|
-
/**
|
|
4
|
-
* A generic event emitter class that allows for type-safe event handling.
|
|
5
|
-
*
|
|
6
|
-
* @template TEvents - The type of events and their payloads.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TypedEventEmitter<TEvents extends EventMap> extends EventEmitter {
|
|
9
|
-
/**
|
|
10
|
-
* Emits an event with the specified payload.
|
|
11
|
-
*
|
|
12
|
-
* @template KEvent - The type of event to emit.
|
|
13
|
-
*
|
|
14
|
-
* @param event - The event name to emit.
|
|
15
|
-
* @param payload - The data to send with the event.
|
|
16
|
-
*
|
|
17
|
-
* @returns Whether the event had listeners.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
22
|
-
* const emitter = new MyEmitter();
|
|
23
|
-
* emitter.emit('foo', 'hello');
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
emit<KEvent extends keyof TEvents>(event: KEvent, ...args: TEvents[KEvent]): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Registers an event listener for the specified event.
|
|
29
|
-
*
|
|
30
|
-
* @template KEvent - The type of event to listen for.
|
|
31
|
-
*
|
|
32
|
-
* @param event - The event name to listen for.
|
|
33
|
-
* @param listener - The callback function that handles the event.
|
|
34
|
-
*
|
|
35
|
-
* @returns This instance for chaining.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
40
|
-
* const emitter = new MyEmitter();
|
|
41
|
-
* emitter.on('foo', payload => {
|
|
42
|
-
* console.log(payload); // payload is string
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
on<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
47
|
-
/**
|
|
48
|
-
* Registers a one-time event listener for the specified event.
|
|
49
|
-
*
|
|
50
|
-
* @template KEvent - The type of event to listen for.
|
|
51
|
-
*
|
|
52
|
-
* @param event - The event name to listen for.
|
|
53
|
-
* @param listener - The callback function that handles the event.
|
|
54
|
-
*
|
|
55
|
-
* @returns This instance for chaining.
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```ts
|
|
59
|
-
* class MyEmitter extends TypedEventEmitter<{ bar: [number] }> {}
|
|
60
|
-
* const emitter = new MyEmitter();
|
|
61
|
-
* emitter.once('bar', payload => {
|
|
62
|
-
* console.log(payload); // payload is number
|
|
63
|
-
* });
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
once<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
67
|
-
/**
|
|
68
|
-
* Registers an event listener for the specified event (alias for on).
|
|
69
|
-
*
|
|
70
|
-
* @template KEvent - The type of event to listen for.
|
|
71
|
-
*
|
|
72
|
-
* @param event - The event name to listen for.
|
|
73
|
-
* @param listener - The callback function that handles the event.
|
|
74
|
-
*
|
|
75
|
-
* @returns This instance for chaining.
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```ts
|
|
79
|
-
* class MyEmitter extends TypedEventEmitter<{ baz: [boolean] }> {}
|
|
80
|
-
* const emitter = new MyEmitter();
|
|
81
|
-
* emitter.addListener('baz', payload => {
|
|
82
|
-
* console.log(payload); // payload is boolean
|
|
83
|
-
* });
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
addListener<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
87
|
-
/**
|
|
88
|
-
* Removes an event listener for the specified event.
|
|
89
|
-
*
|
|
90
|
-
* @template KEvent - The type of event.
|
|
91
|
-
*
|
|
92
|
-
* @param event - The event name.
|
|
93
|
-
* @param listener - The callback function to remove.
|
|
94
|
-
*
|
|
95
|
-
* @returns This instance for chaining.
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* ```ts
|
|
99
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: string }> {}
|
|
100
|
-
* const emitter = new MyEmitter();
|
|
101
|
-
* const handler = (payload: string) => {};
|
|
102
|
-
* emitter.on('foo', handler);
|
|
103
|
-
* emitter.removeListener('foo', handler);
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
removeListener<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
107
|
-
/**
|
|
108
|
-
* Removes an event listener for the specified event (alias for removeListener).
|
|
109
|
-
*
|
|
110
|
-
* @template KEvent - The type of event.
|
|
111
|
-
*
|
|
112
|
-
* @param event - The event name.
|
|
113
|
-
* @param listener - The callback function to remove.
|
|
114
|
-
*
|
|
115
|
-
* @returns This instance for chaining.
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
* ```ts
|
|
119
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
120
|
-
* const emitter = new MyEmitter();
|
|
121
|
-
* const handler = (payload: string) => {};
|
|
122
|
-
* emitter.on('foo', handler);
|
|
123
|
-
* emitter.off('foo', handler);
|
|
124
|
-
* ```
|
|
125
|
-
*/
|
|
126
|
-
off<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
127
|
-
/**
|
|
128
|
-
* Returns the number of listeners for the specified event.
|
|
129
|
-
*
|
|
130
|
-
* @template KEvent - The type of event.
|
|
131
|
-
*
|
|
132
|
-
* @param event - The event name.
|
|
133
|
-
*
|
|
134
|
-
* @returns The number of listeners.
|
|
135
|
-
*
|
|
136
|
-
* @example
|
|
137
|
-
* ```ts
|
|
138
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
139
|
-
* const emitter = new MyEmitter();
|
|
140
|
-
* emitter.on('foo', () => {});
|
|
141
|
-
* const count = emitter.listenerCount('foo');
|
|
142
|
-
* ```
|
|
143
|
-
*/
|
|
144
|
-
listenerCount<KEvent extends keyof TEvents>(event: KEvent): number;
|
|
145
|
-
/**
|
|
146
|
-
* Returns a copy of the array of listeners for the specified event.
|
|
147
|
-
*
|
|
148
|
-
* @template KEvent - The type of event.
|
|
149
|
-
*
|
|
150
|
-
* @param event - The event name.
|
|
151
|
-
*
|
|
152
|
-
* @returns An array of listener functions.
|
|
153
|
-
*
|
|
154
|
-
* @example
|
|
155
|
-
* ```ts
|
|
156
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
157
|
-
* const emitter = new MyEmitter();
|
|
158
|
-
* emitter.on('foo', () => {});
|
|
159
|
-
* const listeners = emitter.listeners('foo');
|
|
160
|
-
* ```
|
|
161
|
-
*/
|
|
162
|
-
listeners<KEvent extends keyof TEvents>(event: KEvent): ((...args: TEvents[KEvent]) => void)[];
|
|
163
|
-
/**
|
|
164
|
-
* Returns a copy of the array of raw listeners for the specified event.
|
|
165
|
-
*
|
|
166
|
-
* @template KEvent - The type of event.
|
|
167
|
-
*
|
|
168
|
-
* @param event - The event name.
|
|
169
|
-
*
|
|
170
|
-
* @returns An array of raw listener functions.
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* ```ts
|
|
174
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
175
|
-
* const emitter = new MyEmitter();
|
|
176
|
-
* emitter.on('foo', () => {});
|
|
177
|
-
* const rawListeners = emitter.rawListeners('foo');
|
|
178
|
-
* ```
|
|
179
|
-
*/
|
|
180
|
-
rawListeners<KEvent extends keyof TEvents>(event: KEvent): ((...args: TEvents[KEvent]) => void)[];
|
|
181
|
-
/**
|
|
182
|
-
* Adds a listener to the beginning of the listeners array for the specified event.
|
|
183
|
-
*
|
|
184
|
-
* @template KEvent - The type of event.
|
|
185
|
-
*
|
|
186
|
-
* @param event - The event name.
|
|
187
|
-
* @param listener - The callback function to add.
|
|
188
|
-
*
|
|
189
|
-
* @returns This instance for chaining.
|
|
190
|
-
*
|
|
191
|
-
* @example
|
|
192
|
-
* ```ts
|
|
193
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
194
|
-
* const emitter = new MyEmitter();
|
|
195
|
-
* emitter.prependListener('foo', payload => {
|
|
196
|
-
* console.log(payload);
|
|
197
|
-
* });
|
|
198
|
-
* ```
|
|
199
|
-
*/
|
|
200
|
-
prependListener<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
201
|
-
/**
|
|
202
|
-
* Adds a one-time listener to the beginning of the listeners array for the specified event.
|
|
203
|
-
*
|
|
204
|
-
* @template KEvent - The type of event.
|
|
205
|
-
*
|
|
206
|
-
* @param event - The event name.
|
|
207
|
-
* @param listener - The callback function to add.
|
|
208
|
-
*
|
|
209
|
-
* @returns This instance for chaining.
|
|
210
|
-
*
|
|
211
|
-
* @example
|
|
212
|
-
* ```ts
|
|
213
|
-
* class MyEmitter extends TypedEventEmitter<{ foo: [string] }> {}
|
|
214
|
-
* const emitter = new MyEmitter();
|
|
215
|
-
* emitter.prependOnceListener('foo', payload => {
|
|
216
|
-
* console.log(payload);
|
|
217
|
-
* });
|
|
218
|
-
* ```
|
|
219
|
-
*/
|
|
220
|
-
prependOnceListener<KEvent extends keyof TEvents>(event: KEvent, listener: (...args: TEvents[KEvent]) => void): this;
|
|
221
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { EventMap } from './eventMap';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UTILS_ERROR_KEYS } from './utilsErrorKeys';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export declare const DATABASE_ERROR_KEYS: {
|
|
2
2
|
readonly MSSQL_CONNECTION_ERROR: "mssql.error.database.connection_error";
|
|
3
|
-
readonly MSSQL_DISCONNECT_ERROR: "mssql.error.database.disconnect_error";
|
|
4
|
-
readonly MSSQL_NOT_CONNECTED: "mssql.error.database.not_connected";
|
|
5
|
-
readonly MSSQL_NO_RESULT: "mssql.error.database.no_result";
|
|
6
|
-
readonly MSSQL_QUERY_ERROR: "mssql.error.database.query_error";
|
|
7
3
|
readonly MSSQL_DATABASE_ACCESS_DENIED: "mssql.error.database.access_denied";
|
|
4
|
+
readonly MSSQL_DATABASE_AMBIGUOUS_COLUMN: "mssql.error.database.ambiguous_column";
|
|
8
5
|
readonly MSSQL_DATABASE_AUTHORIZATION8FAILED: "mssql.error.database.authorization_failed";
|
|
9
|
-
readonly MSSQL_DATABASE_SYNTAX_ERROR: "mssql.error.database.syntax_error";
|
|
10
6
|
readonly MSSQL_DATABASE_COLUMN_NOT_FOUND: "mssql.error.database.column_not_found";
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
7
|
+
readonly MSSQL_DATABASE_CONVERSION_FAILED: "mssql.error.database.conversion_failed";
|
|
8
|
+
readonly MSSQL_DATABASE_DATA_TOO_LARGE: "mssql.error.database.data_too_large";
|
|
9
|
+
readonly MSSQL_DATABASE_DEADLOCK_DETECTED: "mssql.error.database.deadlock_detected";
|
|
13
10
|
readonly MSSQL_DATABASE_DUPLICATE_KEY: "mssql.error.database.duplicate_key";
|
|
14
11
|
readonly MSSQL_DATABASE_FOREIGN_KEY_VIOLATION: "mssql.error.database.foreign_key_violation";
|
|
15
|
-
readonly
|
|
16
|
-
readonly MSSQL_DATABASE_DEADLOCK_DETECTED: "mssql.error.database.deadlock_detected";
|
|
17
|
-
readonly MSSQL_DATABASE_RESOURCE_LOCKED: "mssql.error.database.resource_locked";
|
|
18
|
-
readonly MSSQL_DATABASE_TRANSACTION_ABORTED: "mssql.error.database.transaction_aborted";
|
|
12
|
+
readonly MSSQL_DATABASE_IDENTITY_INSERT_NOT_ALLOWED: "mssql.error.database.identity_insert_not_allowed";
|
|
19
13
|
readonly MSSQL_DATABASE_INSUFFICIENT_MEMORY: "mssql.error.database.insufficient_memory";
|
|
20
14
|
readonly MSSQL_DATABASE_INSUFFICIENT_STORAGE: "mssql.error.database.insufficient_storage";
|
|
15
|
+
readonly MSSQL_DATABASE_PERMISSION_DENIED: "mssql.error.database.permission_denied";
|
|
21
16
|
readonly MSSQL_DATABASE_QUERY_TIMEOUT: "mssql.error.database.query_timeout";
|
|
17
|
+
readonly MSSQL_DATABASE_RESOURCE_LOCKED: "mssql.error.database.resource_locked";
|
|
18
|
+
readonly MSSQL_DATABASE_SYNTAX_ERROR: "mssql.error.database.syntax_error";
|
|
19
|
+
readonly MSSQL_DATABASE_TRANSACTION_ABORTED: "mssql.error.database.transaction_aborted";
|
|
22
20
|
readonly MSSQL_DATABASE_TRANSACTION_LOG_FULL: "mssql.error.database.transaction_log_full";
|
|
23
|
-
readonly
|
|
24
|
-
readonly MSSQL_DATABASE_PERMISSION_DENIED: "mssql.error.database.permission_denied";
|
|
25
|
-
readonly MSSQL_DATABASE_IDENTITY_INSERT_NOT_ALLOWED: "mssql.error.database.identity_insert_not_allowed";
|
|
21
|
+
readonly MSSQL_DATABASE_UNIQUE_CONSTRAINT_VIOLATION: "mssql.error.database.unique_constraint_violation";
|
|
26
22
|
readonly MSSQL_DATABSE_CANNOT_UPDATE_IDENTITY_COLUMN: "mssql.error.database.cannot_update_identity_column";
|
|
27
|
-
readonly
|
|
23
|
+
readonly MSSQL_DISCONNECT_ERROR: "mssql.error.database.disconnect_error";
|
|
24
|
+
readonly MSSQL_NO_RESULT: "mssql.error.database.no_result";
|
|
25
|
+
readonly MSSQL_NOT_CONNECTED: "mssql.error.database.not_connected";
|
|
26
|
+
readonly MSSQL_QUERY_ERROR: "mssql.error.database.query_error";
|
|
27
|
+
readonly MSSQL_TABLE_NOT_FOUND: "mssql.error.database.table_not_found";
|
|
28
28
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export declare const MSSQL_ERROR_CODE: {
|
|
2
2
|
readonly 0: "mssql.error.database.query_error";
|
|
3
|
-
readonly
|
|
3
|
+
readonly 102: "mssql.error.database.syntax_error";
|
|
4
|
+
readonly 1105: "mssql.error.database.insufficient_storage";
|
|
5
|
+
readonly 1205: "mssql.error.database.deadlock_detected";
|
|
6
|
+
readonly 1222: "mssql.error.database.resource_locked";
|
|
4
7
|
readonly 18452: "mssql.error.database.authorization_failed";
|
|
5
8
|
readonly 18456: "mssql.error.database.authorization_failed";
|
|
6
|
-
readonly 102: "mssql.error.database.syntax_error";
|
|
7
9
|
readonly 207: "mssql.error.database.column_not_found";
|
|
8
10
|
readonly 208: "mssql.error.database.table_not_found";
|
|
9
11
|
readonly 209: "mssql.error.database.ambiguous_column";
|
|
10
|
-
readonly
|
|
11
|
-
readonly 547: "mssql.error.database.foreign_key_violation";
|
|
12
|
+
readonly 229: "mssql.error.database.permission_denied";
|
|
12
13
|
readonly 2601: "mssql.error.database.unique_constraint_violation";
|
|
13
|
-
readonly
|
|
14
|
-
readonly 1222: "mssql.error.database.resource_locked";
|
|
14
|
+
readonly 2627: "mssql.error.database.duplicate_key";
|
|
15
15
|
readonly 3928: "mssql.error.database.transaction_aborted";
|
|
16
|
-
readonly
|
|
17
|
-
readonly 1105: "mssql.error.database.insufficient_storage";
|
|
18
|
-
readonly 8645: "mssql.error.database.query_timeout";
|
|
19
|
-
readonly 9002: "mssql.error.database.transaction_log_full";
|
|
20
|
-
readonly 8152: "mssql.error.database.data_too_large";
|
|
21
|
-
readonly 229: "mssql.error.database.permission_denied";
|
|
16
|
+
readonly 4060: "mssql.error.database.access_denied";
|
|
22
17
|
readonly 544: "mssql.error.database.identity_insert_not_allowed";
|
|
18
|
+
readonly 547: "mssql.error.database.foreign_key_violation";
|
|
19
|
+
readonly 701: "mssql.error.database.insufficient_memory";
|
|
23
20
|
readonly 8102: "mssql.error.database.cannot_update_identity_column";
|
|
21
|
+
readonly 8152: "mssql.error.database.data_too_large";
|
|
24
22
|
readonly 8169: "mssql.error.database.conversion_failed";
|
|
23
|
+
readonly 8645: "mssql.error.database.query_timeout";
|
|
24
|
+
readonly 9002: "mssql.error.database.transaction_log_full";
|
|
25
25
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const JWT_ERROR_KEYS: {
|
|
2
|
-
readonly JWT_SIGN_ERROR: "jwt.error.sign_error";
|
|
3
|
-
readonly JWT_SECRET_NOT_FOUND: "jwt.error.secret_not_found";
|
|
4
2
|
readonly JWT_EXPIRATION_PASSED: "jwt.error.expiration_passed";
|
|
3
|
+
readonly JWT_SECRET_NOT_FOUND: "jwt.error.secret_not_found";
|
|
4
|
+
readonly JWT_SIGN_ERROR: "jwt.error.sign_error";
|
|
5
5
|
};
|
|
File without changes
|
package/dist/modules/jwt/utils/{parseHumanTimeToSeconds.d.ts → parse-human-time-to-seconds.d.ts}
RENAMED
|
File without changes
|
package/dist/modules/{kvStore/enums/kvStoreErrorKeys.d.ts → kv-store/enums/kv-store-error-keys.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const KV_STORE_ERROR_KEYS: {
|
|
2
|
-
readonly NOT_INTEGER: "kv-store.error.not_integer";
|
|
3
|
-
readonly CONNECTION_FAILED: "kv-store.error.connection_failed";
|
|
4
2
|
readonly CLOSING_CONNECTION_FAILED: "kv-store.error.closing_connection_failed";
|
|
3
|
+
readonly CONNECTION_FAILED: "kv-store.error.connection_failed";
|
|
4
|
+
readonly NOT_INTEGER: "kv-store.error.not_integer";
|
|
5
5
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const MAILER_ERROR_KEYS: {
|
|
2
|
+
readonly SMTP_ALREADY_CONNECTED: "mailer.error.smtp.already_connected";
|
|
2
3
|
readonly SMTP_CONNECTION_ERROR: "mailer.error.smtp.connection_error";
|
|
3
4
|
readonly SMTP_NOT_CONNECTED: "mailer.error.smtp.not_connected";
|
|
4
|
-
readonly SMTP_ALREADY_CONNECTED: "mailer.error.smtp.already_connected";
|
|
5
5
|
};
|
|
File without changes
|
|
File without changes
|
package/dist/modules/repository/types/{adaptiveWhereClause.d.ts → adaptive-where-clause.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const TOTP_ERROR_KEYS: {
|
|
2
|
-
readonly INVALID_BASE32_CHARACTER: "totp.error.invalid_base32_character";
|
|
3
|
-
readonly INVALID_SECRET_LENGTH: "totp.error.invalid_secret_length";
|
|
4
2
|
readonly INVALID_ALGORITHM: "totp.error.invalid_algorithm";
|
|
3
|
+
readonly INVALID_BASE32_CHARACTER: "totp.error.invalid_base32_character";
|
|
5
4
|
readonly INVALID_OTP_AUTH_URI: "totp.error.invalid_otp_auth_uri";
|
|
5
|
+
readonly INVALID_SECRET_LENGTH: "totp.error.invalid_secret_length";
|
|
6
6
|
readonly MISSING_SECRET: "totp.error.missing_secret";
|
|
7
7
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|