@osdk/api 2.0.11 → 2.0.13

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @osdk/api
2
2
 
3
+ ## 2.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - e38a391: Creates new export for internal helper functions
8
+
9
+ ## 2.0.12
10
+
11
+ ### Patch Changes
12
+
13
+ - 99e976e: Adds experimental method to convert an object set into RID
14
+
3
15
  ## 2.0.11
4
16
 
5
17
  ## 2.0.10
@@ -1,6 +1,5 @@
1
1
  export type { Experiment, ExperimentFns } from "../experimental/Experiment.js";
2
2
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
3
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
4
3
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
5
4
  export type { EXPERIMENTAL_BulkLinkResult } from "../objectSet/BulkLinkResult.js";
6
5
  export type { EXPERIMENTAL_ObjectSetListener } from "../objectSet/EXPERIMENTAL_ObjectSetListener.js";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../../../src/public/unstable.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,uDAAuD,EAAE,MAAM,yCAAyC,CAAC;AAClH,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAE3F,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAClF,YAAY,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AACrG,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../../../src/public/unstable.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAE3F,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAClF,YAAY,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AACrG,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -14,6 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
17
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
18
17
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
19
18
  //# sourceMappingURL=unstable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"sources":["unstable.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 { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from \"../experimental/preexistingObjectSet.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,uDAAuD,QAAQ,yCAAyC;AACjH,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"sources":["unstable.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 { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
@@ -1,6 +1,5 @@
1
1
  export type { Experiment, ExperimentFns } from "../experimental/Experiment.js";
2
2
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
3
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
4
3
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
5
4
  export type { EXPERIMENTAL_BulkLinkResult } from "../objectSet/BulkLinkResult.js";
6
5
  export type { EXPERIMENTAL_ObjectSetListener } from "../objectSet/EXPERIMENTAL_ObjectSetListener.js";
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../../../src/public/unstable.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,uDAAuD,EAAE,MAAM,yCAAyC,CAAC;AAClH,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAE3F,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAClF,YAAY,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AACrG,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"unstable.d.ts","sourceRoot":"","sources":["../../../src/public/unstable.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAE3F,YAAY,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAClF,YAAY,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AACrG,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -14,6 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from "../experimental/getBulkLinks.js";
17
- export { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from "../experimental/preexistingObjectSet.js";
18
17
  export { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from "../experimental/subscribe.js";
19
18
  //# sourceMappingURL=unstable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"sources":["unstable.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 { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet } from \"../experimental/preexistingObjectSet.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,uDAAuD,QAAQ,yCAAyC;AACjH,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"file":"unstable.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks","__EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe"],"sources":["unstable.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 { __EXPERIMENTAL__NOT_SUPPORTED_YET__getBulkLinks } from \"../experimental/getBulkLinks.js\";\nexport { __EXPERIMENTAL__NOT_SUPPORTED_YET_subscribe } from \"../experimental/subscribe.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,+CAA+C,QAAQ,iCAAiC;AACjG,SAASC,2CAA2C,QAAQ,8BAA8B","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/api",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -30,8 +30,8 @@
30
30
  "ts-expect": "^1.3.0",
31
31
  "typescript": "~5.5.4",
32
32
  "@osdk/monorepo.tsconfig": "~0.0.0",
33
- "@osdk/monorepo.tsup": "~0.0.0",
34
- "@osdk/monorepo.api-extractor": "~0.0.0"
33
+ "@osdk/monorepo.api-extractor": "~0.0.0",
34
+ "@osdk/monorepo.tsup": "~0.0.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
@@ -1,10 +0,0 @@
1
- import type { ObjectSet } from "../objectSet/ObjectSet.js";
2
- import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
3
- import type { CompileTimeMetadata } from "../ontology/ObjectTypeDefinition.js";
4
- import type { Experiment } from "./Experiment.js";
5
- type preexistingObjectSetFn = <Q extends ObjectOrInterfaceDefinition>(definition: Q, rid: string) => unknown extends CompileTimeMetadata<Q>["objectSet"] ? ObjectSet<Q> : CompileTimeMetadata<Q>["objectSet"];
6
- export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet: Experiment<"2.0.8", "__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet", {
7
- preexistingObjectSet: preexistingObjectSetFn;
8
- }>;
9
- export {};
10
- //# sourceMappingURL=preexistingObjectSet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preexistingObjectSet.d.ts","sourceRoot":"","sources":["../../../src/experimental/preexistingObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,sBAAsB,GAAG,CAAC,CAAC,SAAS,2BAA2B,EAClE,UAAU,EAAE,CAAC,EACb,GAAG,EAAE,MAAM,KACR,OAAO,SAAS,mBAAmB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GACnE,mBAAmB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAExC,eAAO,MAAM,uDAAuD,EAClE,UAAU,CACR,OAAO,EACP,yDAAyD,EACzD;IAAE,oBAAoB,EAAE,sBAAsB,CAAA;CAAE,CAKjD,CAAC"}
@@ -1,21 +0,0 @@
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__preexistingObjectSet = {
17
- name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet",
18
- type: "experiment",
19
- version: "2.0.8"
20
- };
21
- //# sourceMappingURL=preexistingObjectSet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preexistingObjectSet.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","name","type","version"],"sources":["preexistingObjectSet.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__preexistingObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet\",\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,uDAAuD,GAAG;EACnEC,IAAI,EAAE,yDAAyD;EAC/DC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACb,CAAC","ignoreList":[]}
@@ -1,10 +0,0 @@
1
- import type { ObjectSet } from "../objectSet/ObjectSet.js";
2
- import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
3
- import type { CompileTimeMetadata } from "../ontology/ObjectTypeDefinition.js";
4
- import type { Experiment } from "./Experiment.js";
5
- type preexistingObjectSetFn = <Q extends ObjectOrInterfaceDefinition>(definition: Q, rid: string) => unknown extends CompileTimeMetadata<Q>["objectSet"] ? ObjectSet<Q> : CompileTimeMetadata<Q>["objectSet"];
6
- export declare const __EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet: Experiment<"2.0.8", "__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet", {
7
- preexistingObjectSet: preexistingObjectSetFn;
8
- }>;
9
- export {};
10
- //# sourceMappingURL=preexistingObjectSet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preexistingObjectSet.d.ts","sourceRoot":"","sources":["../../../src/experimental/preexistingObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,sBAAsB,GAAG,CAAC,CAAC,SAAS,2BAA2B,EAClE,UAAU,EAAE,CAAC,EACb,GAAG,EAAE,MAAM,KACR,OAAO,SAAS,mBAAmB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GACnE,mBAAmB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAExC,eAAO,MAAM,uDAAuD,EAClE,UAAU,CACR,OAAO,EACP,yDAAyD,EACzD;IAAE,oBAAoB,EAAE,sBAAsB,CAAA;CAAE,CAKjD,CAAC"}
@@ -1,21 +0,0 @@
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__preexistingObjectSet = {
17
- name: "__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet",
18
- type: "experiment",
19
- version: "2.0.8"
20
- };
21
- //# sourceMappingURL=preexistingObjectSet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preexistingObjectSet.js","names":["__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet","name","type","version"],"sources":["preexistingObjectSet.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__preexistingObjectSet = {\n name: \"__EXPERIMENTAL__NOT_SUPPORTED_YET__preexistingObjectSet\",\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,uDAAuD,GAAG;EACnEC,IAAI,EAAE,yDAAyD;EAC/DC,IAAI,EAAE,YAAY;EAClBC,OAAO,EAAE;AACb,CAAC","ignoreList":[]}