Use relative imports only in plugin folder (#328)

pull/329/head
Arnaud Peich 2 years ago committed by GitHub
parent eea2ef5cfb
commit c9933b6908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
import { CellValue } from "app/plugin/GristData";
import { CellValue } from "./GristData";
/**
* JSON schema for api /record endpoint. Used in POST method for adding new records.

@ -1,4 +1,4 @@
import * as Types from 'app/plugin/DocApiTypes';
import * as Types from './DocApiTypes';
/**
* Offer CRUD-style operations on a table.

@ -1,6 +1,6 @@
import * as Types from "app/plugin/DocApiTypes";
import { BulkColValues } from 'app/plugin/GristData';
import { OpOptions, TableOperations, UpsertOptions } from 'app/plugin/TableOperations';
import * as Types from "./DocApiTypes";
import { BulkColValues } from './GristData';
import { OpOptions, TableOperations, UpsertOptions } from './TableOperations';
import { arrayRepeat } from './gutil';
import flatMap = require('lodash/flatMap');
import isEqual = require('lodash/isEqual');

@ -4,7 +4,7 @@
*/
// tslint:disable:max-classes-per-file
import { CellValue, GristObjCode } from 'app/plugin/GristData';
import { CellValue, GristObjCode } from './GristData';
import isPlainObject = require('lodash/isPlainObject');
// The text to show on cells whose values are pending.

Loading…
Cancel
Save