Skip to content
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

feat: add AI API support #384

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

RomanDolinovskyi
Copy link
Contributor

No description provided.

@RomanDolinovskyi RomanDolinovskyi force-pushed the add_AI_Api_support branch 2 times, most recently from 257f20e to 0accf84 Compare March 28, 2024 11:41
@andrii-bodnar andrii-bodnar changed the title add AI Api support feat: add AI Api support Mar 28, 2024
@andrii-bodnar andrii-bodnar changed the title feat: add AI Api support feat: add AI API support Mar 28, 2024
@andrii-bodnar andrii-bodnar linked an issue Mar 28, 2024 that may be closed by this pull request
src/ai/index.ts Outdated Show resolved Hide resolved
src/ai/index.ts Show resolved Hide resolved
src/ai/index.ts Outdated Show resolved Hide resolved
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 91.07%. Comparing base (9d0b156) to head (733e930).
Report is 1 commits behind head on master.

❗ Current head 733e930 differs from pull request most recent head de9e557. Consider uploading reports for the commit de9e557 to get more accurate results

Files Patch % Lines
src/ai/index.ts 85.72% 0 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #384      +/-   ##
==========================================
- Coverage   91.20%   91.07%   -0.12%     
==========================================
  Files          38       39       +1     
  Lines        1533     1578      +45     
  Branches      147      153       +6     
==========================================
+ Hits         1398     1437      +39     
  Misses         78       78              
