@osdk/client.unstable.tpsa 0.2.0 → 0.2.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 +6 -0
- package/build/browser/index.js +10 -0
- package/build/browser/index.js.map +1 -1
- package/build/esm/index.d.ts +2 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +10 -0
- package/build/esm/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/build/browser/index.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { conjureFetch } from 'conjure-lite';
|
|
1
2
|
|
|
3
|
+
// src/generated/third-party-application-service/SdkService/getSdk.ts
|
|
4
|
+
async function getSdk(ctx, repositoryRid, packageName, sdkVersion) {
|
|
5
|
+
return conjureFetch(ctx, `/sdks/${repositoryRid}/${packageName}/${sdkVersion}`, "GET");
|
|
6
|
+
}
|
|
7
|
+
async function getSdkPackage(ctx, sdkPackageRid) {
|
|
8
|
+
return conjureFetch(ctx, `/sdks/packages/${sdkPackageRid}`, "GET");
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { getSdk, getSdkPackage };
|
|
2
12
|
//# sourceMappingURL=index.js.map
|
|
3
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/generated/third-party-application-service/SdkService/getSdk.ts","../../src/generated/third-party-application-service/SdkService/getSdkPackage.ts"],"names":["conjureFetch"],"mappings":";;;AAsBA,eAAsB,MAAO,CAAA,GAAA,EAAK,aAAe,EAAA,WAAA,EAAa,UAAY,EAAA;AACxE,EAAO,OAAA,YAAA,CAAa,KAAK,CAAS,MAAA,EAAA,aAAa,IAAI,WAAW,CAAA,CAAA,EAAI,UAAU,CAAA,CAAA,EAAI,KAAK,CAAA,CAAA;AACvF,CAAA;ACFA,eAAsB,aAAA,CAAc,KAAK,aAAe,EAAA;AACtD,EAAA,OAAOA,YAAa,CAAA,GAAA,EAAK,CAAkB,eAAA,EAAA,aAAa,IAAI,KAAK,CAAA,CAAA;AACnE","file":"index.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 { conjureFetch } from \"conjure-lite\";\n/**\n * Get an SDK version.\n *\n * Requires third-party-application:view-standalone-sdk on the repository rid.\n */\nexport async function getSdk(ctx, repositoryRid, packageName, sdkVersion) {\n return conjureFetch(ctx, `/sdks/${repositoryRid}/${packageName}/${sdkVersion}`, \"GET\");\n}","/*\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 { conjureFetch } from \"conjure-lite\";\n/**\n * Get an SDK package.\n *\n * Requires third-party-application:view-standalone-sdk on the SDK package rid.\n */\nexport async function getSdkPackage(ctx, sdkPackageRid) {\n return conjureFetch(ctx, `/sdks/packages/${sdkPackageRid}`, \"GET\");\n}"]}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export type * from "./generated/third-party-application-service/index.js";
|
|
2
|
+
export { getSdk } from "./generated/third-party-application-service/SdkService/getSdk.js";
|
|
3
|
+
export { getSdkPackage } from "./generated/third-party-application-service/SdkService/getSdkPackage.js";
|
|
2
4
|
export {};
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,mBAAmB,sDAAsD,CAAC;AAC1E,OAAO,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,mBAAmB,sDAAsD,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,kEAAkE,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,yEAAyE,CAAC;AACxG,OAAO,EAAE,CAAC"}
|
package/build/esm/index.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { conjureFetch } from 'conjure-lite';
|
|
1
2
|
|
|
3
|
+
// src/generated/third-party-application-service/SdkService/getSdk.ts
|
|
4
|
+
async function getSdk(ctx, repositoryRid, packageName, sdkVersion) {
|
|
5
|
+
return conjureFetch(ctx, `/sdks/${repositoryRid}/${packageName}/${sdkVersion}`, "GET");
|
|
6
|
+
}
|
|
7
|
+
async function getSdkPackage(ctx, sdkPackageRid) {
|
|
8
|
+
return conjureFetch(ctx, `/sdks/packages/${sdkPackageRid}`, "GET");
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { getSdk, getSdkPackage };
|
|
2
12
|
//# sourceMappingURL=index.js.map
|
|
3
13
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/generated/third-party-application-service/SdkService/getSdk.ts","../../src/generated/third-party-application-service/SdkService/getSdkPackage.ts"],"names":["conjureFetch"],"mappings":";;;AAsBA,eAAsB,MAAO,CAAA,GAAA,EAAK,aAAe,EAAA,WAAA,EAAa,UAAY,EAAA;AACxE,EAAO,OAAA,YAAA,CAAa,KAAK,CAAS,MAAA,EAAA,aAAa,IAAI,WAAW,CAAA,CAAA,EAAI,UAAU,CAAA,CAAA,EAAI,KAAK,CAAA,CAAA;AACvF,CAAA;ACFA,eAAsB,aAAA,CAAc,KAAK,aAAe,EAAA;AACtD,EAAA,OAAOA,YAAa,CAAA,GAAA,EAAK,CAAkB,eAAA,EAAA,aAAa,IAAI,KAAK,CAAA,CAAA;AACnE","file":"index.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 { conjureFetch } from \"conjure-lite\";\n/**\n * Get an SDK version.\n *\n * Requires third-party-application:view-standalone-sdk on the repository rid.\n */\nexport async function getSdk(ctx, repositoryRid, packageName, sdkVersion) {\n return conjureFetch(ctx, `/sdks/${repositoryRid}/${packageName}/${sdkVersion}`, \"GET\");\n}","/*\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 { conjureFetch } from \"conjure-lite\";\n/**\n * Get an SDK package.\n *\n * Requires third-party-application:view-standalone-sdk on the SDK package rid.\n */\nexport async function getSdkPackage(ctx, sdkPackageRid) {\n return conjureFetch(ctx, `/sdks/packages/${sdkPackageRid}`, \"GET\");\n}"]}
|