insomnia/packages/insomnia-app/app/common/strings.js
Opender Singh fd1420ddc8
Add filename to apiSpec model and decouple from workspace name (#2063)
* Initial commit

* WIP

* Fix lint

* Fix tests

* Add test for workspace migration

* Rename title to use fileName instead of workspace name for designer

* Linting
2020-04-28 14:29:51 -04:00

10 lines
205 B
JavaScript

import {
getAppId,
} from './constants';
import { APP_ID_INSOMNIA } from '../../config';
export default {
workspace: getAppId() === APP_ID_INSOMNIA ? 'Workspace' : 'Document',
apiSpec: 'Document',
};