@mongoosejs/studio 0.0.125 → 0.0.126
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 +2 -2
- package/frontend/src/api.js +1 -1
- package/package.json +1 -1
package/frontend/public/app.js
CHANGED
|
@@ -94,7 +94,7 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
|
|
|
94
94
|
exportQueryResults(params) {
|
|
95
95
|
const accessToken = window.localStorage.getItem('_mongooseStudioAccessToken') || null;
|
|
96
96
|
|
|
97
|
-
return fetch(window.MONGOOSE_STUDIO_CONFIG.baseURL + new URLSearchParams({ ...params, action: 'Model.exportQueryResults' }).toString(), {
|
|
97
|
+
return fetch(window.MONGOOSE_STUDIO_CONFIG.baseURL + '?' + new URLSearchParams({ ...params, action: 'Model.exportQueryResults' }).toString(), {
|
|
98
98
|
method: 'GET',
|
|
99
99
|
headers: {
|
|
100
100
|
Authorization: `${accessToken}`, // Set your authorization token here
|
|
@@ -15267,7 +15267,7 @@ var bson = /*#__PURE__*/Object.freeze({
|
|
|
15267
15267
|
/***/ ((module) => {
|
|
15268
15268
|
|
|
15269
15269
|
"use strict";
|
|
15270
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.0.
|
|
15270
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.0.126","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.1.0","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","dedent":"^1.6.0","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"}}');
|
|
15271
15271
|
|
|
15272
15272
|
/***/ })
|
|
15273
15273
|
|
package/frontend/src/api.js
CHANGED
|
@@ -84,7 +84,7 @@ if (window.MONGOOSE_STUDIO_CONFIG.isLambda) {
|
|
|
84
84
|
exportQueryResults(params) {
|
|
85
85
|
const accessToken = window.localStorage.getItem('_mongooseStudioAccessToken') || null;
|
|
86
86
|
|
|
87
|
-
return fetch(window.MONGOOSE_STUDIO_CONFIG.baseURL + new URLSearchParams({ ...params, action: 'Model.exportQueryResults' }).toString(), {
|
|
87
|
+
return fetch(window.MONGOOSE_STUDIO_CONFIG.baseURL + '?' + new URLSearchParams({ ...params, action: 'Model.exportQueryResults' }).toString(), {
|
|
88
88
|
method: 'GET',
|
|
89
89
|
headers: {
|
|
90
90
|
Authorization: `${accessToken}`, // Set your authorization token here
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongoosejs/studio",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.126",
|
|
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": {
|