import{_ as e,c as a,o as r,a as t}from"./app.cf939732.js";const b=JSON.parse('{"title":"Interface: BuyableOptions","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"canPurchase","slug":"canpurchase"},{"level":3,"title":"classes","slug":"classes"},{"level":3,"title":"cost","slug":"cost"},{"level":3,"title":"display","slug":"display"},{"level":3,"title":"mark","slug":"mark"},{"level":3,"title":"onPurchase","slug":"onpurchase"},{"level":3,"title":"purchaseLimit","slug":"purchaselimit"},{"level":3,"title":"resource","slug":"resource"},{"level":3,"title":"small","slug":"small"},{"level":3,"title":"style","slug":"style"},{"level":3,"title":"visibility","slug":"visibility"}],"relativePath":"api/interfaces/features/buyable.BuyableOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/buyable.BuyableOptions.md"},s=t('

Interface: BuyableOptions

features/buyable.BuyableOptions

Properties

canPurchase

\u2022 Optional canPurchase: Computable<boolean>

Defined in

profectus/src/features/buyable.tsx:36


classes

\u2022 Optional classes: Computable<Record<string, boolean>>

Defined in

profectus/src/features/buyable.tsx:38


cost

\u2022 Optional cost: Computable<DecimalSource>

Defined in

profectus/src/features/buyable.tsx:34


display

\u2022 Optional display: Computable<BuyableDisplay>

Defined in

profectus/src/features/buyable.tsx:42


mark

\u2022 Optional mark: Computable<string | boolean>

Defined in

profectus/src/features/buyable.tsx:40


onPurchase

\u2022 Optional onPurchase: (cost: undefined | DecimalSource) => void

Type declaration

\u25B8 (cost): void

Parameters
NameType
costundefined | DecimalSource
Returns

void

Defined in

profectus/src/features/buyable.tsx:43


purchaseLimit

\u2022 Optional purchaseLimit: Computable<DecimalSource>

Defined in

profectus/src/features/buyable.tsx:37


resource

\u2022 Optional resource: Resource<DecimalSource>

Defined in

profectus/src/features/buyable.tsx:35


small

\u2022 Optional small: Computable<boolean>

Defined in

profectus/src/features/buyable.tsx:41


style

\u2022 Optional style: Computable<StyleValue>

Defined in

profectus/src/features/buyable.tsx:39


visibility

\u2022 Optional visibility: Computable<Visibility>

Defined in

profectus/src/features/buyable.tsx:33

',63),d=[s];function i(l,c,n,h,u,f){return r(),a("div",null,d)}var m=e(o,[["render",i]]);export{b as __pageData,m as default};