@osdk/foundry.functions 2.1.0-beta.4 → 2.1.0-beta.5

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/browser/_components.d.ts +249 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +41 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +4 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +16 -2
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Query.d.ts +49 -0
  15. package/build/browser/public/Query.d.ts.map +1 -0
  16. package/build/browser/public/Query.js +55 -2
  17. package/build/browser/public/Query.js.map +1 -1
  18. package/build/esm/_components.d.ts +127 -201
  19. package/build/esm/_components.d.ts.map +1 -1
  20. package/build/esm/_components.js +17 -0
  21. package/build/esm/_components.js.map +1 -0
  22. package/build/esm/_errors.js +17 -0
  23. package/build/esm/_errors.js.map +1 -0
  24. package/build/esm/index.d.ts +1 -1
  25. package/build/esm/index.d.ts.map +1 -1
  26. package/build/esm/index.js +16 -2
  27. package/build/esm/index.js.map +1 -1
  28. package/build/esm/public/Query.d.ts +12 -12
  29. package/build/esm/public/Query.d.ts.map +1 -1
  30. package/build/esm/public/Query.js +55 -2
  31. package/build/esm/public/Query.js.map +1 -1
  32. package/package.json +8 -9
  33. package/build/browser/chunk-H5KZWBWQ.js +0 -31
  34. package/build/browser/chunk-H5KZWBWQ.js.map +0 -1
  35. package/build/esm/chunk-H5KZWBWQ.js +0 -31
  36. package/build/esm/chunk-H5KZWBWQ.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.functions",
3
- "version": "2.1.0-beta.4",
3
+ "version": "2.1.0-beta.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,15 +17,15 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/foundry.core": "2.1.0-beta.4",
21
- "@osdk/shared.client": "~1.0.0-beta.1",
22
- "@osdk/shared.net.platformapi": "~0.3.0-beta.1"
20
+ "@osdk/foundry.core": "2.1.0-beta.5",
21
+ "@osdk/shared.client": "^1.0.0-beta.2",
22
+ "@osdk/shared.net.platformapi": "~0.3.0-beta.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "typescript": "^5.5.4",
26
- "@osdk/monorepo.api-extractor": "~0.0.0",
27
26
  "@osdk/monorepo.tsup": "~0.0.0",
28
- "@osdk/monorepo.tsconfig": "~0.0.0"
27
+ "@osdk/monorepo.tsconfig": "~0.0.0",
28
+ "@osdk/monorepo.api-extractor": "~0.0.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
@@ -44,7 +44,7 @@
44
44
  "sls": {
45
45
  "dependencies": {
46
46
  "com.palantir.foundry.api:api-gateway": {
47
- "minVersion": "1.927.0",
47
+ "minVersion": "1.934.0",
48
48
  "maxVersion": "1.x.x",
49
49
  "optional": true
50
50
  }
@@ -57,7 +57,6 @@
57
57
  "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
58
58
  "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
59
59
  "lint": "eslint . && dprint check --config $(find-up dprint.json)",
60
- "transpile": "monorepo.tool.transpile",
61
- "typecheck": "monorepo.tool.typecheck esm"
60
+ "transpile": "monorepo.tool.transpile"
62
61
  }
63
62
  }
