
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@bagdock/types
Advanced tools
----++ ----++ ---+++
---+++ ---++ ---++
----+--- ----- --------- --------++ ------ ----- ----++-----
---------+ --------++----------++--------+++--------+ --------++---++---++++
---+++---++ ++++---++---+++---++---+++---++---+++---++---++---++------++++
----++ ---++--------++---++----++---++ ---++---++ ---+---++ -------++
----+----+---+++---++---++----++---++----++---++---+++--++ --------+---++
---------++--------+++--------+++--------++ -------+++ -------++---++----++
+++++++++ +++++++++- +++---++ ++++++++ ++++++ ++++++ ++++ ++++
--------+++
+++++++
Shared TypeScript type definitions for the Bagdock platform — operator, marketplace, loyalty, IoT, auth, and API envelope types with domain-specific subpath exports.
npm install @bagdock/types
yarn add @bagdock/types
pnpm add @bagdock/types
bun add @bagdock/types
Import everything from the root, or use subpath exports for tree-shaking:
// Root import — all types
import type { Facility, Contact, Rental } from '@bagdock/types'
// Domain-specific subpath imports
import type { Facility, Unit, Tenancy } from '@bagdock/types/operator'
import type { Rental, CheckoutSession } from '@bagdock/types/marketplace'
import type { LoyaltyMember, Reward } from '@bagdock/types/loyalty'
import type { Device, Alert } from '@bagdock/types/iot'
import type { OAuthClient, TokenResponse } from '@bagdock/types/auth'
import type { PaginatedResponse, WebhookEvent } from '@bagdock/types/api'
import type { HiveEmbedConfig } from '@bagdock/types/hive'
import type { SizeCategory, SizeBucket } from '@bagdock/types/sizes'
| Import path | Domain | Key types |
|---|---|---|
@bagdock/types | All | Everything re-exported |
@bagdock/types/operator | Operator | Facility, Contact, Company, Listing, Unit, Tenancy, Invoice, Payment, Subscription, Order |
@bagdock/types/marketplace | Marketplace | Rental, MarketplaceListing, CheckoutSession, MarketplaceVendor, SearchParams |
@bagdock/types/loyalty | Loyalty | LoyaltyMember, PointsTransaction, Reward, Referral, ReferralLink, EmbedToken |
@bagdock/types/iot | IoT | Device, Reading, Alert, AccessEvent |
@bagdock/types/hive | Hive | HiveEmbedConfig, HiveEmbedToken, HiveMessage, HiveWidget |
@bagdock/types/auth | OAuth/OIDC | OAuthClient, OAuthAccessToken, TokenResponse, DeviceCodeResponse, OIDCDiscovery |
@bagdock/types/api | API | ApiResponse, PaginatedResponse, ApiError, WebhookEvent, WebhookEventType |
@bagdock/types/sizes | Sizes | SizeCategory, SizeBucket, getSizeBuckets, getSizeCategoryForSqft |
MIT — see LICENSE
FAQs
Shared TypeScript type definitions for the Bagdock platform
We found that @bagdock/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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.