owl-cli 6.152.0 → 6.153.0

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.
package/bin/owl.js CHANGED
@@ -78,7 +78,7 @@ function getIndexMapping(flatternedSpecs){
78
78
  };
79
79
 
80
80
  }
81
- else if(field.fieldType == 'string'){
81
+ else if(field.fieldType == 'string' || field.fieldType == 'choice'){
82
82
  propMappings[field.key] = {
83
83
  "type":"text",
84
84
  "fields": {
@@ -89,6 +89,11 @@ function getIndexMapping(flatternedSpecs){
89
89
  }
90
90
  };
91
91
  }
92
+ else if(field.fieldType=='number'){
93
+ propMappings[field.key] = {
94
+ "type":"double"
95
+ };
96
+ }
92
97
  }
93
98
  if(Object.keys(propMappings).length>0){
94
99
  var s = JSON.stringify(propMappings);
@@ -262,6 +267,9 @@ function processOwlFile(dir,name, outdir, templatePath, buildType, modelDir,proj
262
267
 
263
268
  function processInputDir(dir, outdir, templatePath, buildType, project) {
264
269
  readdirSync(resolve(cwd, dir)).map(name => {
270
+ if(name == 'api' || name=='sql'){
271
+ return;
272
+ }
265
273
  if (isDirectory(resolve(dir, name))) {
266
274
  try {
267
275
  fs.mkdirSync(resolve(outdir, name))
@@ -39,6 +39,57 @@
39
39
  "_t":{
40
40
  "type": "keyword"
41
41
  },
42
+ "_v":{
43
+ "type": "integer"
44
+ },
45
+ "_orgIds": {
46
+ "type": "text",
47
+ "fields": {
48
+ "keyword": {
49
+ "type": "keyword",
50
+ "ignore_above": 256
51
+ }
52
+ }
53
+ },
54
+ "_orgId": {
55
+ "type": "text",
56
+ "fields": {
57
+ "keyword": {
58
+ "type": "keyword",
59
+ "ignore_above": 256
60
+ }
61
+ }
62
+ },
63
+ "del": {
64
+ "type": "text",
65
+ "fields": {
66
+ "keyword": {
67
+ "type": "keyword",
68
+ "ignore_above": 256
69
+ }
70
+ }
71
+ },
72
+ "owl_createUserId": {
73
+ "type": "text",
74
+ "fields": {
75
+ "keyword": {
76
+ "type": "keyword",
77
+ "ignore_above": 256
78
+ }
79
+ }
80
+ },
81
+ "owl_lastModifiedUserId": {
82
+ "type": "text",
83
+ "fields": {
84
+ "keyword": {
85
+ "type": "keyword",
86
+ "ignore_above": 256
87
+ }
88
+ }
89
+ },
90
+ "owl_modifyTime": {
91
+ "type": "date"
92
+ },
42
93
  "owl_createTime":{
43
94
  "type":"date"
44
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.152.0",
3
+ "version": "6.153.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {