@arken/node 1.5.1 → 1.5.3
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/.rush/temp/shrinkwrap-deps.json +39 -82
- package/build/api.js.map +1 -0
- package/build/array.js.map +1 -0
- package/build/browser.js.map +1 -0
- package/build/codebase.js.map +1 -0
- package/build/config.js.map +1 -0
- package/build/db.d.ts +41 -0
- package/build/db.js +234 -0
- package/build/db.js.map +1 -0
- package/build/{util/decoder.js → decoder.js} +3 -3
- package/build/decoder.js.map +1 -0
- package/build/format.js.map +1 -0
- package/build/guid.js.map +1 -0
- package/build/index.d.ts +70 -18
- package/build/index.js +216 -18
- package/build/index.js.map +1 -1
- package/build/json.js.map +1 -0
- package/build/legacy/data/items.js +1 -1
- package/build/legacy/data/items.js.map +1 -1
- package/build/log.d.ts +5 -0
- package/build/log.js +28 -0
- package/build/log.js.map +1 -0
- package/build/math.js.map +1 -0
- package/build/{util/merkle.js → merkle.js} +1 -1
- package/build/merkle.js.map +1 -0
- package/build/{util/mongo.js → mongo.js} +1 -1
- package/build/mongo.js.map +1 -0
- package/build/number.js.map +1 -0
- package/build/object.js.map +1 -0
- package/build/otp.js.map +1 -0
- package/build/package.json +3 -3
- package/build/physics.js.map +1 -0
- package/build/{util/process.js → process.js} +1 -1
- package/build/process.js.map +1 -0
- package/build/rpc.js.map +1 -0
- package/build/schema.d.ts +42 -51
- package/build/seer.js.map +1 -0
- package/build/string.js.map +1 -0
- package/build/text.js.map +1 -0
- package/build/time/date.js.map +1 -0
- package/build/time/fancyTimeFormat.js.map +1 -0
- package/build/time/index.js.map +1 -0
- package/build/time/now.js.map +1 -0
- package/build/trpc/socketLink.d.ts +62 -0
- package/build/trpc/socketLink.js +261 -0
- package/build/trpc/socketLink.js.map +1 -0
- package/build/trpc/socketServer.d.ts +15 -0
- package/build/trpc/socketServer.js +47 -0
- package/build/trpc/socketServer.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/util.d.ts +1 -0
- package/build/util.js +2 -0
- package/build/util.js.map +1 -0
- package/build/web3/httpProvider.js.map +1 -0
- package/build/{util/web3.js → web3.js} +1 -1
- package/build/web3.js.map +1 -0
- package/build/{util/websocket.js → websocket.js} +1 -1
- package/build/websocket.js.map +1 -0
- package/build/zk.js.map +1 -0
- package/build/{util/zod.d.ts → zod.d.ts} +2 -0
- package/build/{util/zod.js → zod.js} +1 -0
- package/build/zod.js.map +1 -0
- package/db.ts +76 -1
- package/{util/decoder.ts → decoder.ts} +3 -3
- package/index.ts +306 -18
- package/legacy/data/items.ts +1 -1
- package/log.ts +51 -0
- package/{util/merkle.ts → merkle.ts} +3 -1
- package/{util/mongo.ts → mongo.ts} +1 -1
- package/package.json +3 -3
- package/{util/process.ts → process.ts} +1 -1
- package/trpc/socketLink.ts +2 -2
- package/trpc/socketServer.ts +1 -1
- package/tsconfig.json +35 -6
- package/util.ts +1 -0
- package/{util/web3.ts → web3.ts} +2 -1
- package/{util/websocket.ts → websocket.ts} +1 -1
- package/{util/zod.ts → zod.ts} +2 -0
- package/build/modules/area/area.models.d.ts +0 -6
- package/build/modules/area/area.models.js +0 -11
- package/build/modules/area/area.models.js.map +0 -1
- package/build/modules/area/area.router.d.ts +0 -274
- package/build/modules/area/area.router.js +0 -59
- package/build/modules/area/area.router.js.map +0 -1
- package/build/modules/area/area.schema.d.ts +0 -245
- package/build/modules/area/area.schema.js +0 -13
- package/build/modules/area/area.schema.js.map +0 -1
- package/build/modules/area/area.service.d.ts +0 -12
- package/build/modules/area/area.service.js +0 -95
- package/build/modules/area/area.service.js.map +0 -1
- package/build/modules/area/area.types.d.ts +0 -20
- package/build/modules/area/area.types.js +0 -2
- package/build/modules/area/area.types.js.map +0 -1
- package/build/modules/area/index.d.ts +0 -5
- package/build/modules/area/index.js +0 -6
- package/build/modules/area/index.js.map +0 -1
- package/build/modules/asset/asset.models.d.ts +0 -5
- package/build/modules/asset/asset.models.js +0 -44
- package/build/modules/asset/asset.models.js.map +0 -1
- package/build/modules/asset/asset.router.d.ts +0 -189
- package/build/modules/asset/asset.router.js +0 -41
- package/build/modules/asset/asset.router.js.map +0 -1
- package/build/modules/asset/asset.schema.d.ts +0 -207
- package/build/modules/asset/asset.schema.js +0 -19
- package/build/modules/asset/asset.schema.js.map +0 -1
- package/build/modules/asset/asset.service.d.ts +0 -9
- package/build/modules/asset/asset.service.js +0 -68
- package/build/modules/asset/asset.service.js.map +0 -1
- package/build/modules/asset/asset.types.d.ts +0 -17
- package/build/modules/asset/asset.types.js +0 -2
- package/build/modules/asset/asset.types.js.map +0 -1
- package/build/modules/asset/index.d.ts +0 -5
- package/build/modules/asset/index.js +0 -6
- package/build/modules/asset/index.js.map +0 -1
- package/build/modules/chain/chain.models.d.ts +0 -6
- package/build/modules/chain/chain.models.js +0 -42
- package/build/modules/chain/chain.models.js.map +0 -1
- package/build/modules/chain/chain.router.d.ts +0 -364
- package/build/modules/chain/chain.router.js +0 -84
- package/build/modules/chain/chain.router.js.map +0 -1
- package/build/modules/chain/chain.schema.d.ts +0 -323
- package/build/modules/chain/chain.schema.js +0 -41
- package/build/modules/chain/chain.schema.js.map +0 -1
- package/build/modules/chain/chain.service.d.ts +0 -15
- package/build/modules/chain/chain.service.js +0 -115
- package/build/modules/chain/chain.service.js.map +0 -1
- package/build/modules/chain/chain.types.d.ts +0 -20
- package/build/modules/chain/chain.types.js +0 -2
- package/build/modules/chain/chain.types.js.map +0 -1
- package/build/modules/chain/index.d.ts +0 -5
- package/build/modules/chain/index.js +0 -6
- package/build/modules/chain/index.js.map +0 -1
- package/build/modules/character/character.models.d.ts +0 -14
- package/build/modules/character/character.models.js +0 -123
- package/build/modules/character/character.models.js.map +0 -1
- package/build/modules/character/character.router.d.ts +0 -945
- package/build/modules/character/character.router.js +0 -246
- package/build/modules/character/character.router.js.map +0 -1
- package/build/modules/character/character.schema.d.ts +0 -1239
- package/build/modules/character/character.schema.js +0 -67
- package/build/modules/character/character.schema.js.map +0 -1
- package/build/modules/character/character.service.d.ts +0 -73
- package/build/modules/character/character.service.js +0 -533
- package/build/modules/character/character.service.js.map +0 -1
- package/build/modules/character/character.types.d.ts +0 -48
- package/build/modules/character/character.types.js +0 -2
- package/build/modules/character/character.types.js.map +0 -1
- package/build/modules/character/index.d.ts +0 -5
- package/build/modules/character/index.js +0 -6
- package/build/modules/character/index.js.map +0 -1
- package/build/modules/chat/chat.models.d.ts +0 -4
- package/build/modules/chat/chat.models.js +0 -35
- package/build/modules/chat/chat.models.js.map +0 -1
- package/build/modules/chat/chat.router.d.ts +0 -223
- package/build/modules/chat/chat.router.js +0 -51
- package/build/modules/chat/chat.router.js.map +0 -1
- package/build/modules/chat/chat.schema.d.ts +0 -183
- package/build/modules/chat/chat.schema.js +0 -29
- package/build/modules/chat/chat.schema.js.map +0 -1
- package/build/modules/chat/chat.service.d.ts +0 -12
- package/build/modules/chat/chat.service.js +0 -85
- package/build/modules/chat/chat.service.js.map +0 -1
- package/build/modules/chat/chat.types.d.ts +0 -14
- package/build/modules/chat/chat.types.js +0 -2
- package/build/modules/chat/chat.types.js.map +0 -1
- package/build/modules/chat/index.d.ts +0 -5
- package/build/modules/chat/index.js +0 -6
- package/build/modules/chat/index.js.map +0 -1
- package/build/modules/collection/collection.models.d.ts +0 -9
- package/build/modules/collection/collection.models.js +0 -69
- package/build/modules/collection/collection.models.js.map +0 -1
- package/build/modules/collection/collection.router.d.ts +0 -361
- package/build/modules/collection/collection.router.js +0 -71
- package/build/modules/collection/collection.router.js.map +0 -1
- package/build/modules/collection/collection.schema.d.ts +0 -676
- package/build/modules/collection/collection.schema.js +0 -70
- package/build/modules/collection/collection.schema.js.map +0 -1
- package/build/modules/collection/collection.service.d.ts +0 -15
- package/build/modules/collection/collection.service.js +0 -117
- package/build/modules/collection/collection.service.js.map +0 -1
- package/build/modules/collection/collection.types.d.ts +0 -29
- package/build/modules/collection/collection.types.js +0 -2
- package/build/modules/collection/collection.types.js.map +0 -1
- package/build/modules/collection/index.d.ts +0 -5
- package/build/modules/collection/index.js +0 -6
- package/build/modules/collection/index.js.map +0 -1
- package/build/modules/core/core.models.d.ts +0 -123
- package/build/modules/core/core.models.js +0 -811
- package/build/modules/core/core.models.js.map +0 -1
- package/build/modules/core/core.router.d.ts +0 -5297
- package/build/modules/core/core.router.js +0 -1372
- package/build/modules/core/core.router.js.map +0 -1
- package/build/modules/core/core.schema.d.ts +0 -5918
- package/build/modules/core/core.schema.js +0 -519
- package/build/modules/core/core.schema.js.map +0 -1
- package/build/modules/core/core.service.d.ts +0 -270
- package/build/modules/core/core.service.js +0 -2515
- package/build/modules/core/core.service.js.map +0 -1
- package/build/modules/core/core.types.d.ts +0 -251
- package/build/modules/core/core.types.js +0 -2
- package/build/modules/core/core.types.js.map +0 -1
- package/build/modules/core/index.d.ts +0 -5
- package/build/modules/core/index.js +0 -6
- package/build/modules/core/index.js.map +0 -1
- package/build/modules/core/mail/applyPatchesOrMail.d.ts +0 -72
- package/build/modules/core/mail/applyPatchesOrMail.js +0 -416
- package/build/modules/core/mail/applyPatchesOrMail.js.map +0 -1
- package/build/modules/core/mail/mailClaimablePatchesBatch.d.ts +0 -51
- package/build/modules/core/mail/mailClaimablePatchesBatch.js +0 -239
- package/build/modules/core/mail/mailClaimablePatchesBatch.js.map +0 -1
- package/build/modules/game/game.models.d.ts +0 -6
- package/build/modules/game/game.models.js +0 -29
- package/build/modules/game/game.models.js.map +0 -1
- package/build/modules/game/game.router.d.ts +0 -428
- package/build/modules/game/game.router.js +0 -90
- package/build/modules/game/game.router.js.map +0 -1
- package/build/modules/game/game.schema.d.ts +0 -344
- package/build/modules/game/game.schema.js +0 -14
- package/build/modules/game/game.schema.js.map +0 -1
- package/build/modules/game/game.service.d.ts +0 -16
- package/build/modules/game/game.service.js +0 -111
- package/build/modules/game/game.service.js.map +0 -1
- package/build/modules/game/game.types.d.ts +0 -20
- package/build/modules/game/game.types.js +0 -2
- package/build/modules/game/game.types.js.map +0 -1
- package/build/modules/game/index.d.ts +0 -5
- package/build/modules/game/index.js +0 -5
- package/build/modules/game/index.js.map +0 -1
- package/build/modules/interface/index.d.ts +0 -5
- package/build/modules/interface/index.js +0 -6
- package/build/modules/interface/index.js.map +0 -1
- package/build/modules/interface/interface.canonicalize.d.ts +0 -2
- package/build/modules/interface/interface.canonicalize.js +0 -241
- package/build/modules/interface/interface.canonicalize.js.map +0 -1
- package/build/modules/interface/interface.models.d.ts +0 -6
- package/build/modules/interface/interface.models.js +0 -30
- package/build/modules/interface/interface.models.js.map +0 -1
- package/build/modules/interface/interface.router.d.ts +0 -472
- package/build/modules/interface/interface.router.js +0 -113
- package/build/modules/interface/interface.router.js.map +0 -1
- package/build/modules/interface/interface.schema.d.ts +0 -313
- package/build/modules/interface/interface.schema.js +0 -36
- package/build/modules/interface/interface.schema.js.map +0 -1
- package/build/modules/interface/interface.service.d.ts +0 -19
- package/build/modules/interface/interface.service.js +0 -168
- package/build/modules/interface/interface.service.js.map +0 -1
- package/build/modules/interface/interface.types.d.ts +0 -19
- package/build/modules/interface/interface.types.js +0 -2
- package/build/modules/interface/interface.types.js.map +0 -1
- package/build/modules/item/index.d.ts +0 -5
- package/build/modules/item/index.js +0 -6
- package/build/modules/item/index.js.map +0 -1
- package/build/modules/item/item.models.d.ts +0 -16
- package/build/modules/item/item.models.js +0 -101
- package/build/modules/item/item.models.js.map +0 -1
- package/build/modules/item/item.router.d.ts +0 -263
- package/build/modules/item/item.router.js +0 -70
- package/build/modules/item/item.router.js.map +0 -1
- package/build/modules/item/item.schema.d.ts +0 -778
- package/build/modules/item/item.schema.js +0 -56
- package/build/modules/item/item.schema.js.map +0 -1
- package/build/modules/item/item.service.d.ts +0 -13
- package/build/modules/item/item.service.js +0 -116
- package/build/modules/item/item.service.js.map +0 -1
- package/build/modules/item/item.types.d.ts +0 -55
- package/build/modules/item/item.types.js +0 -2
- package/build/modules/item/item.types.js.map +0 -1
- package/build/modules/job/index.d.ts +0 -5
- package/build/modules/job/index.js +0 -6
- package/build/modules/job/index.js.map +0 -1
- package/build/modules/job/job.models.d.ts +0 -3
- package/build/modules/job/job.models.js +0 -9
- package/build/modules/job/job.models.js.map +0 -1
- package/build/modules/job/job.router.d.ts +0 -146
- package/build/modules/job/job.router.js +0 -32
- package/build/modules/job/job.router.js.map +0 -1
- package/build/modules/job/job.schema.d.ts +0 -67
- package/build/modules/job/job.schema.js +0 -7
- package/build/modules/job/job.schema.js.map +0 -1
- package/build/modules/job/job.service.d.ts +0 -7
- package/build/modules/job/job.service.js +0 -144
- package/build/modules/job/job.service.js.map +0 -1
- package/build/modules/job/job.types.d.ts +0 -16
- package/build/modules/job/job.types.js +0 -2
- package/build/modules/job/job.types.js.map +0 -1
- package/build/modules/market/index.d.ts +0 -5
- package/build/modules/market/index.js +0 -6
- package/build/modules/market/index.js.map +0 -1
- package/build/modules/market/market.models.d.ts +0 -14
- package/build/modules/market/market.models.js +0 -98
- package/build/modules/market/market.models.js.map +0 -1
- package/build/modules/market/market.router.d.ts +0 -230
- package/build/modules/market/market.router.js +0 -56
- package/build/modules/market/market.router.js.map +0 -1
- package/build/modules/market/market.schema.d.ts +0 -949
- package/build/modules/market/market.schema.js +0 -101
- package/build/modules/market/market.schema.js.map +0 -1
- package/build/modules/market/market.service.d.ts +0 -12
- package/build/modules/market/market.service.js +0 -88
- package/build/modules/market/market.service.js.map +0 -1
- package/build/modules/market/market.types.d.ts +0 -49
- package/build/modules/market/market.types.js +0 -2
- package/build/modules/market/market.types.js.map +0 -1
- package/build/modules/product/index.d.ts +0 -5
- package/build/modules/product/index.js +0 -6
- package/build/modules/product/index.js.map +0 -1
- package/build/modules/product/product.models.d.ts +0 -4
- package/build/modules/product/product.models.js +0 -113
- package/build/modules/product/product.models.js.map +0 -1
- package/build/modules/product/product.router.d.ts +0 -447
- package/build/modules/product/product.router.js +0 -71
- package/build/modules/product/product.router.js.map +0 -1
- package/build/modules/product/product.schema.d.ts +0 -654
- package/build/modules/product/product.schema.js +0 -117
- package/build/modules/product/product.schema.js.map +0 -1
- package/build/modules/product/product.service.d.ts +0 -15
- package/build/modules/product/product.service.js +0 -115
- package/build/modules/product/product.service.js.map +0 -1
- package/build/modules/product/product.types.d.ts +0 -28
- package/build/modules/product/product.types.js +0 -2
- package/build/modules/product/product.types.js.map +0 -1
- package/build/modules/profile/index.d.ts +0 -5
- package/build/modules/profile/index.js +0 -6
- package/build/modules/profile/index.js.map +0 -1
- package/build/modules/profile/profile.models.d.ts +0 -2
- package/build/modules/profile/profile.models.js +0 -165
- package/build/modules/profile/profile.models.js.map +0 -1
- package/build/modules/profile/profile.router.d.ts +0 -163
- package/build/modules/profile/profile.router.js +0 -54
- package/build/modules/profile/profile.router.js.map +0 -1
- package/build/modules/profile/profile.schema.d.ts +0 -1
- package/build/modules/profile/profile.schema.js +0 -138
- package/build/modules/profile/profile.schema.js.map +0 -1
- package/build/modules/profile/profile.service.d.ts +0 -11
- package/build/modules/profile/profile.service.js +0 -120
- package/build/modules/profile/profile.service.js.map +0 -1
- package/build/modules/profile/profile.types.d.ts +0 -16
- package/build/modules/profile/profile.types.js +0 -2
- package/build/modules/profile/profile.types.js.map +0 -1
- package/build/modules/raffle/index.d.ts +0 -5
- package/build/modules/raffle/index.js +0 -6
- package/build/modules/raffle/index.js.map +0 -1
- package/build/modules/raffle/raffle.models.d.ts +0 -6
- package/build/modules/raffle/raffle.models.js +0 -36
- package/build/modules/raffle/raffle.models.js.map +0 -1
- package/build/modules/raffle/raffle.router.d.ts +0 -299
- package/build/modules/raffle/raffle.router.js +0 -71
- package/build/modules/raffle/raffle.router.js.map +0 -1
- package/build/modules/raffle/raffle.schema.d.ts +0 -265
- package/build/modules/raffle/raffle.schema.js +0 -21
- package/build/modules/raffle/raffle.schema.js.map +0 -1
- package/build/modules/raffle/raffle.service.d.ts +0 -15
- package/build/modules/raffle/raffle.service.js +0 -115
- package/build/modules/raffle/raffle.service.js.map +0 -1
- package/build/modules/raffle/raffle.types.d.ts +0 -25
- package/build/modules/raffle/raffle.types.js +0 -2
- package/build/modules/raffle/raffle.types.js.map +0 -1
- package/build/modules/skill/index.d.ts +0 -5
- package/build/modules/skill/index.js +0 -6
- package/build/modules/skill/index.js.map +0 -1
- package/build/modules/skill/skill.models.d.ts +0 -9
- package/build/modules/skill/skill.models.js +0 -9
- package/build/modules/skill/skill.models.js.map +0 -1
- package/build/modules/skill/skill.router.d.ts +0 -659
- package/build/modules/skill/skill.router.js +0 -152
- package/build/modules/skill/skill.router.js.map +0 -1
- package/build/modules/skill/skill.schema.d.ts +0 -548
- package/build/modules/skill/skill.schema.js +0 -26
- package/build/modules/skill/skill.schema.js.map +0 -1
- package/build/modules/skill/skill.service.d.ts +0 -32
- package/build/modules/skill/skill.service.js +0 -279
- package/build/modules/skill/skill.service.js.map +0 -1
- package/build/modules/skill/skill.types.d.ts +0 -29
- package/build/modules/skill/skill.types.js +0 -2
- package/build/modules/skill/skill.types.js.map +0 -1
- package/build/modules/video/index.d.ts +0 -5
- package/build/modules/video/index.js +0 -6
- package/build/modules/video/index.js.map +0 -1
- package/build/modules/video/video.models.d.ts +0 -7
- package/build/modules/video/video.models.js +0 -19
- package/build/modules/video/video.models.js.map +0 -1
- package/build/modules/video/video.router.d.ts +0 -563
- package/build/modules/video/video.router.js +0 -112
- package/build/modules/video/video.router.js.map +0 -1
- package/build/modules/video/video.schema.d.ts +0 -456
- package/build/modules/video/video.schema.js +0 -31
- package/build/modules/video/video.schema.js.map +0 -1
- package/build/modules/video/video.service.d.ts +0 -23
- package/build/modules/video/video.service.js +0 -197
- package/build/modules/video/video.service.js.map +0 -1
- package/build/modules/video/video.types.d.ts +0 -28
- package/build/modules/video/video.types.js +0 -2
- package/build/modules/video/video.types.js.map +0 -1
- package/build/router.d.ts +0 -10406
- package/build/router.js +0 -44
- package/build/router.js.map +0 -1
- package/build/types.d.ts +0 -164
- package/build/types.js +0 -19
- package/build/types.js.map +0 -1
- package/build/util/api.js.map +0 -1
- package/build/util/array.js.map +0 -1
- package/build/util/browser.js.map +0 -1
- package/build/util/codebase.js.map +0 -1
- package/build/util/config.js.map +0 -1
- package/build/util/db/index.d.ts +0 -5
- package/build/util/db/index.js +0 -7
- package/build/util/db/index.js.map +0 -1
- package/build/util/db/isPostgresError.d.ts +0 -2
- package/build/util/db/isPostgresError.js +0 -8
- package/build/util/db/isPostgresError.js.map +0 -1
- package/build/util/db/isUniqueConstraintViolation.d.ts +0 -2
- package/build/util/db/isUniqueConstraintViolation.js +0 -3
- package/build/util/db/isUniqueConstraintViolation.js.map +0 -1
- package/build/util/db.d.ts +0 -6
- package/build/util/db.js +0 -51
- package/build/util/db.js.map +0 -1
- package/build/util/decoder.js.map +0 -1
- package/build/util/decoder.test.d.ts +0 -1
- package/build/util/decoder.test.js +0 -7
- package/build/util/decoder.test.js.map +0 -1
- package/build/util/format.js.map +0 -1
- package/build/util/guid.js.map +0 -1
- package/build/util/index.d.ts +0 -74
- package/build/util/index.js +0 -239
- package/build/util/index.js.map +0 -1
- package/build/util/json.js.map +0 -1
- package/build/util/log.d.ts +0 -1
- package/build/util/log.js +0 -6
- package/build/util/log.js.map +0 -1
- package/build/util/math.js.map +0 -1
- package/build/util/merkle.js.map +0 -1
- package/build/util/mongo.js.map +0 -1
- package/build/util/number.js.map +0 -1
- package/build/util/object.js.map +0 -1
- package/build/util/otp.js.map +0 -1
- package/build/util/physics.js.map +0 -1
- package/build/util/process.js.map +0 -1
- package/build/util/rpc.js.map +0 -1
- package/build/util/seer.js.map +0 -1
- package/build/util/string.js.map +0 -1
- package/build/util/text.js.map +0 -1
- package/build/util/time/date.js.map +0 -1
- package/build/util/time/fancyTimeFormat.js.map +0 -1
- package/build/util/time/index.js.map +0 -1
- package/build/util/time/now.js.map +0 -1
- package/build/util/web3/httpProvider.js.map +0 -1
- package/build/util/web3.js.map +0 -1
- package/build/util/websocket.js.map +0 -1
- package/build/util/zk.js.map +0 -1
- package/build/util/zod.js.map +0 -1
- package/modules/area/area.models.ts +0 -15
- package/modules/area/area.router.ts +0 -74
- package/modules/area/area.schema.ts +0 -22
- package/modules/area/area.service.ts +0 -124
- package/modules/area/area.types.ts +0 -26
- package/modules/area/index.ts +0 -5
- package/modules/asset/asset.models.ts +0 -59
- package/modules/asset/asset.router.ts +0 -55
- package/modules/asset/asset.schema.ts +0 -27
- package/modules/asset/asset.service.ts +0 -85
- package/modules/asset/asset.types.ts +0 -22
- package/modules/asset/index.ts +0 -5
- package/modules/chain/chain.models.ts +0 -50
- package/modules/chain/chain.router.ts +0 -104
- package/modules/chain/chain.schema.ts +0 -52
- package/modules/chain/chain.service.ts +0 -167
- package/modules/chain/chain.types.ts +0 -24
- package/modules/chain/index.ts +0 -5
- package/modules/character/character.models.ts +0 -174
- package/modules/character/character.router.ts +0 -314
- package/modules/character/character.schema.ts +0 -147
- package/modules/character/character.service.ts +0 -876
- package/modules/character/character.types.ts +0 -64
- package/modules/character/index.ts +0 -5
- package/modules/chat/chat.models.ts +0 -43
- package/modules/chat/chat.router.ts +0 -67
- package/modules/chat/chat.schema.ts +0 -36
- package/modules/chat/chat.service.ts +0 -128
- package/modules/chat/chat.types.ts +0 -20
- package/modules/chat/index.ts +0 -5
- package/modules/collection/collection.models.ts +0 -76
- package/modules/collection/collection.router.ts +0 -91
- package/modules/collection/collection.schema.ts +0 -90
- package/modules/collection/collection.service.ts +0 -192
- package/modules/collection/collection.types.ts +0 -36
- package/modules/collection/index.ts +0 -5
- package/modules/core/core.models.ts +0 -1380
- package/modules/core/core.router.ts +0 -1781
- package/modules/core/core.schema.ts +0 -847
- package/modules/core/core.service.ts +0 -2824
- package/modules/core/core.types.ts +0 -340
- package/modules/core/index.ts +0 -5
- package/modules/core/mail/applyPatchesOrMail.ts +0 -568
- package/modules/core/mail/mailClaimablePatchesBatch.ts +0 -381
- package/modules/game/game.models.ts +0 -53
- package/modules/game/game.router.ts +0 -110
- package/modules/game/game.schema.ts +0 -23
- package/modules/game/game.service.ts +0 -143
- package/modules/game/game.types.ts +0 -28
- package/modules/game/index.ts +0 -5
- package/modules/interface/index.ts +0 -5
- package/modules/interface/interface.canonicalize.ts +0 -279
- package/modules/interface/interface.models.ts +0 -40
- package/modules/interface/interface.router.ts +0 -175
- package/modules/interface/interface.schema.ts +0 -59
- package/modules/interface/interface.service.ts +0 -356
- package/modules/interface/interface.types.ts +0 -25
- package/modules/item/index.ts +0 -5
- package/modules/item/item.models.ts +0 -124
- package/modules/item/item.router.ts +0 -103
- package/modules/item/item.schema.ts +0 -120
- package/modules/item/item.service.ts +0 -167
- package/modules/item/item.types.ts +0 -74
- package/modules/job/index.ts +0 -5
- package/modules/job/job.models.ts +0 -14
- package/modules/job/job.router.ts +0 -44
- package/modules/job/job.schema.ts +0 -9
- package/modules/job/job.service.ts +0 -243
- package/modules/job/job.types.ts +0 -23
- package/modules/market/index.ts +0 -5
- package/modules/market/market.models.ts +0 -113
- package/modules/market/market.router.ts +0 -73
- package/modules/market/market.schema.ts +0 -140
- package/modules/market/market.service.ts +0 -122
- package/modules/market/market.types.ts +0 -56
- package/modules/product/index.ts +0 -5
- package/modules/product/product.models.ts +0 -166
- package/modules/product/product.router.ts +0 -93
- package/modules/product/product.schema.ts +0 -149
- package/modules/product/product.service.ts +0 -160
- package/modules/product/product.types.ts +0 -33
- package/modules/profile/index.ts +0 -5
- package/modules/profile/profile.models.ts +0 -214
- package/modules/profile/profile.router.ts +0 -72
- package/modules/profile/profile.schema.ts +0 -156
- package/modules/profile/profile.service.ts +0 -149
- package/modules/profile/profile.types.ts +0 -22
- package/modules/raffle/index.ts +0 -5
- package/modules/raffle/raffle.models.ts +0 -44
- package/modules/raffle/raffle.router.ts +0 -90
- package/modules/raffle/raffle.schema.ts +0 -32
- package/modules/raffle/raffle.service.ts +0 -167
- package/modules/raffle/raffle.types.ts +0 -30
- package/modules/skill/index.ts +0 -5
- package/modules/skill/skill.models.ts +0 -16
- package/modules/skill/skill.router.ts +0 -201
- package/modules/skill/skill.schema.ts +0 -40
- package/modules/skill/skill.service.ts +0 -390
- package/modules/skill/skill.types.ts +0 -33
- package/modules/video/index.ts +0 -5
- package/modules/video/video.models.ts +0 -25
- package/modules/video/video.router.ts +0 -143
- package/modules/video/video.schema.ts +0 -46
- package/modules/video/video.service.ts +0 -274
- package/modules/video/video.types.ts +0 -33
- package/router.ts +0 -49
- package/types.ts +0 -183
- package/util/db/index.ts +0 -7
- package/util/db/isPostgresError.ts +0 -9
- package/util/db/isUniqueConstraintViolation.ts +0 -3
- package/util/db.ts +0 -62
- package/util/index.ts +0 -351
- package/util/log.ts +0 -5
- /package/{util/api.ts → api.ts} +0 -0
- /package/{util/array.ts → array.ts} +0 -0
- /package/{util/browser.ts → browser.ts} +0 -0
- /package/build/{util/api.d.ts → api.d.ts} +0 -0
- /package/build/{util/api.js → api.js} +0 -0
- /package/build/{util/array.d.ts → array.d.ts} +0 -0
- /package/build/{util/array.js → array.js} +0 -0
- /package/build/{util/browser.d.ts → browser.d.ts} +0 -0
- /package/build/{util/browser.js → browser.js} +0 -0
- /package/build/{util/codebase.d.ts → codebase.d.ts} +0 -0
- /package/build/{util/codebase.js → codebase.js} +0 -0
- /package/build/{util/config.d.ts → config.d.ts} +0 -0
- /package/build/{util/config.js → config.js} +0 -0
- /package/build/{util/decoder.d.ts → decoder.d.ts} +0 -0
- /package/build/{util/format.d.ts → format.d.ts} +0 -0
- /package/build/{util/format.js → format.js} +0 -0
- /package/build/{util/guid.d.ts → guid.d.ts} +0 -0
- /package/build/{util/guid.js → guid.js} +0 -0
- /package/build/{util/json.d.ts → json.d.ts} +0 -0
- /package/build/{util/json.js → json.js} +0 -0
- /package/build/{util/math.d.ts → math.d.ts} +0 -0
- /package/build/{util/math.js → math.js} +0 -0
- /package/build/{util/merkle.d.ts → merkle.d.ts} +0 -0
- /package/build/{util/mongo.d.ts → mongo.d.ts} +0 -0
- /package/build/{util/number.d.ts → number.d.ts} +0 -0
- /package/build/{util/number.js → number.js} +0 -0
- /package/build/{util/object.d.ts → object.d.ts} +0 -0
- /package/build/{util/object.js → object.js} +0 -0
- /package/build/{util/otp.d.ts → otp.d.ts} +0 -0
- /package/build/{util/otp.js → otp.js} +0 -0
- /package/build/{util/physics.d.ts → physics.d.ts} +0 -0
- /package/build/{util/physics.js → physics.js} +0 -0
- /package/build/{util/process.d.ts → process.d.ts} +0 -0
- /package/build/{util/rpc.d.ts → rpc.d.ts} +0 -0
- /package/build/{util/rpc.js → rpc.js} +0 -0
- /package/build/{util/seer.d.ts → seer.d.ts} +0 -0
- /package/build/{util/seer.js → seer.js} +0 -0
- /package/build/{util/string.d.ts → string.d.ts} +0 -0
- /package/build/{util/string.js → string.js} +0 -0
- /package/build/{util/text.d.ts → text.d.ts} +0 -0
- /package/build/{util/text.js → text.js} +0 -0
- /package/build/{util/time → time}/date.d.ts +0 -0
- /package/build/{util/time → time}/date.js +0 -0
- /package/build/{util/time → time}/fancyTimeFormat.d.ts +0 -0
- /package/build/{util/time → time}/fancyTimeFormat.js +0 -0
- /package/build/{util/time → time}/index.d.ts +0 -0
- /package/build/{util/time → time}/index.js +0 -0
- /package/build/{util/time → time}/now.d.ts +0 -0
- /package/build/{util/time → time}/now.js +0 -0
- /package/build/{util/web3 → web3}/httpProvider.d.ts +0 -0
- /package/build/{util/web3 → web3}/httpProvider.js +0 -0
- /package/build/{util/web3.d.ts → web3.d.ts} +0 -0
- /package/build/{util/websocket.d.ts → websocket.d.ts} +0 -0
- /package/build/{util/zk.d.ts → zk.d.ts} +0 -0
- /package/build/{util/zk.js → zk.js} +0 -0
- /package/{util/codebase.ts → codebase.ts} +0 -0
- /package/{util/config.ts → config.ts} +0 -0
- /package/{util/decoder.test.ts → decoder.test.ts} +0 -0
- /package/{util/format.ts → format.ts} +0 -0
- /package/{util/guid.ts → guid.ts} +0 -0
- /package/{util/json.ts → json.ts} +0 -0
- /package/{util/math.ts → math.ts} +0 -0
- /package/{util/number.ts → number.ts} +0 -0
- /package/{util/object.ts → object.ts} +0 -0
- /package/{util/otp.ts → otp.ts} +0 -0
- /package/{util/physics.ts → physics.ts} +0 -0
- /package/{util/rpc.ts → rpc.ts} +0 -0
- /package/{util/seer.ts → seer.ts} +0 -0
- /package/{util/string.ts → string.ts} +0 -0
- /package/{util/text.ts → text.ts} +0 -0
- /package/{util/time → time}/date.ts +0 -0
- /package/{util/time → time}/fancyTimeFormat.ts +0 -0
- /package/{util/time → time}/index.ts +0 -0
- /package/{util/time → time}/now.ts +0 -0
- /package/{util/types → types}/mongo.d.ts +0 -0
- /package/{util/web3 → web3}/httpProvider.ts +0 -0
- /package/{util/zk.ts → zk.ts} +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { z, ObjectId, Entity } from '../../schema';
|
|
2
|
-
export const CollectibleCollection = Entity.merge(z.object({
|
|
3
|
-
hype: z.number().optional(),
|
|
4
|
-
value: z.number().optional(),
|
|
5
|
-
}));
|
|
6
|
-
export const CollectibleCardBox = Entity.merge(z.object({
|
|
7
|
-
collectibleCollectionId: ObjectId,
|
|
8
|
-
franchise: z.string().min(1),
|
|
9
|
-
}));
|
|
10
|
-
export const CollectibleCardPack = Entity.merge(z.object({
|
|
11
|
-
collectibleCollectionId: ObjectId,
|
|
12
|
-
franchise: z.string().min(1),
|
|
13
|
-
ungraded: z.number().optional(),
|
|
14
|
-
grade10: z.number().optional(),
|
|
15
|
-
grade9: z.number().optional(),
|
|
16
|
-
grade8: z.number().optional(),
|
|
17
|
-
grade7: z.number().optional(),
|
|
18
|
-
grade6: z.number().optional(),
|
|
19
|
-
grade5: z.number().optional(),
|
|
20
|
-
grade4: z.number().optional(),
|
|
21
|
-
grade3: z.number().optional(),
|
|
22
|
-
grade2: z.number().optional(),
|
|
23
|
-
grade1: z.number().optional(),
|
|
24
|
-
additional: z.string().optional(),
|
|
25
|
-
code: z.string().optional(),
|
|
26
|
-
hype: z.number().optional(),
|
|
27
|
-
series: z.string().optional(),
|
|
28
|
-
category: z.string().optional(),
|
|
29
|
-
year: z.number().optional(),
|
|
30
|
-
}));
|
|
31
|
-
export const CollectibleCard = Entity.merge(z.object({
|
|
32
|
-
collectibleCollectionId: ObjectId,
|
|
33
|
-
franchise: z.string().min(1),
|
|
34
|
-
ungraded: z.number().optional(),
|
|
35
|
-
grade10: z.number().optional(),
|
|
36
|
-
grade9: z.number().optional(),
|
|
37
|
-
grade8: z.number().optional(),
|
|
38
|
-
grade7: z.number().optional(),
|
|
39
|
-
grade6: z.number().optional(),
|
|
40
|
-
grade5: z.number().optional(),
|
|
41
|
-
grade4: z.number().optional(),
|
|
42
|
-
grade3: z.number().optional(),
|
|
43
|
-
grade2: z.number().optional(),
|
|
44
|
-
grade1: z.number().optional(),
|
|
45
|
-
additional: z.string().optional(),
|
|
46
|
-
code: z.string().optional(),
|
|
47
|
-
hype: z.number().optional(),
|
|
48
|
-
series: z.string().optional(),
|
|
49
|
-
category: z.string().optional(),
|
|
50
|
-
year: z.number().optional(),
|
|
51
|
-
}));
|
|
52
|
-
export const Card = Entity.merge(z.object({
|
|
53
|
-
setId: ObjectId,
|
|
54
|
-
name: z.string(),
|
|
55
|
-
language: z.string(),
|
|
56
|
-
releaseDate: z.string(),
|
|
57
|
-
cardId: z.number(),
|
|
58
|
-
}));
|
|
59
|
-
export const Set = Entity.merge(z.object({
|
|
60
|
-
seriesId: ObjectId,
|
|
61
|
-
name: z.string(),
|
|
62
|
-
language: z.string(),
|
|
63
|
-
live: z.boolean(),
|
|
64
|
-
releaseDate: z.string(),
|
|
65
|
-
cards: z.array(Card).optional(),
|
|
66
|
-
}));
|
|
67
|
-
export const Series = Entity.merge(z.object({
|
|
68
|
-
name: z.string(),
|
|
69
|
-
}));
|
|
70
|
-
//# sourceMappingURL=collection.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection.schema.js","sourceRoot":"","sources":["../../../modules/collection/collection.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,KAAK,CA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ACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CACH,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { RouterInput, RouterOutput, RouterContext } from './collection.types';
|
|
2
|
-
export declare class Service {
|
|
3
|
-
getCollectibleCollection(input: RouterInput['getCollectibleCollection'], ctx: RouterContext): Promise<RouterOutput['getCollectibleCollection']>;
|
|
4
|
-
createCollectibleCollection(input: RouterInput['createCollectibleCollection'], ctx: RouterContext): Promise<RouterOutput['createCollectibleCollection']>;
|
|
5
|
-
updateCollectibleCollection(input: RouterInput['updateCollectibleCollection'], ctx: RouterContext): Promise<RouterOutput['updateCollectibleCollection']>;
|
|
6
|
-
getCollectibleCardBox(input: RouterInput['getCollectibleCardBox'], ctx: RouterContext): Promise<RouterOutput['getCollectibleCardBox']>;
|
|
7
|
-
createCollectibleCardBox(input: RouterInput['createCollectibleCardBox'], ctx: RouterContext): Promise<RouterOutput['createCollectibleCardBox']>;
|
|
8
|
-
updateCollectibleCardBox(input: RouterInput['updateCollectibleCardBox'], ctx: RouterContext): Promise<RouterOutput['updateCollectibleCardBox']>;
|
|
9
|
-
getCollectibleCardPack(input: RouterInput['getCollectibleCardPack'], ctx: RouterContext): Promise<RouterOutput['getCollectibleCardPack']>;
|
|
10
|
-
createCollectibleCardPack(input: RouterInput['createCollectibleCardPack'], ctx: RouterContext): Promise<RouterOutput['createCollectibleCardPack']>;
|
|
11
|
-
updateCollectibleCardPack(input: RouterInput['updateCollectibleCardPack'], ctx: RouterContext): Promise<RouterOutput['updateCollectibleCardPack']>;
|
|
12
|
-
getCollectibleCard(input: RouterInput['getCollectibleCard'], ctx: RouterContext): Promise<RouterOutput['getCollectibleCard']>;
|
|
13
|
-
createCollectibleCard(input: RouterInput['createCollectibleCard'], ctx: RouterContext): Promise<RouterOutput['createCollectibleCard']>;
|
|
14
|
-
updateCollectibleCard(input: RouterInput['updateCollectibleCard'], ctx: RouterContext): Promise<RouterOutput['updateCollectibleCard']>;
|
|
15
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export class Service {
|
|
2
|
-
async getCollectibleCollection(input, ctx) {
|
|
3
|
-
if (!input)
|
|
4
|
-
throw new Error('Input should not be void');
|
|
5
|
-
console.log('Collection.Service.getCollectibleCollection', input.collectibleCollectionId);
|
|
6
|
-
const collectibleCollection = await ctx.app.model.CollectibleCollection.findById(input.collectibleCollectionId)
|
|
7
|
-
.lean()
|
|
8
|
-
.exec();
|
|
9
|
-
if (!collectibleCollection)
|
|
10
|
-
throw new Error('CollectibleCollection not found');
|
|
11
|
-
return collectibleCollection;
|
|
12
|
-
}
|
|
13
|
-
async createCollectibleCollection(input, ctx) {
|
|
14
|
-
if (!input)
|
|
15
|
-
throw new Error('Input should not be void');
|
|
16
|
-
console.log('Collection.Service.createCollectibleCollection', input.name);
|
|
17
|
-
const collectibleCollection = await ctx.app.model.CollectibleCollection.create(input);
|
|
18
|
-
return collectibleCollection;
|
|
19
|
-
}
|
|
20
|
-
async updateCollectibleCollection(input, ctx) {
|
|
21
|
-
if (!input)
|
|
22
|
-
throw new Error('Input should not be void');
|
|
23
|
-
console.log('Collection.Service.updateCollectibleCollection', input.collectibleCollectionId, input.data);
|
|
24
|
-
const updatedCollectibleCollection = await ctx.app.model.CollectibleCollection.findByIdAndUpdate(input.collectibleCollectionId, input.data, { new: true })
|
|
25
|
-
.lean()
|
|
26
|
-
.exec();
|
|
27
|
-
if (!updatedCollectibleCollection)
|
|
28
|
-
throw new Error('CollectibleCollection update failed');
|
|
29
|
-
return updatedCollectibleCollection;
|
|
30
|
-
}
|
|
31
|
-
async getCollectibleCardBox(input, ctx) {
|
|
32
|
-
if (!input)
|
|
33
|
-
throw new Error('Input should not be void');
|
|
34
|
-
console.log('Collection.Service.getCollectibleCardBox', input.collectibleCardBoxId);
|
|
35
|
-
const collectibleCardBox = await ctx.app.model.CollectibleCardBox.findById(input.collectibleCardBoxId)
|
|
36
|
-
.lean()
|
|
37
|
-
.exec();
|
|
38
|
-
if (!collectibleCardBox)
|
|
39
|
-
throw new Error('CollectibleCardBox not found');
|
|
40
|
-
return collectibleCardBox;
|
|
41
|
-
}
|
|
42
|
-
async createCollectibleCardBox(input, ctx) {
|
|
43
|
-
if (!input)
|
|
44
|
-
throw new Error('Input should not be void');
|
|
45
|
-
console.log('Collection.Service.createCollectibleCardBox', input.name);
|
|
46
|
-
const collectibleCardBox = await ctx.app.model.CollectibleCardBox.create(input);
|
|
47
|
-
return collectibleCardBox;
|
|
48
|
-
}
|
|
49
|
-
async updateCollectibleCardBox(input, ctx) {
|
|
50
|
-
if (!input)
|
|
51
|
-
throw new Error('Input should not be void');
|
|
52
|
-
console.log('Collection.Service.updateCollectibleCardBox', input.collectibleCardBoxId, input.data);
|
|
53
|
-
const updatedCollectibleCardBox = await ctx.app.model.CollectibleCardBox.findByIdAndUpdate(input.collectibleCardBoxId, input.data, { new: true })
|
|
54
|
-
.lean()
|
|
55
|
-
.exec();
|
|
56
|
-
if (!updatedCollectibleCardBox)
|
|
57
|
-
throw new Error('CollectibleCardBox update failed');
|
|
58
|
-
return updatedCollectibleCardBox;
|
|
59
|
-
}
|
|
60
|
-
async getCollectibleCardPack(input, ctx) {
|
|
61
|
-
if (!input)
|
|
62
|
-
throw new Error('Input should not be void');
|
|
63
|
-
console.log('Collection.Service.getCollectibleCardPack', input.collectibleCardPackId);
|
|
64
|
-
const collectibleCardPack = await ctx.app.model.CollectibleCardPack.findById(input.collectibleCardPackId)
|
|
65
|
-
.lean()
|
|
66
|
-
.exec();
|
|
67
|
-
if (!collectibleCardPack)
|
|
68
|
-
throw new Error('CollectibleCardPack not found');
|
|
69
|
-
return collectibleCardPack;
|
|
70
|
-
}
|
|
71
|
-
async createCollectibleCardPack(input, ctx) {
|
|
72
|
-
if (!input)
|
|
73
|
-
throw new Error('Input should not be void');
|
|
74
|
-
console.log('Collection.Service.createCollectibleCardPack', input.name);
|
|
75
|
-
const collectibleCardPack = await ctx.app.model.CollectibleCardPack.create(input);
|
|
76
|
-
return collectibleCardPack;
|
|
77
|
-
}
|
|
78
|
-
async updateCollectibleCardPack(input, ctx) {
|
|
79
|
-
if (!input)
|
|
80
|
-
throw new Error('Input should not be void');
|
|
81
|
-
console.log('Collection.Service.updateCollectibleCardPack', input.collectibleCardPackId, input.data);
|
|
82
|
-
const updatedCollectibleCardPack = await ctx.app.model.CollectibleCardPack.findByIdAndUpdate(input.collectibleCardPackId, input.data, { new: true })
|
|
83
|
-
.lean()
|
|
84
|
-
.exec();
|
|
85
|
-
if (!updatedCollectibleCardPack)
|
|
86
|
-
throw new Error('CollectibleCardPack update failed');
|
|
87
|
-
return updatedCollectibleCardPack;
|
|
88
|
-
}
|
|
89
|
-
async getCollectibleCard(input, ctx) {
|
|
90
|
-
if (!input)
|
|
91
|
-
throw new Error('Input should not be void');
|
|
92
|
-
console.log('Collection.Service.getCollectibleCard', input.collectibleCardId);
|
|
93
|
-
const collectibleCard = await ctx.app.model.CollectibleCard.findById(input.collectibleCardId).lean().exec();
|
|
94
|
-
if (!collectibleCard)
|
|
95
|
-
throw new Error('CollectibleCard not found');
|
|
96
|
-
return collectibleCard;
|
|
97
|
-
}
|
|
98
|
-
async createCollectibleCard(input, ctx) {
|
|
99
|
-
if (!input)
|
|
100
|
-
throw new Error('Input should not be void');
|
|
101
|
-
console.log('Collection.Service.createCollectibleCard', input.name);
|
|
102
|
-
const collectibleCard = await ctx.app.model.CollectibleCard.create(input);
|
|
103
|
-
return collectibleCard;
|
|
104
|
-
}
|
|
105
|
-
async updateCollectibleCard(input, ctx) {
|
|
106
|
-
if (!input)
|
|
107
|
-
throw new Error('Input should not be void');
|
|
108
|
-
console.log('Collection.Service.updateCollectibleCard', input.collectibleCardId, input.data);
|
|
109
|
-
const updatedCollectibleCard = await ctx.app.model.CollectibleCard.findByIdAndUpdate(input.collectibleCardId, input.data, { new: true })
|
|
110
|
-
.lean()
|
|
111
|
-
.exec();
|
|
112
|
-
if (!updatedCollectibleCard)
|
|
113
|
-
throw new Error('CollectibleCard update failed');
|
|
114
|
-
return updatedCollectibleCard;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
//# sourceMappingURL=collection.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection.service.js","sourceRoot":"","sources":["../../../modules/collection/collection.service.ts"],"names":[],"mappings":"AAaA,MAAM,OAAO,OAAO;IAClB,KAAK,CAAC,wBAAwB,CAC5B,KAA8C,EAC9C,GAAkB;QAElB,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QACxD,OAAO,CAAC,GAAG,CAAC,6CAA6C,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAE1F,MAAM,qBAAqB,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,KAAK,CAAC,uBAAuB,CAAC;aAC5G,IAAI,EAAE;aACN,IAAI,EAAE,CAAC;QACV,IAAI,CAAC,qBAAqB;YAAE,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QAE/E,OAAO,qBAA8C,CAAC;IACxD,CAAC;IAED,KAAK,CAAC,2BAA2B,CAC/B,KAAiD,EACjD,GAAkB;QAElB,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QACxD,OAAO,CAAC,GAAG,CAAC,gDAAgD,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAE1E,MAAM,qBAAqB,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACtF,OAAO,qBAA8C,CAAC;IACxD,CAAC;IAED,KAAK,CAAC,2BAA2B,CAC/B,KAAiD,EACjD,GAAkB;QAElB,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QACxD,O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;QAEnE,OAAO,eAAkC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,qBAAqB,CACzB,KAA2C,EAC3C,GAAkB;QAElB,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QACxD,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAEpE,MAAM,eAAe,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1E,OAAO,eAAkC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,qBAAqB,CACzB,KAA2C,EAC3C,GAAkB;QAElB,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QACxD,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,KAAK,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAE7F,MAAM,sBAAsB,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,iBAAiB,CAClF,KAAK,CAAC,iBAAiB,EACvB,KAAK,CAAC,IAAI,EACV,EAAE,GAAG,EAAE,IAAI,EAAE,CACd;aACE,IAAI,EAAE;aACN,IAAI,EAAE,CAAC;QACV,IAAI,CAAC,sBAAsB;YAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QAE9E,OAAO,sBAAyC,CAAC;IACnD,CAAC;CACF"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import * as schema from './collection.schema';
|
|
3
|
-
import { Document, Model } from '../../util/mongo';
|
|
4
|
-
export type * from './collection.router';
|
|
5
|
-
export type * from './collection.service';
|
|
6
|
-
export type { RouterContext } from '../../types';
|
|
7
|
-
export type CollectibleCollection = z.infer<typeof schema.CollectibleCollection>;
|
|
8
|
-
export type CollectibleCardBox = z.infer<typeof schema.CollectibleCardBox>;
|
|
9
|
-
export type CollectibleCardPack = z.infer<typeof schema.CollectibleCardPack>;
|
|
10
|
-
export type CollectibleCard = z.infer<typeof schema.CollectibleCard>;
|
|
11
|
-
export type Card = z.infer<typeof schema.Card>;
|
|
12
|
-
export type Set = z.infer<typeof schema.Set>;
|
|
13
|
-
export type Series = z.infer<typeof schema.Series>;
|
|
14
|
-
export type CollectibleCollectionDocument = CollectibleCollection & Document;
|
|
15
|
-
export type CollectibleCardBoxDocument = CollectibleCardBox & Document;
|
|
16
|
-
export type CollectibleCardPackDocument = CollectibleCardPack & Document;
|
|
17
|
-
export type CollectibleCardDocument = CollectibleCard & Document;
|
|
18
|
-
export type CardDocument = Card & Document;
|
|
19
|
-
export type SetDocument = Set & Document;
|
|
20
|
-
export type SeriesDocument = Series & Document;
|
|
21
|
-
export type Mappings = {
|
|
22
|
-
CollectibleCollection: Model<CollectibleCollectionDocument>;
|
|
23
|
-
CollectibleCardBox: Model<CollectibleCardBoxDocument>;
|
|
24
|
-
CollectibleCardPack: Model<CollectibleCardPackDocument>;
|
|
25
|
-
CollectibleCard: Model<CollectibleCardDocument>;
|
|
26
|
-
Card: Model<CardDocument>;
|
|
27
|
-
Set: Model<SetDocument>;
|
|
28
|
-
Series: Model<SeriesDocument>;
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection.types.js","sourceRoot":"","sources":["../../../modules/collection/collection.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/collection/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import * as mongo from '../../util/mongo';
|
|
2
|
-
import type * as Types from './core.types';
|
|
3
|
-
export declare const MerkleTree: mongo.Model<any> | mongo.Model<Types.MerkleTreeDocument>;
|
|
4
|
-
export declare const MerkleNode: mongo.Model<any> | mongo.Model<Types.MerkleNodeDocument>;
|
|
5
|
-
export declare const Omniverse: mongo.Model<any> | mongo.Model<Types.OmniverseDocument>;
|
|
6
|
-
export declare const Metaverse: mongo.Model<any> | mongo.Model<Types.MetaverseDocument>;
|
|
7
|
-
export declare const Application: mongo.Model<any> | mongo.Model<Types.ApplicationDocument>;
|
|
8
|
-
export declare const Account: mongo.Model<any> | mongo.Model<Types.AccountDocument>;
|
|
9
|
-
export declare const Achievement: mongo.Model<any> | mongo.Model<Types.AchievementDocument>;
|
|
10
|
-
export declare const Act: mongo.Model<any> | mongo.Model<Types.ActDocument>;
|
|
11
|
-
export declare const Agent: mongo.Model<any> | mongo.Model<Types.AgentDocument>;
|
|
12
|
-
export declare const Badge: mongo.Model<any> | mongo.Model<Types.BadgeDocument>;
|
|
13
|
-
export declare const BattlePass: mongo.Model<any> | mongo.Model<Types.BattlePassDocument>;
|
|
14
|
-
export declare const Biome: mongo.Model<any> | mongo.Model<Types.BiomeDocument>;
|
|
15
|
-
export declare const BiomeFeature: mongo.Model<any> | mongo.Model<Types.BiomeFeatureDocument>;
|
|
16
|
-
export declare const Bounty: mongo.Model<any> | mongo.Model<Types.BountyDocument>;
|
|
17
|
-
export declare const Counter: mongo.Model<any> | mongo.Model<Types.CounterDocument>;
|
|
18
|
-
export declare const Collection: mongo.Model<any> | mongo.Model<Types.CollectionDocument>;
|
|
19
|
-
export declare const Comment: mongo.Model<any> | mongo.Model<Types.CommentDocument>;
|
|
20
|
-
export declare const Community: mongo.Model<any> | mongo.Model<Types.CommunityDocument>;
|
|
21
|
-
export declare const Company: mongo.Model<any> | mongo.Model<Types.CompanyDocument>;
|
|
22
|
-
export declare const Conversation: mongo.Model<any> | mongo.Model<Types.ConversationDocument>;
|
|
23
|
-
export declare const ConversationMessage: mongo.Model<any> | mongo.Model<Types.ConversationMessageDocument>;
|
|
24
|
-
export declare const Data: mongo.Model<any> | mongo.Model<Types.DataDocument>;
|
|
25
|
-
export declare const Meta: mongo.Model<any> | mongo.Model<Types.DataDocument>;
|
|
26
|
-
export declare const Discussion: mongo.Model<any> | mongo.Model<Types.DiscussionDocument>;
|
|
27
|
-
export declare const Energy: mongo.Model<any> | mongo.Model<Types.EnergyDocument>;
|
|
28
|
-
export declare const Event: mongo.Model<any> | mongo.Model<Types.EventDocument>;
|
|
29
|
-
export declare const File: mongo.Model<any> | mongo.Model<Types.FileDocument>;
|
|
30
|
-
export declare const Galaxy: mongo.Model<any> | mongo.Model<Types.GalaxyDocument>;
|
|
31
|
-
export declare const Guide: mongo.Model<any> | mongo.Model<Types.GuideDocument>;
|
|
32
|
-
export declare const Idea: mongo.Model<any> | mongo.Model<Types.IdeaDocument>;
|
|
33
|
-
export declare const Leaderboard: mongo.Model<any> | mongo.Model<Types.LeaderboardDocument>;
|
|
34
|
-
export declare const Log: mongo.Model<any> | mongo.Model<Types.LogDocument>;
|
|
35
|
-
export declare const Lore: mongo.Model<any> | mongo.Model<Types.LoreDocument>;
|
|
36
|
-
export declare const Market: mongo.Model<any> | mongo.Model<Types.MarketDocument>;
|
|
37
|
-
export declare const Memory: mongo.Model<any> | mongo.Model<Types.MemoryDocument>;
|
|
38
|
-
export declare const Message: mongo.Model<any> | mongo.Model<Types.MessageDocument>;
|
|
39
|
-
export declare const NewsArticle: mongo.Model<any> | mongo.Model<Types.NewsArticleDocument>;
|
|
40
|
-
export declare const Npc: mongo.Model<any> | mongo.Model<Types.NpcDocument>;
|
|
41
|
-
export declare const Offer: mongo.Model<any> | mongo.Model<Types.OfferDocument>;
|
|
42
|
-
export declare const Order: mongo.Model<any> | mongo.Model<Types.OrderDocument>;
|
|
43
|
-
export declare const Payment: mongo.Model<any> | mongo.Model<mongo.Document<unknown, {}, {
|
|
44
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
45
|
-
name?: string;
|
|
46
|
-
data?: any;
|
|
47
|
-
description?: string;
|
|
48
|
-
key?: string;
|
|
49
|
-
status?: "Archived" | "Processing" | "Failed" | "Submitted" | "Denied" | "Processed" | "Voided" | "Completed" | "Refunding" | "Refunded" | "Expired";
|
|
50
|
-
meta?: any;
|
|
51
|
-
merkleLeaf?: string;
|
|
52
|
-
merkleIndex?: number;
|
|
53
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
54
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
55
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
56
|
-
createdDate?: Date;
|
|
57
|
-
updatedDate?: Date;
|
|
58
|
-
deletedDate?: Date;
|
|
59
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
60
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
61
|
-
owner?: any;
|
|
62
|
-
}> & {
|
|
63
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
64
|
-
name?: string;
|
|
65
|
-
data?: any;
|
|
66
|
-
description?: string;
|
|
67
|
-
key?: string;
|
|
68
|
-
status?: "Archived" | "Processing" | "Failed" | "Submitted" | "Denied" | "Processed" | "Voided" | "Completed" | "Refunding" | "Refunded" | "Expired";
|
|
69
|
-
meta?: any;
|
|
70
|
-
merkleLeaf?: string;
|
|
71
|
-
merkleIndex?: number;
|
|
72
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
73
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
74
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
75
|
-
createdDate?: Date;
|
|
76
|
-
updatedDate?: Date;
|
|
77
|
-
deletedDate?: Date;
|
|
78
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
79
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
80
|
-
owner?: any;
|
|
81
|
-
} & {
|
|
82
|
-
_id: import("mongoose").Types.ObjectId;
|
|
83
|
-
}>;
|
|
84
|
-
export declare const Permission: mongo.Model<any> | mongo.Model<Types.PermissionDocument>;
|
|
85
|
-
export declare const Person: mongo.Model<any> | mongo.Model<Types.PersonDocument>;
|
|
86
|
-
export declare const Planet: mongo.Model<any> | mongo.Model<Types.PlanetDocument>;
|
|
87
|
-
export declare const Poll: mongo.Model<any> | mongo.Model<Types.PollDocument>;
|
|
88
|
-
export declare const Project: mongo.Model<any> | mongo.Model<Types.ProjectDocument>;
|
|
89
|
-
export declare const Proposal: mongo.Model<any> | mongo.Model<Types.ProposalDocument>;
|
|
90
|
-
export declare const Quest: mongo.Model<any> | mongo.Model<Types.QuestDocument>;
|
|
91
|
-
export declare const Question: mongo.Model<any> | mongo.Model<Types.QuestionDocument>;
|
|
92
|
-
export declare const Rating: mongo.Model<any> | mongo.Model<Types.RatingDocument>;
|
|
93
|
-
export declare const Realm: mongo.Model<any> | mongo.Model<Types.RealmDocument>;
|
|
94
|
-
export declare const RealmEvent: mongo.Model<any> | mongo.Model<Types.RealmEventDocument>;
|
|
95
|
-
export declare const RealmTrait: mongo.Model<any> | mongo.Model<Types.RealmTraitDocument>;
|
|
96
|
-
export declare const Referral: mongo.Model<any> | mongo.Model<Types.ReferralDocument>;
|
|
97
|
-
export declare const Review: mongo.Model<any> | mongo.Model<Types.ReviewDocument>;
|
|
98
|
-
export declare const Role: mongo.Model<any> | mongo.Model<Types.RoleDocument>;
|
|
99
|
-
export declare const Season: mongo.Model<any> | mongo.Model<Types.SeasonDocument>;
|
|
100
|
-
export declare const RealmShard: mongo.Model<any> | mongo.Model<Types.RealmShardDocument>;
|
|
101
|
-
export declare const Session: mongo.Model<any> | mongo.Model<Types.SessionDocument>;
|
|
102
|
-
export declare const SolarSystem: mongo.Model<any> | mongo.Model<Types.SolarSystemDocument>;
|
|
103
|
-
export declare const Star: mongo.Model<any> | mongo.Model<Types.StarDocument>;
|
|
104
|
-
export declare const Stat: mongo.Model<any> | mongo.Model<Types.StatDocument>;
|
|
105
|
-
export declare const Stash: mongo.Model<any> | mongo.Model<Types.StashDocument>;
|
|
106
|
-
export declare const Stock: mongo.Model<any> | mongo.Model<Types.StockDocument>;
|
|
107
|
-
export declare const Suggestion: mongo.Model<any> | mongo.Model<Types.SuggestionDocument>;
|
|
108
|
-
export declare const Tag: mongo.Model<any> | mongo.Model<Types.TagDocument>;
|
|
109
|
-
export declare const Team: mongo.Model<any> | mongo.Model<Types.TeamDocument>;
|
|
110
|
-
export declare const Tournament: mongo.Model<any> | mongo.Model<Types.TournamentDocument>;
|
|
111
|
-
export declare const Trade: mongo.Model<any> | mongo.Model<Types.TradeDocument>;
|
|
112
|
-
export declare const Universe: mongo.Model<any> | mongo.Model<Types.UniverseDocument>;
|
|
113
|
-
export declare const Validator: mongo.Model<any> | mongo.Model<Types.ValidatorDocument>;
|
|
114
|
-
export declare const Vote: mongo.Model<any> | mongo.Model<Types.VoteDocument>;
|
|
115
|
-
export declare const WorldEvent: mongo.Model<any> | mongo.Model<Types.WorldEventDocument>;
|
|
116
|
-
export declare const WorldRecord: mongo.Model<any> | mongo.Model<Types.WorldRecordDocument>;
|
|
117
|
-
export declare const Node: mongo.Model<any> | mongo.Model<Types.NodeDocument>;
|
|
118
|
-
export declare const Prefab: mongo.Model<any> | mongo.Model<Types.PrefabDocument>;
|
|
119
|
-
export declare const Object: mongo.Model<any> | mongo.Model<Types.ObjectDocument>;
|
|
120
|
-
export declare const ObjectInteraction: mongo.Model<any> | mongo.Model<Types.ObjectInteractionDocument>;
|
|
121
|
-
export declare const Party: mongo.Model<any> | mongo.Model<Types.PartyDocument>;
|
|
122
|
-
export declare const SeerEvent: mongo.Model<any> | mongo.Model<Types.SeerEventDocument>;
|
|
123
|
-
export declare const SeerPayload: mongo.Model<any> | mongo.Model<Types.SeerPayloadDocument>;
|