@osdk/api 2.1.0-beta.2 → 2.1.0-beta.21
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/CHANGELOG.md +103 -0
- package/build/browser/Definitions.d.ts +3 -3
- package/build/browser/Definitions.d.ts.map +1 -1
- package/build/browser/OsdkObjectFrom.d.ts +3 -4
- package/build/browser/OsdkObjectFrom.d.ts.map +1 -1
- package/build/browser/OsdkObjectFrom.test.js +15 -13
- package/build/browser/OsdkObjectFrom.test.js.map +1 -1
- package/build/browser/actions/Actions.d.ts +2 -2
- package/build/browser/actions/Actions.d.ts.map +1 -1
- package/build/browser/aggregate/AggregatableKeys.d.ts +2 -2
- package/build/browser/aggregate/AggregatableKeys.d.ts.map +1 -1
- package/build/browser/aggregate/ArrayFilter.d.ts +14 -0
- package/build/browser/aggregate/ArrayFilter.d.ts.map +1 -0
- package/build/browser/{objectSet/EXPERIMENTAL_ObjectSetListener.js → aggregate/ArrayFilter.js} +1 -1
- package/build/browser/aggregate/ArrayFilter.js.map +1 -0
- package/build/browser/aggregate/BaseFilter.d.ts +19 -0
- package/build/browser/aggregate/BaseFilter.d.ts.map +1 -0
- package/build/{esm/objectSet/EXPERIMENTAL_ObjectSetListener.js → browser/aggregate/BaseFilter.js} +1 -1
- package/build/browser/aggregate/BaseFilter.js.map +1 -0
- package/build/browser/aggregate/BooleanFilter.d.ts +17 -0
- package/build/browser/aggregate/BooleanFilter.d.ts.map +1 -0
- package/build/browser/aggregate/BooleanFilter.js +19 -0
- package/build/browser/aggregate/BooleanFilter.js.map +1 -0
- package/build/browser/aggregate/DatetimeFilter.d.ts +28 -0
- package/build/browser/aggregate/DatetimeFilter.d.ts.map +1 -0
- package/build/browser/aggregate/DatetimeFilter.js +19 -0
- package/build/browser/aggregate/DatetimeFilter.js.map +1 -0
- package/build/browser/aggregate/GeoFilter.d.ts +40 -0
- package/build/browser/aggregate/GeoFilter.d.ts.map +1 -0
- package/build/browser/aggregate/GeoFilter.js +17 -0
- package/build/browser/aggregate/GeoFilter.js.map +1 -0
- package/build/browser/aggregate/Just.d.ts +9 -0
- package/build/browser/aggregate/Just.d.ts.map +1 -0
- package/build/browser/aggregate/Just.js +17 -0
- package/build/browser/aggregate/Just.js.map +1 -0
- package/build/browser/aggregate/NumberFilter.d.ts +29 -0
- package/build/browser/aggregate/NumberFilter.d.ts.map +1 -0
- package/build/browser/aggregate/NumberFilter.js +19 -0
- package/build/browser/aggregate/NumberFilter.js.map +1 -0
- package/build/browser/aggregate/StringFilter.d.ts +36 -0
- package/build/browser/aggregate/StringFilter.d.ts.map +1 -0
- package/build/browser/aggregate/StringFilter.js +19 -0
- package/build/browser/aggregate/StringFilter.js.map +1 -0
- package/build/browser/aggregate/WhereClause.d.ts +13 -15
- package/build/browser/aggregate/WhereClause.d.ts.map +1 -1
- package/build/browser/definitions/LinkDefinitions.d.ts +4 -4
- package/build/browser/definitions/LinkDefinitions.d.ts.map +1 -1
- package/build/browser/experimental/Experiment.d.ts +8 -0
- package/build/browser/experimental/Experiment.d.ts.map +1 -0
- package/build/browser/experimental/Experiment.js +17 -0
- package/build/browser/experimental/Experiment.js.map +1 -0
- package/build/browser/experimental/fetchOneByRid.d.ts +11 -0
- package/build/browser/experimental/fetchOneByRid.d.ts.map +1 -0
- package/build/browser/experimental/fetchOneByRid.js +21 -0
- package/build/browser/experimental/fetchOneByRid.js.map +1 -0
- package/build/browser/experimental/getBulkLinks.d.ts +10 -0
- package/build/browser/experimental/getBulkLinks.d.ts.map +1 -0
- package/build/browser/experimental/getBulkLinks.js +21 -0
- package/build/browser/experimental/getBulkLinks.js.map +1 -0
- package/build/browser/experimental/subscribe.d.ts +12 -0
- package/build/browser/experimental/subscribe.d.ts.map +1 -0
- package/build/browser/experimental/subscribe.js +21 -0
- package/build/browser/experimental/subscribe.js.map +1 -0
- package/build/browser/index.d.ts +3 -1
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/mapping/DataValueMapping.d.ts +3 -1
- package/build/browser/mapping/DataValueMapping.d.ts.map +1 -1
- package/build/browser/mapping/PropertyValueMapping.d.ts +11 -1
- package/build/browser/mapping/PropertyValueMapping.d.ts.map +1 -1
- package/build/browser/object/Attachment.d.ts +3 -6
- package/build/browser/object/Attachment.d.ts.map +1 -1
- package/build/browser/object/FetchPageArgs.d.ts +3 -11
- package/build/browser/object/FetchPageArgs.d.ts.map +1 -1
- package/build/browser/object/ObjectDefinitions.test.js +4 -0
- package/build/browser/object/ObjectDefinitions.test.js.map +1 -1
- package/build/browser/objectSet/BaseObjectSet.d.ts +3 -3
- package/build/browser/objectSet/BaseObjectSet.d.ts.map +1 -1
- package/build/browser/objectSet/BulkLinkResult.d.ts +8 -0
- package/build/browser/objectSet/BulkLinkResult.d.ts.map +1 -0
- package/build/browser/objectSet/BulkLinkResult.js +17 -0
- package/build/browser/objectSet/BulkLinkResult.js.map +1 -0
- package/build/browser/objectSet/ObjectSet.d.ts +8 -9
- package/build/browser/objectSet/ObjectSet.d.ts.map +1 -1
- package/build/browser/objectSet/ObjectSetListener.d.ts +39 -0
- package/build/browser/objectSet/ObjectSetListener.d.ts.map +1 -0
- package/build/browser/objectSet/ObjectSetListener.js +17 -0
- package/build/browser/objectSet/ObjectSetListener.js.map +1 -0
- package/build/browser/ontology/QueryDefinition.d.ts.map +1 -1
- package/build/browser/ontology/WirePropertyTypes.d.ts +2 -1
- package/build/browser/ontology/WirePropertyTypes.d.ts.map +1 -1
- package/build/browser/public/unstable.d.ts +5 -4
- package/build/browser/public/unstable.d.ts.map +1 -1
- package/build/browser/public/unstable.js +3 -3
- package/build/browser/public/unstable.js.map +1 -1
- package/build/browser/queries/Queries.d.ts +1 -2
- package/build/browser/queries/Queries.d.ts.map +1 -1
- package/build/esm/Definitions.d.ts +3 -3
- package/build/esm/Definitions.d.ts.map +1 -1
- package/build/esm/OsdkObjectFrom.d.ts +3 -4
- package/build/esm/OsdkObjectFrom.d.ts.map +1 -1
- package/build/esm/OsdkObjectFrom.test.js +15 -13
- package/build/esm/OsdkObjectFrom.test.js.map +1 -1
- package/build/esm/actions/Actions.d.ts +2 -2
- package/build/esm/actions/Actions.d.ts.map +1 -1
- package/build/esm/aggregate/AggregatableKeys.d.ts +2 -2
- package/build/esm/aggregate/AggregatableKeys.d.ts.map +1 -1
- package/build/esm/aggregate/ArrayFilter.d.ts +14 -0
- package/build/esm/aggregate/ArrayFilter.d.ts.map +1 -0
- package/build/esm/aggregate/ArrayFilter.js +17 -0
- package/build/esm/aggregate/ArrayFilter.js.map +1 -0
- package/build/esm/aggregate/BaseFilter.d.ts +19 -0
- package/build/esm/aggregate/BaseFilter.d.ts.map +1 -0
- package/build/esm/aggregate/BaseFilter.js +17 -0
- package/build/esm/aggregate/BaseFilter.js.map +1 -0
- package/build/esm/aggregate/BooleanFilter.d.ts +17 -0
- package/build/esm/aggregate/BooleanFilter.d.ts.map +1 -0
- package/build/esm/aggregate/BooleanFilter.js +19 -0
- package/build/esm/aggregate/BooleanFilter.js.map +1 -0
- package/build/esm/aggregate/DatetimeFilter.d.ts +28 -0
- package/build/esm/aggregate/DatetimeFilter.d.ts.map +1 -0
- package/build/esm/aggregate/DatetimeFilter.js +19 -0
- package/build/esm/aggregate/DatetimeFilter.js.map +1 -0
- package/build/esm/aggregate/GeoFilter.d.ts +40 -0
- package/build/esm/aggregate/GeoFilter.d.ts.map +1 -0
- package/build/esm/aggregate/GeoFilter.js +17 -0
- package/build/esm/aggregate/GeoFilter.js.map +1 -0
- package/build/esm/aggregate/Just.d.ts +9 -0
- package/build/esm/aggregate/Just.d.ts.map +1 -0
- package/build/esm/aggregate/Just.js +17 -0
- package/build/esm/aggregate/Just.js.map +1 -0
- package/build/esm/aggregate/NumberFilter.d.ts +29 -0
- package/build/esm/aggregate/NumberFilter.d.ts.map +1 -0
- package/build/esm/aggregate/NumberFilter.js +19 -0
- package/build/esm/aggregate/NumberFilter.js.map +1 -0
- package/build/esm/aggregate/StringFilter.d.ts +36 -0
- package/build/esm/aggregate/StringFilter.d.ts.map +1 -0
- package/build/esm/aggregate/StringFilter.js +19 -0
- package/build/esm/aggregate/StringFilter.js.map +1 -0
- package/build/esm/aggregate/WhereClause.d.ts +13 -15
- package/build/esm/aggregate/WhereClause.d.ts.map +1 -1
- package/build/esm/definitions/LinkDefinitions.d.ts +4 -4
- package/build/esm/definitions/LinkDefinitions.d.ts.map +1 -1
- package/build/esm/experimental/Experiment.d.ts +8 -0
- package/build/esm/experimental/Experiment.d.ts.map +1 -0
- package/build/esm/experimental/Experiment.js +17 -0
- package/build/esm/experimental/Experiment.js.map +1 -0
- package/build/esm/experimental/fetchOneByRid.d.ts +11 -0
- package/build/esm/experimental/fetchOneByRid.d.ts.map +1 -0
- package/build/esm/experimental/fetchOneByRid.js +21 -0
- package/build/esm/experimental/fetchOneByRid.js.map +1 -0
- package/build/esm/experimental/getBulkLinks.d.ts +10 -0
- package/build/esm/experimental/getBulkLinks.d.ts.map +1 -0
- package/build/esm/experimental/getBulkLinks.js +21 -0
- package/build/esm/experimental/getBulkLinks.js.map +1 -0
- package/build/esm/experimental/subscribe.d.ts +12 -0
- package/build/esm/experimental/subscribe.d.ts.map +1 -0
- package/build/esm/experimental/subscribe.js +21 -0
- package/build/esm/experimental/subscribe.js.map +1 -0
- package/build/esm/index.d.ts +3 -1
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/mapping/DataValueMapping.d.ts +3 -1
- package/build/esm/mapping/DataValueMapping.d.ts.map +1 -1
- package/build/esm/mapping/PropertyValueMapping.d.ts +11 -1
- package/build/esm/mapping/PropertyValueMapping.d.ts.map +1 -1
- package/build/esm/object/Attachment.d.ts +3 -6
- package/build/esm/object/Attachment.d.ts.map +1 -1
- package/build/esm/object/FetchPageArgs.d.ts +3 -11
- package/build/esm/object/FetchPageArgs.d.ts.map +1 -1
- package/build/esm/object/ObjectDefinitions.test.js +4 -0
- package/build/esm/object/ObjectDefinitions.test.js.map +1 -1
- package/build/esm/objectSet/BaseObjectSet.d.ts +3 -3
- package/build/esm/objectSet/BaseObjectSet.d.ts.map +1 -1
- package/build/esm/objectSet/BulkLinkResult.d.ts +8 -0
- package/build/esm/objectSet/BulkLinkResult.d.ts.map +1 -0
- package/build/esm/objectSet/BulkLinkResult.js +17 -0
- package/build/esm/objectSet/BulkLinkResult.js.map +1 -0
- package/build/esm/objectSet/ObjectSet.d.ts +8 -9
- package/build/esm/objectSet/ObjectSet.d.ts.map +1 -1
- package/build/esm/objectSet/ObjectSetListener.d.ts +39 -0
- package/build/esm/objectSet/ObjectSetListener.d.ts.map +1 -0
- package/build/esm/objectSet/ObjectSetListener.js +17 -0
- package/build/esm/objectSet/ObjectSetListener.js.map +1 -0
- package/build/esm/ontology/QueryDefinition.d.ts.map +1 -1
- package/build/esm/ontology/WirePropertyTypes.d.ts +2 -1
- package/build/esm/ontology/WirePropertyTypes.d.ts.map +1 -1
- package/build/esm/public/unstable.d.ts +5 -4
- package/build/esm/public/unstable.d.ts.map +1 -1
- package/build/esm/public/unstable.js +3 -3
- package/build/esm/public/unstable.js.map +1 -1
- package/build/esm/queries/Queries.d.ts +1 -2
- package/build/esm/queries/Queries.d.ts.map +1 -1
- package/package.json +8 -6
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -23
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
- package/build/browser/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts +0 -23
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.d.ts.map +0 -1
- package/build/esm/objectSet/EXPERIMENTAL_ObjectSetListener.js.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=GeoFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoFilter.js","names":[],"sources":["GeoFilter.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Just.d.ts","sourceRoot":"","sources":["../../../src/aggregate/Just.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,CAAC,IACjC;KACC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACf,GACC;KACC,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK;CAClD,CAAC;AAEJ,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,IAAI;KAC1D,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK;CACjB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Just.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Just.js","names":[],"sources":["Just.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BaseFilterOptions } from "./BaseFilter.js";
|
|
2
|
+
import type { Just } from "./Just.js";
|
|
3
|
+
interface NumberFilterOptions extends BaseFilterOptions<number> {
|
|
4
|
+
"$gt": number;
|
|
5
|
+
"$gte": number;
|
|
6
|
+
"$lt": number;
|
|
7
|
+
"$lte": number;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace NumberFilter {
|
|
10
|
+
interface $eq extends Just<"$eq", NumberFilterOptions> {
|
|
11
|
+
}
|
|
12
|
+
interface $ne extends Just<"$ne", NumberFilterOptions> {
|
|
13
|
+
}
|
|
14
|
+
interface $isNull extends Just<"$isNull", NumberFilterOptions> {
|
|
15
|
+
}
|
|
16
|
+
interface $gt extends Just<"$gt", NumberFilterOptions> {
|
|
17
|
+
}
|
|
18
|
+
interface $gte extends Just<"$gte", NumberFilterOptions> {
|
|
19
|
+
}
|
|
20
|
+
interface $lt extends Just<"$lt", NumberFilterOptions> {
|
|
21
|
+
}
|
|
22
|
+
interface $lte extends Just<"$lte", NumberFilterOptions> {
|
|
23
|
+
}
|
|
24
|
+
interface $in extends Just<"$in", NumberFilterOptions> {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export type NumberFilter = number | NumberFilter.$eq | NumberFilter.$ne | NumberFilter.$isNull | NumberFilter.$in | NumberFilter.$gt | NumberFilter.$gte | NumberFilter.$lt | NumberFilter.$lte;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=NumberFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFilter.d.ts","sourceRoot":"","sources":["../../../src/aggregate/NumberFilter.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,iBAAiB,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,UAAU,mBAAoB,SAAQ,iBAAiB,CAAC,MAAM,CAAC;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,OAAQ,SAAQ,IAAI,CAAC,SAAS,EAAE,mBAAmB,CAAC;KAAG;IACxE,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,IAAK,SAAQ,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC;KAAG;IAClE,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,IAAK,SAAQ,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC;KAAG;IAClE,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;CACjE;AACD,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,OAAO,GACpB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,IAAI,GACjB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/** @internal */
|
|
17
|
+
function _typeCheck() {}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=NumberFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFilter.js","names":["_typeCheck"],"sources":["NumberFilter.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/** @internal */\nfunction _typeCheck() {\n const b = {};\n}\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAUA,CAAA,EAAG,CAEtB;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { BaseFilterOptions } from "./BaseFilter.js";
|
|
2
|
+
import type { Just } from "./Just.js";
|
|
3
|
+
interface StringFilterOptions extends BaseFilterOptions<string> {
|
|
4
|
+
"$startsWith": string;
|
|
5
|
+
"$containsAllTermsInOrder": string;
|
|
6
|
+
"$containsAnyTerm": string | {
|
|
7
|
+
term: string;
|
|
8
|
+
fuzzySearch?: boolean;
|
|
9
|
+
};
|
|
10
|
+
"$containsAllTerms": string | {
|
|
11
|
+
term: string;
|
|
12
|
+
fuzzySearch?: boolean;
|
|
13
|
+
};
|
|
14
|
+
"$in": ReadonlyArray<string>;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace StringFilter {
|
|
17
|
+
interface $eq extends Just<"$eq", StringFilterOptions> {
|
|
18
|
+
}
|
|
19
|
+
interface $ne extends Just<"$ne", StringFilterOptions> {
|
|
20
|
+
}
|
|
21
|
+
interface $isNull extends Just<"$isNull", StringFilterOptions> {
|
|
22
|
+
}
|
|
23
|
+
interface $startsWith extends Just<"$startsWith", StringFilterOptions> {
|
|
24
|
+
}
|
|
25
|
+
interface $containsAllTermsInOrder extends Just<"$containsAllTermsInOrder", StringFilterOptions> {
|
|
26
|
+
}
|
|
27
|
+
interface $containsAnyTerm extends Just<"$containsAnyTerm", StringFilterOptions> {
|
|
28
|
+
}
|
|
29
|
+
interface $containsAllTerms extends Just<"$containsAllTerms", StringFilterOptions> {
|
|
30
|
+
}
|
|
31
|
+
interface $in extends Just<"$in", StringFilterOptions> {
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export type StringFilter = string | StringFilter.$eq | StringFilter.$ne | StringFilter.$isNull | StringFilter.$in | StringFilter.$startsWith | StringFilter.$containsAllTermsInOrder | StringFilter.$containsAnyTerm | StringFilter.$containsAllTerms;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=StringFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringFilter.d.ts","sourceRoot":"","sources":["../../../src/aggregate/StringFilter.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,iBAAiB,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,UAAU,mBAAoB,SAAQ,iBAAiB,CAAC,MAAM,CAAC;IAC7D,aAAa,EAAE,MAAM,CAAC;IACtB,0BAA0B,EAAE,MAAM,CAAC;IACnC,kBAAkB,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACrE,mBAAmB,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACtE,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,yBAAiB,YAAY,CAAC;IAC5B,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;IAChE,UAAiB,OAAQ,SAAQ,IAAI,CAAC,SAAS,EAAE,mBAAmB,CAAC;KAAG;IACxE,UAAiB,WACf,SAAQ,IAAI,CAAC,aAAa,EAAE,mBAAmB,CAAC;KAEjD;IACD,UAAiB,wBACf,SAAQ,IAAI,CAAC,0BAA0B,EAAE,mBAAmB,CAAC;KAE9D;IACD,UAAiB,gBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;KAEtD;IACD,UAAiB,iBACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;KAEvD;IACD,UAAiB,GAAI,SAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC;KAAG;CACjE;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,OAAO,GACpB,YAAY,CAAC,GAAG,GAChB,YAAY,CAAC,WAAW,GACxB,YAAY,CAAC,wBAAwB,GACrC,YAAY,CAAC,gBAAgB,GAC7B,YAAY,CAAC,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/** @internal */
|
|
17
|
+
function _typeCheck() {}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=StringFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringFilter.js","names":["_typeCheck"],"sources":["StringFilter.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/** @internal */\nfunction _typeCheck() {\n const b = {};\n}\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAUA,CAAA,EAAG,CAEtB;AACA","ignoreList":[]}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type { BBox, Point, Polygon } from "geojson";
|
|
2
|
-
import type { ObjectOrInterfaceDefinition
|
|
2
|
+
import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
|
|
3
3
|
import type { CompileTimeMetadata, ObjectMetadata } from "../ontology/ObjectTypeDefinition.js";
|
|
4
|
+
import type { IsNever } from "../OsdkObjectFrom.js";
|
|
5
|
+
import type { ArrayFilter } from "./ArrayFilter.js";
|
|
6
|
+
import type { BaseFilter } from "./BaseFilter.js";
|
|
7
|
+
import type { BooleanFilter } from "./BooleanFilter.js";
|
|
8
|
+
import type { DatetimeFilter } from "./DatetimeFilter.js";
|
|
9
|
+
import type { GeoFilter } from "./GeoFilter.js";
|
|
10
|
+
import type { NumberFilter } from "./NumberFilter.js";
|
|
11
|
+
import type { StringFilter } from "./StringFilter.js";
|
|
4
12
|
export type PossibleWhereClauseFilters = "$gt" | "$eq" | "$ne" | "$isNull" | "$contains" | "$gte" | "$lt" | "$lte" | "$within" | "$in" | "$intersects" | "$startsWith" | "$containsAllTermsInOrder" | "$containsAnyTerm" | "$containsAllTerms";
|
|
5
|
-
type MakeFilter<K extends PossibleWhereClauseFilters, V> = K extends string ? {
|
|
6
|
-
[k in K]: V;
|
|
7
|
-
} : never;
|
|
8
|
-
type BaseFilter<T> = T | MakeFilter<"$eq" | "$ne", T> | MakeFilter<"$in", Array<T>> | MakeFilter<"$isNull", boolean>;
|
|
9
|
-
type StringFilter = BaseFilter<string> | MakeFilter<"$startsWith" | "$containsAllTermsInOrder" | "$containsAnyTerm" | "$containsAllTerms", string>;
|
|
10
|
-
type NumberFilter = BaseFilter<number> | MakeFilter<"$gt" | "$gte" | "$lt" | "$lte", number>;
|
|
11
|
-
type DatetimeFilter = BaseFilter<string> | MakeFilter<"$gt" | "$gte" | "$lt" | "$lte", string>;
|
|
12
|
-
type BooleanFilter = boolean | MakeFilter<"$eq" | "$ne", boolean> | MakeFilter<"$isNull", boolean>;
|
|
13
|
-
type ArrayFilter<T> = MakeFilter<"$contains", T> | MakeFilter<"$isNull", boolean>;
|
|
14
13
|
export declare const DistanceUnitMapping: {
|
|
15
14
|
centimeter: "CENTIMETERS";
|
|
16
15
|
centimeters: "CENTIMETERS";
|
|
@@ -60,8 +59,7 @@ export type GeoFilter_Intersects = {
|
|
|
60
59
|
$bbox?: never;
|
|
61
60
|
} | Polygon;
|
|
62
61
|
};
|
|
63
|
-
|
|
64
|
-
type FilterFor<PD extends ObjectMetadata.Property> = PD["multiplicity"] extends true ? (PD["type"] extends "string" | "geopoint" | "geoshape" | "datetime" | "timestamp" ? ArrayFilter<string> : (PD["type"] extends boolean ? ArrayFilter<boolean> : ArrayFilter<number>)) : (PD["type"] extends "string" ? StringFilter : PD["type"] extends "geopoint" | "geoshape" ? GeoFilter : PD["type"] extends "datetime" | "timestamp" ? DatetimeFilter : PD["type"] extends "boolean" ? BooleanFilter : NumberFilter);
|
|
62
|
+
type FilterFor<PD extends ObjectMetadata.Property> = PD["multiplicity"] extends true ? (PD["type"] extends "string" | "geopoint" | "geoshape" | "datetime" | "timestamp" ? ArrayFilter<string> : (PD["type"] extends boolean ? ArrayFilter<boolean> : ArrayFilter<number>)) : (PD["type"] extends "string" ? StringFilter : PD["type"] extends "geopoint" | "geoshape" ? GeoFilter : PD["type"] extends "datetime" | "timestamp" ? DatetimeFilter : PD["type"] extends "boolean" ? BooleanFilter : PD["type"] extends "double" | "integer" | "long" | "float" | "decimal" | "byte" ? NumberFilter : BaseFilter<string>);
|
|
65
63
|
export interface AndWhereClause<T extends ObjectOrInterfaceDefinition> {
|
|
66
64
|
$and: WhereClause<T>[];
|
|
67
65
|
}
|
|
@@ -71,8 +69,8 @@ export interface OrWhereClause<T extends ObjectOrInterfaceDefinition> {
|
|
|
71
69
|
export interface NotWhereClause<T extends ObjectOrInterfaceDefinition> {
|
|
72
70
|
$not: WhereClause<T>;
|
|
73
71
|
}
|
|
74
|
-
export type WhereClause<T extends ObjectOrInterfaceDefinition> = OrWhereClause<T> | AndWhereClause<T> | NotWhereClause<T> | {
|
|
75
|
-
[P in
|
|
76
|
-
};
|
|
72
|
+
export type WhereClause<T extends ObjectOrInterfaceDefinition> = OrWhereClause<T> | AndWhereClause<T> | NotWhereClause<T> | (IsNever<keyof CompileTimeMetadata<T>["properties"]> extends true ? Record<string, never> : {
|
|
73
|
+
[P in keyof CompileTimeMetadata<T>["properties"]]?: FilterFor<CompileTimeMetadata<T>["properties"][P]>;
|
|
74
|
+
});
|
|
77
75
|
export {};
|
|
78
76
|
//# sourceMappingURL=WhereClause.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WhereClause.d.ts","sourceRoot":"","sources":["../../../src/aggregate/WhereClause.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EACV,2BAA2B,
|
|
1
|
+
{"version":3,"file":"WhereClause.d.ts","sourceRoot":"","sources":["../../../src/aggregate/WhereClause.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EACV,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,0BAA0B,GAClC,KAAK,GACL,KAAK,GACL,KAAK,GACL,SAAS,GACT,WAAW,GACX,MAAM,GACN,KAAK,GACL,MAAM,GACN,SAAS,GACT,KAAK,GACL,a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AAE,SAAS,CAC3D,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CACxC;CACF,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FetchPageArgs, SelectArg } from "../object/FetchPageArgs.js";
|
|
2
2
|
import type { Result } from "../object/Result.js";
|
|
3
3
|
import type { ObjectSet } from "../objectSet/ObjectSet.js";
|
|
4
4
|
import type { PropertyKeys } from "../ontology/ObjectOrInterface.js";
|
|
5
5
|
import type { CompileTimeMetadata, ObjectMetadata, ObjectTypeDefinition, ObjectTypeLinkKeysFrom2 } from "../ontology/ObjectTypeDefinition.js";
|
|
6
|
-
import type { Osdk } from "../OsdkObjectFrom.js";
|
|
6
|
+
import type { ExtractOptions, Osdk } from "../OsdkObjectFrom.js";
|
|
7
7
|
/** The $link container to get from one object type to its linked objects */
|
|
8
8
|
export type OsdkObjectLinksObject<O extends ObjectTypeDefinition> = ObjectTypeLinkKeysFrom2<O> extends never ? never : {
|
|
9
9
|
readonly [L in ObjectTypeLinkKeysFrom2<O>]: OsdkObjectLinksEntry<O, L>;
|
|
@@ -13,9 +13,9 @@ export type DefaultToFalse<B extends boolean | undefined> = false extends B ? fa
|
|
|
13
13
|
export interface SingleLinkAccessor<T extends ObjectTypeDefinition> {
|
|
14
14
|
/** Load the linked object
|
|
15
15
|
*/
|
|
16
|
-
fetchOne: <const A extends SelectArg<T, PropertyKeys<T>, boolean>>(options?: A) => Promise<
|
|
16
|
+
fetchOne: <const A extends SelectArg<T, PropertyKeys<T>, boolean>>(options?: A) => Promise<A extends FetchPageArgs<T, infer L, infer R, any, infer S> ? Osdk.Instance<T, ExtractOptions<R, S>, L> : Osdk.Instance<T>>;
|
|
17
17
|
/** Load the linked object, with a result wrapper
|
|
18
18
|
*/
|
|
19
|
-
fetchOneWithErrors: <const A extends SelectArg<T, PropertyKeys<T>, boolean>>(options?: A) => Promise<Result<
|
|
19
|
+
fetchOneWithErrors: <const A extends SelectArg<T, PropertyKeys<T>, boolean>>(options?: A) => Promise<Result<A extends FetchPageArgs<T, infer L, infer R, any, infer S> ? Osdk.Instance<T, ExtractOptions<R, S>, L> : Osdk.Instance<T>>>;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=LinkDefinitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDefinitions.d.ts","sourceRoot":"","sources":["../../../src/definitions/LinkDefinitions.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkDefinitions.d.ts","sourceRoot":"","sources":["../../../src/definitions/LinkDefinitions.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAEjE,4EAA4E;AAC5E,MAAM,MAAM,qBAAqB,CAC/B,CAAC,SAAS,oBAAoB,IAC5B,uBAAuB,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,GAAG;IACrD,QAAQ,EAAE,CAAC,IAAI,uBAAuB,CAAC,CAAC,CAAC,GAAG,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC;CACvE,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,oBAAoB,EAC9B,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,IAClC,mBAAmB,CAAC,CAA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C,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CACrB,CACF,CAAC;CACH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type Experiment<V extends string, T extends string = string, K extends Record<string, (...args: any[]) => any> = any> = {
|
|
2
|
+
type: "experiment";
|
|
3
|
+
name: T;
|
|
4
|
+
branded?: K;
|
|
5
|
+
version: V;
|
|
6
|
+
};
|
|
7
|
+
export type ExperimentFns<B extends Experiment<string, string>> = NonNullable<B["branded"]>;
|
|
8
|
+
//# sourceMappingURL=Experiment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Experiment.d.ts","sourceRoot":"","sources":["../../../src/experimental/Experiment.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,GAAG,IACrD;IACF,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,OAAO,EAAE,CAAC,CAAC;CACZ,CAAC;AACF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,WAAW,CAC3E,CAAC,CAAC,SAAS,CAAC,CACb,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Experiment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Experiment.js","names":[],"sources":["Experiment.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NullabilityAdherence, SelectArg } from "../object/FetchPageArgs.js";
|
|
2
|
+
import type { PropertyKeys } from "../ontology/ObjectOrInterface.js";
|
|
3
|
+
import type { ObjectTypeDefinition } from "../ontology/ObjectTypeDefinition.js";
|
|
4
|
+
import type { ExtractOptions, Osdk } from "../OsdkObjectFrom.js";
|
|
5
|
+
import type { Experiment } from "./Experiment.js";
|
|
6
|
+
type fetchOneByRidFn = <Q extends ObjectTypeDefinition, const L extends PropertyKeys<Q>, const R extends boolean, const S extends false | "throw" = NullabilityAdherence.Default>(objectType: Q, rid: string, options?: SelectArg<Q, L, R, S>) => Promise<Osdk.Instance<Q, ExtractOptions<R, S>, L>>;
|
|
7
|
+
export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid: Experiment<"2.1.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid", {
|
|
8
|
+
fetchOneByRid: fetchOneByRidFn;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=fetchOneByRid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchOneByRid.d.ts","sourceRoot":"","sources":["../../../src/experimental/fetchOneByRid.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,oBAAoB,EACpB,SAAS,EACV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,eAAe,GAAG,CACrB,CAAC,SAAS,oBAAoB,EAC9B,KAAK,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAC/B,KAAK,CAAC,CAAC,SAAS,OAAO,EACvB,KAAK,CAAC,CAAC,SAAS,KAAK,GAAG,OAAO,GAAG,oBAAoB,CAAC,OAAO,EAE9D,UAAU,EAAE,CAAC,EACb,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAC5B,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAExD,eAAO,MAAM,gDAAgD,EAAE,UAAU,CACvE,OAAO,EACP,kDAAkD,EAClD;IAAE,aAAa,EAAE,eAAe,CAAA;CAAE,CAKnC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {
|
|
17
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid",
|
|
18
|
+
type: "experiment",
|
|
19
|
+
version: "2.1.0"
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=fetchOneByRid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchOneByRid.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid","name","type","version"],"sources":["fetchOneByRid.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid\",\n type: \"experiment\",\n version: \"2.1.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,gDAAgD,GAAG;EAC5DC,IAAI,EAAE,kDAAkD;EACxDC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EXPERIMENTAL_BulkLinkResult } from "../objectSet/BulkLinkResult.js";
|
|
2
|
+
import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
|
|
3
|
+
import type { Osdk } from "../OsdkObjectFrom.js";
|
|
4
|
+
import type { Experiment } from "./Experiment.js";
|
|
5
|
+
type getBulkLinksFn = <T extends ObjectOrInterfaceDefinition>(objs: Osdk.Instance<T>[], links: string[]) => AsyncGenerator<EXPERIMENTAL_BulkLinkResult, void, undefined>;
|
|
6
|
+
export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks: Experiment<"2.0.8", "__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks", {
|
|
7
|
+
getBulkLinks: getBulkLinksFn;
|
|
8
|
+
}>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=getBulkLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBulkLinks.d.ts","sourceRoot":"","sources":["../../../src/experimental/getBulkLinks.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,2BAA2B,EAC5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,cAAc,GAAG,CAAC,CAAC,SAAS,2BAA2B,EAC1D,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EACxB,KAAK,EAAE,MAAM,EAAE,KACZ,cAAc,CAAC,2BAA2B,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAElE,eAAO,MAAM,+CAA+C,EAAE,UAAU,CACtE,OAAO,EACP,iDAAiD,EACjD;IAAE,YAAY,EAAE,cAAc,CAAA;CAAE,CAKjC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {
|
|
17
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks",
|
|
18
|
+
type: "experiment",
|
|
19
|
+
version: "2.0.8"
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=getBulkLinks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBulkLinks.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","name","type","version"],"sources":["getBulkLinks.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks\",\n type: \"experiment\",\n version: \"2.0.8\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,+CAA+C,GAAG;EAC3DC,IAAI,EAAE,iDAAiD;EACvDC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ObjectSet } from "../objectSet/ObjectSet.js";
|
|
2
|
+
import type { ObjectSetListener, ObjectSetListenerOptions } from "../objectSet/ObjectSetListener.js";
|
|
3
|
+
import type { ObjectOrInterfaceDefinition, PropertyKeys } from "../ontology/ObjectOrInterface.js";
|
|
4
|
+
import type { Experiment } from "./Experiment.js";
|
|
5
|
+
type subscribeFn = <Q extends ObjectOrInterfaceDefinition, const P extends PropertyKeys<Q>>(objectSet: ObjectSet<Q>, listener: ObjectSetListener<Q, P>, opts?: ObjectSetListenerOptions<Q, P>) => {
|
|
6
|
+
unsubscribe: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe: Experiment<"2.1.0", "__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe", {
|
|
9
|
+
subscribe: subscribeFn;
|
|
10
|
+
}>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=subscribe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["../../../src/experimental/subscribe.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EACV,2BAA2B,EAC3B,YAAY,EACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,WAAW,GAAG,CACjB,CAAC,SAAS,2BAA2B,EACrC,KAAK,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,EAE/B,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,EACvB,QAAQ,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EACjC,IAAI,CAAC,EAAE,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,KAClC;IAAE,WAAW,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEjC,eAAO,MAAM,2CAA2C,EAAE,UAAU,CAClE,OAAO,EACP,6CAA6C,EAC7C;IAAE,SAAS,EAAE,WAAW,CAAA;CAAE,CAK3B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe = {
|
|
17
|
+
name: "__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe",
|
|
18
|
+
type: "experiment",
|
|
19
|
+
version: "2.1.0"
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=subscribe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe","name","type","version"],"sources":["subscribe.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport const __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe\",\n type: \"experiment\",\n version: \"2.1.0\",\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,2CAA2C,GAAG;EACvDC,IAAI,EAAE,6CAA6C;EACnDC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACb,CAAC","ignoreList":[]}
|
package/build/browser/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export { isOk } from "./object/Result.js";
|
|
|
22
22
|
export type { Result } from "./object/Result.js";
|
|
23
23
|
export type { BaseObjectSet } from "./objectSet/BaseObjectSet.js";
|
|
24
24
|
export type { ObjectSet } from "./objectSet/ObjectSet.js";
|
|
25
|
+
export type { ObjectSetListener } from "./objectSet/ObjectSetListener.js";
|
|
26
|
+
export type { ObjectSetListenerOptions } from "./objectSet/ObjectSetListener.js";
|
|
25
27
|
export type { ActionDefinition, ActionMetadata, } from "./ontology/ActionDefinition.js";
|
|
26
28
|
export type { InterfaceDefinition, InterfaceMetadata, } from "./ontology/InterfaceDefinition.js";
|
|
27
29
|
export type { ObjectOrInterfaceDefinition, PropertyKeys, } from "./ontology/ObjectOrInterface.js";
|
|
@@ -29,7 +31,7 @@ export type { CompileTimeMetadata, ObjectMetadata, ObjectTypeDefinition, Propert
|
|
|
29
31
|
export type { OntologyMetadata } from "./ontology/OntologyMetadata.js";
|
|
30
32
|
export type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
|
|
31
33
|
export type { ObjectQueryDataType, ObjectSetQueryDataType, QueryDataTypeDefinition, QueryDefinition, QueryMetadata, QueryParameterDefinition, ThreeDimensionalQueryAggregationDefinition, TwoDimensionalQueryAggregationDefinition, } from "./ontology/QueryDefinition.js";
|
|
32
|
-
export type { WirePropertyTypes } from "./ontology/WirePropertyTypes.js";
|
|
34
|
+
export type { SimpleWirePropertyTypes, WirePropertyTypes, } from "./ontology/WirePropertyTypes.js";
|
|
33
35
|
export type { OsdkBase, PrimaryKeyType } from "./OsdkBase.js";
|
|
34
36
|
export type { OsdkObject } from "./OsdkObject.js";
|
|
35
37
|
export type { ConvertProps, Osdk } from "./OsdkObjectFrom.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;A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Y,GACb,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,YAAY,GACb,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,YAAY,EACV,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,wBAAwB,EACxB,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,+BAA+B,CAAC;AACvC,YAAY,EACV,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,CAAC"}
|
|
@@ -35,7 +35,9 @@ export interface DataValueWireToClient {
|
|
|
35
35
|
* Map from the DataValue type to the typescript type that we accept
|
|
36
36
|
*/
|
|
37
37
|
export interface DataValueClientToWire {
|
|
38
|
-
attachment: string | AttachmentUpload
|
|
38
|
+
attachment: string | AttachmentUpload | Blob & {
|
|
39
|
+
readonly name: string;
|
|
40
|
+
};
|
|
39
41
|
boolean: boolean;
|
|
40
42
|
byte: number;
|
|
41
43
|
datetime: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataValueMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/DataValueMapping.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB,EAAE;QACzB,GAAG,EAAE,qBAAqB,CAAC;QAC3B,KAAK,EAAE,kBAAkB,CAAC;KAC3B,EAAE,CAAC;IACJ,2BAA2B,EAAE;QAC3B,GAAG,EAAE,qBAAqB,CAAC;QAC3B,MAAM,EAAE;YAAE,GAAG,EAAE,qBAAqB,CAAC;YAAC,KAAK,EAAE,kBAAkB,CAAA;SAAE,EAAE,CAAC;KACrE,EAAE,CAAC;IACJ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataValueMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/DataValueMapping.ts"],"names":[],"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CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IACd,yBAAyB,EAAE;QACzB,GAAG,EAAE,qBAAqB,CAAC;QAC3B,KAAK,EAAE,kBAAkB,CAAC;KAC3B,EAAE,CAAC;IACJ,2BAA2B,EAAE;QAC3B,GAAG,EAAE,qBAAqB,CAAC;QAC3B,MAAM,EAAE;YAAE,GAAG,EAAE,qBAAqB,CAAC;YAAC,KAAK,EAAE,kBAAkB,CAAA;SAAE,EAAE,CAAC;KACrE,EAAE,CAAC;IACJ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAC3D,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB;IACA,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC"}
|
|
@@ -21,13 +21,19 @@ export interface PropertyValueWireToClient {
|
|
|
21
21
|
timestamp: string;
|
|
22
22
|
numericTimeseries: TimeSeriesProperty<number>;
|
|
23
23
|
stringTimeseries: TimeSeriesProperty<string>;
|
|
24
|
+
sensorTimeseries: TimeSeriesProperty<string | number>;
|
|
24
25
|
geotimeSeriesReference: GeotimeSeriesProperty<GeoJSON.Point>;
|
|
25
26
|
}
|
|
27
|
+
export type GetClientPropertyValueFromWire<T extends keyof PropertyValueWireToClient | Record<string, keyof PropertyValueWireToClient>> = T extends keyof PropertyValueWireToClient ? PropertyValueWireToClient[T] : T extends Record<string, keyof PropertyValueWireToClient> ? {
|
|
28
|
+
[K in keyof T]: PropertyValueWireToClient[T[K]];
|
|
29
|
+
} : never;
|
|
26
30
|
/**
|
|
27
31
|
* Map from the PropertyDefinition type to the typescript type that we accept
|
|
28
32
|
*/
|
|
29
33
|
export interface PropertyValueClientToWire {
|
|
30
|
-
attachment: string | AttachmentUpload
|
|
34
|
+
attachment: string | AttachmentUpload | Blob & {
|
|
35
|
+
readonly name: string;
|
|
36
|
+
};
|
|
31
37
|
boolean: boolean;
|
|
32
38
|
byte: number;
|
|
33
39
|
datetime: string;
|
|
@@ -44,6 +50,10 @@ export interface PropertyValueClientToWire {
|
|
|
44
50
|
timestamp: string;
|
|
45
51
|
numericTimeseries: TimeSeriesProperty<number>;
|
|
46
52
|
stringTimeseries: TimeSeriesProperty<string>;
|
|
53
|
+
sensorTimeseries: TimeSeriesProperty<string | number>;
|
|
47
54
|
geotimeSeriesReference: GeotimeSeriesProperty<GeoJSON.Point>;
|
|
48
55
|
}
|
|
56
|
+
export type GetWirePropertyValueFromClient<T extends keyof PropertyValueClientToWire | Record<string, keyof PropertyValueClientToWire>> = T extends keyof PropertyValueClientToWire ? PropertyValueClientToWire[T] : T extends Record<string, keyof PropertyValueClientToWire> ? {
|
|
57
|
+
[K in keyof T]: PropertyValueClientToWire[T[K]];
|
|
58
|
+
} : never;
|
|
49
59
|
//# sourceMappingURL=PropertyValueMapping.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyValueMapping.d.ts","sourceRoot":"","sources":["../../../src/mapping/PropertyValueMapping.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EA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C;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC9C,gBAAgB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC7C,gBAAgB,EAAE,kBAAkB,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtD,sBAAsB,EAAE,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;CAC9D;AACD,MAAM,MAAM,8BAA8B,CACxC,CAAC,SACG,MAAM,yBAAyB,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,yBAAyB,CAAC,IACjD,CAAC,SAAS,MAAM,yBAAyB,GAAG,yBAAyB,CAAC,CAAC,CAAC,GACxE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,yBAAyB,CAAC,GACvD;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,KAAK,CAAC"}
|
|
@@ -7,14 +7,11 @@ export interface Attachment {
|
|
|
7
7
|
/**
|
|
8
8
|
* Fetches actual content of attachment in Blob form
|
|
9
9
|
*/
|
|
10
|
-
fetchContents(): Promise<
|
|
10
|
+
fetchContents(): Promise<Response>;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
* This interface should also accept the File object from
|
|
14
|
-
* the W3C FileApi https://www.w3.org/TR/FileAPI/#file-section
|
|
15
|
-
*/
|
|
16
|
-
export interface AttachmentUpload extends Blob {
|
|
12
|
+
export interface AttachmentUpload {
|
|
17
13
|
readonly name: string;
|
|
14
|
+
readonly data: Blob;
|
|
18
15
|
}
|
|
19
16
|
export interface AttachmentMetadata {
|
|
20
17
|
rid: string;
|