Use relative imports only in plugin folder (#328)

This commit is contained in:
Arnaud Peich 2022-10-26 16:41:38 +02:00 committed by GitHub
parent eea2ef5cfb
commit c9933b6908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

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

View File

@ -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');

View File

@ -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.