diff --git a/api/package.json b/api/package.json index 0762f52d..8cd8f843 100644 --- a/api/package.json +++ b/api/package.json @@ -24,9 +24,9 @@ "body-parser": "^1.20.2", "cookie-parser": "^1.4.6", "cors": "^2.8.5", - "document-drive": "1.0.0-experimental.7", - "document-model": "1.1.0-experimental.1", - "document-model-libs": "^1.51.0", + "document-drive": "1.0.0-experimental.22", + "document-model": "1.1.0-experimental.4", + "document-model-libs": "^1.53.0", "dotenv": "^16.4.5", "esbuild": "^0.21.2", "ethers": "^5.7.2", diff --git a/api/pnpm-lock.yaml b/api/pnpm-lock.yaml index ff7f776d..42131974 100644 --- a/api/pnpm-lock.yaml +++ b/api/pnpm-lock.yaml @@ -30,20 +30,20 @@ dependencies: specifier: ^2.8.5 version: 2.8.5 document-drive: - specifier: 1.0.0-experimental.7 - version: 1.0.0-experimental.7(document-model-libs@1.52.0)(document-model@1.1.0-experimental.1)(prisma@5.14.0) + specifier: 1.0.0-experimental.22 + version: 1.0.0-experimental.22(document-model-libs@1.53.0)(document-model@1.1.0-experimental.4)(prisma@5.14.0) document-model: - specifier: 1.1.0-experimental.1 - version: 1.1.0-experimental.1 + specifier: 1.1.0-experimental.4 + version: 1.1.0-experimental.4 document-model-libs: - specifier: ^1.51.0 - version: 1.52.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4) + specifier: ^1.53.0 + version: 1.53.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4) dotenv: specifier: ^16.4.5 version: 16.4.5 esbuild: specifier: ^0.21.2 - version: 0.21.2 + version: 0.21.3 ethers: specifier: ^5.7.2 version: 5.7.2 @@ -1003,8 +1003,8 @@ packages: dev: false optional: true - /@esbuild/aix-ppc64@0.21.2: - resolution: {integrity: sha512-/c7hocx0pm14bHQlqUVKmxwdT/e5/KkyoY1W8F9lk/8CkE037STDDz8PXUP/LE6faj2HqchvDs9GcShxFhI78Q==} + /@esbuild/aix-ppc64@0.21.3: + resolution: {integrity: sha512-yTgnwQpFVYfvvo4SvRFB0SwrW8YjOxEoT7wfMT7Ol5v7v5LDNvSGo67aExmxOb87nQNeWPVvaGBNfQ7BXcrZ9w==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] @@ -1020,8 +1020,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm64@0.21.2: - resolution: {integrity: sha512-SGZKngoTWVUriO5bDjI4WDGsNx2VKZoXcds+ita/kVYB+8IkSCKDRDaK+5yu0b5S0eq6B3S7fpiEvpsa2ammlQ==} + /@esbuild/android-arm64@0.21.3: + resolution: {integrity: sha512-c+ty9necz3zB1Y+d/N+mC6KVVkGUUOcm4ZmT5i/Fk5arOaY3i6CA3P5wo/7+XzV8cb4GrI/Zjp8NuOQ9Lfsosw==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -1037,8 +1037,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm@0.21.2: - resolution: {integrity: sha512-G1ve3b4FeyJeyCjB4MX1CiWyTaIJwT9wAYE+8+IRA53YoN/reC/Bf2GDRXAzDTnh69Fpl+1uIKg76DiB3U6vwQ==} + /@esbuild/android-arm@0.21.3: + resolution: {integrity: sha512-bviJOLMgurLJtF1/mAoJLxDZDL6oU5/ztMHnJQRejbJrSc9FFu0QoUoFhvi6qSKJEw9y5oGyvr9fuDtzJ30rNQ==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -1054,8 +1054,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-x64@0.21.2: - resolution: {integrity: sha512-1wzzNoj2QtNkAYwIcWJ66UTRA80+RTQ/kuPMtEuP0X6dp5Ar23Dn566q3aV61h4EYrrgGlOgl/HdcqN/2S/2vg==} + /@esbuild/android-x64@0.21.3: + resolution: {integrity: sha512-JReHfYCRK3FVX4Ra+y5EBH1b9e16TV2OxrPAvzMsGeES0X2Ndm9ImQRI4Ket757vhc5XBOuGperw63upesclRw==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -1071,8 +1071,8 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-arm64@0.21.2: - resolution: {integrity: sha512-ZyMkPWc5eTROcLOA10lEqdDSTc6ds6nuh3DeHgKip/XJrYjZDfnkCVSty8svWdy+SC1f77ULtVeIqymTzaB6/Q==} + /@esbuild/darwin-arm64@0.21.3: + resolution: {integrity: sha512-U3fuQ0xNiAkXOmQ6w5dKpEvXQRSpHOnbw7gEfHCRXPeTKW9sBzVck6C5Yneb8LfJm0l6le4NQfkNPnWMSlTFUQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -1088,8 +1088,8 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-x64@0.21.2: - resolution: {integrity: sha512-K4ZdVq1zP9v51h/cKVna7im7G0zGTKKB6bP2yJiSmHjjOykbd8DdhrSi8V978sF69rkwrn8zCyL2t6I3ei6j9A==} + /@esbuild/darwin-x64@0.21.3: + resolution: {integrity: sha512-3m1CEB7F07s19wmaMNI2KANLcnaqryJxO1fXHUV5j1rWn+wMxdUYoPyO2TnAbfRZdi7ADRwJClmOwgT13qlP3Q==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -1105,8 +1105,8 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-arm64@0.21.2: - resolution: {integrity: sha512-4kbOGdpA61CXqadD+Gb/Pw3YXamQGiz9mal/h93rFVSjr5cgMnmJd/gbfPRm+3BMifvnaOfS1gNWaIDxkE2A3A==} + /@esbuild/freebsd-arm64@0.21.3: + resolution: {integrity: sha512-fsNAAl5pU6wmKHq91cHWQT0Fz0vtyE1JauMzKotrwqIKAswwP5cpHUCxZNSTuA/JlqtScq20/5KZ+TxQdovU/g==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -1122,8 +1122,8 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-x64@0.21.2: - resolution: {integrity: sha512-ShS+R09nuHzDBfPeMUliKZX27Wrmr8UFp93aFf/S8p+++x5BZ+D344CLKXxmY6qzgTL3mILSImPCNJOzD6+RRg==} + /@esbuild/freebsd-x64@0.21.3: + resolution: {integrity: sha512-tci+UJ4zP5EGF4rp8XlZIdq1q1a/1h9XuronfxTMCNBslpCtmk97Q/5qqy1Mu4zIc0yswN/yP/BLX+NTUC1bXA==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -1139,8 +1139,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm64@0.21.2: - resolution: {integrity: sha512-Hdu8BL+AmO+eCDvvT6kz/fPQhvuHL8YK4ExKZfANWsNe1kFGOHw7VJvS/FKSLFqheXmB3rTF3xFQIgUWPYsGnA==} + /@esbuild/linux-arm64@0.21.3: + resolution: {integrity: sha512-vvG6R5g5ieB4eCJBQevyDMb31LMHthLpXTc2IGkFnPWS/GzIFDnaYFp558O+XybTmYrVjxnryru7QRleJvmZ6Q==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -1156,8 +1156,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm@0.21.2: - resolution: {integrity: sha512-nnGXjOAv+7cM3LYRx4tJsYdgy8dGDGkAzF06oIDGppWbUkUKN9SmgQA8H0KukpU0Pjrj9XmgbWqMVSX/U7eeTA==} + /@esbuild/linux-arm@0.21.3: + resolution: {integrity: sha512-f6kz2QpSuyHHg01cDawj0vkyMwuIvN62UAguQfnNVzbge2uWLhA7TCXOn83DT0ZvyJmBI943MItgTovUob36SQ==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -1173,8 +1173,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ia32@0.21.2: - resolution: {integrity: sha512-m73BOCW2V9lcj7RtEMi+gBfHC6n3+VHpwQXP5offtQMPLDkpVolYn1YGXxOZ9hp4h3UPRKuezL7WkBsw+3EB3Q==} + /@esbuild/linux-ia32@0.21.3: + resolution: {integrity: sha512-HjCWhH7K96Na+66TacDLJmOI9R8iDWDDiqe17C7znGvvE4sW1ECt9ly0AJ3dJH62jHyVqW9xpxZEU1jKdt+29A==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -1190,8 +1190,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-loong64@0.21.2: - resolution: {integrity: sha512-84eYHwwWHq3myIY/6ikALMcnwkf6Qo7NIq++xH0x+cJuUNpdwh8mlpUtRY+JiGUc60yu7ElWBbVHGWTABTclGw==} + /@esbuild/linux-loong64@0.21.3: + resolution: {integrity: sha512-BGpimEccmHBZRcAhdlRIxMp7x9PyJxUtj7apL2IuoG9VxvU/l/v1z015nFs7Si7tXUwEsvjc1rOJdZCn4QTU+Q==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -1207,8 +1207,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-mips64el@0.21.2: - resolution: {integrity: sha512-9siSZngT0/ZKG+AH+/agwKF29LdCxw4ODi/PiE0F52B2rtLozlDP92umf8G2GPoVV611LN4pZ+nSTckebOscUA==} + /@esbuild/linux-mips64el@0.21.3: + resolution: {integrity: sha512-5rMOWkp7FQGtAH3QJddP4w3s47iT20hwftqdm7b+loe95o8JU8ro3qZbhgMRy0VuFU0DizymF1pBKkn3YHWtsw==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -1224,8 +1224,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ppc64@0.21.2: - resolution: {integrity: sha512-y0T4aV2CA+ic04ULya1A/8M2RDpDSK2ckgTj6jzHKFJvCq0jQg8afQQIn4EM0G8u2neyOiNHgSF9YKPfuqKOVw==} + /@esbuild/linux-ppc64@0.21.3: + resolution: {integrity: sha512-h0zj1ldel89V5sjPLo5H1SyMzp4VrgN1tPkN29TmjvO1/r0MuMRwJxL8QY05SmfsZRs6TF0c/IDH3u7XYYmbAg==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -1241,8 +1241,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-riscv64@0.21.2: - resolution: {integrity: sha512-x5ssCdXmZC86L2Li1qQPF/VaC4VP20u/Zm8jlAu9IiVOVi79YsSz6cpPDYZl1rfKSHYCJW9XBfFCo66S5gVPSA==} + /@esbuild/linux-riscv64@0.21.3: + resolution: {integrity: sha512-dkAKcTsTJ+CRX6bnO17qDJbLoW37npd5gSNtSzjYQr0svghLJYGYB0NF1SNcU1vDcjXLYS5pO4qOW4YbFama4A==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -1258,8 +1258,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-s390x@0.21.2: - resolution: {integrity: sha512-NP7fTpGSFWdXyvp8iAFU04uFh9ARoplFVM/m+8lTRpaYG+2ytHPZWyscSsMM6cvObSIK2KoPHXiZD4l99WaxbQ==} + /@esbuild/linux-s390x@0.21.3: + resolution: {integrity: sha512-vnD1YUkovEdnZWEuMmy2X2JmzsHQqPpZElXx6dxENcIwTu+Cu5ERax6+Ke1QsE814Zf3c6rxCfwQdCTQ7tPuXA==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -1275,8 +1275,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-x64@0.21.2: - resolution: {integrity: sha512-giZ/uOxWDKda44ZuyfKbykeXznfuVNkTgXOUOPJIjbayJV6FRpQ4zxUy9JMBPLaK9IJcdWtaoeQrYBMh3Rr4vQ==} + /@esbuild/linux-x64@0.21.3: + resolution: {integrity: sha512-IOXOIm9WaK7plL2gMhsWJd+l2bfrhfilv0uPTptoRoSb2p09RghhQQp9YY6ZJhk/kqmeRt6siRdMSLLwzuT0KQ==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -1292,8 +1292,8 @@ packages: requiresBuild: true optional: true - /@esbuild/netbsd-x64@0.21.2: - resolution: {integrity: sha512-IeFMfGFSQfIj1d4XU+6lkbFzMR+mFELUUVYrZ+jvWzG4NGvs6o53ReEHLHpYkjRbdEjJy2W3lTekTxrFHW7YJg==} + /@esbuild/netbsd-x64@0.21.3: + resolution: {integrity: sha512-uTgCwsvQ5+vCQnqM//EfDSuomo2LhdWhFPS8VL8xKf+PKTCrcT/2kPPoWMTs22aB63MLdGMJiE3f1PHvCDmUOw==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -1309,8 +1309,8 @@ packages: requiresBuild: true optional: true - /@esbuild/openbsd-x64@0.21.2: - resolution: {integrity: sha512-48QhWD6WxcebNNaE4FCwgvQVUnAycuTd+BdvA/oZu+/MmbpU8pY2dMEYlYzj5uNHWIG5jvdDmFXu0naQeOWUoA==} + /@esbuild/openbsd-x64@0.21.3: + resolution: {integrity: sha512-vNAkR17Ub2MgEud2Wag/OE4HTSI6zlb291UYzHez/psiKarp0J8PKGDnAhMBcHFoOHMXHfExzmjMojJNbAStrQ==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -1326,8 +1326,8 @@ packages: requiresBuild: true optional: true - /@esbuild/sunos-x64@0.21.2: - resolution: {integrity: sha512-90r3nTBLgdIgD4FCVV9+cR6Hq2Dzs319icVsln+NTmTVwffWcCqXGml8rAoocHuJ85kZK36DCteii96ba/PX8g==} + /@esbuild/sunos-x64@0.21.3: + resolution: {integrity: sha512-W8H9jlGiSBomkgmouaRoTXo49j4w4Kfbl6I1bIdO/vT0+0u4f20ko3ELzV3hPI6XV6JNBVX+8BC+ajHkvffIJA==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -1343,8 +1343,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-arm64@0.21.2: - resolution: {integrity: sha512-sNndlsBT8OeE/MZDSGpRDJlWuhjuUz/dn80nH0EP4ZzDUYvMDVa7G87DVpweBrn4xdJYyXS/y4CQNrf7R2ODXg==} + /@esbuild/win32-arm64@0.21.3: + resolution: {integrity: sha512-EjEomwyLSCg8Ag3LDILIqYCZAq/y3diJ04PnqGRgq8/4O3VNlXyMd54j/saShaN4h5o5mivOjAzmU6C3X4v0xw==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -1360,8 +1360,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-ia32@0.21.2: - resolution: {integrity: sha512-Ti2QChGNFzWhUNNVuU4w21YkYTErsNh3h+CzvlEhzgRbwsJ7TrWQqRzW3bllLKKvTppuF3DJ3XP1GEg11AfrEQ==} + /@esbuild/win32-ia32@0.21.3: + resolution: {integrity: sha512-WGiE/GgbsEwR33++5rzjiYsKyHywE8QSZPF7Rfx9EBfK3Qn3xyR6IjyCr5Uk38Kg8fG4/2phN7sXp4NPWd3fcw==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -1377,8 +1377,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-x64@0.21.2: - resolution: {integrity: sha512-VEfTCZicoZnZ6sGkjFPGRFFJuL2fZn2bLhsekZl1CJslflp2cJS/VoKs1jMk+3pDfsGW6CfQVUckP707HwbXeQ==} + /@esbuild/win32-x64@0.21.3: + resolution: {integrity: sha512-xRxC0jaJWDLYvcUvjQmHCJSfMrgmUuvsoXgDeU/wTorQ1ngDdUBuFtgY3W1Pc5sprGAvZBtWdJX7RPg/iZZUqA==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -2063,12 +2063,6 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} dev: true - /@internationalized/date@3.5.2: - resolution: {integrity: sha512-vo1yOMUt2hzp63IutEaTUxROdvQg1qlMRsbCvbay2AK2Gai7wIgCyK5weEX3nHkiLgo4qCXHijFNC/ILhlRpOQ==} - dependencies: - '@swc/helpers': 0.5.10 - dev: false - /@internationalized/date@3.5.3: resolution: {integrity: sha512-X9bi8NAEHAjD8yzmPYT2pdJsbe+tYSEBAfowtlxJVJdZR3aK8Vg7ZUT1Fm5M47KLzp/M1p1VwAaeSma3RT7biw==} dependencies: @@ -2215,6 +2209,20 @@ packages: prisma: 5.14.0 dev: false + /@prisma/client@5.14.0(prisma@5.14.0): + resolution: {integrity: sha512-akMSuyvLKeoU4LeyBAUdThP/uhVP3GuLygFE3MlYzaCb3/J8SfsYBE5PkaFuLuVpLyA6sFoW+16z/aPhNAESqg==} + engines: {node: '>=16.13'} + requiresBuild: true + peerDependencies: + prisma: '*' + peerDependenciesMeta: + prisma: + optional: true + dependencies: + prisma: 5.14.0 + dev: false + optional: true + /@prisma/debug@5.14.0: resolution: {integrity: sha512-iq56qBZuFfX3fCxoxT8gBX33lQzomBU0qIUaEj1RebsKVz1ob/BVH1XSBwwwvRVtZEV1b7Fxx2eVu34Ge/mg3w==} dev: false @@ -3920,7 +3928,7 @@ packages: /@types/bcrypt@5.0.2: resolution: {integrity: sha512-6atioO8Y75fNcbmj0G7UjI9lXN2pQ/IGJ2FWT4a/btd0Lk9lQalHLKhkgKVZ3r+spnmWUKfbMi1GEe9wyHQfNQ==} dependencies: - '@types/node': 18.19.31 + '@types/node': 20.12.12 dev: true /@types/body-parser@1.19.5: @@ -3951,7 +3959,7 @@ packages: /@types/cors@2.8.17: resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} dependencies: - '@types/node': 18.19.31 + '@types/node': 20.12.12 dev: true /@types/debug@4.1.12: @@ -3969,7 +3977,7 @@ packages: /@types/express-serve-static-core@4.19.0: resolution: {integrity: sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==} dependencies: - '@types/node': 18.19.31 + '@types/node': 20.12.12 '@types/qs': 6.9.15 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -3996,7 +4004,7 @@ packages: /@types/jsonwebtoken@9.0.6: resolution: {integrity: sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw==} dependencies: - '@types/node': 18.19.31 + '@types/node': 20.12.12 dev: true /@types/long@4.0.2: @@ -4012,15 +4020,10 @@ packages: /@types/node-fetch@2.6.11: resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} dependencies: - '@types/node': 18.19.31 + '@types/node': 20.12.12 form-data: 4.0.0 dev: false - /@types/node@18.19.31: - resolution: {integrity: sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==} - dependencies: - undici-types: 5.26.5 - /@types/node@20.12.12: resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} dependencies: @@ -4040,13 +4043,13 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 18.19.31 + '@types/node': 20.12.12 /@types/serve-static@1.15.7: resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} dependencies: '@types/http-errors': 2.0.4 - '@types/node': 18.19.31 + '@types/node': 20.12.12 '@types/send': 0.17.4 /@types/validator@13.11.9: @@ -4404,6 +4407,7 @@ packages: /are-we-there-yet@3.0.1: resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + deprecated: This package is no longer supported. requiresBuild: true dependencies: delegates: 1.0.0 @@ -5248,14 +5252,14 @@ packages: esutils: 2.0.3 dev: true - /document-drive@1.0.0-experimental.7(document-model-libs@1.52.0)(document-model@1.1.0-experimental.1)(prisma@5.14.0): - resolution: {integrity: sha512-p4fk3b1dRuPmmzS5fZI5De1bndBACo9Oq49MKQOBujaLywS+Pi/OoPXX0yuklQ3+fUJuNVnA7VTGsYbeqKoadQ==} + /document-drive@1.0.0-experimental.22(document-model-libs@1.53.0)(document-model@1.1.0-experimental.4)(prisma@5.14.0): + resolution: {integrity: sha512-QP6GIAFWttEdSmGGKXQ3iH0La3n2/lvZRb1PQaAfZcAuucL7WZyigdaRvWgeM5mvZTkjp2C0pKlq3kDXW764jg==} peerDependencies: - document-model: 1.1.0-experimental.1 - document-model-libs: ^1.37.0 + document-model: 1.1.0-experimental.4 + document-model-libs: ^1.52.0 dependencies: - document-model: 1.1.0-experimental.1 - document-model-libs: 1.52.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4) + document-model: 1.1.0-experimental.4 + document-model-libs: 1.53.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4) exponential-backoff: 3.1.1 graphql: 16.8.1 graphql-request: 6.1.0(graphql@16.8.1) @@ -5264,7 +5268,7 @@ packages: sanitize-filename: 1.6.3 uuid: 9.0.1 optionalDependencies: - '@prisma/client': 5.11.0(prisma@5.14.0) + '@prisma/client': 5.14.0(prisma@5.14.0) localforage: 1.10.0 redis: 4.6.13 sequelize: 6.37.3(sqlite3@5.1.7) @@ -5284,8 +5288,8 @@ packages: - tedious dev: false - /document-model-libs@1.52.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4): - resolution: {integrity: sha512-4CS7U6ReUFvS86Vmnj7rYNP6uq7WnoA+AtjX2i5uwQ4Bzcih1SwwLE+2LDQ28KsnjMtpN/zmnoQ7mAAe+U7KvQ==} + /document-model-libs@1.53.0(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0)(vitest@0.32.4): + resolution: {integrity: sha512-TIR21+lgJpWkwPC84jwQav89ksHnKCZVKHRQKh3hIh2dyXg2NbZ8sNxhKPIaLMESQVUeWr3Lb33/w7Xp5TdKfw==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 @@ -5293,7 +5297,7 @@ packages: '@acaldas/graphql-codegen-typescript-validation-schema': 0.12.3(graphql@16.8.1) '@graphql-codegen/core': 4.0.2(graphql@16.8.1) '@graphql-codegen/typescript': 4.0.6(graphql@16.8.1) - '@internationalized/date': 3.5.2 + '@internationalized/date': 3.5.3 '@storybook/test': 8.0.8(vitest@0.32.4) copy-anything: 3.0.5 date-fns: 3.6.0 @@ -5315,15 +5319,15 @@ packages: - vitest dev: false - /document-model@1.1.0-experimental.1: - resolution: {integrity: sha512-5xO3T/vGu1g8UeJGZVokVBr+/GfJDmDSYMkrA/6POmJawF+pZ9GkoudsDWi6CjXuNMWc/ejHWbTV68S+dudKkw==} + /document-model@1.1.0-experimental.4: + resolution: {integrity: sha512-UdhEv2klnKmnBo4gHtDZC0cjDdc3iMIvwmAQ+BL6NgPOpPG7ADqls51TEpfy6dxLlCu5rLE3RPA2F0Rnw/h1lw==} dependencies: change-case: 5.4.4 immer: 10.0.4 jszip: 3.10.1 mime: 4.0.1 safe-stable-stringify: 2.4.3 - zod: 3.22.4 + zod: 3.23.8 dev: false /dom-accessibility-api@0.5.16: @@ -5569,35 +5573,35 @@ packages: '@esbuild/win32-ia32': 0.18.20 '@esbuild/win32-x64': 0.18.20 - /esbuild@0.21.2: - resolution: {integrity: sha512-LmHPAa5h4tSxz+g/D8IHY6wCjtIiFx8I7/Q0Aq+NmvtoYvyMnJU0KQJcqB6QH30X9x/W4CemgUtPgQDZFca5SA==} + /esbuild@0.21.3: + resolution: {integrity: sha512-Kgq0/ZsAPzKrbOjCQcjoSmPoWhlcVnGAUo7jvaLHoxW1Drto0KGkR1xBNg2Cp43b9ImvxmPEJZ9xkfcnqPsfBw==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/aix-ppc64': 0.21.2 - '@esbuild/android-arm': 0.21.2 - '@esbuild/android-arm64': 0.21.2 - '@esbuild/android-x64': 0.21.2 - '@esbuild/darwin-arm64': 0.21.2 - '@esbuild/darwin-x64': 0.21.2 - '@esbuild/freebsd-arm64': 0.21.2 - '@esbuild/freebsd-x64': 0.21.2 - '@esbuild/linux-arm': 0.21.2 - '@esbuild/linux-arm64': 0.21.2 - '@esbuild/linux-ia32': 0.21.2 - '@esbuild/linux-loong64': 0.21.2 - '@esbuild/linux-mips64el': 0.21.2 - '@esbuild/linux-ppc64': 0.21.2 - '@esbuild/linux-riscv64': 0.21.2 - '@esbuild/linux-s390x': 0.21.2 - '@esbuild/linux-x64': 0.21.2 - '@esbuild/netbsd-x64': 0.21.2 - '@esbuild/openbsd-x64': 0.21.2 - '@esbuild/sunos-x64': 0.21.2 - '@esbuild/win32-arm64': 0.21.2 - '@esbuild/win32-ia32': 0.21.2 - '@esbuild/win32-x64': 0.21.2 + '@esbuild/aix-ppc64': 0.21.3 + '@esbuild/android-arm': 0.21.3 + '@esbuild/android-arm64': 0.21.3 + '@esbuild/android-x64': 0.21.3 + '@esbuild/darwin-arm64': 0.21.3 + '@esbuild/darwin-x64': 0.21.3 + '@esbuild/freebsd-arm64': 0.21.3 + '@esbuild/freebsd-x64': 0.21.3 + '@esbuild/linux-arm': 0.21.3 + '@esbuild/linux-arm64': 0.21.3 + '@esbuild/linux-ia32': 0.21.3 + '@esbuild/linux-loong64': 0.21.3 + '@esbuild/linux-mips64el': 0.21.3 + '@esbuild/linux-ppc64': 0.21.3 + '@esbuild/linux-riscv64': 0.21.3 + '@esbuild/linux-s390x': 0.21.3 + '@esbuild/linux-x64': 0.21.3 + '@esbuild/netbsd-x64': 0.21.3 + '@esbuild/openbsd-x64': 0.21.3 + '@esbuild/sunos-x64': 0.21.3 + '@esbuild/win32-arm64': 0.21.3 + '@esbuild/win32-ia32': 0.21.3 + '@esbuild/win32-x64': 0.21.3 dev: false /escalade@3.1.2: @@ -6173,6 +6177,7 @@ packages: /gauge@4.0.4: resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + deprecated: This package is no longer supported. requiresBuild: true dependencies: aproba: 2.0.0 @@ -7555,6 +7560,7 @@ packages: /npmlog@6.0.2: resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + deprecated: This package is no longer supported. requiresBuild: true dependencies: are-we-there-yet: 3.0.1 @@ -9305,7 +9311,7 @@ packages: - terser dev: false - /vite-node@0.32.4(@types/node@18.19.31): + /vite-node@0.32.4(@types/node@20.12.12): resolution: {integrity: sha512-L2gIw+dCxO0LK14QnUMoqSYpa9XRGnTTTDjW2h19Mr+GR0EFj4vx52W41gFXfMLqpA00eK4ZjOVYo1Xk//LFEw==} engines: {node: '>=v14.18.0'} hasBin: true @@ -9315,7 +9321,7 @@ packages: mlly: 1.6.1 pathe: 1.1.2 picocolors: 1.0.0 - vite: 4.5.3(@types/node@18.19.31) + vite: 4.5.3(@types/node@20.12.12) transitivePeerDependencies: - '@types/node' - less @@ -9326,41 +9332,6 @@ packages: - supports-color - terser - /vite@4.5.3(@types/node@18.19.31): - resolution: {integrity: sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 18.19.31 - esbuild: 0.18.20 - postcss: 8.4.38 - rollup: 3.29.4 - optionalDependencies: - fsevents: 2.3.3 - /vite@4.5.3(@types/node@20.12.12): resolution: {integrity: sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -9395,7 +9366,6 @@ packages: rollup: 3.29.4 optionalDependencies: fsevents: 2.3.3 - dev: false /vitest-mock-extended@1.3.1(typescript@5.4.5)(vitest@0.32.4): resolution: {integrity: sha512-OpghYjh4BDuQ/Mzs3lFMQ1QRk9D8/2O9T47MLUA5eLn7K4RWIy+MfIivYOWEyxjTENjsBnzgMihDjyNalN/K0Q==} @@ -9441,7 +9411,7 @@ packages: dependencies: '@types/chai': 4.3.14 '@types/chai-subset': 1.3.5 - '@types/node': 18.19.31 + '@types/node': 20.12.12 '@vitest/expect': 0.32.4 '@vitest/runner': 0.32.4 '@vitest/snapshot': 0.32.4 @@ -9460,8 +9430,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.7.0 tinypool: 0.5.0 - vite: 4.5.3(@types/node@18.19.31) - vite-node: 0.32.4(@types/node@18.19.31) + vite: 4.5.3(@types/node@20.12.12) + vite-node: 0.32.4(@types/node@20.12.12) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/api/prisma/schema.prisma b/api/prisma/schema.prisma index 399b5360..7d108744 100644 --- a/api/prisma/schema.prisma +++ b/api/prisma/schema.prisma @@ -187,6 +187,7 @@ model RWAPortfolioAsset { currency String? assetType String assetProceeds Float? + type String? portfolio RWAPortfolio @relation(fields: [portfolioId], references: [id], onDelete: Cascade) fixedIncomeType RWAPortfolioFixedIncomeType? @relation(fields: [fixedIncomeTypeId, portfolioId], references: [id, portfolioId]) spv RWAPortfolioSpv? @relation(fields: [spvId, portfolioId], references: [id, portfolioId])