chore: Move to prettier standard double quotes (#1309)

This commit is contained in:
Tom Moor
2020-06-20 13:59:15 -07:00
committed by GitHub
parent 2a3b9e2104
commit f43deb7940
444 changed files with 5988 additions and 5977 deletions

View File

@@ -1,10 +1,10 @@
// @flow
import { pick } from 'lodash';
import { action, computed, observable } from 'mobx';
import BaseModel from 'models/BaseModel';
import Document from 'models/Document';
import { client } from 'utils/ApiClient';
import type { NavigationNode } from 'types';
import { pick } from "lodash";
import { action, computed, observable } from "mobx";
import BaseModel from "models/BaseModel";
import Document from "models/Document";
import { client } from "utils/ApiClient";
import type { NavigationNode } from "types";
export default class Collection extends BaseModel {
@observable isSaving: boolean;
@@ -16,7 +16,7 @@ export default class Collection extends BaseModel {
icon: string;
color: string;
private: boolean;
type: 'atlas' | 'journal';
type: "atlas" | "journal";
documents: NavigationNode[];
createdAt: ?string;
updatedAt: ?string;
@@ -103,18 +103,18 @@ export default class Collection extends BaseModel {
toJS = () => {
return pick(this, [
'id',
'name',
'color',
'description',
'icon',
'private',
"id",
"name",
"color",
"description",
"icon",
"private",
]);
};
export = () => {
return client.get(
'/collections.export',
"/collections.export",
{ id: this.id },
{ download: true }
);