forest-cli 5.0.8 → 5.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ agent.addDataSource(
68
68
  // // Search customization is documented here:
69
69
  // // https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/search
70
70
  // collection.replaceSearch(searchString => {
71
- // // user has typed a product id, let's only that column
71
+ // // user has most likely typed a product id, let's search only that column
72
72
  // if (searchString.match(/^prdid[\d]{8}/$))
73
73
  // return { field: 'id', operator: 'Equal', value: searchString };
74
74
 
@@ -51,7 +51,7 @@ agent.addDataSource(
51
51
  //
52
52
  // Here is some code to get your started
53
53
  //
54
- // agent.customizeCollection('products', (collection: CollectionCustomizer<Schema, 'products'>) => {
54
+ // agent.customizeCollection('products', collection => {
55
55
  // // Actions are documented here:
56
56
  // // https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/actions
57
57
  // collection.addAction('Order new batch from supplier', {
@@ -70,7 +70,7 @@ agent.addDataSource(
70
70
  // // Search customization is documented here:
71
71
  // // https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/search
72
72
  // collection.replaceSearch(searchString => {
73
- // // user has typed a product id, let's only that column
73
+ // // user has most likely typed a product id, let's search only that column
74
74
  // if (searchString.match(/^prdid[\d]{8}/$))
75
75
  // return { field: 'id', operator: 'Equal', value: searchString };
76
76
 
@@ -1824,5 +1824,5 @@
1824
1824
  ]
1825
1825
  }
1826
1826
  },
1827
- "version": "5.0.8"
1827
+ "version": "5.0.10"
1828
1828
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "forest-cli",
3
3
  "description": "The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.",
4
- "version": "5.0.8",
4
+ "version": "5.0.10",
5
5
  "author": "Sandro Munda",
6
6
  "contributors": [
7
7
  "Arnaud Valensi <arnaud.valensi@gmail.com>",