- Partials       57       63       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/ai/index.ts Outdated Show resolved Hide resolved
@andrii-bodnar andrii-bodnar merged commit cf50486 into crowdin:master Mar 28, 2024
8 checks passed
kodiakhq bot added a commit to weareinreach/TransMascFutures that referenced this pull request Mar 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@crowdin/crowdin-api-client](https://togithub.com/crowdin/crowdin-api-client-js) | [`1.31.0` -> `1.32.0`](https://renovatebot.com/diffs/npm/@crowdin%2fcrowdin-api-client/1.31.0/1.32.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@crowdin%2fcrowdin-api-client/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@crowdin%2fcrowdin-api-client/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@crowdin%2fcrowdin-api-client/1.31.0/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@crowdin%2fcrowdin-api-client/1.31.0/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.70` -> `18.2.73`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.70/18.2.73) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.73?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.73?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.70/18.2.73?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.70/18.2.73?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom)) | [`18.2.22` -> `18.2.23`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.22/18.2.23) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.22/18.2.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.22/18.2.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`7.3.1` -> `7.4.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.3.1/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`7.3.1` -> `7.4.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.3.1/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [chromatic](https://www.chromatic.com) ([source](https://togithub.com/chromaui/chromatic-cli)) | [`11.2.0` -> `11.3.0`](https://renovatebot.com/diffs/npm/chromatic/11.2.0/11.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/11.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/11.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/11.2.0/11.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/11.2.0/11.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [listr2](https://togithub.com/listr2/listr2) | [`8.0.2` -> `8.1.1`](https://renovatebot.com/diffs/npm/listr2/8.0.2/8.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/listr2/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/listr2/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/listr2/8.0.2/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/listr2/8.0.2/8.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [node](https://nodejs.org) ([source](https://togithub.com/nodejs/node)) | `20.11.1` -> `20.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v20.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v20.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v20.11.1/v20.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v20.11.1/v20.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |  | minor |
| [prettier-plugin-packagejson](https://togithub.com/matzkoh/prettier-plugin-packagejson) | [`2.4.12` -> `2.4.13`](https://renovatebot.com/diffs/npm/prettier-plugin-packagejson/2.4.12/2.4.13) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier-plugin-packagejson/2.4.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier-plugin-packagejson/2.4.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier-plugin-packagejson/2.4.12/2.4.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier-plugin-packagejson/2.4.12/2.4.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |

---

### Release Notes

<details>
<summary>crowdin/crowdin-api-client-js (@&#8203;crowdin/crowdin-api-client)</summary>

### [`v1.32.0`](https://togithub.com/crowdin/crowdin-api-client-js/releases/tag/1.32.0)

[Compare Source](https://togithub.com/crowdin/crowdin-api-client-js/compare/1.31.0...1.32.0)

#### What's Changed

-   feat: add AI API support by [@&#8203;RomanDolinovskyi](https://togithub.com/RomanDolinovskyi) in [crowdin/crowdin-api-client-js#384

#### New Contributors

-   [@&#8203;RomanDolinovskyi](https://togithub.com/RomanDolinovskyi) made their first contribution in [crowdin/crowdin-api-client-js#384

**Full Changelog**: crowdin/crowdin-api-client-js@1.31.0...1.32.0

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary>

### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#740-2024-03-25)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0)

##### 🚀 Features

-   **eslint-plugin:** \[consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata

-   **eslint-plugin:** \[no-unnecessary-type-arguments] handle tagged templates

-   **eslint-plugin:** deprecate no-throw-literal and add a renamed only-throw-error

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-optional-chain] address multipart nullish checks false positive

-   **eslint-plugin:** \[prefer-optional-chain] properly disambiguate between `boolean` and `false`

-   **eslint-plugin:** \[no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside

##### ❤️  Thank You

-   Abraham Guo
-   Brad Zacher
-   Josh Goldberg ✨
-   Kim Sang Du
-   Kirk Waiblinger
-   Marco Pasqualetti
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary>

### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...5d2469142262672e381db3b4a4e2bffa80984810)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0)

</details>

<details>
<summary>chromaui/chromatic-cli (chromatic)</summary>

### [`v11.3.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1130-Fri-Mar-29-2024)

[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v11.2.0...v11.3.0)

##### 🚀 Enhancement

-   Throw user-friendly error when config file fails to parse as JSON [#&#8203;961](https://togithub.com/chromaui/chromatic-cli/pull/961) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### 🐛 Bug Fix

-   Suppress issues caused by missing Git remote [#&#8203;962](https://togithub.com/chromaui/chromatic-cli/pull/962) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Trim `v` prefix from shipIt's version to avoid double prefixing tags [#&#8203;960](https://togithub.com/chromaui/chromatic-cli/pull/960) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

***

</details>

<details>
<summary>listr2/listr2 (listr2)</summary>

### [`v8.1.1`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.1.1)

[Compare Source](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.1.0...listr2@&#8203;8.1.1)

#### listr2 [8.1.1](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.1.0...listr2@&#8203;8.1.1) (2024-03-27)

##### Bug Fixes

-   update signal handler to remove itself ([7597099](https://togithub.com/listr2/listr2/commit/759709921cea1a1816ec50a7f1576fcb361fc294)), closes [#&#8203;709](https://togithub.com/listr2/listr2/issues/709)

### [`v8.1.0`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.1.0)

[Compare Source](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.0.2...listr2@&#8203;8.1.0)

### listr2 [8.1.0](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.0.2...listr2@&#8203;8.1.0) (2024-03-27)

##### Features

-   make observable and stream independent of node and external deps ([4eab16a](https://togithub.com/listr2/listr2/commit/4eab16a21ae84fd114216931394af86ceda1576e)), closes [#&#8203;707](https://togithub.com/listr2/listr2/issues/707)

</details>

<details>
<summary>nodejs/node (node)</summary>

### [`v20.12.0`](https://togithub.com/nodejs/node/compare/v20.11.1...v20.12.0)

[Compare Source](https://togithub.com/nodejs/node/compare/v20.11.1...v20.12.0)

</details>

<details>
<summary>matzkoh/prettier-plugin-packagejson (prettier-plugin-packagejson)</summary>

### [`v2.4.13`](https://togithub.com/matzkoh/prettier-plugin-packagejson/compare/v2.4.12...24c87583ffdd1f034f5819f73eb5fc2f4327009b)

[Compare Source](https://togithub.com/matzkoh/prettier-plugin-packagejson/compare/v2.4.12...v2.4.13)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday,before 4am on Thursday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/GLAAD).



PR-URL: #372
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI API support
3 participants