From 7fa6f99ad7181c58b67b0c3ac78e561e8f1e401f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malo=20L=C3=A9on?= Date: Tue, 9 Aug 2022 11:18:33 +0100 Subject: [PATCH] configure brick yaml --- bricks/wyatt_feature_brick/brick.yaml | 33 ++++++++++++--------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/bricks/wyatt_feature_brick/brick.yaml b/bricks/wyatt_feature_brick/brick.yaml index 7f15168..5526736 100644 --- a/bricks/wyatt_feature_brick/brick.yaml +++ b/bricks/wyatt_feature_brick/brick.yaml @@ -1,28 +1,25 @@ name: wyatt_feature_brick -description: A new brick created with the Mason CLI. +description: new feature brick including state mananement -# The following defines the version and build number for your brick. -# A version number is three numbers separated by dots, like 1.2.34 -# followed by an optional build number (separated by a +). version: 0.1.0+1 -# The following defines the environment for the current brick. -# It includes the version of mason that the brick requires. environment: mason: ">=0.1.0-dev.26 <0.1.0" -# Variables specify dynamic values that your brick depends on. -# Zero or more variables can be specified for a given brick. -# Each variable has: -# * a type (string, number, boolean, enum, or array) -# * an optional short description -# * an optional default value -# * an optional list of default values (array only) -# * an optional prompt phrase used when asking for the variable -# * a list of values (enums only) vars: - name: + feature_name: type: string - description: Your name + description: Name of the feature default: Dash - prompt: What is your name? + prompt: What is the name of your new feature + state_management: + type: enum + default: cubit + description: The features state management + prompt: What is the feature state management? + values: + - bloc + - cubit + - provider + - riverpod + - none