mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-02 08:58:32 +00:00
feat: version number in collection schema
This commit is contained in:
@@ -237,6 +237,9 @@ export const transformCollectionToSaveToIdb = (collection, options = {}) => {
|
||||
const collectionToSave = {};
|
||||
collectionToSave.name = collection.name;
|
||||
collectionToSave.uid = collection.uid;
|
||||
|
||||
// todo: move this to the place where collection gets created
|
||||
collectionToSave.version = '1';
|
||||
collectionToSave.items = [];
|
||||
collectionToSave.activeEnvironmentUid = collection.activeEnvironmentUid;
|
||||
collectionToSave.environments = collection.environments || [];
|
||||
|
||||
Reference in New Issue
Block a user