You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/library.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,10 @@ The different attributes are the following:
33
33
34
34
* id : id of the library
35
35
* name : name of the library
36
-
* state : is it “development”, “staging” or “production” environment
36
+
* state : is it "development", "staging" or "production" environment
37
37
* build_required : is a build required or not (Boolean)
38
38
* builds : The build attache to this library
39
-
* buid_status : Is the last build has been “successful” ?
39
+
* buid_status : Is the last build has been "successful" ?
40
40
* relationships : the different element attached to this Library
41
41
*_environments = a dictionary of the different environment possible.
42
42
@@ -45,10 +45,11 @@ The different attributes are the following:
45
45
The get methods will enable you to retrieve the elements that have been attached to this library.
46
46
The different get methods are the followings:
47
47
48
-
* getDataElements
49
-
* getExtensions
50
-
* getRules
48
+
* getDataElements : get the data element in that library
49
+
* getExtensions : get the Extension in that library
50
+
* getRules : get the rules in the library
51
51
* getFullLibrary : It is a combinaison of all of the 3 above.
52
+
* getBuilds : Retrieve the builds of that library
52
53
53
54
## Adding element to a library
54
55
@@ -62,7 +63,7 @@ They are the following:
62
63
63
64
## Environments settings
64
65
65
-
Before you can actually start building the library and pass it from one state to another (“development” -> “staging”). You would need to set the different environments.
66
+
Before you can actually start building the library and pass it from one state to another ("development" -> "staging"). You would need to set the different environments.
66
67
67
68
The method used for that is : setEnvironments().
68
69
It takes 2 arguments:
@@ -90,7 +91,7 @@ myLib.build() # require that you have set your environment.
90
91
As it is your goal to publish your library, you want to transition it from the dev to the staging environment and so forth.
91
92
In order to do that, you can use the transition() method.
92
93
***Note*** : You would need to build your library between 2 transition.
93
-
At the end of the funnel, you just need to build your library when you are in the “approved” state.
94
+
At the end of the funnel, you just need to build your library when you are in the "approved" state.
0 commit comments