Pin TZ=UTC in react-components vitest config (#3035)
Pin TZ=UTC in react-components vitest config for locale stability
Pin TZ=UTC in react-components vitest config for locale stability
Remove stale empty changeset
Co-authored-by: nfdiop nfdiop@palantir.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
TypeScript Ontology SDK
A TypeScript library for interacting with Palantir’s Ontology.
Documentation
Packages
Getting Started
To get started, visit the developer console application on your Foundry stack or see the documentation above.
Do you only want to hit specific APIs or don’t need a generated SDK? Check out the foundry-platform-typescript package, which provides standalone APIs to interact with Foundry directly without the need to generate ontology-specific SDKs.
Frontend quick start with @osdk/create-app
See the instructions on how to get set up quickly with a frontend application in our public documentation.
Installation
Install the client and auth packages via npm:
Client Overview
Once you have generated an SDK in your Developer Console application, you need to create your token provider via OAuth. This token provider is supplied by creating the auth provider from the
@osdk/oauthpackage. Once you have your token provider set up, you can pass the authentication instance when creating the client.OAuth Instructions
Public Client
To create a public client, you will need to create an application in the Developer Console app on your Foundry stack. You will need the client ID as well as the base URL of your Foundry stack and a redirect URL that you can configure in Developer Console.
For more details, refer to the documentation provided in your Developer Console application.
Confidential Client
To create a confidential client, follow the steps to create a service user in the Developer Console. You will need the client ID, client secret, and the base URL of your Foundry stack.
For more details, refer to the public docs or documentation in the Developer Console application.
Creating Your Client
For more details, refer to the public docs or documentation in the Developer Console application.
Dev workflow
Fork the repo
Create a branch
pnpm installAdd your code
Run all lint rules and tests with
pnpm checkfrom root. Runpnpm turbo typecheckto quickly check any issues with your types.Add a changeset
pnpm install, runchangeset(orpnpm exec changeset).If you’re curious what the final build output might look like you can run
pnpm buildfrom root.Publishing
gh auth loginto authenticate with github.compnpm install./scripts/createReleasePr.sh/scripts/tag-release.sh [COMMIT_SHA]to tag your release.Troubleshooting
./scripts/createReleasePr.sh, try runningpnpm installfirst.