@pipedream/platform
Advanced tools
Comparing version 1.6.4 to 1.6.5
import { ConfigurationError } from "./errors"; | ||
import { JsonValue } from "type-fest"; | ||
import { JsonPrimitive } from "type-fest"; | ||
export type DbSchema = JsonValue; | ||
export type DbSchema = { | ||
[tableName: string]: { | ||
[columnName: string]: { | ||
columnDefault: JsonPrimitive; | ||
dataType: string; | ||
isNullable: boolean; | ||
tableSchema?: string; | ||
}; | ||
}; | ||
}; | ||
export type RowCount = { | ||
[tableName: string]: { | ||
_rowCount?: number; | ||
}; | ||
}; | ||
export default { | ||
@@ -17,3 +32,3 @@ methods: { | ||
*/ | ||
getSchema(): DbSchema { | ||
getSchema(): DbSchema | RowCount { | ||
throw new ConfigurationError("getSchema not implemented"); | ||
@@ -20,0 +35,0 @@ }, |
{ | ||
"name": "@pipedream/platform", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "Pipedream platform globals (typing and runtime type checking)", | ||
@@ -5,0 +5,0 @@ "homepage": "https://pipedream.com", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56361
28
1516