@odata-effect/odata-effect-generator 0.6.2 → 0.6.3

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.
@@ -72,7 +72,7 @@ const V2_TYPE_MAP = {
72
72
  },
73
73
  "Edm.Decimal": {
74
74
  effectSchema: "ODataSchema.ODataV2Decimal",
75
- queryPath: "StringPath",
75
+ queryPath: "NumberPath",
76
76
  tsType: "BigDecimal.BigDecimal"
77
77
  },
78
78
  "Edm.Guid": {
@@ -66,7 +66,7 @@ const V2_TYPE_MAP = {
66
66
  },
67
67
  "Edm.Decimal": {
68
68
  effectSchema: "ODataSchema.ODataV2Decimal",
69
- queryPath: "StringPath",
69
+ queryPath: "NumberPath",
70
70
  tsType: "BigDecimal.BigDecimal"
71
71
  },
72
72
  "Edm.Guid": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odata-effect/odata-effect-generator",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Effect-based OData service code generator",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -44,7 +44,7 @@ const V2_TYPE_MAP: Record<string, TypeMapping> = {
44
44
  "Edm.Double": { effectSchema: "ODataSchema.ODataV2Number", queryPath: "NumberPath", tsType: "number" },
45
45
  "Edm.Decimal": {
46
46
  effectSchema: "ODataSchema.ODataV2Decimal",
47
- queryPath: "StringPath",
47
+ queryPath: "NumberPath",
48
48
  tsType: "BigDecimal.BigDecimal"
49
49
  },
50
50
  "Edm.Guid": { effectSchema: "ODataSchema.ODataGuid", queryPath: "StringPath", tsType: "string" },