Skip to content

Commit 008335c

Browse files
feat: add auto-create collection option to mock server creation (hoppscotch#5637)
Co-authored-by: Anwarul Islam <[email protected]>
1 parent cd82eb2 commit 008335c

File tree

18 files changed

+1342
-143
lines changed

18 files changed

+1342
-143
lines changed

packages/hoppscotch-backend/src/errors.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,13 @@ export const MOCK_SERVER_NOT_FOUND = 'mock_server/not_found';
892892
*/
893893
export const MOCK_SERVER_INVALID_COLLECTION = 'mock_server/invalid_collection';
894894

895+
/**
896+
* Mock server collection creation failed
897+
* (MockServerService)
898+
*/
899+
export const MOCK_SERVER_COLLECTION_CREATION_FAILED =
900+
'mock_server/collection_creation_failed';
901+
895902
/**
896903
* Mock server already exists for this collection
897904
* (MockServerService)

0 commit comments

Comments
 (0)