@mongoosejs/studio 0.1.18 → 0.1.20
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/backend/actions/Model/getDocument.js +2 -1
- package/backend/actions/Model/getDocuments.js +3 -2
- package/backend/actions/Model/getDocumentsStream.js +3 -2
- package/backend/helpers/getRefFromSchemaType.js +5 -0
- package/frontend/public/app.js +15045 -605
- package/frontend/src/chat/chat-message/chat-message.js +2 -15
- package/frontend/src/chat/chat-message-script/chat-message-script.js +4 -29
- package/frontend/src/chat/chat.js +4 -29
- package/frontend/src/clone-document/clone-document.js +1 -8
- package/frontend/src/create-dashboard/create-dashboard.js +1 -8
- package/frontend/src/create-document/create-document.js +1 -8
- package/frontend/src/dashboard/dashboard.js +1 -8
- package/frontend/src/dashboard/edit-dashboard/edit-dashboard.js +1 -8
- package/frontend/src/dashboards/dashboards.js +1 -8
- package/frontend/src/document/document.js +3 -23
- package/frontend/src/export-query-results/export-query-results.js +1 -8
- package/frontend/src/index.js +13 -7
- package/frontend/src/list-default/list-default.js +1 -8
- package/frontend/src/list-json/json-node.html +1 -1
- package/frontend/src/list-json/list-json.js +28 -3
- package/frontend/src/list-mixed/list-mixed.js +1 -8
- package/frontend/src/list-string/list-string.js +1 -8
- package/frontend/src/list-subdocument/list-subdocument.js +1 -8
- package/frontend/src/models/models.html +7 -0
- package/frontend/src/models/models.js +16 -22
- package/frontend/src/update-document/update-document.js +1 -8
- package/package.json +4 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const api = require('../api');
|
|
4
|
-
const vanillatoasts = require('vanillatoasts');
|
|
5
4
|
|
|
6
5
|
const { BSON, EJSON } = require('mongodb/lib/bson');
|
|
7
6
|
|
|
@@ -40,13 +39,7 @@ module.exports = app => app.component('update-document', {
|
|
|
40
39
|
this.$emit('update');
|
|
41
40
|
this.$emit('close');
|
|
42
41
|
this.$nextTick(() => {
|
|
43
|
-
|
|
44
|
-
title: this.multiple ? 'Documents updated!' : 'Document updated!',
|
|
45
|
-
type: 'success',
|
|
46
|
-
timeout: 3000,
|
|
47
|
-
icon: 'images/success.png',
|
|
48
|
-
positionClass: 'bottomRight'
|
|
49
|
-
});
|
|
42
|
+
this.$toast.success(this.multiple ? 'Documents updated!' : 'Document updated!');
|
|
50
43
|
});
|
|
51
44
|
} catch (err) {
|
|
52
45
|
if (err.response?.data?.message) {
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongoosejs/studio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://mongoosestudio.app/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/mongoosejs/studio"
|
|
9
9
|
},
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"@ai-sdk/anthropic": "2.x",
|
|
12
13
|
"@ai-sdk/google": "2.x",
|
|
13
14
|
"@ai-sdk/openai": "2.x",
|
|
14
|
-
"@ai-sdk/anthropic": "2.x",
|
|
15
15
|
"ai": "5.x",
|
|
16
16
|
"archetype": "0.13.1",
|
|
17
17
|
"csv-stringify": "6.3.0",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"marked": "15.0.12",
|
|
21
21
|
"node-inspect-extracted": "3.x",
|
|
22
22
|
"tailwindcss": "3.4.0",
|
|
23
|
-
"vanillatoasts": "^1.6.0",
|
|
24
23
|
"vue": "3.x",
|
|
24
|
+
"vue-toastification": "^2.0.0-rc.5",
|
|
25
25
|
"webpack": "5.x"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|