Commit b60d946
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
File tree
14 files changed
+891
-231
lines changed- packages
- compass-collection
- src
- components/mock-data-generator-modal
- modules
- compass-crud/src/stores
- connection-form/src/utils
14 files changed
+891
-231
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments