@osdk/generator 2.0.5 → 2.1.0-beta.1

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,79 +1,36 @@
1
1
  # @osdk/generator
2
2
 
3
- ## 2.0.5
3
+ ## 2.1.0-beta.1
4
4
 
5
- ### Patch Changes
6
-
7
- - e4c00ad: Queries that have structs now represent the struct shape instead of Record<string, any>
8
- - Updated dependencies [ca78964]
9
- - @osdk/api@2.0.5
10
- - @osdk/generator-converters@2.0.5
11
-
12
- ## 2.0.4
13
-
14
- ### Patch Changes
15
-
16
- - Updated dependencies [7f29753]
17
- - @osdk/api@2.0.4
18
- - @osdk/generator-converters@2.0.4
19
-
20
- ## 2.0.3
21
-
22
- ### Patch Changes
23
-
24
- - 444e7a4: Namespaced object sets in actions no longer generate wrong
25
- - @osdk/generator-converters@2.0.3
26
- - @osdk/api@2.0.3
27
-
28
- ## 2.0.2
29
-
30
- ### Patch Changes
31
-
32
- - 1edf95b: Switch to OSDK.Instance
33
- - 05b7934: Rework namespace codegen
34
- - Updated dependencies [1edf95b]
35
- - Updated dependencies [4c5e0ae]
36
- - Updated dependencies [51354c5]
37
- - @osdk/api@2.0.2
38
- - @osdk/generator-converters@2.0.2
39
-
40
- ## 2.0.2-rc.3
41
-
42
- ### Patch Changes
43
-
44
- - Updated dependencies [4c5e0ae]
45
- - @osdk/api@2.0.2-rc.3
46
- - @osdk/generator-converters@2.0.2-rc.3
47
-
48
- ## 2.0.2-beta.2
49
-
50
- ### Patch Changes
51
-
52
- - Updated dependencies [51354c5]
53
- - @osdk/generator-converters@2.0.2-beta.2
54
- - @osdk/api@2.0.2-beta.2
5
+ ### Minor Changes
55
6
 
56
- ## 2.0.2-beta.1
7
+ - 1812118: Add geotime support for OSDK.
8
+ - a5a0ea4: Namespaced object sets in actions no longer generate wrong
9
+ - 518972b: Queries that have structs now represent the struct shape instead of Record<string, any>
57
10
 
58
11
  ### Patch Changes
59
12
 
60
- - @osdk/generator-converters@2.0.2-beta.1
61
- - @osdk/api@2.0.2-beta.1
13
+ - Updated dependencies [1812118]
14
+ - Updated dependencies [72c1905]
15
+ - Updated dependencies [6c60414]
16
+ - Updated dependencies [8e6a5f4]
17
+ - @osdk/generator-converters@2.1.0-beta.1
18
+ - @osdk/api@2.1.0-beta.1
62
19
 
63
- ## 2.0.2-rc.0
20
+ ## 2.1.0-beta.0
64
21
 
65
- ### Patch Changes
66
-
67
- - @osdk/generator-converters@2.0.2-rc.0
68
- - @osdk/api@2.0.2-rc.0
22
+ ### Minor Changes
69
23
 
70
- ## 2.0.1
24
+ - 0dc40b0: Switch to OSDK.Instance
71
25
 
72
26
  ### Patch Changes
73
27
 
74
- - @osdk/internal.foundry.core@0.2.1
75
- - @osdk/generator-converters@2.0.1
76
- - @osdk/api@2.0.1
28
+ - Updated dependencies [0dc40b0]
29
+ - Updated dependencies [03e1941]
30
+ - Updated dependencies [e548b9b]
31
+ - Updated dependencies [c682504]
32
+ - @osdk/api@2.1.0-beta.0
33
+ - @osdk/generator-converters@2.1.0-beta.0
77
34
 
78
35
  ## 2.0.0
79
36
 
@@ -16,7 +16,7 @@
16
16
  import path from "path";
17
17
  import { formatTs } from "../util/test/formatTs.js";
18
18
  // BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.
19
- const ExpectedOsdkVersion = "2.0.5";
19
+ const ExpectedOsdkVersion = "2.1.0";
20
20
  // END: THIS IS GENERATED CODE. DO NOT EDIT.
