@@ -688,23 +688,32 @@ export interface definitions {
688
688
name : definitions [ "Name" ] ;
689
689
/** @enum {string} */
690
690
type : "boolean" | "string" | "number" ;
691
- /** @description This sets whether or not the feature can be customized by a consumer. */
691
+ /**
692
+ * @description This sets whether or not the feature can be customized by a consumer.
693
+ * @default false
694
+ */
692
695
customizable ?: boolean ;
693
696
/**
694
697
* @description This sets whether or not the feature can be upgraded by the consumer after the
695
698
* resource has provisioned. Upgrading means setting a higher value or selecting a
696
699
* higher element in the list.
700
+ *
701
+ * @default false
697
702
*/
698
703
upgradable ?: boolean ;
699
704
/**
700
705
* @description This sets whether or not the feature can be downgraded by the consumer after the
701
706
* resource has provisioned. Downgrading means setting a lower value or selecting a
702
707
* lower element in the list.
708
+ *
709
+ * @default false
703
710
*/
704
711
downgradable ?: boolean ;
705
712
/**
706
713
* @description Sets if this feature’s value is trackable from the provider,
707
714
* this only really affects numeric constraints.
715
+ *
716
+ * @default false
708
717
*/
709
718
measurable ?: boolean ;
710
719
values ?: definitions [ "FeatureValuesList" ] ;
@@ -725,6 +734,8 @@ export interface definitions {
725
734
* @description The cost that will be added to the monthly plan cost when this value
726
735
* is selected or is default for the plan.
727
736
* Cost is deprecated in favor of the `price.cost` field.
737
+ *
738
+ * @default 0
728
739
*/
729
740
cost ?: number ;
730
741
/**
@@ -736,12 +747,16 @@ export interface definitions {
736
747
* @description Cost is the price in cents that will be added to plan's base cost
737
748
* when this value is selected or is default for the plan.
738
749
* Number features should use the cost range instead.
750
+ *
751
+ * @default 0
739
752
*/
740
753
cost ?: number ;
741
754
/**
742
755
* @description When a feature is used to multiply the cost of the plan or of
743
756
* another feature, multiply factor is used for calculation.
744
757
* A feature cannot have both a cost and a multiply factor.
758
+ *
759
+ * @default 0
745
760
*/
746
761
multiply_factor ?: number ;
747
762
/**
@@ -771,7 +786,10 @@ export interface definitions {
771
786
* @default 1
772
787
*/
773
788
increment ?: number ;
774
- /** @description Minimum value that can be set by a user if customizable */
789
+ /**
790
+ * @description Minimum value that can be set by a user if customizable
791
+ * @default 0
792
+ */
775
793
min ?: number ;
776
794
/** @description Maximum value that can be set by a user if customizable */
777
795
max ?: number ;
@@ -790,6 +808,8 @@ export interface definitions {
790
808
/**
791
809
* @description An integer in 10,000,000ths of cents, will be multiplied by the
792
810
* numeric value set in the feature to determine the cost.
811
+ *
812
+ * @default 0
793
813
*/
794
814
cost_multiple ?: number ;
795
815
} ;
@@ -819,6 +839,8 @@ export interface definitions {
819
839
/**
820
840
* @description When true, everyone can see the product when requested. When false it will
821
841
* not be visible to anyone except those on the provider team.
842
+ *
843
+ * @default false
822
844
*/
823
845
public ?: boolean ;
824
846
/**
@@ -827,6 +849,8 @@ export interface definitions {
827
849
* but can still be provisioned directly if it's label is known.
828
850
* Any pages that display information about the product when not listed,
829
851
* should indicate to webcrawlers that the content should not be indexed.
852
+ *
853
+ * @default false
830
854
*/
831
855
listed ?: boolean ;
832
856
/**
@@ -842,18 +866,24 @@ export interface definitions {
842
866
* @description Indicates whether or not the product is in `Beta` and should be
843
867
* advertised as such. This does not have any impact on who can access the
844
868
* product, it is just used to inform consumers through our clients.
869
+ *
870
+ * @default false
845
871
*/
846
872
beta ?: boolean ;
847
873
/**
848
874
* @description Indicates whether or not the product is in `New` and should be
849
875
* advertised as such. This does not have any impact on who can access the
850
876
* product, it is just used to inform consumers through our clients.
877
+ *
878
+ * @default false
851
879
*/
852
880
new ?: boolean ;
853
881
/**
854
882
* @description Indicates whether or not the product is in `New` and should be
855
883
* advertised as such. This does not have any impact on who can access the
856
884
* product, it is just used to inform consumers through our clients.
885
+ *
886
+ * @default false
857
887
*/
858
888
featured ?: boolean ;
859
889
} ;
0 commit comments