-
Notifications
You must be signed in to change notification settings - Fork 5
SK-2096 samples for bun as run time environment #221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v2
Are you sure you want to change the base?
SK-2096 samples for bun as run time environment #221
Conversation
samples/bun-sample/detect-file.ts
Outdated
| // options.setBleep(bleep); | ||
|
|
||
| // Step 6: Call deidentifyFile API | ||
| const response = await skyflowClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add response type: DeidentifyFileResponse
samples/bun-sample/detect-text.ts
Outdated
| optionsText.setTransformations(transformations); | ||
|
|
||
| // Step 6: Call deidentifyText API | ||
| const response = await skyflowClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add type for response: DeidentifyTextResponse
samples/bun-sample/upload-file.ts
Outdated
|
|
||
| // Step 4: Prepare File Upload Data | ||
| const tableName = "<TABLE_NAME>"; // Table name | ||
| const skyflowId = "<SKYFLOW_ID>"; // Skyflow ID of the record |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add types for all these variables
Why:
To provide working examples of using the Node SDK with the Bun run time environment.
Goal:
Add functional Bun samples for the following Node SDK interfaces: