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

Discover endpoints #188

Merged
merged 7 commits into from
Feb 14, 2025
Merged

Discover endpoints #188

merged 7 commits into from
Feb 14, 2025

Conversation

GermanVor
Copy link

@GermanVor GermanVor commented Feb 14, 2025

No description provided.

package.json Outdated
@@ -88,7 +88,8 @@
"typecheck:src": "tsc --noEmit -p ./tsconfig.prod.json",
"typecheck:examples": "tsc --noEmit -p ./examples/tsconfig.json",
"typecheck": "npm run typecheck:src && npm run typecheck:examples",
"cloudapi:update": "git submodule update --remote"
"cloudapi:update": "git submodule update --remote",
"discover_endpoints": "ts-node scripts/discover_endpoints"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай придерживаться какого-то консистентного нейминга?)
<subsystem>:<action>

В данном случае предлагаю cloudapi:discover-endpoints.

generate_services можно под этот же шаблон подогнать.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c899b9e

discover-endpoints никак не взаимодействует с cloudapi

tsconfig.json Outdated
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"lib": ["ES2021", "DOM"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetch же часть nodejs api, зачем DOM то?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetch же часть nodejs api - нет, это браузерный сахар

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Можно обновить @types/node до 18, там уже есть fetch-api.
  2. В проекте есть axios.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GermanVor GermanVor requested a review from DavyJohnes February 14, 2025 13:51
@DavyJohnes DavyJohnes merged commit 927133b into alpha Feb 14, 2025
4 checks passed
@yandex-cloud-bot
Copy link
Collaborator

🎉 This PR is included in version 3.0.0-alpha.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

@GermanVor GermanVor deleted the discover_endpoints branch February 19, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants