包详细信息

@barbonds/waitless-public-data

bar-bonds26ISC1.1.3

public data for waitless

自述文件

Waitless Public Data

This Package holds the public data that can be used to exchange between Waitless components. Depending on your preference, it exports both types as well as an array with values.

Contents

collection array type
Allergens allergens Allergens
Product Icons productIcons ProductIcons
Product Types productTypes ProductTypes
Place Types placeTypes PlaceTypes

Example

example array

import { allergens } from @barbonds/waitless-public-data
allergens.forEach((x) => console.log(x));

example type

import { Allergens } from @barbonds/waitless-public-data

const allergens:Allergens = [
  'gluten'
]