Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
fd884e0
refactor(schema): copy old users.js to _legacy_users.js with deprecation
andromika Mar 6, 2026
09c6388
feat(schema): add users_core.js for new "users" collection
andromika Mar 6, 2026
8aeb913
feat(schema): add user_cosmetics.js satellite collection
andromika Mar 6, 2026
772105e
feat(schema): add satellite schemas for oauth, guilds, quests, analyt…
andromika Mar 6, 2026
2cec7bb
refactor(schema): rewire schemas.js to export new split collections
andromika Mar 6, 2026
bfbd548
refactor(schema): update virtuals.js model refs from UserDB to UsersCore
andromika Mar 6, 2026
933a9d3
feat(schema): add TypeScript definitions for all new split collections
andromika Mar 6, 2026
bd4a45d
chore(schema): bump version to 0.19.0 for user schema split
andromika Mar 6, 2026
9339927
fix: update stale model refs and field paths in items, achievements, …
andromika Mar 6, 2026
3f467a9
fix: move itemsData virtual to UserCosmetics schema
andromika Mar 6, 2026
ebcaec5
refactor(schema): rename user_cosmetics to user_inventory
andromika Mar 6, 2026
c5039f0
add apikey to user core
andromika Mar 6, 2026
048048d
add query conventions
andromika Mar 6, 2026
a2a97eb
strict mode enbaled
andromika Mar 6, 2026
9aa3e82
refactor: consistent use of lean / exec
andromika Mar 6, 2026
83541ba
consistent use of lean/exec
andromika Mar 6, 2026
c7382c6
update for package publish
andromika Mar 7, 2026
ecf64eb
update for package publish
andromika Mar 7, 2026
883364a
unify fields
andromika Mar 9, 2026
8441095
fix typo
andromika Mar 9, 2026
ab1be4b
create and type constants directly on schemas
andromika Mar 9, 2026
687a25c
pretty-types master document
andromika Mar 9, 2026
28097f2
bump version
andromika Mar 9, 2026
f605bbf
update docs
andromika Mar 9, 2026
d23f1aa
move plugins
andromika Mar 9, 2026
98dd91c
bump v
andromika Mar 9, 2026
ab70675
organize schemas
andromika Mar 9, 2026
9e40476
update schema and virtuals imports
andromika Mar 9, 2026
ea3ef6f
add generics
andromika Mar 9, 2026
cfa768b
analytics schema
andromika Mar 9, 2026
2ae01c1
update docs
andromika Mar 10, 2026
8c09f0e
move marketplace schemas to own folder
andromika Mar 10, 2026
a882d15
move relationships schema to own folder
andromika Mar 10, 2026
24b4125
add ci sanity check
andromika Mar 10, 2026
0efa08b
add structure check
andromika Mar 10, 2026
2cd2019
move out from misc
andromika Mar 10, 2026
a3cc0b2
do not warn on missing virtuals
andromika Mar 10, 2026
9db6e97
generate schema script
andromika Mar 10, 2026
744b22d
fix imports
andromika Mar 10, 2026
4b3095a
cleanup
andromika Mar 10, 2026
2eaa01d
update sanity check
andromika Mar 10, 2026
4ef23b6
check for strictness
andromika Mar 10, 2026
d4a0fc5
account for missing requires
andromika Mar 10, 2026
362e2c9
fix imports
andromika Mar 10, 2026
003bf8f
safeguard push
andromika Mar 10, 2026
2c248b1
fix imports
andromika Mar 10, 2026
aea4e47
add lockfile
andromika Mar 10, 2026
4e91022
update ci
andromika Mar 10, 2026
57c856f
fix imports
andromika Mar 10, 2026
b24fdc5
fix market/relationship exports
andromika Mar 10, 2026
e95025d
update check structure
andromika Mar 10, 2026
e9e784b
update env
andromika Mar 10, 2026
46a6ea2
update schemas
andromika Mar 10, 2026
9206891
bump
andromika Mar 10, 2026
c2f5f97
update lockfile
andromika Mar 12, 2026
a2e3427
test fix
andromika Mar 12, 2026
d07536d
update error msg
andromika Mar 12, 2026
0d4d174
fix: suppress mongoose 5.x deprecation warnings (useNewUrlParser, use…
andromika Mar 12, 2026
33027e1
lockfile
andromika Mar 12, 2026
0e369fa
update user cache
andromika Mar 13, 2026
d8cfeb7
vbump
andromika Mar 13, 2026
754aabb
update masking and add new currencies
andromika Mar 13, 2026
bb932ee
v bump
andromika Mar 13, 2026
85c3bd7
Delete .env
andromika Mar 14, 2026
00de799
update gitignore
andromika Mar 14, 2026
2c3b334
Merge branch 'refactor' of https://github.com/PolestarLabs/db-schema …
andromika Mar 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Schema CI

on:
push:
branches: [main, refactor]

pull_request:
branches: [main]

jobs:
check:
name: Structure & Type Check
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Run structure check
run: node check-structure.js
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
.env
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@polestarlabs:registry=https://npm.pkg.github.com
4 changes: 4 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
types/** @Flicksie
leanDefaultPlugin.js @Flicksie
*.types.ts @Flicksie
*.schema.ts @bsian03
Loading
Loading