Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@bagdock/types

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@bagdock/types

Shared TypeScript type definitions for the Bagdock platform

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source
  ----++                                ----++                    ---+++     
  ---+++                                ---++                     ---++      
 ----+---     -----     ---------  --------++ ------     -----   ----++----- 
 ---------+ --------++----------++--------+++--------+ --------++---++---++++
 ---+++---++ ++++---++---+++---++---+++---++---+++---++---++---++------++++  
----++ ---++--------++---++----++---++ ---++---++ ---+---++     -------++    
----+----+---+++---++---++----++---++----++---++---+++--++ --------+---++   
---------++--------+++--------+++--------++ -------+++ -------++---++----++  
 +++++++++   +++++++++- +++---++   ++++++++    ++++++    ++++++  ++++  ++++  
                     --------+++                                             
                       +++++++                                               

@bagdock/types

Shared TypeScript type definitions for the Bagdock platform — operator, marketplace, loyalty, IoT, auth, and API envelope types with domain-specific subpath exports.

npm version License: MIT

Install

npm install @bagdock/types
yarn add @bagdock/types
pnpm add @bagdock/types
bun add @bagdock/types

Quick start

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'

Subpath exports

Import pathDomainKey types
@bagdock/typesAllEverything re-exported
@bagdock/types/operatorOperatorFacility, Contact, Company, Listing, Unit, Tenancy, Invoice, Payment, Subscription, Order
@bagdock/types/marketplaceMarketplaceRental, MarketplaceListing, CheckoutSession, MarketplaceVendor, SearchParams
@bagdock/types/loyaltyLoyaltyLoyaltyMember, PointsTransaction, Reward, Referral, ReferralLink, EmbedToken
@bagdock/types/iotIoTDevice, Reading, Alert, AccessEvent
@bagdock/types/hiveHiveHiveEmbedConfig, HiveEmbedToken, HiveMessage, HiveWidget
@bagdock/types/authOAuth/OIDCOAuthClient, OAuthAccessToken, TokenResponse, DeviceCodeResponse, OIDCDiscovery
@bagdock/types/apiAPIApiResponse, PaginatedResponse, ApiError, WebhookEvent, WebhookEventType
@bagdock/types/sizesSizesSizeCategory, SizeBucket, getSizeBuckets, getSizeCategoryForSqft

License

MIT — see LICENSE

Keywords

bagdock

FAQs

Package last updated on 16 Apr 2026

Did you know?

Socket

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.

Install

Related posts