@deephaven/jsapi-shim
Advanced tools
Comparing version 0.4.1-modules.0 to 0.5.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; | ||
var dh = window.dh; | ||
export default dh; | ||
//# sourceMappingURL=dh.js.map |
@@ -1,4 +0,4 @@ | ||
export { default as dh } from "./dh.js"; | ||
export { default as PropTypes } from "./PropTypes.js"; | ||
export { default } from "./dh.js"; | ||
export { default as dh } from './dh'; | ||
export { default as PropTypes } from './PropTypes'; | ||
export { default } from './dh'; | ||
//# 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, | ||
FilterCondition, | ||
IdeSession, | ||
RollupConfig, | ||
Sort, | ||
Table, | ||
TreeTable, | ||
User, | ||
VariableChanges, | ||
VariableDefinition | ||
Column: Column, | ||
FilterCondition: FilterCondition, | ||
IdeSession: IdeSession, | ||
RollupConfig: RollupConfig, | ||
Sort: Sort, | ||
Table: Table, | ||
TreeTable: TreeTable, | ||
User: User, | ||
VariableChanges: VariableChanges, | ||
VariableDefinition: VariableDefinition, | ||
}); | ||
export default DhPropTypes; | ||
//# sourceMappingURL=PropTypes.js.map |
{ | ||
"name": "@deephaven/jsapi-shim", | ||
"version": "0.4.1-modules.0+babe987", | ||
"version": "0.5.0", | ||
"description": "Deephaven JSAPI Shim", | ||
"author": "Deephaven Data Labs LLC", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
@@ -43,3 +42,2 @@ "type": "git", | ||
"@babel/core": "7.12.3", | ||
"@deephaven/tsconfig": "^0.4.1-modules.0+babe987", | ||
"babel-loader": "8.1.0", | ||
@@ -59,3 +57,3 @@ "classnames": "^2.3.1", | ||
}, | ||
"gitHead": "babe9873983923869be98e4943bfb173a7097641" | ||
"gitHead": "520f49c8774ee88411308fd19661086f5a3962b3" | ||
} |
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
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
9
0
62272
203
No