@deephaven/jsapi-shim
Advanced tools
Comparing version 0.5.2-beta.0 to 0.6.0
// The Deephaven API script isn't packaged as a module (yet), and is just included in index.html, exported to the global namespace | ||
// This include file is simply a wrapper so that it behaves like a module, and can be mocked easily for unit tests. | ||
// https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#using-global-variables | ||
var dh = window.dh; | ||
var { | ||
dh | ||
} = window; | ||
export default dh; | ||
//# sourceMappingURL=dh.js.map |
@@ -1,4 +0,4 @@ | ||
export { default as dh } from './dh'; | ||
export { default as PropTypes } from './PropTypes'; | ||
export { default } from './dh'; | ||
export { default as dh } from "./dh.js"; | ||
export { default as PropTypes } from "./PropTypes.js"; | ||
export { default } from "./dh.js"; | ||
//# sourceMappingURL=index.js.map |
import PropTypes from 'prop-types'; | ||
var Column = PropTypes.shape({ | ||
name: PropTypes.string.isRequired, | ||
type: PropTypes.string.isRequired, | ||
description: PropTypes.string, | ||
constituentType: PropTypes.string, | ||
name: PropTypes.string.isRequired, | ||
type: PropTypes.string.isRequired, | ||
description: PropTypes.string, | ||
constituentType: PropTypes.string | ||
}); | ||
var FilterCondition = PropTypes.shape({ | ||
not: PropTypes.func.isRequired, | ||
and: PropTypes.func.isRequired, | ||
or: PropTypes.func.isRequired, | ||
not: PropTypes.func.isRequired, | ||
and: PropTypes.func.isRequired, | ||
or: PropTypes.func.isRequired | ||
}); | ||
var Sort = PropTypes.shape({ | ||
asc: PropTypes.func.isRequired, | ||
desc: PropTypes.func.isRequired, | ||
abs: PropTypes.func.isRequired, | ||
column: Column.isRequired, | ||
direction: PropTypes.string.isRequired, | ||
isAbs: PropTypes.bool.isRequired, | ||
asc: PropTypes.func.isRequired, | ||
desc: PropTypes.func.isRequired, | ||
abs: PropTypes.func.isRequired, | ||
column: Column.isRequired, | ||
direction: PropTypes.string.isRequired, | ||
isAbs: PropTypes.bool.isRequired | ||
}); | ||
var Table = PropTypes.shape({ | ||
columns: PropTypes.arrayOf(Column).isRequired, | ||
customColumns: PropTypes.arrayOf(PropTypes.string).isRequired, | ||
filter: PropTypes.arrayOf(FilterCondition), | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
size: PropTypes.number.isRequired, | ||
sort: PropTypes.arrayOf(PropTypes.any), | ||
copy: PropTypes.func.isRequired, | ||
applyFilter: PropTypes.func.isRequired, | ||
applySort: PropTypes.func.isRequired, | ||
applyCustomColumns: PropTypes.func.isRequired, | ||
description: PropTypes.string, | ||
columns: PropTypes.arrayOf(Column).isRequired, | ||
customColumns: PropTypes.arrayOf(PropTypes.string).isRequired, | ||
filter: PropTypes.arrayOf(FilterCondition), | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
size: PropTypes.number.isRequired, | ||
sort: PropTypes.arrayOf(PropTypes.any), | ||
copy: PropTypes.func.isRequired, | ||
applyFilter: PropTypes.func.isRequired, | ||
applySort: PropTypes.func.isRequired, | ||
applyCustomColumns: PropTypes.func.isRequired, | ||
description: PropTypes.string | ||
}); | ||
var TreeTable = PropTypes.shape({ | ||
columns: PropTypes.arrayOf(Column), | ||
filter: PropTypes.arrayOf(PropTypes.any), | ||
isExpanded: PropTypes.func.isRequired, | ||
saveExpandedState: PropTypes.func.isRequired, | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
size: PropTypes.number.isRequired, | ||
sort: PropTypes.arrayOf(PropTypes.any), | ||
applyFilter: PropTypes.func.isRequired, | ||
applySort: PropTypes.func.isRequired, | ||
columns: PropTypes.arrayOf(Column), | ||
filter: PropTypes.arrayOf(PropTypes.any), | ||
isExpanded: PropTypes.func.isRequired, | ||
saveExpandedState: PropTypes.func.isRequired, | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
size: PropTypes.number.isRequired, | ||
sort: PropTypes.arrayOf(PropTypes.any), | ||
applyFilter: PropTypes.func.isRequired, | ||
applySort: PropTypes.func.isRequired | ||
}); | ||
var VariableDefinition = PropTypes.shape({ | ||
name: PropTypes.string.isRequired, | ||
type: PropTypes.string.isRequired, | ||
name: PropTypes.string.isRequired, | ||
type: PropTypes.string.isRequired | ||
}); | ||
var VariableChanges = PropTypes.shape({ | ||
created: PropTypes.arrayOf(VariableDefinition).isRequired, | ||
updated: PropTypes.arrayOf(VariableDefinition).isRequired, | ||
removed: PropTypes.arrayOf(VariableDefinition).isRequired, | ||
created: PropTypes.arrayOf(VariableDefinition).isRequired, | ||
updated: PropTypes.arrayOf(VariableDefinition).isRequired, | ||
removed: PropTypes.arrayOf(VariableDefinition).isRequired | ||
}); | ||
var RollupConfig = PropTypes.shape({ | ||
groupingColumns: PropTypes.arrayOf(PropTypes.string), | ||
aggregations: PropTypes.shape({}), | ||
includeConstituents: PropTypes.bool, | ||
includeOriginalColumns: PropTypes.bool, | ||
includeDescriptions: PropTypes.bool, | ||
groupingColumns: PropTypes.arrayOf(PropTypes.string), | ||
aggregations: PropTypes.shape({}), | ||
includeConstituents: PropTypes.bool, | ||
includeOriginalColumns: PropTypes.bool, | ||
includeDescriptions: PropTypes.bool | ||
}); | ||
var User = PropTypes.shape({ | ||
name: PropTypes.string.isRequired, | ||
operateAs: PropTypes.string.isRequired, | ||
name: PropTypes.string.isRequired, | ||
operateAs: PropTypes.string.isRequired | ||
}); | ||
var IdeSession = PropTypes.shape({ | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
onLogMessage: PropTypes.func, | ||
getTable: PropTypes.func.isRequired, | ||
runCode: PropTypes.func.isRequired, | ||
addEventListener: PropTypes.func.isRequired, | ||
removeEventListener: PropTypes.func.isRequired, | ||
onLogMessage: PropTypes.func, | ||
getTable: PropTypes.func.isRequired, | ||
runCode: PropTypes.func.isRequired | ||
}); | ||
var DhPropTypes = Object.freeze({ | ||
Column: Column, | ||
FilterCondition: FilterCondition, | ||
IdeSession: IdeSession, | ||
RollupConfig: RollupConfig, | ||
Sort: Sort, | ||
Table: Table, | ||
TreeTable: TreeTable, | ||
User: User, | ||
VariableChanges: VariableChanges, | ||
VariableDefinition: VariableDefinition, | ||
Column, | ||
FilterCondition, | ||
IdeSession, | ||
RollupConfig, | ||
Sort, | ||
Table, | ||
TreeTable, | ||
User, | ||
VariableChanges, | ||
VariableDefinition | ||
}); | ||
export default DhPropTypes; | ||
//# sourceMappingURL=PropTypes.js.map |
{ | ||
"name": "@deephaven/jsapi-shim", | ||
"version": "0.5.2-beta.0+0936be9", | ||
"version": "0.6.0", | ||
"description": "Deephaven JSAPI Shim", | ||
"author": "Deephaven Data Labs LLC", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
@@ -42,2 +43,3 @@ "type": "git", | ||
"@babel/core": "7.12.3", | ||
"@deephaven/tsconfig": "^0.4.0", | ||
"babel-loader": "8.1.0", | ||
@@ -57,3 +59,3 @@ "classnames": "^2.3.1", | ||
}, | ||
"gitHead": "0936be95c2308353398af459d9e661a733f1ffde" | ||
"gitHead": "126e214ebbfe40b45113349c66913c65fc2236fd" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
66935
205
0
Yes
10