@openora/core 0.4.1-canary.36 → 0.4.1-canary.38
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/.tsbuildinfo +1 -1
- package/dist/admin-console/__tests__/backoffice.router.test.js +67 -51
- package/dist/admin-console/__tests__/backoffice.router.test.js.map +1 -1
- package/dist/admin-console/__tests__/backoffice.service.test.js +1 -13
- package/dist/admin-console/__tests__/backoffice.service.test.js.map +1 -1
- package/dist/analytics/__tests__/analytics.contract.test.d.ts +2 -0
- package/dist/analytics/__tests__/analytics.contract.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/analytics.contract.test.js +24 -0
- package/dist/analytics/__tests__/analytics.contract.test.js.map +1 -0
- package/dist/analytics/__tests__/analytics.router.test.d.ts +2 -0
- package/dist/analytics/__tests__/analytics.router.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/analytics.router.test.js +56 -0
- package/dist/analytics/__tests__/analytics.router.test.js.map +1 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.d.ts +2 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.js +87 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.js.map +1 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.d.ts +2 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.js +42 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.js.map +1 -0
- package/dist/analytics/contract/financial.d.ts +122 -0
- package/dist/analytics/contract/financial.d.ts.map +1 -0
- package/dist/analytics/contract/financial.js +47 -0
- package/dist/analytics/contract/financial.js.map +1 -0
- package/dist/analytics/contract/funnel.d.ts +52 -0
- package/dist/analytics/contract/funnel.d.ts.map +1 -0
- package/dist/analytics/contract/funnel.js +24 -0
- package/dist/analytics/contract/funnel.js.map +1 -0
- package/dist/analytics/contract/index.d.ts +68 -0
- package/dist/analytics/contract/index.d.ts.map +1 -0
- package/dist/analytics/contract/index.js +9 -0
- package/dist/analytics/contract/index.js.map +1 -0
- package/dist/analytics/index.d.ts +2 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +2 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/plugin.d.ts +3 -0
- package/dist/analytics/plugin.d.ts.map +1 -0
- package/dist/analytics/plugin.js +13 -0
- package/dist/analytics/plugin.js.map +1 -0
- package/dist/analytics/router/index.d.ts +69 -0
- package/dist/analytics/router/index.d.ts.map +1 -0
- package/dist/analytics/router/index.js +24 -0
- package/dist/analytics/router/index.js.map +1 -0
- package/dist/analytics/server.d.ts +5 -0
- package/dist/analytics/server.d.ts.map +1 -0
- package/dist/analytics/server.js +5 -0
- package/dist/analytics/server.js.map +1 -0
- package/dist/analytics/service/financial-analytics.service.d.ts +14 -0
- package/dist/analytics/service/financial-analytics.service.d.ts.map +1 -0
- package/dist/analytics/service/financial-analytics.service.js +148 -0
- package/dist/analytics/service/financial-analytics.service.js.map +1 -0
- package/dist/analytics/service/funnel-analytics.service.d.ts +11 -0
- package/dist/analytics/service/funnel-analytics.service.d.ts.map +1 -0
- package/dist/analytics/service/funnel-analytics.service.js +86 -0
- package/dist/analytics/service/funnel-analytics.service.js.map +1 -0
- package/dist/audit/__tests__/audit.service.test.js +128 -251
- package/dist/audit/__tests__/audit.service.test.js.map +1 -1
- package/dist/audit/service/audit.service.d.ts +2 -2
- package/dist/casino/gaming/__tests__/gaming.service.test.js +100 -59
- package/dist/casino/gaming/__tests__/gaming.service.test.js.map +1 -1
- package/dist/casino/gaming/contract/index.d.ts +3 -0
- package/dist/casino/gaming/contract/index.d.ts.map +1 -1
- package/dist/casino/gaming/contract/index.js +4 -0
- package/dist/casino/gaming/contract/index.js.map +1 -1
- package/dist/casino/gaming/plugin.d.ts.map +1 -1
- package/dist/casino/gaming/plugin.js +3 -2
- package/dist/casino/gaming/plugin.js.map +1 -1
- package/dist/casino/gaming/router/index.d.ts +1 -0
- package/dist/casino/gaming/router/index.d.ts.map +1 -1
- package/dist/casino/gaming/router/index.js +6 -2
- package/dist/casino/gaming/router/index.js.map +1 -1
- package/dist/casino/gaming/service/gaming.service.d.ts +5 -3
- package/dist/casino/gaming/service/gaming.service.d.ts.map +1 -1
- package/dist/casino/gaming/service/gaming.service.js +26 -12
- package/dist/casino/gaming/service/gaming.service.js.map +1 -1
- package/dist/casino/lobby/__tests__/lobby.cache.test.js +42 -33
- package/dist/casino/lobby/__tests__/lobby.cache.test.js.map +1 -1
- package/dist/cms/__tests__/cms.reads.test.js +59 -80
- package/dist/cms/__tests__/cms.reads.test.js.map +1 -1
- package/dist/cms/__tests__/cms.router.test.js +62 -20
- package/dist/cms/__tests__/cms.router.test.js.map +1 -1
- package/dist/cms/__tests__/cms.service.test.js +116 -14
- package/dist/cms/__tests__/cms.service.test.js.map +1 -1
- package/dist/common/errors/__tests__/errors.mapper.test.d.ts +2 -0
- package/dist/common/errors/__tests__/errors.mapper.test.d.ts.map +1 -0
- package/dist/common/errors/__tests__/errors.mapper.test.js +59 -0
- package/dist/common/errors/__tests__/errors.mapper.test.js.map +1 -0
- package/dist/compliance/__tests__/assert.test.d.ts +2 -0
- package/dist/compliance/__tests__/assert.test.d.ts.map +1 -0
- package/dist/compliance/__tests__/assert.test.js +34 -0
- package/dist/compliance/__tests__/assert.test.js.map +1 -0
- package/dist/compliance/__tests__/compliance.service.test.js +149 -84
- package/dist/compliance/__tests__/compliance.service.test.js.map +1 -1
- package/dist/compliance/__tests__/kyc.service.test.js +247 -155
- package/dist/compliance/__tests__/kyc.service.test.js.map +1 -1
- package/dist/compliance/__tests__/limits.contract.test.d.ts +2 -0
- package/dist/compliance/__tests__/limits.contract.test.d.ts.map +1 -0
- package/dist/compliance/__tests__/limits.contract.test.js +43 -0
- package/dist/compliance/__tests__/limits.contract.test.js.map +1 -0
- package/dist/compliance/__tests__/rg-monitoring.service.test.js +256 -101
- package/dist/compliance/__tests__/rg-monitoring.service.test.js.map +1 -1
- package/dist/compliance/__tests__/rg.contract.test.js +1 -20
- package/dist/compliance/__tests__/rg.contract.test.js.map +1 -1
- package/dist/compliance/__tests__/rg.router.test.js +113 -65
- package/dist/compliance/__tests__/rg.router.test.js.map +1 -1
- package/dist/compliance/__tests__/rg.service.test.js +277 -235
- package/dist/compliance/__tests__/rg.service.test.js.map +1 -1
- package/dist/compliance/service/rg-monitoring.service.d.ts.map +1 -1
- package/dist/compliance/service/rg-monitoring.service.js +11 -8
- package/dist/compliance/service/rg-monitoring.service.js.map +1 -1
- package/dist/contracts/__tests__/compose-contract.test.d.ts +2 -0
- package/dist/contracts/__tests__/compose-contract.test.d.ts.map +1 -0
- package/dist/contracts/__tests__/compose-contract.test.js +27 -0
- package/dist/contracts/__tests__/compose-contract.test.js.map +1 -0
- package/dist/contracts/adapters/__tests__/token.test.d.ts +2 -0
- package/dist/contracts/adapters/__tests__/token.test.d.ts.map +1 -0
- package/dist/contracts/adapters/__tests__/token.test.js +14 -0
- package/dist/contracts/adapters/__tests__/token.test.js.map +1 -0
- package/dist/contracts/schemas/__tests__/events.test.d.ts +2 -0
- package/dist/contracts/schemas/__tests__/events.test.d.ts.map +1 -0
- package/dist/contracts/schemas/__tests__/events.test.js +51 -0
- package/dist/contracts/schemas/__tests__/events.test.js.map +1 -0
- package/dist/contracts/schemas/__tests__/igaming-config.test.d.ts +2 -0
- package/dist/contracts/schemas/__tests__/igaming-config.test.d.ts.map +1 -0
- package/dist/contracts/schemas/__tests__/igaming-config.test.js +38 -0
- package/dist/contracts/schemas/__tests__/igaming-config.test.js.map +1 -0
- package/dist/contracts/schemas/index.d.ts +1 -0
- package/dist/contracts/schemas/index.d.ts.map +1 -1
- package/dist/contracts/schemas/index.js +1 -0
- package/dist/contracts/schemas/index.js.map +1 -1
- package/dist/contracts/schemas/reporting.d.ts +15 -0
- package/dist/contracts/schemas/reporting.d.ts.map +1 -0
- package/dist/contracts/schemas/reporting.js +12 -0
- package/dist/contracts/schemas/reporting.js.map +1 -0
- package/dist/engagement/chat/__tests__/chat.service.test.js +524 -364
- package/dist/engagement/chat/__tests__/chat.service.test.js.map +1 -1
- package/dist/engagement/notifications/__tests__/notifications.service.test.js +125 -68
- package/dist/engagement/notifications/__tests__/notifications.service.test.js.map +1 -1
- package/dist/iam/__tests__/iam.service.test.js +367 -596
- package/dist/iam/__tests__/iam.service.test.js.map +1 -1
- package/dist/iam/service/iam.service.d.ts +1 -1
- package/dist/pam/identity/__tests__/admin-user-directory.test.js +144 -68
- package/dist/pam/identity/__tests__/admin-user-directory.test.js.map +1 -1
- package/dist/pam/identity/__tests__/identity.rate-limit.test.js +33 -22
- package/dist/pam/identity/__tests__/identity.rate-limit.test.js.map +1 -1
- package/dist/pam/identity/__tests__/identity.service.test.js +217 -298
- package/dist/pam/identity/__tests__/identity.service.test.js.map +1 -1
- package/dist/pam/identity/__tests__/login-enforcement.service.test.js +97 -32
- package/dist/pam/identity/__tests__/login-enforcement.service.test.js.map +1 -1
- package/dist/pam/identity/__tests__/phone-login.service.test.js +163 -134
- package/dist/pam/identity/__tests__/phone-login.service.test.js.map +1 -1
- package/dist/pam/identity/__tests__/rg-guard.test.d.ts +2 -0
- package/dist/pam/identity/__tests__/rg-guard.test.d.ts.map +1 -0
- package/dist/pam/identity/__tests__/rg-guard.test.js +21 -0
- package/dist/pam/identity/__tests__/rg-guard.test.js.map +1 -0
- package/dist/pam/identity/drizzle/migrations/0005_daily_black_tom.sql +1 -0
- package/dist/pam/identity/drizzle/migrations/meta/0005_snapshot.json +695 -0
- package/dist/pam/identity/drizzle/migrations/meta/_journal.json +7 -0
- package/dist/pam/identity/schema/index.d.ts.map +1 -1
- package/dist/pam/identity/schema/index.js +4 -1
- package/dist/pam/identity/schema/index.js.map +1 -1
- package/dist/pam/player-management/__tests__/kyc-status-writer.test.js +73 -26
- package/dist/pam/player-management/__tests__/kyc-status-writer.test.js.map +1 -1
- package/dist/pam/player-management/__tests__/player.router.test.js +63 -46
- package/dist/pam/player-management/__tests__/player.router.test.js.map +1 -1
- package/dist/pam/player-management/__tests__/player.service.test.js +207 -111
- package/dist/pam/player-management/__tests__/player.service.test.js.map +1 -1
- package/dist/pam/profile/__tests__/profile.service.test.js +89 -41
- package/dist/pam/profile/__tests__/profile.service.test.js.map +1 -1
- package/dist/pam/shared/__tests__/shared-mappers.test.d.ts +2 -0
- package/dist/pam/shared/__tests__/shared-mappers.test.d.ts.map +1 -0
- package/dist/pam/shared/__tests__/shared-mappers.test.js +55 -0
- package/dist/pam/shared/__tests__/shared-mappers.test.js.map +1 -0
- package/dist/pam/tag/__tests__/get-active-tag-keys.test.js +72 -30
- package/dist/pam/tag/__tests__/get-active-tag-keys.test.js.map +1 -1
- package/dist/pam/tag/__tests__/tag-evaluation.service.test.js +308 -235
- package/dist/pam/tag/__tests__/tag-evaluation.service.test.js.map +1 -1
- package/dist/pam/tag/__tests__/tag-rule.service.test.js +136 -140
- package/dist/pam/tag/__tests__/tag-rule.service.test.js.map +1 -1
- package/dist/pam/tag/__tests__/tag.router.test.js +76 -25
- package/dist/pam/tag/__tests__/tag.router.test.js.map +1 -1
- package/dist/pam/tag/__tests__/tag.service.test.js +224 -247
- package/dist/pam/tag/__tests__/tag.service.test.js.map +1 -1
- package/dist/server/auth/__tests__/admin-guard.test.js +107 -117
- package/dist/server/auth/__tests__/admin-guard.test.js.map +1 -1
- package/dist/server/auth/__tests__/permission-levels.test.d.ts +2 -0
- package/dist/server/auth/__tests__/permission-levels.test.d.ts.map +1 -0
- package/dist/server/auth/__tests__/permission-levels.test.js +89 -0
- package/dist/server/auth/__tests__/permission-levels.test.js.map +1 -0
- package/dist/server/auth/__tests__/session-resolver.test.js +45 -13
- package/dist/server/auth/__tests__/session-resolver.test.js.map +1 -1
- package/dist/server/db/__tests__/query-helpers.test.js +72 -1
- package/dist/server/db/__tests__/query-helpers.test.js.map +1 -1
- package/dist/server/db/outbox/__tests__/relay.test.js +74 -81
- package/dist/server/db/outbox/__tests__/relay.test.js.map +1 -1
- package/dist/server/kernel/__tests__/bullmq-job-queue.test.js +204 -154
- package/dist/server/kernel/__tests__/bullmq-job-queue.test.js.map +1 -1
- package/dist/server/kernel/__tests__/cache.test.js +26 -13
- package/dist/server/kernel/__tests__/cache.test.js.map +1 -1
- package/dist/server/kernel/__tests__/domain-error.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/domain-error.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/domain-error.test.js +35 -0
- package/dist/server/kernel/__tests__/domain-error.test.js.map +1 -0
- package/dist/server/kernel/__tests__/error-reporter.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/error-reporter.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/error-reporter.test.js +52 -0
- package/dist/server/kernel/__tests__/error-reporter.test.js.map +1 -0
- package/dist/server/kernel/__tests__/event-bus.test.js +60 -20
- package/dist/server/kernel/__tests__/event-bus.test.js.map +1 -1
- package/dist/server/kernel/__tests__/orpc-error-map.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/orpc-error-map.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/orpc-error-map.test.js +54 -0
- package/dist/server/kernel/__tests__/orpc-error-map.test.js.map +1 -0
- package/dist/server/kernel/__tests__/platform-config-loader.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/platform-config-loader.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/platform-config-loader.test.js +112 -0
- package/dist/server/kernel/__tests__/platform-config-loader.test.js.map +1 -0
- package/dist/server/kernel/__tests__/rate-limiter.test.js +22 -13
- package/dist/server/kernel/__tests__/rate-limiter.test.js.map +1 -1
- package/dist/server/kernel/__tests__/realtime-transport.test.d.ts.map +1 -0
- package/dist/{testing/fakes → server/kernel}/__tests__/realtime-transport.test.js.map +1 -1
- package/dist/server/kernel/__tests__/redis-cache.test.js +34 -34
- package/dist/server/kernel/__tests__/redis-cache.test.js.map +1 -1
- package/dist/server/kernel/__tests__/redis-rate-limiter.test.js +49 -44
- package/dist/server/kernel/__tests__/redis-rate-limiter.test.js.map +1 -1
- package/dist/server/kernel/__tests__/redis-streams-broker.test.js +141 -262
- package/dist/server/kernel/__tests__/redis-streams-broker.test.js.map +1 -1
- package/dist/server/kernel/__tests__/request-context.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/request-context.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/request-context.test.js +64 -0
- package/dist/server/kernel/__tests__/request-context.test.js.map +1 -0
- package/dist/server/kernel/__tests__/router-utils.test.d.ts +2 -0
- package/dist/server/kernel/__tests__/router-utils.test.d.ts.map +1 -0
- package/dist/server/kernel/__tests__/router-utils.test.js +80 -0
- package/dist/server/kernel/__tests__/router-utils.test.js.map +1 -0
- package/dist/server/kernel/bullmq-job-queue.d.ts.map +1 -1
- package/dist/server/kernel/bullmq-job-queue.js +8 -2
- package/dist/server/kernel/bullmq-job-queue.js.map +1 -1
- package/dist/server/plugin-host/core-plugins.d.ts.map +1 -1
- package/dist/server/plugin-host/core-plugins.js +1 -0
- package/dist/server/plugin-host/core-plugins.js.map +1 -1
- package/dist/server/runtime/__tests__/create-app.test.js +26 -18
- package/dist/server/runtime/__tests__/create-app.test.js.map +1 -1
- package/dist/testing/index.d.ts +2 -6
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +2 -10
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/mock.d.ts +28 -16
- package/dist/testing/mock.d.ts.map +1 -1
- package/dist/testing/mock.js +58 -37
- package/dist/testing/mock.js.map +1 -1
- package/dist/testing/real-infra.d.ts +47 -0
- package/dist/testing/real-infra.d.ts.map +1 -0
- package/dist/testing/real-infra.js +122 -0
- package/dist/testing/real-infra.js.map +1 -0
- package/dist/wallet/__tests__/admin-reporting.test.js +201 -90
- package/dist/wallet/__tests__/admin-reporting.test.js.map +1 -1
- package/dist/wallet/__tests__/rail-for.test.d.ts +2 -0
- package/dist/wallet/__tests__/rail-for.test.d.ts.map +1 -0
- package/dist/wallet/__tests__/rail-for.test.js +22 -0
- package/dist/wallet/__tests__/rail-for.test.js.map +1 -0
- package/dist/wallet/__tests__/wallet-auto-rule.router.test.js +82 -63
- package/dist/wallet/__tests__/wallet-auto-rule.router.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-auto-withdrawal.test.js +414 -437
- package/dist/wallet/__tests__/wallet-auto-withdrawal.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-commands.service.test.js +116 -155
- package/dist/wallet/__tests__/wallet-commands.service.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-kyc-gate.test.js +63 -42
- package/dist/wallet/__tests__/wallet-kyc-gate.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-webhook.router.test.js +129 -51
- package/dist/wallet/__tests__/wallet-webhook.router.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.rate-limit.test.js +74 -21
- package/dist/wallet/__tests__/wallet.rate-limit.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.router.test.js +56 -36
- package/dist/wallet/__tests__/wallet.router.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.service.test.js +623 -887
- package/dist/wallet/__tests__/wallet.service.test.js.map +1 -1
- package/dist/wallet/drizzle/migrations/0003_certain_ogun.sql +2 -0
- package/dist/wallet/drizzle/migrations/meta/0003_snapshot.json +567 -0
- package/dist/wallet/drizzle/migrations/meta/_journal.json +7 -0
- package/dist/wallet/schema/index.d.ts.map +1 -1
- package/dist/wallet/schema/index.js +2 -0
- package/dist/wallet/schema/index.js.map +1 -1
- package/package.json +21 -2
- package/dist/casino/lobby/__tests__/lobby.service.test.d.ts +0 -2
- package/dist/casino/lobby/__tests__/lobby.service.test.d.ts.map +0 -1
- package/dist/casino/lobby/__tests__/lobby.service.test.js +0 -11
- package/dist/casino/lobby/__tests__/lobby.service.test.js.map +0 -1
- package/dist/contracts/schemas/__tests__/identity-schemas.test.d.ts +0 -2
- package/dist/contracts/schemas/__tests__/identity-schemas.test.d.ts.map +0 -1
- package/dist/contracts/schemas/__tests__/identity-schemas.test.js +0 -43
- package/dist/contracts/schemas/__tests__/identity-schemas.test.js.map +0 -1
- package/dist/testing/fakes/__tests__/cache.test.d.ts +0 -2
- package/dist/testing/fakes/__tests__/cache.test.d.ts.map +0 -1
- package/dist/testing/fakes/__tests__/cache.test.js +0 -89
- package/dist/testing/fakes/__tests__/cache.test.js.map +0 -1
- package/dist/testing/fakes/__tests__/job-queue.test.d.ts +0 -2
- package/dist/testing/fakes/__tests__/job-queue.test.d.ts.map +0 -1
- package/dist/testing/fakes/__tests__/job-queue.test.js +0 -135
- package/dist/testing/fakes/__tests__/job-queue.test.js.map +0 -1
- package/dist/testing/fakes/__tests__/rate-limiter.test.d.ts +0 -2
- package/dist/testing/fakes/__tests__/rate-limiter.test.d.ts.map +0 -1
- package/dist/testing/fakes/__tests__/rate-limiter.test.js +0 -83
- package/dist/testing/fakes/__tests__/rate-limiter.test.js.map +0 -1
- package/dist/testing/fakes/__tests__/realtime-authorizer.test.d.ts +0 -2
- package/dist/testing/fakes/__tests__/realtime-authorizer.test.d.ts.map +0 -1
- package/dist/testing/fakes/__tests__/realtime-authorizer.test.js +0 -19
- package/dist/testing/fakes/__tests__/realtime-authorizer.test.js.map +0 -1
- package/dist/testing/fakes/__tests__/realtime-transport.test.d.ts.map +0 -1
- package/dist/testing/fakes/cache.d.ts +0 -14
- package/dist/testing/fakes/cache.d.ts.map +0 -1
- package/dist/testing/fakes/cache.js +0 -56
- package/dist/testing/fakes/cache.js.map +0 -1
- package/dist/testing/fakes/event-bus.d.ts +0 -17
- package/dist/testing/fakes/event-bus.d.ts.map +0 -1
- package/dist/testing/fakes/event-bus.js +0 -30
- package/dist/testing/fakes/event-bus.js.map +0 -1
- package/dist/testing/fakes/job-queue.d.ts +0 -40
- package/dist/testing/fakes/job-queue.d.ts.map +0 -1
- package/dist/testing/fakes/job-queue.js +0 -200
- package/dist/testing/fakes/job-queue.js.map +0 -1
- package/dist/testing/fakes/rate-limiter.d.ts +0 -11
- package/dist/testing/fakes/rate-limiter.d.ts.map +0 -1
- package/dist/testing/fakes/rate-limiter.js +0 -39
- package/dist/testing/fakes/rate-limiter.js.map +0 -1
- package/dist/testing/fakes/realtime-authorizer.d.ts +0 -10
- package/dist/testing/fakes/realtime-authorizer.d.ts.map +0 -1
- package/dist/testing/fakes/realtime-authorizer.js +0 -10
- package/dist/testing/fakes/realtime-authorizer.js.map +0 -1
- package/dist/testing/fakes/realtime-transport.d.ts +0 -2
- package/dist/testing/fakes/realtime-transport.d.ts.map +0 -1
- package/dist/testing/fakes/realtime-transport.js +0 -2
- package/dist/testing/fakes/realtime-transport.js.map +0 -1
- /package/dist/{testing/fakes → server/kernel}/__tests__/realtime-transport.test.d.ts +0 -0
- /package/dist/{testing/fakes → server/kernel}/__tests__/realtime-transport.test.js +0 -0
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dc212a38-53e8-4ed3-9b0b-4e6eb50d9477",
|
|
3
|
+
"prevId": "726e1ddb-ace9-4680-8f91-9708c79b80d5",
|
|
4
|
+
"version": "7",
|
|
5
|
+
"dialect": "postgresql",
|
|
6
|
+
"tables": {
|
|
7
|
+
"public.auto_withdrawal_rule": {
|
|
8
|
+
"name": "auto_withdrawal_rule",
|
|
9
|
+
"schema": "",
|
|
10
|
+
"columns": {
|
|
11
|
+
"id": {
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "uuid",
|
|
14
|
+
"primaryKey": true,
|
|
15
|
+
"notNull": true,
|
|
16
|
+
"default": "gen_random_uuid()"
|
|
17
|
+
},
|
|
18
|
+
"user_id": {
|
|
19
|
+
"name": "user_id",
|
|
20
|
+
"type": "uuid",
|
|
21
|
+
"primaryKey": false,
|
|
22
|
+
"notNull": true
|
|
23
|
+
},
|
|
24
|
+
"threshold": {
|
|
25
|
+
"name": "threshold",
|
|
26
|
+
"type": "numeric(18, 8)",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true
|
|
29
|
+
},
|
|
30
|
+
"reason": {
|
|
31
|
+
"name": "reason",
|
|
32
|
+
"type": "text",
|
|
33
|
+
"primaryKey": false,
|
|
34
|
+
"notNull": true
|
|
35
|
+
},
|
|
36
|
+
"created_by": {
|
|
37
|
+
"name": "created_by",
|
|
38
|
+
"type": "uuid",
|
|
39
|
+
"primaryKey": false,
|
|
40
|
+
"notNull": true
|
|
41
|
+
},
|
|
42
|
+
"created_at": {
|
|
43
|
+
"name": "created_at",
|
|
44
|
+
"type": "timestamp with time zone",
|
|
45
|
+
"primaryKey": false,
|
|
46
|
+
"notNull": true,
|
|
47
|
+
"default": "now()"
|
|
48
|
+
},
|
|
49
|
+
"updated_at": {
|
|
50
|
+
"name": "updated_at",
|
|
51
|
+
"type": "timestamp with time zone",
|
|
52
|
+
"primaryKey": false,
|
|
53
|
+
"notNull": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"indexes": {},
|
|
57
|
+
"foreignKeys": {},
|
|
58
|
+
"compositePrimaryKeys": {},
|
|
59
|
+
"uniqueConstraints": {
|
|
60
|
+
"auto_withdrawal_rule_user_id_unique": {
|
|
61
|
+
"name": "auto_withdrawal_rule_user_id_unique",
|
|
62
|
+
"nullsNotDistinct": false,
|
|
63
|
+
"columns": ["user_id"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"policies": {},
|
|
67
|
+
"checkConstraints": {},
|
|
68
|
+
"isRLSEnabled": false
|
|
69
|
+
},
|
|
70
|
+
"public.wallet": {
|
|
71
|
+
"name": "wallet",
|
|
72
|
+
"schema": "",
|
|
73
|
+
"columns": {
|
|
74
|
+
"id": {
|
|
75
|
+
"name": "id",
|
|
76
|
+
"type": "uuid",
|
|
77
|
+
"primaryKey": true,
|
|
78
|
+
"notNull": true,
|
|
79
|
+
"default": "gen_random_uuid()"
|
|
80
|
+
},
|
|
81
|
+
"user_id": {
|
|
82
|
+
"name": "user_id",
|
|
83
|
+
"type": "uuid",
|
|
84
|
+
"primaryKey": false,
|
|
85
|
+
"notNull": true
|
|
86
|
+
},
|
|
87
|
+
"balance": {
|
|
88
|
+
"name": "balance",
|
|
89
|
+
"type": "numeric(18, 8)",
|
|
90
|
+
"primaryKey": false,
|
|
91
|
+
"notNull": true,
|
|
92
|
+
"default": "'0'"
|
|
93
|
+
},
|
|
94
|
+
"currency": {
|
|
95
|
+
"name": "currency",
|
|
96
|
+
"type": "text",
|
|
97
|
+
"primaryKey": false,
|
|
98
|
+
"notNull": true,
|
|
99
|
+
"default": "'USD'"
|
|
100
|
+
},
|
|
101
|
+
"updated_at": {
|
|
102
|
+
"name": "updated_at",
|
|
103
|
+
"type": "timestamp with time zone",
|
|
104
|
+
"primaryKey": false,
|
|
105
|
+
"notNull": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"indexes": {},
|
|
109
|
+
"foreignKeys": {},
|
|
110
|
+
"compositePrimaryKeys": {},
|
|
111
|
+
"uniqueConstraints": {
|
|
112
|
+
"wallet_user_id_unique": {
|
|
113
|
+
"name": "wallet_user_id_unique",
|
|
114
|
+
"nullsNotDistinct": false,
|
|
115
|
+
"columns": ["user_id"]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"policies": {},
|
|
119
|
+
"checkConstraints": {},
|
|
120
|
+
"isRLSEnabled": false
|
|
121
|
+
},
|
|
122
|
+
"public.wallet_deposit_address": {
|
|
123
|
+
"name": "wallet_deposit_address",
|
|
124
|
+
"schema": "",
|
|
125
|
+
"columns": {
|
|
126
|
+
"id": {
|
|
127
|
+
"name": "id",
|
|
128
|
+
"type": "uuid",
|
|
129
|
+
"primaryKey": true,
|
|
130
|
+
"notNull": true,
|
|
131
|
+
"default": "gen_random_uuid()"
|
|
132
|
+
},
|
|
133
|
+
"user_id": {
|
|
134
|
+
"name": "user_id",
|
|
135
|
+
"type": "uuid",
|
|
136
|
+
"primaryKey": false,
|
|
137
|
+
"notNull": true
|
|
138
|
+
},
|
|
139
|
+
"currency": {
|
|
140
|
+
"name": "currency",
|
|
141
|
+
"type": "text",
|
|
142
|
+
"primaryKey": false,
|
|
143
|
+
"notNull": true
|
|
144
|
+
},
|
|
145
|
+
"address": {
|
|
146
|
+
"name": "address",
|
|
147
|
+
"type": "text",
|
|
148
|
+
"primaryKey": false,
|
|
149
|
+
"notNull": true
|
|
150
|
+
},
|
|
151
|
+
"provider_name": {
|
|
152
|
+
"name": "provider_name",
|
|
153
|
+
"type": "text",
|
|
154
|
+
"primaryKey": false,
|
|
155
|
+
"notNull": true
|
|
156
|
+
},
|
|
157
|
+
"created_at": {
|
|
158
|
+
"name": "created_at",
|
|
159
|
+
"type": "timestamp with time zone",
|
|
160
|
+
"primaryKey": false,
|
|
161
|
+
"notNull": true,
|
|
162
|
+
"default": "now()"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"indexes": {
|
|
166
|
+
"wallet_deposit_address_user_id_currency_idx": {
|
|
167
|
+
"name": "wallet_deposit_address_user_id_currency_idx",
|
|
168
|
+
"columns": [
|
|
169
|
+
{
|
|
170
|
+
"expression": "user_id",
|
|
171
|
+
"isExpression": false,
|
|
172
|
+
"asc": true,
|
|
173
|
+
"nulls": "last"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"expression": "currency",
|
|
177
|
+
"isExpression": false,
|
|
178
|
+
"asc": true,
|
|
179
|
+
"nulls": "last"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"isUnique": true,
|
|
183
|
+
"concurrently": false,
|
|
184
|
+
"method": "btree",
|
|
185
|
+
"with": {}
|
|
186
|
+
},
|
|
187
|
+
"wallet_deposit_address_address_idx": {
|
|
188
|
+
"name": "wallet_deposit_address_address_idx",
|
|
189
|
+
"columns": [
|
|
190
|
+
{
|
|
191
|
+
"expression": "address",
|
|
192
|
+
"isExpression": false,
|
|
193
|
+
"asc": true,
|
|
194
|
+
"nulls": "last"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"isUnique": false,
|
|
198
|
+
"concurrently": false,
|
|
199
|
+
"method": "btree",
|
|
200
|
+
"with": {}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"foreignKeys": {},
|
|
204
|
+
"compositePrimaryKeys": {},
|
|
205
|
+
"uniqueConstraints": {},
|
|
206
|
+
"policies": {},
|
|
207
|
+
"checkConstraints": {},
|
|
208
|
+
"isRLSEnabled": false
|
|
209
|
+
},
|
|
210
|
+
"public.wallet_transaction": {
|
|
211
|
+
"name": "wallet_transaction",
|
|
212
|
+
"schema": "",
|
|
213
|
+
"columns": {
|
|
214
|
+
"id": {
|
|
215
|
+
"name": "id",
|
|
216
|
+
"type": "uuid",
|
|
217
|
+
"primaryKey": true,
|
|
218
|
+
"notNull": true,
|
|
219
|
+
"default": "gen_random_uuid()"
|
|
220
|
+
},
|
|
221
|
+
"wallet_id": {
|
|
222
|
+
"name": "wallet_id",
|
|
223
|
+
"type": "uuid",
|
|
224
|
+
"primaryKey": false,
|
|
225
|
+
"notNull": true
|
|
226
|
+
},
|
|
227
|
+
"type": {
|
|
228
|
+
"name": "type",
|
|
229
|
+
"type": "wallet_transaction_type",
|
|
230
|
+
"typeSchema": "public",
|
|
231
|
+
"primaryKey": false,
|
|
232
|
+
"notNull": true
|
|
233
|
+
},
|
|
234
|
+
"amount": {
|
|
235
|
+
"name": "amount",
|
|
236
|
+
"type": "numeric(18, 8)",
|
|
237
|
+
"primaryKey": false,
|
|
238
|
+
"notNull": true
|
|
239
|
+
},
|
|
240
|
+
"currency": {
|
|
241
|
+
"name": "currency",
|
|
242
|
+
"type": "text",
|
|
243
|
+
"primaryKey": false,
|
|
244
|
+
"notNull": true
|
|
245
|
+
},
|
|
246
|
+
"status": {
|
|
247
|
+
"name": "status",
|
|
248
|
+
"type": "wallet_transaction_status",
|
|
249
|
+
"typeSchema": "public",
|
|
250
|
+
"primaryKey": false,
|
|
251
|
+
"notNull": true,
|
|
252
|
+
"default": "'pending'"
|
|
253
|
+
},
|
|
254
|
+
"rail": {
|
|
255
|
+
"name": "rail",
|
|
256
|
+
"type": "wallet_rail",
|
|
257
|
+
"typeSchema": "public",
|
|
258
|
+
"primaryKey": false,
|
|
259
|
+
"notNull": false
|
|
260
|
+
},
|
|
261
|
+
"reviewed_by": {
|
|
262
|
+
"name": "reviewed_by",
|
|
263
|
+
"type": "uuid",
|
|
264
|
+
"primaryKey": false,
|
|
265
|
+
"notNull": false
|
|
266
|
+
},
|
|
267
|
+
"reviewed_at": {
|
|
268
|
+
"name": "reviewed_at",
|
|
269
|
+
"type": "timestamp with time zone",
|
|
270
|
+
"primaryKey": false,
|
|
271
|
+
"notNull": false
|
|
272
|
+
},
|
|
273
|
+
"review_reason": {
|
|
274
|
+
"name": "review_reason",
|
|
275
|
+
"type": "text",
|
|
276
|
+
"primaryKey": false,
|
|
277
|
+
"notNull": false
|
|
278
|
+
},
|
|
279
|
+
"provider_name": {
|
|
280
|
+
"name": "provider_name",
|
|
281
|
+
"type": "text",
|
|
282
|
+
"primaryKey": false,
|
|
283
|
+
"notNull": false
|
|
284
|
+
},
|
|
285
|
+
"provider_ref_id": {
|
|
286
|
+
"name": "provider_ref_id",
|
|
287
|
+
"type": "text",
|
|
288
|
+
"primaryKey": false,
|
|
289
|
+
"notNull": false
|
|
290
|
+
},
|
|
291
|
+
"destination_address": {
|
|
292
|
+
"name": "destination_address",
|
|
293
|
+
"type": "text",
|
|
294
|
+
"primaryKey": false,
|
|
295
|
+
"notNull": false
|
|
296
|
+
},
|
|
297
|
+
"tx_hash": {
|
|
298
|
+
"name": "tx_hash",
|
|
299
|
+
"type": "text",
|
|
300
|
+
"primaryKey": false,
|
|
301
|
+
"notNull": false
|
|
302
|
+
},
|
|
303
|
+
"metadata": {
|
|
304
|
+
"name": "metadata",
|
|
305
|
+
"type": "text",
|
|
306
|
+
"primaryKey": false,
|
|
307
|
+
"notNull": false
|
|
308
|
+
},
|
|
309
|
+
"idempotency_key": {
|
|
310
|
+
"name": "idempotency_key",
|
|
311
|
+
"type": "uuid",
|
|
312
|
+
"primaryKey": false,
|
|
313
|
+
"notNull": false
|
|
314
|
+
},
|
|
315
|
+
"created_at": {
|
|
316
|
+
"name": "created_at",
|
|
317
|
+
"type": "timestamp with time zone",
|
|
318
|
+
"primaryKey": false,
|
|
319
|
+
"notNull": true,
|
|
320
|
+
"default": "now()"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"indexes": {
|
|
324
|
+
"wallet_transaction_wallet_id_idx": {
|
|
325
|
+
"name": "wallet_transaction_wallet_id_idx",
|
|
326
|
+
"columns": [
|
|
327
|
+
{
|
|
328
|
+
"expression": "wallet_id",
|
|
329
|
+
"isExpression": false,
|
|
330
|
+
"asc": true,
|
|
331
|
+
"nulls": "last"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"isUnique": false,
|
|
335
|
+
"concurrently": false,
|
|
336
|
+
"method": "btree",
|
|
337
|
+
"with": {}
|
|
338
|
+
},
|
|
339
|
+
"wallet_transaction_created_at_idx": {
|
|
340
|
+
"name": "wallet_transaction_created_at_idx",
|
|
341
|
+
"columns": [
|
|
342
|
+
{
|
|
343
|
+
"expression": "created_at",
|
|
344
|
+
"isExpression": false,
|
|
345
|
+
"asc": true,
|
|
346
|
+
"nulls": "last"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"isUnique": false,
|
|
350
|
+
"concurrently": false,
|
|
351
|
+
"method": "btree",
|
|
352
|
+
"with": {}
|
|
353
|
+
},
|
|
354
|
+
"wallet_transaction_type_idx": {
|
|
355
|
+
"name": "wallet_transaction_type_idx",
|
|
356
|
+
"columns": [
|
|
357
|
+
{
|
|
358
|
+
"expression": "type",
|
|
359
|
+
"isExpression": false,
|
|
360
|
+
"asc": true,
|
|
361
|
+
"nulls": "last"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"isUnique": false,
|
|
365
|
+
"concurrently": false,
|
|
366
|
+
"method": "btree",
|
|
367
|
+
"with": {}
|
|
368
|
+
},
|
|
369
|
+
"wallet_transaction_status_idx": {
|
|
370
|
+
"name": "wallet_transaction_status_idx",
|
|
371
|
+
"columns": [
|
|
372
|
+
{
|
|
373
|
+
"expression": "status",
|
|
374
|
+
"isExpression": false,
|
|
375
|
+
"asc": true,
|
|
376
|
+
"nulls": "last"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"isUnique": false,
|
|
380
|
+
"concurrently": false,
|
|
381
|
+
"method": "btree",
|
|
382
|
+
"with": {}
|
|
383
|
+
},
|
|
384
|
+
"wallet_transaction_rail_idx": {
|
|
385
|
+
"name": "wallet_transaction_rail_idx",
|
|
386
|
+
"columns": [
|
|
387
|
+
{
|
|
388
|
+
"expression": "rail",
|
|
389
|
+
"isExpression": false,
|
|
390
|
+
"asc": true,
|
|
391
|
+
"nulls": "last"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"isUnique": false,
|
|
395
|
+
"concurrently": false,
|
|
396
|
+
"method": "btree",
|
|
397
|
+
"with": {}
|
|
398
|
+
},
|
|
399
|
+
"wallet_transaction_currency_idx": {
|
|
400
|
+
"name": "wallet_transaction_currency_idx",
|
|
401
|
+
"columns": [
|
|
402
|
+
{
|
|
403
|
+
"expression": "currency",
|
|
404
|
+
"isExpression": false,
|
|
405
|
+
"asc": true,
|
|
406
|
+
"nulls": "last"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"isUnique": false,
|
|
410
|
+
"concurrently": false,
|
|
411
|
+
"method": "btree",
|
|
412
|
+
"with": {}
|
|
413
|
+
},
|
|
414
|
+
"wallet_transaction_tx_hash_idx": {
|
|
415
|
+
"name": "wallet_transaction_tx_hash_idx",
|
|
416
|
+
"columns": [
|
|
417
|
+
{
|
|
418
|
+
"expression": "tx_hash",
|
|
419
|
+
"isExpression": false,
|
|
420
|
+
"asc": true,
|
|
421
|
+
"nulls": "last"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"isUnique": false,
|
|
425
|
+
"concurrently": false,
|
|
426
|
+
"method": "btree",
|
|
427
|
+
"with": {}
|
|
428
|
+
},
|
|
429
|
+
"wallet_transaction_status_type_created_at_idx": {
|
|
430
|
+
"name": "wallet_transaction_status_type_created_at_idx",
|
|
431
|
+
"columns": [
|
|
432
|
+
{
|
|
433
|
+
"expression": "status",
|
|
434
|
+
"isExpression": false,
|
|
435
|
+
"asc": true,
|
|
436
|
+
"nulls": "last"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"expression": "type",
|
|
440
|
+
"isExpression": false,
|
|
441
|
+
"asc": true,
|
|
442
|
+
"nulls": "last"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"expression": "created_at",
|
|
446
|
+
"isExpression": false,
|
|
447
|
+
"asc": true,
|
|
448
|
+
"nulls": "last"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"isUnique": false,
|
|
452
|
+
"concurrently": false,
|
|
453
|
+
"method": "btree",
|
|
454
|
+
"with": {}
|
|
455
|
+
},
|
|
456
|
+
"wallet_transaction_wallet_id_type_status_idx": {
|
|
457
|
+
"name": "wallet_transaction_wallet_id_type_status_idx",
|
|
458
|
+
"columns": [
|
|
459
|
+
{
|
|
460
|
+
"expression": "wallet_id",
|
|
461
|
+
"isExpression": false,
|
|
462
|
+
"asc": true,
|
|
463
|
+
"nulls": "last"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"expression": "type",
|
|
467
|
+
"isExpression": false,
|
|
468
|
+
"asc": true,
|
|
469
|
+
"nulls": "last"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"expression": "status",
|
|
473
|
+
"isExpression": false,
|
|
474
|
+
"asc": true,
|
|
475
|
+
"nulls": "last"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"isUnique": false,
|
|
479
|
+
"concurrently": false,
|
|
480
|
+
"method": "btree",
|
|
481
|
+
"with": {}
|
|
482
|
+
},
|
|
483
|
+
"wallet_transaction_provider_ref_id_idx": {
|
|
484
|
+
"name": "wallet_transaction_provider_ref_id_idx",
|
|
485
|
+
"columns": [
|
|
486
|
+
{
|
|
487
|
+
"expression": "provider_ref_id",
|
|
488
|
+
"isExpression": false,
|
|
489
|
+
"asc": true,
|
|
490
|
+
"nulls": "last"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"isUnique": true,
|
|
494
|
+
"where": "\"wallet_transaction\".\"provider_ref_id\" IS NOT NULL",
|
|
495
|
+
"concurrently": false,
|
|
496
|
+
"method": "btree",
|
|
497
|
+
"with": {}
|
|
498
|
+
},
|
|
499
|
+
"wallet_transaction_wallet_id_idempotency_key_idx": {
|
|
500
|
+
"name": "wallet_transaction_wallet_id_idempotency_key_idx",
|
|
501
|
+
"columns": [
|
|
502
|
+
{
|
|
503
|
+
"expression": "wallet_id",
|
|
504
|
+
"isExpression": false,
|
|
505
|
+
"asc": true,
|
|
506
|
+
"nulls": "last"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"expression": "idempotency_key",
|
|
510
|
+
"isExpression": false,
|
|
511
|
+
"asc": true,
|
|
512
|
+
"nulls": "last"
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"isUnique": true,
|
|
516
|
+
"where": "\"wallet_transaction\".\"idempotency_key\" IS NOT NULL",
|
|
517
|
+
"concurrently": false,
|
|
518
|
+
"method": "btree",
|
|
519
|
+
"with": {}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"foreignKeys": {
|
|
523
|
+
"wallet_transaction_wallet_id_wallet_id_fk": {
|
|
524
|
+
"name": "wallet_transaction_wallet_id_wallet_id_fk",
|
|
525
|
+
"tableFrom": "wallet_transaction",
|
|
526
|
+
"tableTo": "wallet",
|
|
527
|
+
"columnsFrom": ["wallet_id"],
|
|
528
|
+
"columnsTo": ["id"],
|
|
529
|
+
"onDelete": "no action",
|
|
530
|
+
"onUpdate": "no action"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"compositePrimaryKeys": {},
|
|
534
|
+
"uniqueConstraints": {},
|
|
535
|
+
"policies": {},
|
|
536
|
+
"checkConstraints": {},
|
|
537
|
+
"isRLSEnabled": false
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"enums": {
|
|
541
|
+
"public.wallet_rail": {
|
|
542
|
+
"name": "wallet_rail",
|
|
543
|
+
"schema": "public",
|
|
544
|
+
"values": ["crypto", "fiat"]
|
|
545
|
+
},
|
|
546
|
+
"public.wallet_transaction_status": {
|
|
547
|
+
"name": "wallet_transaction_status",
|
|
548
|
+
"schema": "public",
|
|
549
|
+
"values": ["pending", "processing", "completed", "failed", "rejected", "on_hold", "cancelled"]
|
|
550
|
+
},
|
|
551
|
+
"public.wallet_transaction_type": {
|
|
552
|
+
"name": "wallet_transaction_type",
|
|
553
|
+
"schema": "public",
|
|
554
|
+
"values": ["deposit", "withdrawal", "bet", "win", "loss", "bonus", "tip"]
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"schemas": {},
|
|
558
|
+
"sequences": {},
|
|
559
|
+
"roles": {},
|
|
560
|
+
"policies": {},
|
|
561
|
+
"views": {},
|
|
562
|
+
"_meta": {
|
|
563
|
+
"columns": {},
|
|
564
|
+
"schemas": {},
|
|
565
|
+
"tables": {}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/schema/index.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB,uGAGrC,CAAC;AAEF,eAAO,MAAM,2BAA2B,4HAGvC,CAAC;AAEF,eAAO,MAAM,cAAc,0DAAsC,CAAC;AAElE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAchC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,YAAY,CAAC;AAChD,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,YAAY,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,YAAY,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,YAAY,CAAC"}
|
|
@@ -55,6 +55,8 @@ export const walletTransaction = pgTable('wallet_transaction', {
|
|
|
55
55
|
index('wallet_transaction_rail_idx').on(t.rail),
|
|
56
56
|
index('wallet_transaction_currency_idx').on(t.currency),
|
|
57
57
|
index('wallet_transaction_tx_hash_idx').on(t.txHash),
|
|
58
|
+
index('wallet_transaction_status_type_created_at_idx').on(t.status, t.type, t.createdAt),
|
|
59
|
+
index('wallet_transaction_wallet_id_type_status_idx').on(t.walletId, t.type, t.status),
|
|
58
60
|
uniqueIndex('wallet_transaction_provider_ref_id_idx')
|
|
59
61
|
.on(t.providerRefId)
|
|
60
62
|
.where(sql `${t.providerRefId} IS NOT NULL`),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/wallet/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EACL,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,SAAS,EACT,MAAM,EACN,KAAK,EACL,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,2BAA2B,EAC3B,wBAAwB,GAGzB,MAAM,yBAAy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AI,EAAE,CAAC,OAAO,EAAE;IACxB,QAAQ,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1B,OAAO,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE;IACzB,YAAY,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE;IAC9B,SAAS,EAAE,SAAS,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE;CACpE,EACD,CAAC,CAAC,EAAE,EAAE,CAAC;IACL,WAAW,CAAC,6CAA6C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC;IACnF,KAAK,CAAC,oCAAoC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;CAC1D,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openora/core",
|
|
3
|
-
"version": "0.4.1-canary.
|
|
3
|
+
"version": "0.4.1-canary.38",
|
|
4
4
|
"description": "Open-source, headless, plugin-based, AI-native iGaming framework - domain modules, plugin engine, Zod-first contracts, typed React SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-native",
|
|
@@ -99,6 +99,21 @@
|
|
|
99
99
|
"import": "./dist/admin-console/contract/index.js",
|
|
100
100
|
"default": "./dist/admin-console/contract/index.js"
|
|
101
101
|
},
|
|
102
|
+
"./analytics": {
|
|
103
|
+
"types": "./dist/analytics/index.d.ts",
|
|
104
|
+
"import": "./dist/analytics/index.js",
|
|
105
|
+
"default": "./dist/analytics/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./analytics/plugin": {
|
|
108
|
+
"types": "./dist/analytics/plugin.d.ts",
|
|
109
|
+
"import": "./dist/analytics/plugin.js",
|
|
110
|
+
"default": "./dist/analytics/plugin.js"
|
|
111
|
+
},
|
|
112
|
+
"./analytics/contract": {
|
|
113
|
+
"types": "./dist/analytics/contract/index.d.ts",
|
|
114
|
+
"import": "./dist/analytics/contract/index.js",
|
|
115
|
+
"default": "./dist/analytics/contract/index.js"
|
|
116
|
+
},
|
|
102
117
|
"./audit": {
|
|
103
118
|
"types": "./dist/audit/index.d.ts",
|
|
104
119
|
"import": "./dist/audit/index.js",
|
|
@@ -504,6 +519,11 @@
|
|
|
504
519
|
"import": "./dist/admin-console/server.js",
|
|
505
520
|
"default": "./dist/admin-console/server.js"
|
|
506
521
|
},
|
|
522
|
+
"./analytics/server": {
|
|
523
|
+
"types": "./dist/analytics/server.d.ts",
|
|
524
|
+
"import": "./dist/analytics/server.js",
|
|
525
|
+
"default": "./dist/analytics/server.js"
|
|
526
|
+
},
|
|
507
527
|
"./pam/tag/seed": {
|
|
508
528
|
"types": "./dist/pam/tag/seed/index.d.ts",
|
|
509
529
|
"import": "./dist/pam/tag/seed/index.js",
|
|
@@ -606,7 +626,6 @@
|
|
|
606
626
|
"check:types": "tsc --noEmit",
|
|
607
627
|
"clean": "rm -rf dist",
|
|
608
628
|
"test:unit": "vitest run --passWithNoTests",
|
|
609
|
-
"test:integration": "vitest run --passWithNoTests",
|
|
610
629
|
"gen:drizzle": "node scripts/generate-all.mjs"
|
|
611
630
|
}
|
|
612
631
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lobby.service.test.d.ts","sourceRoot":"","sources":["../../../../src/casino/lobby/__tests__/lobby.service.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { LobbyCategoryNotFoundError } from '../service/lobby.service.js';
|
|
3
|
-
describe('LobbyService domain errors', () => {
|
|
4
|
-
it('LobbyCategoryNotFoundError carries the slug', () => {
|
|
5
|
-
const err = new LobbyCategoryNotFoundError('slots');
|
|
6
|
-
expect(err).toBeInstanceOf(Error);
|
|
7
|
-
expect(err.name).toBe('LobbyCategoryNotFoundError');
|
|
8
|
-
expect(err.message).toContain('slots');
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=lobby.service.test.js.map
|