feat: collection runner (#3600)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com> Co-authored-by: nivedin <nivedinp@gmail.com>
This commit is contained in:
@@ -31,12 +31,14 @@ const migrateCollections = (collections: unknown[]): HoppCollection[] => {
|
||||
);
|
||||
}
|
||||
|
||||
return collectionSchemaParsedResult.data.map((collection) => {
|
||||
return {
|
||||
...collection,
|
||||
folders: migrateCollections(collection.folders),
|
||||
};
|
||||
});
|
||||
return collectionSchemaParsedResult.data.map(
|
||||
({ _ref_id, folders, ...rest }) => {
|
||||
return {
|
||||
...rest,
|
||||
folders: migrateCollections(folders),
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
describe("workspace-access", () => {
|
||||
|
||||
Reference in New Issue
Block a user