@deephaven-enterprise/types 1.20240723.536-alpha-npm-publish.23386

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,136 @@
1
+ Deephaven Data Labs is dedicated to developing Deephaven's software in the open
2
+ and is making software available under the following licenses:
3
+
4
+ - **Deephaven Open Source** is made available under the Apache 2.0 License
5
+ - **Deephaven Community** is provided under a source-available license, the
6
+ Deephaven Community License Agreement
7
+
8
+ To request a commercial license for software or uses not covered by these
9
+ licenses or to ask any license-related question, please contact us at:
10
+ [license@deephaven.io](mailto:license@deephaven.io)
11
+
12
+
13
+ # Deephaven Community License Agreement Version 1.0
14
+
15
+ 1. **ACCEPTANCE.** This Deephaven Community License Agreement is entered into by
16
+ and between Deephaven Data Labs LLC, a Delaware Limited Liability Company, with
17
+ an address of 2800 Niagara Lane North, Plymouth, MN 55447 ("Deephaven") and
18
+ “You” (a) in your individual capacity, or (b) on behalf of your company if you
19
+ are licensing the Software for a company for which or with which you work. By
20
+ using the Software, You agree to all of the terms and conditions in this
21
+ Deephaven Community License Agreement (the "Agreement").
22
+
23
+ 2. **THE SOFTWARE.** The "Software" means the version of the Deephaven Community
24
+ Software provided to the original licensee with this Agreement. The Software may
25
+ include third party owned code. Each third party module is subject to the terms
26
+ of its respective license; the details of which can be found in the notices
27
+ served at [https://github.com/deephaven/deephaven-core](https://github.com/deephaven/deephaven-core).
28
+ Since licensees may contribute back to the Software as provided for in Section
29
+ 3(b), the Software may include any such contributions.
30
+
31
+ 3. **GRANT OF LICENSE.** Subject to the terms and conditions of this Agreement,
32
+ Deephaven hereby grants You a royalty-free, worldwide, non-exclusive,
33
+ non-transferable license to the Software (the "License"), subject, in all of the
34
+ cases, to applicable laws and regulations, but not for the Prohibited Use (as
35
+ provided for in Section 4), solely as follows:
36
+
37
+ - a. **Internal Use.** A license to use, copy, compile, and install the
38
+ Software for Your internal use;
39
+
40
+ - b. **Derivative Works.** A license to (i) prepare, develop, compile, and test
41
+ Derivative Works of the Software, (ii) use Your Derivative Works for Your
42
+ internal use solely as expressly permitted in Section 3(a), and (iii) distribute
43
+ Your Derivative Works back to Deephaven under a separate Deephaven Contributor
44
+ Agreement for potential incorporation into the Software at Deephaven's sole
45
+ discretion. A "Derivative Work" means any work that (A) is based on or derived
46
+ from the Software including any modifications to the Software, or (B) meets the
47
+ definition of derivative work under the United States Copyright Act of 1976, 17
48
+ U.S.C. Section 101; and
49
+
50
+ - c. **Distribution and redistribution.** A license to distribute or
51
+ redistribute the Software and Your Derivative Works, and copies of the Software
52
+ and Your Derivative Works, to customers and other third parties for their use
53
+ pursuant to this Agreement subject to the prohibitions in Section 4 and
54
+ Agreement requirement as provided for in Section 5.
55
+
56
+ 4. **PROHIBITED USE.** Notwithstanding any provision of this Agreement to the
57
+ contrary, the original licensee is prohibited from using, distributing, or
58
+ deploying the Software or Derivative Works in such a way that a third party
59
+ (including any recipient under Section 3(c)) can, directly or indirectly
60
+ through the original licensee, its agents, its technology, or solutions made
61
+ available to them, add, define, redefine, or modify the schema for any input
62
+ tables (including source tables, or other input objects) that the Software or
63
+ Derivative Works access. For clarification, every recipient of the Software or
64
+ Derivative Works after the original licensee of the Software is prohibited from
65
+ adding, defining, redefining, or modifying the schema for any input tables
66
+ (including source tables, or other input objects) that the Software or
67
+ Derivative Works access. This prohibition in no way affects the ability of a
68
+ third party to add, define, redefine, or modify the schema of output tables
69
+ (including output tables that are interim or derived). Further, this
70
+ prohibition in no way affects the ability of a third party to add, define,
71
+ redefine, or modify data (as opposed to schema), nor does it cause You to be
72
+ limited in any capacity for Your internal use as permitted in Section 3(a). If
73
+ You have any questions on this prohibition, please contact us at:
74
+ [license@deephaven.io](mailto:license@deephaven.io)
75
+
76
+ 5. **AGREEMENT.** If You distribute the Software, whether directly, as a copy,
77
+ or via Your Derivative Works you must provide recipients a copy of this
78
+ Agreement (which will bind each recipient directly) and You must ensure that all
79
+ copyright, patent, trademark, and attribution notices from the Software are
80
+ retained.
81
+
82
+ 6. **AFFILIATES.** You may permit Your affiliates to exercise the License,
83
+ provided that such exercise must be solely for Your benefit and/or the benefit
84
+ of Your affiliate, and You shall be responsible for all acts and omissions of
85
+ such affiliates in connection with such exercise of the License, including but
86
+ not limited to breach of any terms of this Agreement.
87
+
88
+ 7. **SUBLICENSE.** The License is sublicensable only to Your third-party
89
+ subcontractors and contractors performing services on Your or Your affiliates'
90
+ behalf, subject to the terms and conditions of this Agreement. The License is
91
+ not sublicensable to any other third party nor is it further sublicensable. You
92
+ shall be responsible for all acts and omissions of such subcontractor and
93
+ contractors in connection with such exercise of the sublicense, including but
94
+ not limited to breach of any terms of this Agreement.
95
+
96
+ 8. **PATENTS.** Rights to use the Software do not give You any right to
97
+ implement or use Deephaven's patents independently of the permitted use of the
98
+ Software.
99
+
100
+ 9. **RESERVATION OF RIGHTS.** Deephaven reserves all rights not granted in this
101
+ Agreement. You have no right to use Deephaven trade names, trademarks, service
102
+ marks, or product names except as required for reasonable and customary use in
103
+ describing the origin of the Software.
104
+
105
+ 10. **DISCLAIMER OF WARRANTY.** THE SOFTWARE IS LICENSED ON AN "AS IS" BASIS
106
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. DEEPHAVEN DISCLAIMS ALL
107
+ WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF
108
+ TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
109
+ You are solely responsible for determining the appropriateness of using,
110
+ distributing or redistributing the Software and Derivative Works and assume all
111
+ risks associated with Your exercise of the License.
112
+
113
+ 11. **INDEMNIFICATION.** If You distribute or redistribute the Software or
114
+ Derivative Works, You agree to defend on request, and indemnify, Deephaven and
115
+ its affiliates, officers, directors, employees and agents from and against any
116
+ and all losses, damages, liabilities, claims, costs and expenses (including
117
+ reasonable attorney’s fees and expenses) incurred or arising from the
118
+ exploitation of the Software or Derivative Works.
119
+
120
+ 12. **LIMITATION OF LIABILITY.** THE LICENSE IS GRANTED FOR NO FEE. IN NO EVENT
121
+ AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
122
+ OTHERWISE, SHALL DEEPHAVEN BE LIABLE FOR ANY DAMAGES ARISING OUT OF OR AS A
123
+ RESULT OF THIS AGREEMENT, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL,
124
+ OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF
125
+ GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR LOSS OR CORRUPTION
126
+ OF DATA), EVEN IF DEEPHAVEN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
127
+
128
+ 13. **TERMINATION.** The License will automatically terminate if You violate the
129
+ use rights or prohibitions in this Agreement.
130
+
131
+ 14. **GOVERNING LAW.** This Agreement will be interpreted, construed and
132
+ enforced in all respects in accordance with the laws of the State of Delaware,
133
+ USA without reference to its choice of law rules to the contrary.
134
+
135
+
136
+ # END OF AGREEMENT
@@ -0,0 +1 @@
1
+ export * from './prop-types';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './prop-types';
@@ -0,0 +1,5 @@
1
+ import PropTypes from 'prop-types';
2
+ export declare const CommonPropTypes: Readonly<{
3
+ nullableStringRequired: PropTypes.Requireable<{}>;
4
+ }>;
5
+ export default CommonPropTypes;
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ const nullableStringRequired = PropTypes.oneOfType([
3
+ PropTypes.string.isRequired,
4
+ (props, propName) => props[propName] === null ? null : new Error('Not null'),
5
+ ]);
6
+ export const CommonPropTypes = Object.freeze({
7
+ nullableStringRequired,
8
+ });
9
+ export default CommonPropTypes;
@@ -0,0 +1 @@
1
+ export * from './CommonPropTypes';
@@ -0,0 +1 @@
1
+ export * from './CommonPropTypes';
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@deephaven-enterprise/types",
3
+ "version": "1.20240723.536-alpha-npm-publish.23386+75966764aa",
4
+ "description": "Deephaven Enterprise Types",
5
+ "author": "Deephaven Data Labs LLC",
6
+ "license": "SEE LICENSE IN LICENSE.md",
7
+ "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/deephaven-ent/iris.git",
11
+ "directory": "web/client-ui/packages/types"
12
+ },
13
+ "private": false,
14
+ "source": "src/index.ts",
15
+ "main": "dist/index.js",
16
+ "types": "dist/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "sideEffects": false,
21
+ "scripts": {
22
+ "build": "tsc --build"
23
+ },
24
+ "dependencies": {
25
+ "prop-types": "^15.6.1"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "gitHead": "75966764aad5efa8cbcf8358c9034dc8c3572116"
31
+ }