
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
panel-backend-types
Advanced tools
🔧 Type-safe TypeScript definitions for Panel Backend API
این پکیج شامل تمام TypeScript types و interfaces مورد نیاز برای API Panel Backend است.
npm install panel-backend-types
import {
UserResponseDTO,
ProjectResponseDTO,
ApiResponse,
PaginatedResponse,
LoginResponse,
ApiStatus,
UserStatus,
ProjectStatus
} from 'panel-backend-types';
// استفاده از types
const user: UserResponseDTO = {
id: "uuid",
email: "user@example.com",
username: "testuser",
firstName: "نام",
lastName: "نام خانوادگی",
status: UserStatus.ACTIVE,
createdAt: "2024-01-01T...",
updatedAt: "2024-01-01T..."
};
const response: ApiResponse<UserResponseDTO> = {
status: "success",
message: "User retrieved successfully",
data: user,
timestamp: new Date().toISOString()
};
ApiResponse<T>
- ساختار پاسخ APIApiErrorResponse
- ساختار خطاPaginatedResponse<T>
- پاسخ صفحهبندی شدهPaginationInfo
- اطلاعات صفحهبندیUserResponseDTO
- پاسخ کاربرUserCreateDTO
- ایجاد کاربرUserUpdateDTO
- بروزرسانی کاربرUserStatus
- وضعیت کاربرSystemRole
- نقش سیستمLoginResponse
- پاسخ ورودRegisterResponse
- پاسخ ثبتنامLoginInput
- ورودی ورودRegisterInput
- ورودی ثبتنامJwtPayload
- محتوای JWTProjectResponseDTO
- پاسخ پروژهProjectCreateDTO
- ایجاد پروژهProjectUpdateDTO
- بروزرسانی پروژهProjectStatus
- وضعیت پروژهProjectAccess
- دسترسی پروژهWidgetResponseDTO
- پاسخ ویجتWidgetCreateDTO
- ایجاد ویجتWidgetType
- نوع ویجتWidgetConfig
- پیکربندی ویجتSecurityEventResponseDTO
- رویداد امنیتیSecurityEventType
- نوع رویداد امنیتیSecurityEventSeverity
- شدت رویداد امنیتیSiteResponseDTO
- پاسخ سایتSiteStatus
- وضعیت سایتSSLStatus
- وضعیت SSLSettingsResponseDTO
- پاسخ تنظیماتSettingsEntityType
- نوع موجودیت تنظیماتSettingsScope
- دامنه تنظیماتTokenResponseDTO
- پاسخ توکنTokenType
- نوع توکنSessionResponseDTO
- پاسخ جلسهDeviceInfo
- اطلاعات دستگاه# نصب dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
MIT
برای مشارکت در این پروژه، لطفاً pull request ایجاد کنید.
✅ Type-safe، استاندارد و یکپارچه! 🚀
FAQs
Shared TypeScript types for Panel Backend API
The npm package panel-backend-types receives a total of 1 weekly downloads. As such, panel-backend-types popularity was classified as not popular.
We found that panel-backend-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.