@arken/node 1.5.2 → 1.5.4
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 -298
- 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 +67 -18
- package/build/index.js +213 -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 +4 -17
- 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.d.ts → web3.d.ts} +7 -10
- package/build/{util/web3.js → web3.js} +10 -12
- 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/decoder.ts +3 -3
- package/index.ts +5 -50
- package/legacy/data/items.ts +1 -1
- package/log.ts +47 -1
- package/merkle.ts +3 -1
- package/mongo.ts +1 -1
- package/package.json +2 -15
- package/process.ts +1 -1
- package/trpc/socketLink.ts +2 -2
- package/trpc/socketServer.ts +1 -1
- package/tsconfig.json +2 -4
- package/web3.ts +18 -16
- package/websocket.ts +1 -1
- package/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/router.ts +0 -49
- package/types.ts +0 -183
- /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/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
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
export declare const GameStat: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
2
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3
|
-
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
-
applicationId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
7
|
-
ownerId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
8
|
-
}, {
|
|
9
|
-
id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
10
|
-
meta: import("zod").ZodAny;
|
|
11
|
-
data: import("zod").ZodAny;
|
|
12
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["Paused", "Pending", "Active", "Archived"]>>;
|
|
13
|
-
merkleLeaf: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
-
merkleIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15
|
-
createdById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
16
|
-
editedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
17
|
-
deletedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
18
|
-
createdDate: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
19
|
-
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
20
|
-
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
21
|
-
}>, {
|
|
22
|
-
gameId: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
23
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
24
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
25
|
-
name?: string;
|
|
26
|
-
data?: any;
|
|
27
|
-
description?: string;
|
|
28
|
-
key?: string;
|
|
29
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
30
|
-
meta?: any;
|
|
31
|
-
merkleLeaf?: string;
|
|
32
|
-
merkleIndex?: number;
|
|
33
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
34
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
35
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
36
|
-
createdDate?: Date;
|
|
37
|
-
updatedDate?: Date;
|
|
38
|
-
deletedDate?: Date;
|
|
39
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
40
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
41
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
42
|
-
}, {
|
|
43
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
44
|
-
name?: string;
|
|
45
|
-
data?: any;
|
|
46
|
-
description?: string;
|
|
47
|
-
key?: string;
|
|
48
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
49
|
-
meta?: any;
|
|
50
|
-
merkleLeaf?: string;
|
|
51
|
-
merkleIndex?: number;
|
|
52
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
53
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
54
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
55
|
-
createdDate?: Date;
|
|
56
|
-
updatedDate?: Date;
|
|
57
|
-
deletedDate?: Date;
|
|
58
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
59
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
60
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
61
|
-
}>;
|
|
62
|
-
export declare const Game: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
63
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
-
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
66
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
|
-
applicationId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
68
|
-
ownerId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
69
|
-
}, {
|
|
70
|
-
id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
71
|
-
meta: import("zod").ZodAny;
|
|
72
|
-
data: import("zod").ZodAny;
|
|
73
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["Paused", "Pending", "Active", "Archived"]>>;
|
|
74
|
-
merkleLeaf: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
-
merkleIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
76
|
-
createdById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
77
|
-
editedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
78
|
-
deletedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
79
|
-
createdDate: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
80
|
-
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
81
|
-
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
82
|
-
}>, {
|
|
83
|
-
productId: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
84
|
-
statId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
85
|
-
stat: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
86
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
87
|
-
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
88
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
89
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
90
|
-
applicationId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
91
|
-
ownerId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
92
|
-
}, {
|
|
93
|
-
id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
94
|
-
meta: import("zod").ZodAny;
|
|
95
|
-
data: import("zod").ZodAny;
|
|
96
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["Paused", "Pending", "Active", "Archived"]>>;
|
|
97
|
-
merkleLeaf: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
-
merkleIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
99
|
-
createdById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
100
|
-
editedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
101
|
-
deletedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
102
|
-
createdDate: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
103
|
-
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
104
|
-
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
105
|
-
}>, {
|
|
106
|
-
gameId: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
107
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
108
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
109
|
-
name?: string;
|
|
110
|
-
data?: any;
|
|
111
|
-
description?: string;
|
|
112
|
-
key?: string;
|
|
113
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
114
|
-
meta?: any;
|
|
115
|
-
merkleLeaf?: string;
|
|
116
|
-
merkleIndex?: number;
|
|
117
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
118
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
119
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
120
|
-
createdDate?: Date;
|
|
121
|
-
updatedDate?: Date;
|
|
122
|
-
deletedDate?: Date;
|
|
123
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
124
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
125
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
126
|
-
}, {
|
|
127
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
128
|
-
name?: string;
|
|
129
|
-
data?: any;
|
|
130
|
-
description?: string;
|
|
131
|
-
key?: string;
|
|
132
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
133
|
-
meta?: any;
|
|
134
|
-
merkleLeaf?: string;
|
|
135
|
-
merkleIndex?: number;
|
|
136
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
137
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
138
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
139
|
-
createdDate?: Date;
|
|
140
|
-
updatedDate?: Date;
|
|
141
|
-
deletedDate?: Date;
|
|
142
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
143
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
144
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
145
|
-
}>>>;
|
|
146
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
147
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
148
|
-
name?: string;
|
|
149
|
-
data?: any;
|
|
150
|
-
description?: string;
|
|
151
|
-
stat?: {
|
|
152
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
153
|
-
name?: string;
|
|
154
|
-
data?: any;
|
|
155
|
-
description?: string;
|
|
156
|
-
key?: string;
|
|
157
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
158
|
-
meta?: any;
|
|
159
|
-
merkleLeaf?: string;
|
|
160
|
-
merkleIndex?: number;
|
|
161
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
162
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
163
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
164
|
-
createdDate?: Date;
|
|
165
|
-
updatedDate?: Date;
|
|
166
|
-
deletedDate?: Date;
|
|
167
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
168
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
169
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
170
|
-
};
|
|
171
|
-
key?: string;
|
|
172
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
173
|
-
meta?: any;
|
|
174
|
-
merkleLeaf?: string;
|
|
175
|
-
merkleIndex?: number;
|
|
176
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
177
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
178
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
179
|
-
createdDate?: Date;
|
|
180
|
-
updatedDate?: Date;
|
|
181
|
-
deletedDate?: Date;
|
|
182
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
183
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
184
|
-
productId?: string | import("mongoose").Types.ObjectId;
|
|
185
|
-
statId?: string | import("mongoose").Types.ObjectId;
|
|
186
|
-
}, {
|
|
187
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
188
|
-
name?: string;
|
|
189
|
-
data?: any;
|
|
190
|
-
description?: string;
|
|
191
|
-
stat?: {
|
|
192
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
193
|
-
name?: string;
|
|
194
|
-
data?: any;
|
|
195
|
-
description?: string;
|
|
196
|
-
key?: string;
|
|
197
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
198
|
-
meta?: any;
|
|
199
|
-
merkleLeaf?: string;
|
|
200
|
-
merkleIndex?: number;
|
|
201
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
202
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
203
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
204
|
-
createdDate?: Date;
|
|
205
|
-
updatedDate?: Date;
|
|
206
|
-
deletedDate?: Date;
|
|
207
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
208
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
209
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
210
|
-
};
|
|
211
|
-
key?: string;
|
|
212
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
213
|
-
meta?: any;
|
|
214
|
-
merkleLeaf?: string;
|
|
215
|
-
merkleIndex?: number;
|
|
216
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
217
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
218
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
219
|
-
createdDate?: Date;
|
|
220
|
-
updatedDate?: Date;
|
|
221
|
-
deletedDate?: Date;
|
|
222
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
223
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
224
|
-
productId?: string | import("mongoose").Types.ObjectId;
|
|
225
|
-
statId?: string | import("mongoose").Types.ObjectId;
|
|
226
|
-
}>;
|
|
227
|
-
export declare const GameRound: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
228
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
229
|
-
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
230
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
231
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
232
|
-
applicationId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
233
|
-
ownerId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
234
|
-
}, {
|
|
235
|
-
id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
236
|
-
meta: import("zod").ZodAny;
|
|
237
|
-
data: import("zod").ZodAny;
|
|
238
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["Paused", "Pending", "Active", "Archived"]>>;
|
|
239
|
-
merkleLeaf: import("zod").ZodOptional<import("zod").ZodString>;
|
|
240
|
-
merkleIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
241
|
-
createdById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
242
|
-
editedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
243
|
-
deletedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
244
|
-
createdDate: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
245
|
-
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
246
|
-
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
247
|
-
}>, {
|
|
248
|
-
gameId: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
249
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
|
250
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
251
|
-
name?: string;
|
|
252
|
-
data?: any;
|
|
253
|
-
description?: string;
|
|
254
|
-
key?: string;
|
|
255
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
256
|
-
meta?: any;
|
|
257
|
-
merkleLeaf?: string;
|
|
258
|
-
merkleIndex?: number;
|
|
259
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
260
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
261
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
262
|
-
createdDate?: Date;
|
|
263
|
-
updatedDate?: Date;
|
|
264
|
-
deletedDate?: Date;
|
|
265
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
266
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
267
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
268
|
-
}, {
|
|
269
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
270
|
-
name?: string;
|
|
271
|
-
data?: any;
|
|
272
|
-
description?: string;
|
|
273
|
-
key?: string;
|
|
274
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
275
|
-
meta?: any;
|
|
276
|
-
merkleLeaf?: string;
|
|
277
|
-
merkleIndex?: number;
|
|
278
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
279
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
280
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
281
|
-
createdDate?: Date;
|
|
282
|
-
updatedDate?: Date;
|
|
283
|
-
deletedDate?: Date;
|
|
284
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
285
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
286
|
-
gameId?: string | import("mongoose").Types.ObjectId;
|
|
287
|
-
}>;
|
|
288
|
-
export declare const Era: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
289
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
290
|
-
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
291
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
292
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
293
|
-
applicationId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
294
|
-
ownerId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
295
|
-
}, {
|
|
296
|
-
id: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
297
|
-
meta: import("zod").ZodAny;
|
|
298
|
-
data: import("zod").ZodAny;
|
|
299
|
-
status: import("zod").ZodDefault<import("zod").ZodEnum<["Paused", "Pending", "Active", "Archived"]>>;
|
|
300
|
-
merkleLeaf: import("zod").ZodOptional<import("zod").ZodString>;
|
|
301
|
-
merkleIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
302
|
-
createdById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
303
|
-
editedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
304
|
-
deletedById: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
305
|
-
createdDate: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
306
|
-
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
307
|
-
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
308
|
-
}>, {}>, "strip", import("zod").ZodTypeAny, {
|
|
309
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
310
|
-
name?: string;
|
|
311
|
-
data?: any;
|
|
312
|
-
description?: string;
|
|
313
|
-
key?: string;
|
|
314
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
315
|
-
meta?: any;
|
|
316
|
-
merkleLeaf?: string;
|
|
317
|
-
merkleIndex?: number;
|
|
318
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
319
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
320
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
321
|
-
createdDate?: Date;
|
|
322
|
-
updatedDate?: Date;
|
|
323
|
-
deletedDate?: Date;
|
|
324
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
325
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
326
|
-
}, {
|
|
327
|
-
id?: string | import("mongoose").Types.ObjectId;
|
|
328
|
-
name?: string;
|
|
329
|
-
data?: any;
|
|
330
|
-
description?: string;
|
|
331
|
-
key?: string;
|
|
332
|
-
status?: "Archived" | "Paused" | "Pending" | "Active";
|
|
333
|
-
meta?: any;
|
|
334
|
-
merkleLeaf?: string;
|
|
335
|
-
merkleIndex?: number;
|
|
336
|
-
createdById?: string | import("mongoose").Types.ObjectId;
|
|
337
|
-
editedById?: string | import("mongoose").Types.ObjectId;
|
|
338
|
-
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
339
|
-
createdDate?: Date;
|
|
340
|
-
updatedDate?: Date;
|
|
341
|
-
deletedDate?: Date;
|
|
342
|
-
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
343
|
-
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
344
|
-
}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z, ObjectId, Entity } from '../../schema';
|
|
2
|
-
export const GameStat = Entity.merge(z.object({
|
|
3
|
-
gameId: ObjectId,
|
|
4
|
-
}));
|
|
5
|
-
export const Game = Entity.merge(z.object({
|
|
6
|
-
productId: ObjectId,
|
|
7
|
-
statId: ObjectId.optional(),
|
|
8
|
-
stat: GameStat.nullable().optional(),
|
|
9
|
-
}));
|
|
10
|
-
export const GameRound = Entity.merge(z.object({
|
|
11
|
-
gameId: ObjectId,
|
|
12
|
-
}));
|
|
13
|
-
export const Era = Entity.merge(z.object({}));
|
|
14
|
-
//# sourceMappingURL=game.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"game.schema.js","sourceRoot":"","sources":["../../../modules/game/game.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAClC,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,QAAQ;CACjB,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAC9B,CAAC,CAAC,MAAM,CAAC;IACP,SAAS,EAAE,QAAQ;IACnB,MAAM,EAAE,QAAQ,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CACnC,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,QAAQ;CACjB,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RouterContext, RouterInput, RouterOutput } from './game.types';
|
|
2
|
-
export declare class Service {
|
|
3
|
-
getGame(input: RouterInput['getGame'], ctx: RouterContext): Promise<RouterOutput['getGame']>;
|
|
4
|
-
getGames(input: RouterInput['getGames'], ctx: RouterContext): Promise<RouterOutput['getGames']>;
|
|
5
|
-
createGame(input: RouterInput['createGame'], ctx: RouterContext): Promise<RouterOutput['createGame']>;
|
|
6
|
-
updateGame(input: RouterInput['updateGame'], ctx: RouterContext): Promise<RouterOutput['updateGame']>;
|
|
7
|
-
getGameStat(input: RouterInput['getGameStat'], ctx: RouterContext): Promise<RouterOutput['getGameStat']>;
|
|
8
|
-
getGameStats(input: RouterInput['getGameStats'], ctx: RouterContext): Promise<RouterOutput['getGameStats']>;
|
|
9
|
-
createGameStat(input: RouterInput['createGameStat'], ctx: RouterContext): Promise<RouterOutput['createGameStat']>;
|
|
10
|
-
updateGameStat(input: RouterInput['updateGameStat'], ctx: RouterContext): Promise<RouterOutput['updateGameStat']>;
|
|
11
|
-
getEra(input: RouterInput['getEra'], ctx: RouterContext): Promise<RouterOutput['getEra']>;
|
|
12
|
-
getEras(input: RouterInput['getEras'], ctx: RouterContext): Promise<RouterOutput['getEras']>;
|
|
13
|
-
createEra(input: RouterInput['createEra'], ctx: RouterContext): Promise<RouterOutput['createEra']>;
|
|
14
|
-
updateEra(input: RouterInput['updateEra'], ctx: RouterContext): Promise<RouterOutput['updateEra']>;
|
|
15
|
-
deleteEra(input: RouterInput['deleteEra'], ctx: RouterContext): Promise<RouterOutput['deleteEra']>;
|
|
16
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { getFilter } from '../../util/api';
|
|
2
|
-
import { ARXError } from '../../util/rpc';
|
|
3
|
-
export class Service {
|
|
4
|
-
async getGame(input, ctx) {
|
|
5
|
-
if (!input)
|
|
6
|
-
throw new ARXError('NO_INPUT');
|
|
7
|
-
console.log('Core.Service.getGame', input, getFilter(input));
|
|
8
|
-
const game = await ctx.app.model.Game.findOne(getFilter(input)).populate('stat').exec();
|
|
9
|
-
if (!game)
|
|
10
|
-
throw new Error('Game not found');
|
|
11
|
-
return game;
|
|
12
|
-
}
|
|
13
|
-
async getGames(input, ctx) {
|
|
14
|
-
console.log('Core.Service.getGames', input);
|
|
15
|
-
const filter = getFilter(input);
|
|
16
|
-
filter.status = 'Active';
|
|
17
|
-
const games = await ctx.app.model.Game.find(filter).populate('stat').exec();
|
|
18
|
-
return games;
|
|
19
|
-
}
|
|
20
|
-
async createGame(input, ctx) {
|
|
21
|
-
if (!input)
|
|
22
|
-
throw new ARXError('NO_INPUT');
|
|
23
|
-
console.log('Core.Service.createGame', input);
|
|
24
|
-
const game = await ctx.app.model.Game.create(input);
|
|
25
|
-
return game;
|
|
26
|
-
}
|
|
27
|
-
async updateGame(input, ctx) {
|
|
28
|
-
if (!input)
|
|
29
|
-
throw new ARXError('NO_INPUT');
|
|
30
|
-
console.log('Core.Service.updateGame', input);
|
|
31
|
-
const filter = getFilter(input);
|
|
32
|
-
const updatedGame = await ctx.app.model.Game.findByIdAndUpdate(filter.id, { new: true }).lean().exec();
|
|
33
|
-
if (!updatedGame)
|
|
34
|
-
throw new Error('Game update failed');
|
|
35
|
-
return updatedGame;
|
|
36
|
-
}
|
|
37
|
-
async getGameStat(input, ctx) {
|
|
38
|
-
if (!input)
|
|
39
|
-
throw new ARXError('NO_INPUT');
|
|
40
|
-
console.log('Core.Service.getGameStat', input);
|
|
41
|
-
const gameStat = await ctx.app.model.GameStat.findOne(getFilter(input)).exec();
|
|
42
|
-
if (!gameStat)
|
|
43
|
-
throw new Error('GameStat not found');
|
|
44
|
-
return gameStat;
|
|
45
|
-
}
|
|
46
|
-
async getGameStats(input, ctx) {
|
|
47
|
-
console.log('Core.Service.getGameStats', input);
|
|
48
|
-
const filter = getFilter(input);
|
|
49
|
-
filter.status = 'Active';
|
|
50
|
-
const gameStats = await ctx.app.model.GameStat.find(filter).exec();
|
|
51
|
-
return gameStats;
|
|
52
|
-
}
|
|
53
|
-
async createGameStat(input, ctx) {
|
|
54
|
-
if (!input)
|
|
55
|
-
throw new ARXError('NO_INPUT');
|
|
56
|
-
console.log('Core.Service.createGameStat', input);
|
|
57
|
-
const gameStat = await ctx.app.model.GameStat.create(input);
|
|
58
|
-
return gameStat;
|
|
59
|
-
}
|
|
60
|
-
async updateGameStat(input, ctx) {
|
|
61
|
-
if (!input)
|
|
62
|
-
throw new ARXError('NO_INPUT');
|
|
63
|
-
console.log('Core.Service.updateGameStat', input);
|
|
64
|
-
const gameStat = await ctx.app.model.GameStat.findByIdAndUpdate(input.where.id.equals, { new: true }).lean().exec();
|
|
65
|
-
if (!gameStat)
|
|
66
|
-
throw new Error('GameStat update failed');
|
|
67
|
-
return gameStat;
|
|
68
|
-
}
|
|
69
|
-
async getEra(input, ctx) {
|
|
70
|
-
if (!input)
|
|
71
|
-
throw new ARXError('NO_INPUT');
|
|
72
|
-
console.log('Core.Service.getEra', input);
|
|
73
|
-
const era = await ctx.app.model.Era.findOne(getFilter(input)).exec();
|
|
74
|
-
if (!era)
|
|
75
|
-
throw new Error('Era not found');
|
|
76
|
-
return era;
|
|
77
|
-
}
|
|
78
|
-
async getEras(input, ctx) {
|
|
79
|
-
const filter = getFilter(input);
|
|
80
|
-
const eras = await ctx.app.model.Era.find(filter).exec();
|
|
81
|
-
return eras;
|
|
82
|
-
}
|
|
83
|
-
async createEra(input, ctx) {
|
|
84
|
-
if (!input)
|
|
85
|
-
throw new Error('Input should not be void');
|
|
86
|
-
console.log('Game.Service.createEra', input);
|
|
87
|
-
const era = await ctx.app.model.Era.create(input.data);
|
|
88
|
-
return era;
|
|
89
|
-
}
|
|
90
|
-
async updateEra(input, ctx) {
|
|
91
|
-
if (!input)
|
|
92
|
-
throw new Error('Input should not be void');
|
|
93
|
-
console.log('Game.Service.updateEra', input, input.data);
|
|
94
|
-
const filter = getFilter(input);
|
|
95
|
-
const updatedEra = await ctx.app.model.Era.findOneAndUpdate(filter, input.data, { new: true }).exec();
|
|
96
|
-
if (!updatedEra)
|
|
97
|
-
throw new Error('Era update failed');
|
|
98
|
-
return updatedEra;
|
|
99
|
-
}
|
|
100
|
-
async deleteEra(input, ctx) {
|
|
101
|
-
if (!input)
|
|
102
|
-
throw new Error('Input should not be void');
|
|
103
|
-
console.log('Game.Service.deleteEra', input);
|
|
104
|
-
const filter = getFilter(input);
|
|
105
|
-
const deletedEra = await ctx.app.model.Era.findOneAndDelete(filter).exec();
|
|
106
|
-
if (!deletedEra)
|
|
107
|
-
throw new Error('Era not found');
|
|
108
|
-
return deletedEra;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
//# sourceMappingURL=game.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"game.service.js","sourceRoot":"","sources":["../../../modules/game/game.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,OAAO,OAAO;IAElB,KAAK,CAAC,OAAO,CAAC,KAA6B,EAAE,GAAkB;QAC7D,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC3C,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QAE7D,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QAExF,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAE7C,OAAO,IAAY,CA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AC,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QAC3E,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QAElD,OAAO,UAAiB,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { Model, Document } from '../../util/mongo';
|
|
3
|
-
import * as schema from './game.schema';
|
|
4
|
-
export type * from './game.router';
|
|
5
|
-
export type * from './game.service';
|
|
6
|
-
export type { RouterContext } from '../../types';
|
|
7
|
-
export type Game = z.infer<typeof schema.Game>;
|
|
8
|
-
export type GameDocument = Game & Document;
|
|
9
|
-
export type GameStat = z.infer<typeof schema.GameStat>;
|
|
10
|
-
export type GameStatDocument = GameStat & Document;
|
|
11
|
-
export type GameRound = z.infer<typeof schema.GameRound>;
|
|
12
|
-
export type GameRoundDocument = GameRound & Document;
|
|
13
|
-
export type Era = z.infer<typeof schema.Era>;
|
|
14
|
-
export type EraDocument = Era & Document;
|
|
15
|
-
export type Mappings = {
|
|
16
|
-
Game: Model<GameDocument>;
|
|
17
|
-
GameStat: Model<GameStatDocument>;
|
|
18
|
-
GameRound: Model<GameRoundDocument>;
|
|
19
|
-
Era: Model<EraDocument>;
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"game.types.js","sourceRoot":"","sources":["../../../modules/game/game.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/game/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|