Skip to content

Commit b60d946

Browse files
jcobisncarbongribnoysupgithub-advanced-security[bot]
authored
feat(compass-collection): Render Output Script in Result Screen - Mock Data Generator CLOUDP-333858 (#7355)
* feat(compass-collection): LLM Output Validation - Mock Data Generator CLOUDP-333855 * revert changes to faker method validation logic * WIP * Update schema editor screen * add ts error annotation back and more context in docstring * address: update FakerFieldMapping to use MongoDBFieldType and improve type safety * remove @ts-expect-error annotation, annotate type import * refactor: update MongoDBFieldType import paths and improve type usage across mock data generator components * remove 'content' field from mock data schema response * fix: update fakerArgs and probability handling in validateFakerSchema function * clean up probability handling in AtlasAiService and in faker schema validation * rename FakerSchemaMapping to LlmFakerMapping * validate mongoType with zod and move fakerSchema transformation method outside validation method * rename values * WIP * fix generative-ai tests * More tests * WIP * Types * WIP * Fix merge conflicts * DB and collection name parsing * WIP * WIP * Comments * Error banner * Code component scrollable * Convert to use prettier * Connect redux directly * Style * Error banner spacing * Escape chars in collection and db names * Accidental push * Fix accidental push * Dependency for prettier * Merge conflict * Merge conflict * Merge conflict * Escape character Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Code comment --------- Co-authored-by: Nataly Carbonell <[email protected]> Co-authored-by: Sergey Petushkov <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 91fc3dd commit b60d946

14 files changed

+891
-231
lines changed

package-lock.json

Lines changed: 105 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-collection/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@
5353
"@mongodb-js/compass-app-stores": "^7.64.1",
5454
"@mongodb-js/compass-components": "^1.54.1",
5555
"@mongodb-js/compass-connections": "^1.78.1",
56+
"@mongodb-js/compass-editor": "^0.56.1",
5657
"@mongodb-js/compass-generative-ai": "^0.57.1",
5758
"@mongodb-js/compass-logging": "^1.7.19",
5859
"@mongodb-js/compass-telemetry": "^1.16.1",
5960
"@mongodb-js/compass-utils": "^0.9.17",
6061
"@mongodb-js/compass-workspaces": "^0.59.1",
6162
"@mongodb-js/connection-info": "^0.21.1",
6263
"@mongodb-js/mongodb-constants": "^0.14.0",
63-
"bson": "^6.10.1",
64+
"bson": "^6.10.4",
6465
"compass-preferences-model": "^2.57.1",
6566
"hadron-document": "^8.10.4",
6667
"mongodb": "^6.19.0",

0 commit comments

Comments
 (0)