├── .dockerignore ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .prettierrc ├── COPYING ├── Dockerfile ├── README.md ├── appveyor.yml ├── ci ├── build.sh ├── pack.sh ├── setup.sh └── test.sh ├── config ├── db │ ├── inventories.sql │ ├── inventory │ │ ├── buymenues.sql │ │ ├── cosmetics.sql │ │ └── loadouts.sql │ └── users.sql └── init_db.sh ├── gulpfile.js ├── package.json ├── raml ├── resourceTypes │ ├── collection.raml │ ├── crudresource.raml │ ├── item.raml │ ├── udonly.raml │ └── uidcollection.raml ├── traits │ └── paged.raml ├── types │ ├── NewUserRequest.raml │ ├── User.raml │ ├── UserBuyMenu.raml │ ├── UserCosmetics.raml │ ├── UserInventory.raml │ ├── UserInventoryItem.raml │ └── UserLoadout.raml └── users-service.raml ├── src ├── config │ ├── db.ts │ └── inventory_item_oid.ts ├── db.ts ├── entities │ ├── inventory │ │ ├── buymenu.ts │ │ ├── cosmetics.ts │ │ ├── inventory.ts │ │ ├── item.ts │ │ └── loadout.ts │ └── user.ts ├── hash.ts ├── log │ ├── loginstance.ts │ └── morgan2winston.ts ├── routes │ ├── inventory │ │ ├── buymenu.ts │ │ ├── cosmetics.ts │ │ ├── inventory.ts │ │ └── loadout.ts │ ├── ping.ts │ └── users.ts ├── service.ts ├── serviceinstance.ts ├── sessioncounter.ts └── utilitites.ts ├── test └── routes │ ├── 0_ping.ts │ ├── 1_users.ts │ ├── 3_inventory.ts │ ├── 4_buymenu.ts │ ├── 5_cosmetics.ts │ └── 6_loadout.ts ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | dist 3 | docs 4 | node_modules 5 | raml 6 | *.log -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/.prettierrc -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/appveyor.yml -------------------------------------------------------------------------------- /ci/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/ci/build.sh -------------------------------------------------------------------------------- /ci/pack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/ci/pack.sh -------------------------------------------------------------------------------- /ci/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/ci/setup.sh -------------------------------------------------------------------------------- /ci/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/ci/test.sh -------------------------------------------------------------------------------- /config/db/inventories.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/db/inventories.sql -------------------------------------------------------------------------------- /config/db/inventory/buymenues.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/db/inventory/buymenues.sql -------------------------------------------------------------------------------- /config/db/inventory/cosmetics.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/db/inventory/cosmetics.sql -------------------------------------------------------------------------------- /config/db/inventory/loadouts.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/db/inventory/loadouts.sql -------------------------------------------------------------------------------- /config/db/users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/db/users.sql -------------------------------------------------------------------------------- /config/init_db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/config/init_db.sh -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/package.json -------------------------------------------------------------------------------- /raml/resourceTypes/collection.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/resourceTypes/collection.raml -------------------------------------------------------------------------------- /raml/resourceTypes/crudresource.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/resourceTypes/crudresource.raml -------------------------------------------------------------------------------- /raml/resourceTypes/item.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/resourceTypes/item.raml -------------------------------------------------------------------------------- /raml/resourceTypes/udonly.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/resourceTypes/udonly.raml -------------------------------------------------------------------------------- /raml/resourceTypes/uidcollection.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/resourceTypes/uidcollection.raml -------------------------------------------------------------------------------- /raml/traits/paged.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/traits/paged.raml -------------------------------------------------------------------------------- /raml/types/NewUserRequest.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/NewUserRequest.raml -------------------------------------------------------------------------------- /raml/types/User.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/User.raml -------------------------------------------------------------------------------- /raml/types/UserBuyMenu.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/UserBuyMenu.raml -------------------------------------------------------------------------------- /raml/types/UserCosmetics.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/UserCosmetics.raml -------------------------------------------------------------------------------- /raml/types/UserInventory.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/UserInventory.raml -------------------------------------------------------------------------------- /raml/types/UserInventoryItem.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/UserInventoryItem.raml -------------------------------------------------------------------------------- /raml/types/UserLoadout.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/types/UserLoadout.raml -------------------------------------------------------------------------------- /raml/users-service.raml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/raml/users-service.raml -------------------------------------------------------------------------------- /src/config/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/config/db.ts -------------------------------------------------------------------------------- /src/config/inventory_item_oid.ts: -------------------------------------------------------------------------------- 1 | export const INVENTORY_ITEM_OID = 20274 2 | -------------------------------------------------------------------------------- /src/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/db.ts -------------------------------------------------------------------------------- /src/entities/inventory/buymenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/inventory/buymenu.ts -------------------------------------------------------------------------------- /src/entities/inventory/cosmetics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/inventory/cosmetics.ts -------------------------------------------------------------------------------- /src/entities/inventory/inventory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/inventory/inventory.ts -------------------------------------------------------------------------------- /src/entities/inventory/item.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/inventory/item.ts -------------------------------------------------------------------------------- /src/entities/inventory/loadout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/inventory/loadout.ts -------------------------------------------------------------------------------- /src/entities/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/entities/user.ts -------------------------------------------------------------------------------- /src/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/hash.ts -------------------------------------------------------------------------------- /src/log/loginstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/log/loginstance.ts -------------------------------------------------------------------------------- /src/log/morgan2winston.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/log/morgan2winston.ts -------------------------------------------------------------------------------- /src/routes/inventory/buymenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/inventory/buymenu.ts -------------------------------------------------------------------------------- /src/routes/inventory/cosmetics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/inventory/cosmetics.ts -------------------------------------------------------------------------------- /src/routes/inventory/inventory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/inventory/inventory.ts -------------------------------------------------------------------------------- /src/routes/inventory/loadout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/inventory/loadout.ts -------------------------------------------------------------------------------- /src/routes/ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/ping.ts -------------------------------------------------------------------------------- /src/routes/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/routes/users.ts -------------------------------------------------------------------------------- /src/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/service.ts -------------------------------------------------------------------------------- /src/serviceinstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/serviceinstance.ts -------------------------------------------------------------------------------- /src/sessioncounter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/sessioncounter.ts -------------------------------------------------------------------------------- /src/utilitites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/src/utilitites.ts -------------------------------------------------------------------------------- /test/routes/0_ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/0_ping.ts -------------------------------------------------------------------------------- /test/routes/1_users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/1_users.ts -------------------------------------------------------------------------------- /test/routes/3_inventory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/3_inventory.ts -------------------------------------------------------------------------------- /test/routes/4_buymenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/4_buymenu.ts -------------------------------------------------------------------------------- /test/routes/5_cosmetics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/5_cosmetics.ts -------------------------------------------------------------------------------- /test/routes/6_loadout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/test/routes/6_loadout.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L-Leite/cso2-users-service/HEAD/yarn.lock --------------------------------------------------------------------------------