fix: collection / database loading

This commit is contained in:
Travis Fischer
2025-07-23 14:33:11 -04:00
parent 67e3b6fd78
commit bf795b72a5
2 changed files with 47 additions and 47 deletions

View File

@@ -41,9 +41,9 @@
"ky": "^1.8.1",
"lqip-modern": "^2.2.1",
"next": "^15.3.3",
"notion-client": "^7.4.2",
"notion-types": "^7.4.2",
"notion-utils": "^7.4.2",
"notion-client": "^7.4.3",
"notion-types": "^7.4.3",
"notion-utils": "^7.4.3",
"p-map": "^7.0.3",
"p-memoize": "^7.1.1",
"posthog-js": "^1.249.4",
@@ -51,7 +51,7 @@
"react": "^19.1.0",
"react-body-classname": "^1.3.1",
"react-dom": "^19.1.0",
"react-notion-x": "^7.4.2",
"react-notion-x": "^7.4.3",
"react-tweet": "^3.2.2",
"react-use": "^17.6.0",
"rss": "^1.2.2"

86
pnpm-lock.yaml generated
View File

@@ -39,14 +39,14 @@ importers:
specifier: ^15.3.3
version: 15.3.3(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
notion-client:
specifier: ^7.4.2
version: 7.4.2
specifier: ^7.4.3
version: 7.4.3
notion-types:
specifier: ^7.4.2
version: 7.4.2
specifier: ^7.4.3
version: 7.4.3
notion-utils:
specifier: ^7.4.2
version: 7.4.2
specifier: ^7.4.3
version: 7.4.3
p-map:
specifier: ^7.0.3
version: 7.0.3
@@ -69,8 +69,8 @@ importers:
specifier: ^19.1.0
version: 19.1.0(react@19.1.0)
react-notion-x:
specifier: ^7.4.2
version: 7.4.2(@babel/runtime@7.27.6)(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
specifier: ^7.4.3
version: 7.4.3(@babel/runtime@7.27.6)(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react-tweet:
specifier: ^3.2.2
version: 3.2.2(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@@ -794,8 +794,8 @@ packages:
caniuse-lite@1.0.30001721:
resolution: {integrity: sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ==}
canvas@3.1.0:
resolution: {integrity: sha512-tTj3CqqukVJ9NgSahykNwtGda7V33VLObwrHfzT0vqJXu7J4d4C/7kQQW3fOEGDfZZoILPut5H00gOjyttPGyg==}
canvas@3.1.2:
resolution: {integrity: sha512-Z/tzFAcBzoCvJlOSlCnoekh1Gu8YMn0J51+UAuXJAbW1Z6I9l2mZgdD7738MepoeeIcUdDtbMnOg6cC7GJxy/g==}
engines: {node: ^18.12.0 || >= 20.9.0}
chalk@4.1.2:
@@ -980,8 +980,8 @@ packages:
emoji-regex@9.2.2:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
end-of-stream@1.4.4:
resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}
end-of-stream@1.4.5:
resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
error-stack-parser@2.1.4:
resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==}
@@ -1711,20 +1711,20 @@ packages:
node-releases@2.0.19:
resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
normalize-url@8.0.1:
resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==}
normalize-url@8.0.2:
resolution: {integrity: sha512-Ee/R3SyN4BuynXcnTaekmaVdbDAEiNrHqjQIA37mHU8G9pf7aaAD4ZX3XjBLo6rsdcxA/gtkcNYZLt30ACgynw==}
engines: {node: '>=14.16'}
notion-client@7.4.2:
resolution: {integrity: sha512-cicASuxTL+ZuDe66Uyz90J4/y53EoNUwdrXEePX4KlBbvIkn23wPCfZGdToTmMJfovV2MPRxZuBQJ2UYPcwv2A==}
notion-client@7.4.3:
resolution: {integrity: sha512-gMSGUVSzJyqGmZi1X6vkfoeCziLgApIDaqxjoVpUyZ5MUwi4mtYeE15mJP9/6XOYnlTleDop/4DWiZQGU4mI0Q==}
engines: {node: '>=18'}
notion-types@7.4.2:
resolution: {integrity: sha512-mCFra6z7DUcNXV11ypufmqcZL8poYAfSwSSyPBnuvzauGfH9MLDJ2Uv31H/0MFtn9qqddDdxV5lHkIzY1IRysg==}
notion-types@7.4.3:
resolution: {integrity: sha512-rIztAJLqzLLlpsL9SNr9SpmTiwXpADzpUIgKmc2phbD42DQl0Z8lB+rr2+NbkZxaP0zbvAek8wtPRrOU+ynU2A==}
engines: {node: '>=18'}
notion-utils@7.4.2:
resolution: {integrity: sha512-ga1+bhs9GLEpeYtP+gfc/PPgiVSTsyVtlZpArfjmNcPADMZdHCfZdVEjqW5NFMbVGsCMp7y7oabvuWqJvkAVnw==}
notion-utils@7.4.3:
resolution: {integrity: sha512-BtMqjZhegN7RNXpyq8QyTLpHB6rGpmBC/xTQAGQm+pVw9/GbGZhN+dNSfjL4GbL9t/0EChjPke4+G8FWnPZjCw==}
engines: {node: '>=18'}
npm-normalize-package-bin@4.0.0:
@@ -1909,8 +1909,8 @@ packages:
prop-types@15.8.1:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
pump@3.0.2:
resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==}
pump@3.0.3:
resolution: {integrity: sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==}
punycode@2.3.1:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
@@ -1970,8 +1970,8 @@ packages:
react: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19
react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 || ^19
react-notion-x@7.4.2:
resolution: {integrity: sha512-fST9c72FWg92ayfYgI5WQe6ad4c33s+8Zk6h2pfND3cLTtkD2m+Y0yCs6jJbP8E+I7hbFyg1J4QbPD/d5qkV6A==}
react-notion-x@7.4.3:
resolution: {integrity: sha512-oxRb467AAOxJIddKqwHchR/N4djIo+acvOZY63tSpLn5pkePh3vHFXcK8E/DL7K/wr5W7LV3nREiOUZ41jzcgQ==}
engines: {node: '>=18'}
peerDependencies:
react: '>=18'
@@ -3126,7 +3126,7 @@ snapshots:
caniuse-lite@1.0.30001721: {}
canvas@3.1.0:
canvas@3.1.2:
dependencies:
node-addon-api: 7.1.1
prebuild-install: 7.1.3
@@ -3294,7 +3294,7 @@ snapshots:
emoji-regex@9.2.2: {}
end-of-stream@1.4.4:
end-of-stream@1.4.5:
dependencies:
once: 1.4.0
optional: true
@@ -4146,23 +4146,23 @@ snapshots:
node-releases@2.0.19: {}
normalize-url@8.0.1: {}
normalize-url@8.0.2: {}
notion-client@7.4.2:
notion-client@7.4.3:
dependencies:
ky: 1.8.1
notion-types: 7.4.2
notion-utils: 7.4.2
notion-types: 7.4.3
notion-utils: 7.4.3
p-map: 7.0.3
notion-types@7.4.2: {}
notion-types@7.4.3: {}
notion-utils@7.4.2:
notion-utils@7.4.3:
dependencies:
is-url-superb: 6.1.0
memoize: 10.1.0
normalize-url: 8.0.1
notion-types: 7.4.2
normalize-url: 8.0.2
notion-types: 7.4.3
p-queue: 8.1.0
npm-normalize-package-bin@4.0.0: {}
@@ -4291,7 +4291,7 @@ snapshots:
pdfjs-dist@4.8.69:
optionalDependencies:
canvas: 3.1.0
canvas: 3.1.2
path2d: 0.2.2
optional: true
@@ -4331,7 +4331,7 @@ snapshots:
mkdirp-classic: 0.5.3
napi-build-utils: 2.0.0
node-abi: 3.75.0
pump: 3.0.2
pump: 3.0.3
rc: 1.2.8
simple-get: 4.0.1
tar-fs: 2.1.3
@@ -4350,9 +4350,9 @@ snapshots:
object-assign: 4.1.1
react-is: 16.13.1
pump@3.0.2:
pump@3.0.3:
dependencies:
end-of-stream: 1.4.4
end-of-stream: 1.4.5
once: 1.4.0
optional: true
@@ -4419,13 +4419,13 @@ snapshots:
react-lifecycles-compat: 3.0.4
warning: 4.0.3
react-notion-x@7.4.2(@babel/runtime@7.27.6)(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
react-notion-x@7.4.3(@babel/runtime@7.27.6)(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@fisch0920/medium-zoom': 1.0.7
'@matejmazur/react-katex': 3.1.3(katex@0.16.22)(react@19.1.0)
katex: 0.16.22
notion-types: 7.4.2
notion-utils: 7.4.2
notion-types: 7.4.3
notion-utils: 7.4.3
prismjs: 1.30.0
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
@@ -4863,14 +4863,14 @@ snapshots:
dependencies:
chownr: 1.1.4
mkdirp-classic: 0.5.3
pump: 3.0.2
pump: 3.0.3
tar-stream: 2.2.0
optional: true
tar-stream@2.2.0:
dependencies:
bl: 4.1.0
end-of-stream: 1.4.4
end-of-stream: 1.4.5
fs-constants: 1.0.0
inherits: 2.0.4
readable-stream: 3.6.2