@grouparoo/app-templates
Advanced tools
Comparing version 0.8.0-alpha.5 to 0.8.0-alpha.6
@@ -24,7 +24,7 @@ import { GetColumnDefinitionsMethod, GetSampleRowsMethod, DataResponseRow, DataResponse, ColumnDefinitionMap, SimpleAppOptions } from "./pluginMethods"; | ||
getColumns: GetColumnDefinitionsMethod; | ||
}): Promise<Array<{ | ||
}): Promise<{ | ||
key: string; | ||
description?: string; | ||
examples?: Array<DataResponse>; | ||
}>>; | ||
examples?: DataResponse[]; | ||
}[]>; | ||
} | ||
@@ -31,0 +31,0 @@ export declare const getExampleRows: GetExampleRowsMethod; |
@@ -71,3 +71,3 @@ import { ConnectionOptionsOption, PropertyTypes, SimpleAppOptions, SimpleSourceOptions, FilterOperation, AggregationMethod } from "@grouparoo/core"; | ||
isArray: boolean; | ||
primaryKeys: Array<number | string>; | ||
primaryKeys: (number | string)[]; | ||
}): Promise<{ | ||
@@ -74,0 +74,0 @@ [primaryKey: string]: { |
@@ -5,3 +5,3 @@ { | ||
"description": "Common patterns for Grouparoo plugins that contribute apps", | ||
"version": "0.8.0-alpha.5", | ||
"version": "0.8.0-alpha.6", | ||
"license": "MPL-2.0", | ||
@@ -32,8 +32,8 @@ "private": false, | ||
"devDependencies": { | ||
"@grouparoo/core": "0.8.0-alpha.5", | ||
"@grouparoo/spec-helper": "0.8.0-alpha.5", | ||
"@grouparoo/core": "0.8.0-alpha.6", | ||
"@grouparoo/spec-helper": "0.8.0-alpha.6", | ||
"@types/jest": "*", | ||
"@types/node": "16.*.*", | ||
"@types/uuid": "*", | ||
"actionhero": "28.1.2", | ||
"actionhero": "28.1.4", | ||
"jest": "27.4.5", | ||
@@ -46,3 +46,3 @@ "nock": "13.2.1", | ||
}, | ||
"gitHead": "d775b7cc66078f283d36666bb1f16c9e2643aa95" | ||
"gitHead": "161da0ce3daeade174361526551f2a40c6cc490b" | ||
} |
@@ -182,6 +182,6 @@ import { Errors } from "@grouparoo/core"; | ||
const batches: Array<{ | ||
const batches: { | ||
groupMap: GroupNameListMap; | ||
destIdMap: DestinationIdMap; | ||
}> = []; | ||
}[] = []; | ||
@@ -250,3 +250,3 @@ for (const name in groupMap) { | ||
) { | ||
const batches: Array<{ fkMap: ForeignKeyMap }> = []; | ||
const batches: { fkMap: ForeignKeyMap }[] = []; | ||
let currentFkMap: ForeignKeyMap = {}; | ||
@@ -307,6 +307,6 @@ let currentCount = 0; | ||
const batches: Array<{ | ||
const batches: { | ||
fkMap: ForeignKeyMap; | ||
destIdMap: DestinationIdMap; | ||
}> = []; | ||
}[] = []; | ||
@@ -370,6 +370,6 @@ for (const exportedRecord of exports) { | ||
const batches: Array<{ | ||
const batches: { | ||
fkMap: ForeignKeyMap; | ||
destIdMap: DestinationIdMap; | ||
}> = []; | ||
}[] = []; | ||
@@ -441,7 +441,7 @@ for (const exportedRecord of exports) { | ||
const batches: Array<{ | ||
const batches: { | ||
fkMap: ForeignKeyMap; | ||
users: BatchExport[]; | ||
foreignKeys: string[]; | ||
}> = []; | ||
}[] = []; | ||
@@ -448,0 +448,0 @@ for (const exportedRecord of exports) { |
@@ -243,6 +243,6 @@ import { ForeignKeyMap } from "../batch"; | ||
const batches: Array<{ | ||
const batches: { | ||
groupMap: GroupNameListMap; | ||
foreignKeyMap: ForeignKeyMap; | ||
}> = []; | ||
}[] = []; | ||
@@ -249,0 +249,0 @@ for (const name in groupMap) { |
@@ -34,7 +34,7 @@ import { | ||
}): Promise< | ||
Array<{ | ||
{ | ||
key: string; | ||
description?: string; | ||
examples?: Array<DataResponse>; | ||
}> | ||
examples?: DataResponse[]; | ||
}[] | ||
>; | ||
@@ -41,0 +41,0 @@ } |
@@ -91,3 +91,3 @@ import { | ||
isArray: boolean; | ||
primaryKeys: Array<number | string>; | ||
primaryKeys: (number | string)[]; | ||
}): Promise<{ [primaryKey: string]: { [column: string]: DataResponse[] } }>; | ||
@@ -94,0 +94,0 @@ } |
@@ -36,3 +36,3 @@ import { | ||
key: column.name, | ||
ops: column.filterOperations, | ||
ops: column.filterOperations as SourceFilterMethodResponseRow["ops"], // TODO: there's a type incompatibility between the literal string reposes and the Enum FilterOperation | ||
canHaveRelativeMatch: false, | ||
@@ -39,0 +39,0 @@ }); |
242189