21
21
  export async function generateOntologyMetadataFile({
22
22
  fs,
@@ -1 +1 @@
1
- {"version":3,"file":"generateMetadata.js","names":["path","formatTs","ExpectedOsdkVersion","generateOntologyMetadataFile","fs","outDir","ontology","ontologyApiNamespace","userAgent","writeFile","join","rid"],"sources":["generateMetadata.js"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport path from \"path\";\nimport { formatTs } from \"../util/test/formatTs.js\";\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst ExpectedOsdkVersion = \"2.0.5\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport async function generateOntologyMetadataFile({ fs, outDir, ontology, ontologyApiNamespace }, userAgent) {\n fs.writeFile(path.join(outDir, \"OntologyMetadata.ts\"), await formatTs(`\n export type $ExpectedClientVersion = \"${ExpectedOsdkVersion}\";\n export const $osdkMetadata = { extraUserAgent: \"${userAgent}\" };\n ${ontologyApiNamespace == null\n ? `\n export const $ontologyRid = \"${ontology.ontology.rid}\";\n `\n : \"\"}\n `));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;AACvB,SAASC,QAAQ,QAAQ,0BAA0B;AACnD;AACA,MAAMC,mBAAmB,GAAG,OAAO;AACnC;AACA,OAAO,eAAeC,4BAA4BA,CAAC;EAAEC,EAAE;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,EAAEC,SAAS,EAAE;EAC1GJ,EAAE,CAACK,SAAS,CAACT,IAAI,CAACU,IAAI,CAACL,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAMJ,QAAQ,CAAC;AAC1E,8CAA8CC,mBAAmB;AACjE,wDAAwDM,SAAS;AACjE,QAAQD,oBAAoB,IAAI,IAAI,GAC1B;AACV,uCAAuCD,QAAQ,CAACA,QAAQ,CAACK,GAAG;AAC5D,SAAS,GACC,EAAE;AACZ,OAAO,CAAC,CAAC;AACT","ignoreList":[]}
1
+ {"version":3,"file":"generateMetadata.js","names":["path","formatTs","ExpectedOsdkVersion","generateOntologyMetadataFile","fs","outDir","ontology","ontologyApiNamespace","userAgent","writeFile","join","rid"],"sources":["generateMetadata.js"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport path from \"path\";\nimport { formatTs } from \"../util/test/formatTs.js\";\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst ExpectedOsdkVersion = \"2.1.0\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport async function generateOntologyMetadataFile({ fs, outDir, ontology, ontologyApiNamespace }, userAgent) {\n fs.writeFile(path.join(outDir, \"OntologyMetadata.ts\"), await formatTs(`\n export type $ExpectedClientVersion = \"${ExpectedOsdkVersion}\";\n export const $osdkMetadata = { extraUserAgent: \"${userAgent}\" };\n ${ontologyApiNamespace == null\n ? `\n export const $ontologyRid = \"${ontology.ontology.rid}\";\n `\n : \"\"}\n `));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;AACvB,SAASC,QAAQ,QAAQ,0BAA0B;AACnD;AACA,MAAMC,mBAAmB,GAAG,OAAO;AACnC;AACA,OAAO,eAAeC,4BAA4BA,CAAC;EAAEC,EAAE;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,EAAEC,SAAS,EAAE;EAC1GJ,EAAE,CAACK,SAAS,CAACT,IAAI,CAACU,IAAI,CAACL,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAMJ,QAAQ,CAAC;AAC1E,8CAA8CC,mBAAmB;AACjE,wDAAwDM,SAAS;AACjE,QAAQD,oBAAoB,IAAI,IAAI,GAC1B;AACV,uCAAuCD,QAAQ,CAACA,QAAQ,CAACK,GAAG;AAC5D,SAAS,GACC,EAAE;AACZ,OAAO,CAAC,CAAC;AACT","ignoreList":[]}
@@ -16,7 +16,7 @@
16
16
  import path from "path";
17
17
  import { formatTs } from "../util/test/formatTs.js";
18
18
  // BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.
19
- const ExpectedOsdkVersion = "2.0.5";
19
+ const ExpectedOsdkVersion = "2.1.0";
20
20
  // END: THIS IS GENERATED CODE. DO NOT EDIT.
21
21
  export async function generateOntologyMetadataFile({
22
22
  fs,
@@ -1 +1 @@
1
- {"version":3,"file":"generateMetadata.js","names":["path","formatTs","ExpectedOsdkVersion","generateOntologyMetadataFile","fs","outDir","ontology","ontologyApiNamespace","userAgent","writeFile","join","rid"],"sources":["generateMetadata.js"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport path from \"path\";\nimport { formatTs } from \"../util/test/formatTs.js\";\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst ExpectedOsdkVersion = \"2.0.5\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport async function generateOntologyMetadataFile({ fs, outDir, ontology, ontologyApiNamespace }, userAgent) {\n fs.writeFile(path.join(outDir, \"OntologyMetadata.ts\"), await formatTs(`\n export type $ExpectedClientVersion = \"${ExpectedOsdkVersion}\";\n export const $osdkMetadata = { extraUserAgent: \"${userAgent}\" };\n ${ontologyApiNamespace == null\n ? `\n export const $ontologyRid = \"${ontology.ontology.rid}\";\n `\n : \"\"}\n `));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;AACvB,SAASC,QAAQ,QAAQ,0BAA0B;AACnD;AACA,MAAMC,mBAAmB,GAAG,OAAO;AACnC;AACA,OAAO,eAAeC,4BAA4BA,CAAC;EAAEC,EAAE;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,EAAEC,SAAS,EAAE;EAC1GJ,EAAE,CAACK,SAAS,CAACT,IAAI,CAACU,IAAI,CAACL,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAMJ,QAAQ,CAAC;AAC1E,8CAA8CC,mBAAmB;AACjE,wDAAwDM,SAAS;AACjE,QAAQD,oBAAoB,IAAI,IAAI,GAC1B;AACV,uCAAuCD,QAAQ,CAACA,QAAQ,CAACK,GAAG;AAC5D,SAAS,GACC,EAAE;AACZ,OAAO,CAAC,CAAC;AACT","ignoreList":[]}
1
+ {"version":3,"file":"generateMetadata.js","names":["path","formatTs","ExpectedOsdkVersion","generateOntologyMetadataFile","fs","outDir","ontology","ontologyApiNamespace","userAgent","writeFile","join","rid"],"sources":["generateMetadata.js"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport path from \"path\";\nimport { formatTs } from \"../util/test/formatTs.js\";\n// BEGIN: THIS IS GENERATED CODE. DO NOT EDIT.\nconst ExpectedOsdkVersion = \"2.1.0\";\n// END: THIS IS GENERATED CODE. DO NOT EDIT.\nexport async function generateOntologyMetadataFile({ fs, outDir, ontology, ontologyApiNamespace }, userAgent) {\n fs.writeFile(path.join(outDir, \"OntologyMetadata.ts\"), await formatTs(`\n export type $ExpectedClientVersion = \"${ExpectedOsdkVersion}\";\n export const $osdkMetadata = { extraUserAgent: \"${userAgent}\" };\n ${ontologyApiNamespace == null\n ? `\n export const $ontologyRid = \"${ontology.ontology.rid}\";\n `\n : \"\"}\n `));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;AACvB,SAASC,QAAQ,QAAQ,0BAA0B;AACnD;AACA,MAAMC,mBAAmB,GAAG,OAAO;AACnC;AACA,OAAO,eAAeC,4BAA4BA,CAAC;EAAEC,EAAE;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,EAAEC,SAAS,EAAE;EAC1GJ,EAAE,CAACK,SAAS,CAACT,IAAI,CAACU,IAAI,CAACL,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAMJ,QAAQ,CAAC;AAC1E,8CAA8CC,mBAAmB;AACjE,wDAAwDM,SAAS;AACjE,QAAQD,oBAAoB,IAAI,IAAI,GAC1B;AACV,uCAAuCD,QAAQ,CAACA,QAAQ,CAACK,GAAG;AAC5D,SAAS,GACC,EAAE;AACZ,OAAO,CAAC,CAAC;AACT","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/generator",
3
- "version": "2.0.5",
3
+ "version": "2.1.0-beta.1",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -19,22 +19,22 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@osdk/internal.foundry.core": "0.2.1",
22
+ "@osdk/internal.foundry.core": "0.3.0-beta.0",
23
23
  "fast-deep-equal": "^3.1.3",
24
24
  "fetch-retry": "^6.0.0",
25
25
  "prettier": "^3.0.3",
26
26
  "tiny-invariant": "^1.3.1",
27
- "@osdk/generator-converters": "~2.0.5",
28
- "@osdk/api": "~2.0.5"
27
+ "@osdk/api": "~2.1.0-beta.1",
28
+ "@osdk/generator-converters": "~2.1.0-beta.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^18.0.0",
32
32
  "immer": "^10.1.1",
33
33
  "ts-expect": "^1.3.0",
34
34
  "typescript": "^5.5.4",
35
- "vitest": "^2.0.4",
36
- "@osdk/monorepo.tsconfig": "~0.0.0",
35
+ "vitest": "^2.1.2",
37
36
  "@osdk/monorepo.api-extractor": "~0.0.0",
37
+ "@osdk/monorepo.tsconfig": "~0.0.0",
38
38
  "@osdk/monorepo.tsup": "~0.0.0"
39
39
  },
40
40
  "publishConfig": {