mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
EmberJS: FolderID to SpaceID
Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
parent
66d5e73ed1
commit
e0457b40da
45 changed files with 170 additions and 99 deletions
|
@ -262,7 +262,7 @@ export default function () {
|
|||
"name": name,
|
||||
"orgId": "VzMuyEw_3WqiafcD",
|
||||
"userId": "VzMuyEw_3WqiafcE",
|
||||
"folderType": 2
|
||||
"spaceType": 2
|
||||
};
|
||||
|
||||
return schema.db.folders.insert(folder);
|
||||
|
@ -346,7 +346,7 @@ export default function () {
|
|||
"name": "Test Folder",
|
||||
"orgId": "VzMuyEw_3WqiafcD",
|
||||
"userId": "VzMuyEw_3WqiafcE",
|
||||
"folderType": 2
|
||||
"spaceType": 2
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
|
@ -18,5 +18,5 @@ export default Mirage.Factory.extend({
|
|||
"name": faker.list.cycle('My Project', 'Test'),
|
||||
"orgId": "VzMuyEw_3WqiafcD",
|
||||
"userId": "VzMuyEw_3WqiafcE",
|
||||
"folderType": faker.list.cycle(1, 2)
|
||||
});
|
||||
"spaceType": faker.list.cycle(1, 2)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue