@mongoosejs/studio 0.0.107 → 0.0.108
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/frontend/public/app.js
CHANGED
|
@@ -2593,13 +2593,14 @@ module.exports = app => app.component('models', {
|
|
|
2593
2593
|
this.selectedPaths = [...this.schemaPaths];
|
|
2594
2594
|
},
|
|
2595
2595
|
async loadMoreDocuments() {
|
|
2596
|
-
const { docs } = await api.Model.getDocuments({
|
|
2596
|
+
const { docs, numDocs } = await api.Model.getDocuments({
|
|
2597
2597
|
model: this.currentModel,
|
|
2598
2598
|
filter: this.filter,
|
|
2599
2599
|
sort: this.sortBy,
|
|
2600
2600
|
limit
|
|
2601
2601
|
});
|
|
2602
2602
|
this.documents = docs;
|
|
2603
|
+
this.numDocuments = numDocs;
|
|
2603
2604
|
if (docs.length < limit) {
|
|
2604
2605
|
this.loadedAllDocs = true;
|
|
2605
2606
|
}
|
|
@@ -14686,7 +14687,7 @@ var bson = /*#__PURE__*/Object.freeze({
|
|
|
14686
14687
|
/***/ ((module) => {
|
|
14687
14688
|
|
|
14688
14689
|
"use strict";
|
|
14689
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.0.
|
|
14690
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.0.108","description":"A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.","homepage":"https://studio.mongoosejs.io/","repository":{"type":"git","url":"https://github.com/mongoosejs/studio"},"dependencies":{"archetype":"0.13.1","csv-stringify":"6.3.0","ejson":"^2.2.3","extrovert":"0.0.26","marked":"15.0.12","node-inspect-extracted":"3.x","tailwindcss":"3.4.0","vanillatoasts":"^1.6.0","vue":"3.x","webpack":"5.x"},"peerDependencies":{"bson":"^5.5.1 || 6.x","express":"4.x","mongoose":"7.x || 8.x"},"devDependencies":{"@masteringjs/eslint-config":"0.1.1","axios":"1.2.2","eslint":"9.30.0","express":"4.x","mocha":"10.2.0","mongoose":"8.x"},"scripts":{"lint":"eslint .","tailwind":"tailwindcss -o ./frontend/public/tw.css","tailwind:watch":"tailwindcss -o ./frontend/public/tw.css --watch","test":"mocha test/*.test.js"}}');
|
|
14690
14691
|
|
|
14691
14692
|
/***/ })
|
|
14692
14693
|
|
|
@@ -251,13 +251,14 @@ module.exports = app => app.component('models', {
|
|
|
251
251
|
this.selectedPaths = [...this.schemaPaths];
|
|
252
252
|
},
|
|
253
253
|
async loadMoreDocuments() {
|
|
254
|
-
const { docs } = await api.Model.getDocuments({
|
|
254
|
+
const { docs, numDocs } = await api.Model.getDocuments({
|
|
255
255
|
model: this.currentModel,
|
|
256
256
|
filter: this.filter,
|
|
257
257
|
sort: this.sortBy,
|
|
258
258
|
limit
|
|
259
259
|
});
|
|
260
260
|
this.documents = docs;
|
|
261
|
+
this.numDocuments = numDocs;
|
|
261
262
|
if (docs.length < limit) {
|
|
262
263
|
this.loadedAllDocs = true;
|
|
263
264
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongoosejs/studio",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.108",
|
|
4
4
|
"description": "A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.",
|
|
5
5
|
"homepage": "https://studio.mongoosejs.io/",
|
|
6
6
|
"repository": {
|