Socket
Book a DemoInstallSign in
Socket

@mappedin/mvf-address

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mappedin/mvf-address

The address extension for MVF. Allows specifying an address for the entire bundle, as well as addresses for individual floor stacks.

latest
Source
npmnpm
Version
3.0.0-beta.10
Version published
Maintainers
0
Created
Source

@mappedin/mvf-address

The address extension for MVF. Allows specifying an address for the entire bundle, as well as addresses for individual floor stacks.

An Address object is an object with keys representing different types of address data, and values that contain the data in that format. As of right now, only one schema is supported: the display type. Addresses of the display type have a single displayAddress property, which is a formatted string that can be displayed directly to a user.

Future versions of this extension may add new types of structured address data, on new properties of the Address type.

Definition:

export type Address = {
   display?: {
      displayAddress?: string
   }
}

export type AddressExtension = {
   primary?: Address,
   floorStack?: Record<FloorStackId, Address>
}

Example:

{
  address: {
    primary: {
      display: {
        displayAddress: "5788 Wunsch Cliffs, Iristown, IA 75553"
      }
    },
    floorStack: {
      fs_0000001: {
        display: {
          displayAddress: "5788 Wunsch Cliffs, Iristown, IA 75553"
        }
      }
    }
  }
}

FAQs

Package last updated on 26 Sep 2025

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