@@ -1,31 +0,0 @@
1
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
2
-
3
- var __defProp = Object.defineProperty;
4
- var __export = (target, all) => {
5
- for (var name in all)
6
- __defProp(target, name, { get: all[name], enumerable: true });
7
- };
8
-
9
- // src/public/Query.ts
10
- var Query_exports = {};
11
- __export(Query_exports, {
12
- executeQuery: () => executeQuery,
13
- getByRidQueries: () => getByRidQueries,
14
- getQuery: () => getQuery
15
- });
16
- var _getQuery = [0, "/v2/functions/queries/{0}", 2];
17
- function getQuery($ctx, ...args) {
18
- return foundryPlatformFetch($ctx, _getQuery, ...args);
19
- }
20
- var _getByRidQueries = [1, "/v2/functions/queries/getByRid", 3];
21
- function getByRidQueries($ctx, ...args) {
22
- return foundryPlatformFetch($ctx, _getByRidQueries, ...args);
23
- }
24
- var _executeQuery = [1, "/v2/functions/queries/{0}/execute", 3];
25
- function executeQuery($ctx, ...args) {
26
- return foundryPlatformFetch($ctx, _executeQuery, ...args);
27
- }
28
-
29
- export { Query_exports, executeQuery, getByRidQueries, getQuery };
30
- //# sourceMappingURL=chunk-H5KZWBWQ.js.map
31
- //# sourceMappingURL=chunk-H5KZWBWQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Query.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;;;;;;AAAA,IAAA,aAAA,GAAA,GAAA;AAAA,QAAA,CAAA,aAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,QAAA,EAAA,MAAA,QAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,SAAY,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAU7C,SAAS,QAAA,CAAS,SAAS,IAAM,EAAA;AACtC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,SAAW,EAAA,GAAG,IAAI,CAAA,CAAA;AACvD,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAUzD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAYzD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-H5KZWBWQ.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\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _getQuery = [0, \"/v2/functions/queries/{0}\", 2];\n\n/**\n * Gets a specific query type with the given API name.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/{queryApiName}\n */\nexport function getQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQuery, ...args);\n}\nconst _getByRidQueries = [1, \"/v2/functions/queries/getByRid\", 3];\n\n/**\n * Gets a specific query type with the given RID.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/getByRid\n */\nexport function getByRidQueries($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getByRidQueries, ...args);\n}\nconst _executeQuery = [1, \"/v2/functions/queries/{0}/execute\", 3];\n\n/**\n * Executes a Query using the given parameters.\n *\n * Optional parameters do not need to be supplied.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}"]}
@@ -1,31 +0,0 @@
1
- import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
2
-
3
- var __defProp = Object.defineProperty;
4
- var __export = (target, all) => {
5
- for (var name in all)
6
- __defProp(target, name, { get: all[name], enumerable: true });
7
- };
8
-
9
- // src/public/Query.ts
10
- var Query_exports = {};
11
- __export(Query_exports, {
12
- executeQuery: () => executeQuery,
13
- getByRidQueries: () => getByRidQueries,
14
- getQuery: () => getQuery
15
- });
16
- var _getQuery = [0, "/v2/functions/queries/{0}", 2];
17
- function getQuery($ctx, ...args) {
18
- return foundryPlatformFetch($ctx, _getQuery, ...args);
19
- }
20
- var _getByRidQueries = [1, "/v2/functions/queries/getByRid", 3];
21
- function getByRidQueries($ctx, ...args) {
22
- return foundryPlatformFetch($ctx, _getByRidQueries, ...args);
23
- }
24
- var _executeQuery = [1, "/v2/functions/queries/{0}/execute", 3];
25
- function executeQuery($ctx, ...args) {
26
- return foundryPlatformFetch($ctx, _executeQuery, ...args);
27
- }
28
-
29
- export { Query_exports, executeQuery, getByRidQueries, getQuery };
30
- //# sourceMappingURL=chunk-H5KZWBWQ.js.map
31
- //# sourceMappingURL=chunk-H5KZWBWQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Query.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;;;;;;AAAA,IAAA,aAAA,GAAA,GAAA;AAAA,QAAA,CAAA,aAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,eAAA,EAAA,MAAA,eAAA;AAAA,EAAA,QAAA,EAAA,MAAA,QAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,SAAY,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAU7C,SAAS,QAAA,CAAS,SAAS,IAAM,EAAA;AACtC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,SAAW,EAAA,GAAG,IAAI,CAAA,CAAA;AACvD,CAAA;AACA,IAAM,gBAAmB,GAAA,CAAC,CAAG,EAAA,gCAAA,EAAkC,CAAC,CAAA,CAAA;AAUzD,SAAS,eAAA,CAAgB,SAAS,IAAM,EAAA;AAC7C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,gBAAkB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC9D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAYzD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-H5KZWBWQ.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\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _getQuery = [0, \"/v2/functions/queries/{0}\", 2];\n\n/**\n * Gets a specific query type with the given API name.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/{queryApiName}\n */\nexport function getQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQuery, ...args);\n}\nconst _getByRidQueries = [1, \"/v2/functions/queries/getByRid\", 3];\n\n/**\n * Gets a specific query type with the given RID.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/getByRid\n */\nexport function getByRidQueries($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getByRidQueries, ...args);\n}\nconst _executeQuery = [1, \"/v2/functions/queries/{0}/execute\", 3];\n\n/**\n * Executes a Query using the given parameters.\n *\n * Optional parameters do not need to be supplied.\n *\n * @alpha\n *\n * Required Scopes: [api:functions-read]\n * URL: /v2/functions/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...args);\n}"]}