Linting.
This commit is contained in:
parent
e170d9d146
commit
2e18abd342
|
@ -5,7 +5,12 @@ import {
|
||||||
PaginationJson,
|
PaginationJson,
|
||||||
RelationshipsJson,
|
RelationshipsJson,
|
||||||
} from "../../../definitions/datasource"
|
} from "../../../definitions/datasource"
|
||||||
import {Row, Table, FieldSchema, Datasource} from "../../../definitions/common"
|
import {
|
||||||
|
Row,
|
||||||
|
Table,
|
||||||
|
FieldSchema,
|
||||||
|
Datasource,
|
||||||
|
} from "../../../definitions/common"
|
||||||
import {
|
import {
|
||||||
breakRowIdField,
|
breakRowIdField,
|
||||||
generateRowIdField,
|
generateRowIdField,
|
||||||
|
|
|
@ -3,7 +3,6 @@ const {
|
||||||
SortDirection,
|
SortDirection,
|
||||||
FieldTypes,
|
FieldTypes,
|
||||||
} = require("../../../constants")
|
} = require("../../../constants")
|
||||||
const { getAllExternalTables } = require("../table/utils")
|
|
||||||
const {
|
const {
|
||||||
breakExternalTableId,
|
breakExternalTableId,
|
||||||
breakRowIdField,
|
breakRowIdField,
|
||||||
|
@ -12,7 +11,9 @@ const ExternalRequest = require("./ExternalRequest")
|
||||||
const CouchDB = require("../../../db")
|
const CouchDB = require("../../../db")
|
||||||
|
|
||||||
async function handleRequest(appId, operation, tableId, opts = {}) {
|
async function handleRequest(appId, operation, tableId, opts = {}) {
|
||||||
return new ExternalRequest(appId, operation, tableId, opts.datasource).run(opts)
|
return new ExternalRequest(appId, operation, tableId, opts.datasource).run(
|
||||||
|
opts
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.patch = async ctx => {
|
exports.patch = async ctx => {
|
||||||
|
|
Loading…
Reference in New Issue