@sava-info-systems/api-maker-with-extensions 1.19.8 → 1.20.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.
Files changed (146) hide show
  1. package/dist/1025.95948d3d2668bb14.js +1 -0
  2. package/dist/1097.51fa3413ab19b10c.js +1 -0
  3. package/dist/148.1dc7d9e0cfe45510.js +1 -0
  4. package/dist/1558.0aae3e5c538d3815.js +1 -0
  5. package/dist/1617.ae52a2c64a228ace.js +1 -0
  6. package/dist/1678.d009ae459b731b2d.js +1 -0
  7. package/dist/1754.691f142aa1eabe28.js +1 -0
  8. package/dist/1928.5c81326985ca5f64.js +1 -0
  9. package/dist/1957.ab7fda21d9978597.js +1 -0
  10. package/dist/2140.1ce150285aebe3cc.js +1 -0
  11. package/dist/2295.4fa1d4b5ff482f3a.js +1 -0
  12. package/dist/238.891233aa670bdd2b.js +1 -0
  13. package/dist/2473.4b2bb1ad5b1cc99d.js +1 -0
  14. package/dist/2714.9880836f6b8b78a7.js +1 -0
  15. package/dist/2735.a66ecf607b9654e0.js +1 -0
  16. package/dist/2908.c26d49c83d4cbc85.js +1 -0
  17. package/dist/3081.cd465078d391b50b.js +1 -0
  18. package/dist/3139.8a9b45f6545e48f4.js +1 -0
  19. package/dist/3450.9b5cfc83039b02b5.js +1 -0
  20. package/dist/3664.79889ff090d64b8d.js +1 -0
  21. package/dist/3rdpartylicenses.txt +829 -0
  22. package/dist/4110.c8b37cab34b21d0d.js +1 -0
  23. package/dist/4186.3bd4de588fe7617d.js +1 -0
  24. package/dist/4211.0399a499eefacb52.js +1 -0
  25. package/dist/4575.f2056aa18e4cc778.js +1 -0
  26. package/dist/4842.e7649d81606ad80d.js +1 -0
  27. package/dist/485.ec283c2f8b792308.js +1 -0
  28. package/dist/4895.a54759704d1994b1.js +1 -0
  29. package/dist/5249.eb35e8578584cad0.js +1 -0
  30. package/dist/5334.b4ed1b45db24d12f.js +1 -0
  31. package/dist/5421.2067001c10533303.js +1 -0
  32. package/dist/5679.4e22239895c7f520.js +1 -0
  33. package/dist/5761.331ca41ab64cca92.js +1 -0
  34. package/dist/5765.1994a5bd001c1c55.js +1 -0
  35. package/dist/6236.5b62431db131ce4d.js +1 -0
  36. package/dist/6393.958d3e53cb6f8226.js +1 -0
  37. package/dist/6401.374823002788afe7.js +1 -0
  38. package/dist/6925.e2366878306cf7f7.js +1 -0
  39. package/dist/7368.7d91d2ce7677e72a.js +1 -0
  40. package/dist/7436.640bf5fe48814cbe.js +1 -0
  41. package/dist/7470.1bdcf8e01acb62bd.js +1 -0
  42. package/dist/7649.ab4744cfe713eec0.js +1 -0
  43. package/dist/7975.6f386123f5c64f78.js +1 -0
  44. package/dist/7977.afeded970bac8b66.js +1 -0
  45. package/dist/7987.d15aacc264588b12.js +1 -0
  46. package/dist/8125.35fe2368910566d5.js +1 -0
  47. package/dist/8266.aca59a0a04590ab1.js +1 -0
  48. package/dist/8296.b204438fa5439b1e.js +1 -0
  49. package/dist/8374.e72fc8226673c9d9.js +1 -0
  50. package/dist/8682.07ee1b8ac649ed4c.js +1 -0
  51. package/dist/8841.f7eb5568831c2981.js +1 -0
  52. package/dist/885.c5fd870ec02f004d.js +1 -0
  53. package/dist/891.5e08c81e5200413e.js +1 -0
  54. package/dist/913.4580b4ce4307a40f.js +1 -0
  55. package/dist/9243.08630ad94e1fddba.js +1 -0
  56. package/dist/9575.50120082195b31cc.js +1 -0
  57. package/dist/9939.4b0d758462bcc042.js +1 -0
  58. package/dist/assets/images/icons/scanning-period.svg +13 -0
  59. package/dist/assets/schema-types/InterfaceProps.ts +38 -0
  60. package/dist/assets/schema-types/store-types.ts +4 -0
  61. package/dist/assets/schema-types/types.ts +82 -0
  62. package/dist/assets/styles/colors-dark.scss +4 -0
  63. package/dist/assets/styles/out/bootstrap-overrides.css.map +1 -0
  64. package/dist/assets/styles/out/colors-dark.css +1 -1
  65. package/dist/assets/styles/out/colors-dark.css.map +1 -0
  66. package/dist/assets/styles/out/colors-light.css.map +1 -0
  67. package/dist/assets/styles/out/monaco-editor-overrides.css.map +1 -0
  68. package/dist/assets/styles/out/styles.css +1 -1
  69. package/dist/assets/styles/out/styles.css.map +1 -0
  70. package/dist/assets/styles/out/variables.css.map +1 -0
  71. package/dist/assets/styles/styles.scss +42 -1
  72. package/dist/common.c4550210be4e415f.js +1 -0
  73. package/dist/index.html +5 -1
  74. package/dist/main.d1a56ffd3d6266b9.js +1 -0
  75. package/dist/polyfills.47193e1d7d4041b5.js +1 -0
  76. package/dist/runtime.bb2a9060f1f8cb8e.js +1 -0
  77. package/main.js +1 -1
  78. package/package.json +15 -15
  79. package/sandbox/Dockerfile +2 -2
  80. package/sandbox/assets/schema-types/store-types.js +53 -49
  81. package/sandbox/assets/schema-types/types.js +285 -265
  82. package/sandbox/sandbox.js +1 -1
  83. package/src/assets/schema-types/store-types.ts +4 -0
  84. package/src/assets/schema-types/types.ts +82 -0
  85. package/src/public/dist-db-masters/browser/index.html +1 -1
  86. package/src/public/dist-db-masters/browser/main-HGRBZVEX.js +139 -0
  87. package/src/tools/local-client.js +1 -1
  88. package/dist/1025.ad3d7fe2972421a7.js +0 -1
  89. package/dist/1097.f7edc9a254293cbe.js +0 -1
  90. package/dist/148.3d1172921fc38628.js +0 -1
  91. package/dist/1558.d77067ef3989dc57.js +0 -1
  92. package/dist/1617.cd35a3a268fd8f90.js +0 -1
  93. package/dist/1678.2c6fe869dc9df280.js +0 -1
  94. package/dist/1754.616b92791d39dab1.js +0 -1
  95. package/dist/1928.a299b3986d670379.js +0 -1
  96. package/dist/1957.cafa315c70f23efe.js +0 -1
  97. package/dist/2140.82e389d21656cd83.js +0 -1
  98. package/dist/2295.b066a00a7c4c4d9c.js +0 -1
  99. package/dist/238.ec990f26e1e29a5e.js +0 -1
  100. package/dist/2473.6a522dcf87dfb922.js +0 -1
  101. package/dist/2714.1ed8bfd73f5693eb.js +0 -1
  102. package/dist/2735.880b4c038ef3207e.js +0 -1
  103. package/dist/2908.c7cbde300e1840a4.js +0 -1
  104. package/dist/3081.dd32ee0f5db41577.js +0 -1
  105. package/dist/3139.7a6ebcaa6a5f38f6.js +0 -1
  106. package/dist/3450.68d8d179c9496764.js +0 -1
  107. package/dist/4110.1747a68dfaacbbd8.js +0 -1
  108. package/dist/4186.601304798e909236.js +0 -1
  109. package/dist/4211.ad181f08e1073d52.js +0 -1
  110. package/dist/4575.987834c6e73af961.js +0 -1
  111. package/dist/4842.f89ded9e1e9f1110.js +0 -1
  112. package/dist/485.b333cf63f954b75c.js +0 -1
  113. package/dist/4895.95e42b567a89ce84.js +0 -1
  114. package/dist/5249.73e35de880a7af92.js +0 -1
  115. package/dist/5334.8ed5b236a6948681.js +0 -1
  116. package/dist/5421.e729ed3585afa9af.js +0 -1
  117. package/dist/5679.53292305f1448567.js +0 -1
  118. package/dist/5761.c363fe26244e8787.js +0 -1
  119. package/dist/5765.2b385a8405d8e7b2.js +0 -1
  120. package/dist/6236.b81e95926f7fcd60.js +0 -1
  121. package/dist/6393.1323e8b7d2cdae70.js +0 -1
  122. package/dist/6401.02e5b3cb94d0322a.js +0 -1
  123. package/dist/6925.d59cabb0e343d24c.js +0 -1
  124. package/dist/7368.4c04430d3efc5947.js +0 -1
  125. package/dist/7436.7e4876b9e90efde6.js +0 -1
  126. package/dist/7470.9195bddaee5202e0.js +0 -1
  127. package/dist/7649.870e05f3aa978078.js +0 -1
  128. package/dist/7975.dbe6e674c50ab553.js +0 -1
  129. package/dist/7977.35ebfb6f4c9503b4.js +0 -1
  130. package/dist/7987.5202964524a17ffa.js +0 -1
  131. package/dist/8125.58e1a7a385797896.js +0 -1
  132. package/dist/8266.d665463de8b8d75a.js +0 -1
  133. package/dist/8296.32f107844a1381b6.js +0 -1
  134. package/dist/8374.11d430ef2432bfba.js +0 -1
  135. package/dist/8682.5bde1163690a18dc.js +0 -1
  136. package/dist/8841.6cb824dd9d5ad8f8.js +0 -1
  137. package/dist/885.e3d53b62c51f8311.js +0 -1
  138. package/dist/891.333c6913b8246e3c.js +0 -1
  139. package/dist/913.e60cadd27b99097f.js +0 -1
  140. package/dist/9243.c223cdbc4cd84cb8.js +0 -1
  141. package/dist/9575.0a35a4da70f9e6e5.js +0 -1
  142. package/dist/9939.218315684234eb18.js +0 -1
  143. package/dist/common.442040891fd4ef29.js +0 -1
  144. package/dist/main.ca1eb95b67ff9761.js +0 -1
  145. package/dist/polyfills.93062920aa87d580.js +0 -1
  146. package/dist/runtime.66bf12954a778fb7.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sava-info-systems/api-maker-with-extensions",
3
- "version": "1.19.8",
3
+ "version": "1.20.0",
4
4
  "description": "🚀 API Maker® — New ora of backend begins... [Complete backend development solution]",
5
5
  "author": "SAVA INFO SYSTEMS PRIVATE LIMITED",
6
6
  "license": "proprietary",
@@ -49,7 +49,7 @@
49
49
  "@fastify/formbody": "7.4.0",
50
50
  "@fastify/static": "6.10.1",
51
51
  "@fastify/view": "7.4.1",
52
- "@swc/core": "1.3.102",
52
+ "@swc/core": "1.15.7",
53
53
  "@types/lodash": "4.14.194",
54
54
  "@types/node": "18.15.12",
55
55
  "@types/web": "0.0.153",
@@ -69,12 +69,12 @@
69
69
  "fastify": "4.29.1",
70
70
  "fastify-multer": "2.0.3",
71
71
  "fastify-plugin": "4.5.0",
72
- "form-data": "4.0.0",
72
+ "form-data": "4.0.5",
73
73
  "fs-extra": "11.1.1",
74
74
  "get-port": "5.1.1",
75
75
  "google-auth-library": "8.7.0",
76
76
  "handlebars": "4.7.7",
77
- "ioredis": "5.3.2",
77
+ "ioredis": "5.8.2",
78
78
  "is-url": "1.2.4",
79
79
  "isomorphic-git": "1.25.3",
80
80
  "js2xmlparser": "5.0.0",
@@ -84,16 +84,16 @@
84
84
  "lodash": "4.17.21",
85
85
  "memfs": "4.6.0",
86
86
  "moment": "2.29.4",
87
- "mongodb": "6.3.0",
88
- "mongodb-schema": "12.1.1",
87
+ "mongodb": "6.21.0",
88
+ "mongodb-schema": "12.6.3",
89
89
  "mongoose": "8.13.2",
90
90
  "mongoose-lean-getters": "0.4.0",
91
- "mssql": "11.0.1",
91
+ "mssql": "12.2.0",
92
92
  "mysql-error-codes": "0.1.3",
93
- "mysql2": "3.14.0",
94
- "pg": "8.10.0",
95
- "pg-connection-string": "2.5.0",
96
- "pg-query-stream": "4.4.0",
93
+ "mysql2": "3.16.0",
94
+ "pg": "8.16.3",
95
+ "pg-connection-string": "2.9.1",
96
+ "pg-query-stream": "4.10.3",
97
97
  "postman-code-generators": "1.14.2",
98
98
  "postman-collection": "4.3.0",
99
99
  "qs": "6.11.1",
@@ -104,7 +104,7 @@
104
104
  "regex-parser": "2.2.11",
105
105
  "source-map": "0.7.4",
106
106
  "svg-captcha": "1.4.0",
107
- "tar-fs": "2.1.3",
107
+ "tar-fs": "2.1.4",
108
108
  "ts-morph": "21.0.1",
109
109
  "typescript": "5.0.4",
110
110
  "ulid": "2.4.0",
@@ -113,11 +113,11 @@
113
113
  "yaml": "2.2.2"
114
114
  },
115
115
  "am": {
116
- "version": "1.19.8",
116
+ "version": "1.20.0",
117
117
  "serverName": "server1",
118
118
  "integrity": [
119
- "1554947679",
120
- "629494946"
119
+ "1318563395",
120
+ "1513889990"
121
121
  ],
122
122
  "processTitle": "api_maker_be",
123
123
  "port": 38246,
@@ -1,7 +1,7 @@
1
1
  FROM node:22.17.0-alpine3.22
2
2
  WORKDIR /usr/src/app
3
3
 
4
- RUN npm install -g pnpm@10.12.4
4
+ RUN npm install -g pnpm@10.27.0
5
5
 
6
6
  # install custom packages here like below
7
7
  # RUN apk add g++ make python3
@@ -12,7 +12,7 @@ ENV A_DOCKERFILE_HASH=${A_DOCKERFILE_HASH}
12
12
  ARG A_PACKAGE_JSON_HASH
13
13
  ENV A_PACKAGE_JSON_HASH=${A_PACKAGE_JSON_HASH}
14
14
  COPY ./package.json ./
15
- RUN pnpm install
15
+ RUN pnpm config set node-linker hoisted && pnpm install --dangerously-allow-all-builds
16
16
 
17
17
  ARG A_CODE_HASH
18
18
  ENV A_CODE_HASH=${A_CODE_HASH}
@@ -2,67 +2,66 @@
2
2
  function _export(target, all) {
3
3
  for(var name in all)Object.defineProperty(target, name, {
4
4
  enumerable: true,
5
- get: all[name]
5
+ get: Object.getOwnPropertyDescriptor(all, name).get
6
6
  });
7
7
  }
8
8
  _export(exports, {
9
- EAPICategoryRedis: function() {
9
+ get EAPICategoryRedis () {
10
10
  return EAPICategoryRedis;
11
11
  },
12
- EApiRequestBodyType: function() {
12
+ get EApiRequestBodyType () {
13
13
  return EApiRequestBodyType;
14
14
  },
15
- ECacheControl: function() {
15
+ get ECacheControl () {
16
16
  return ECacheControl;
17
17
  },
18
- EContentType: function() {
18
+ get EContentType () {
19
19
  return EContentType;
20
20
  },
21
- EDataSource: function() {
21
+ get EDataSource () {
22
22
  return EDataSource;
23
23
  },
24
- EGetEncryptedData: function() {
24
+ get EGetEncryptedData () {
25
25
  return EGetEncryptedData;
26
26
  },
27
- EHeader: function() {
27
+ get EHeader () {
28
28
  return EHeader;
29
29
  },
30
- EHeaderDBMasters: function() {
30
+ get EHeaderDBMasters () {
31
31
  return EHeaderDBMasters;
32
32
  },
33
- ERequestMethod: function() {
33
+ get ERequestMethod () {
34
34
  return ERequestMethod;
35
35
  },
36
- EResponseCase: function() {
36
+ get EResponseCase () {
37
37
  return EResponseCase;
38
38
  },
39
- EResponseObjectType: function() {
39
+ get EResponseObjectType () {
40
40
  return EResponseObjectType;
41
41
  },
42
- ESupportedAPIParamType: function() {
42
+ get ESupportedAPIParamType () {
43
43
  return ESupportedAPIParamType;
44
44
  }
45
45
  });
46
- var EAPICategoryRedis;
47
- (function(EAPICategoryRedis) {
46
+ var EAPICategoryRedis = /*#__PURE__*/ function(EAPICategoryRedis) {
48
47
  EAPICategoryRedis["GET_DATA"] = "GET_DATA";
49
48
  EAPICategoryRedis["MODIFY_DATA"] = "MODIFY_DATA";
50
- })(EAPICategoryRedis || (EAPICategoryRedis = {}));
51
- var EApiRequestBodyType;
52
- (function(EApiRequestBodyType) {
49
+ return EAPICategoryRedis;
50
+ }({});
51
+ var EApiRequestBodyType = /*#__PURE__*/ function(EApiRequestBodyType) {
53
52
  EApiRequestBodyType["FORM_DATA"] = "FORM_DATA";
54
53
  EApiRequestBodyType["JSON"] = "JSON";
55
54
  EApiRequestBodyType["TEXT"] = "TEXT";
56
- })(EApiRequestBodyType || (EApiRequestBodyType = {}));
57
- var ERequestMethod;
58
- (function(ERequestMethod) {
55
+ return EApiRequestBodyType;
56
+ }({});
57
+ var ERequestMethod = /*#__PURE__*/ function(ERequestMethod) {
59
58
  ERequestMethod["GET"] = "GET";
60
59
  ERequestMethod["POST"] = "POST";
61
60
  ERequestMethod["PUT"] = "PUT";
62
61
  ERequestMethod["DELETE"] = "DELETE";
63
- })(ERequestMethod || (ERequestMethod = {}));
64
- var ESupportedAPIParamType;
65
- (function(ESupportedAPIParamType) {
62
+ return ERequestMethod;
63
+ }({});
64
+ var ESupportedAPIParamType = /*#__PURE__*/ function(ESupportedAPIParamType) {
66
65
  // input supported types
67
66
  ESupportedAPIParamType["text"] = "text";
68
67
  ESupportedAPIParamType["number"] = "number";
@@ -78,18 +77,19 @@ var ESupportedAPIParamType;
78
77
  ESupportedAPIParamType["dropdown"] = "dropdown";
79
78
  ESupportedAPIParamType["file"] = "file";
80
79
  ESupportedAPIParamType["files"] = "files";
81
- })(ESupportedAPIParamType || (ESupportedAPIParamType = {}));
82
- var EContentType;
83
- (function(EContentType) {
80
+ return ESupportedAPIParamType;
81
+ }({});
82
+ var EContentType = /*#__PURE__*/ function(EContentType) {
84
83
  EContentType["JSON"] = "application/json";
85
84
  EContentType["XML"] = "text/xml";
85
+ EContentType["APPLICATION_XML"] = "application/xml";
86
86
  EContentType["YAML"] = "text/yaml";
87
87
  EContentType["TEXT"] = "text/plain";
88
88
  EContentType["HTML"] = "text/html";
89
89
  EContentType["OCTET_STREAM"] = "application/octet-stream";
90
- })(EContentType || (EContentType = {}));
91
- var EHeader;
92
- (function(EHeader) {
90
+ return EContentType;
91
+ }({});
92
+ var EHeader = /*#__PURE__*/ function(EHeader) {
93
93
  EHeader["CONTENT_TYPE"] = "content-type";
94
94
  EHeader["ACCEPT_ENCODING"] = "accept-encoding";
95
95
  EHeader["NO_COMPRESSION_STD"] = "x-no-compression";
@@ -120,33 +120,36 @@ var EHeader;
120
120
  EHeader["INTER_COMM"] = "x-am-inter-comm";
121
121
  EHeader["SEND_ONLY_OBJECTS"] = "x-am-send-only-objects-in-stream";
122
122
  EHeader["AM_REQUEST_ID"] = "x-am-request-id";
123
+ EHeader["AM_CODE_EXEC_ID"] = "x-am-code-exec-id";
123
124
  EHeader["AM_STORE_TOKEN"] = "x-am-store-token";
124
125
  EHeader["AM_WS_Client_ID"] = "x-am-ws-client-id";
125
126
  EHeader["RUN_IN_DEBUGGER"] = "x-am-run-in-debugger";
126
- })(EHeader || (EHeader = {}));
127
- var EHeaderDBMasters;
128
- (function(EHeaderDBMasters) {
127
+ EHeader["TENANT_USERNAME"] = "x-am-tenant-username";
128
+ EHeader["TENANT_SECRET_PATH"] = "x-am-tenant-secret-path";
129
+ return EHeader;
130
+ }({});
131
+ var EHeaderDBMasters = /*#__PURE__*/ function(EHeaderDBMasters) {
129
132
  EHeaderDBMasters["DB_MASTER_NAME"] = "db-master-name";
130
133
  EHeaderDBMasters["ADMIN_PATH"] = "admin-path";
131
- })(EHeaderDBMasters || (EHeaderDBMasters = {}));
132
- var ECacheControl;
133
- (function(ECacheControl) {
134
+ return EHeaderDBMasters;
135
+ }({});
136
+ var ECacheControl = /*#__PURE__*/ function(ECacheControl) {
134
137
  ECacheControl["reset_cache"] = "reset_cache";
135
138
  ECacheControl["no_action"] = "no_action";
136
- })(ECacheControl || (ECacheControl = {}));
137
- var EDataSource;
138
- (function(EDataSource) {
139
+ return ECacheControl;
140
+ }({});
141
+ var EDataSource = /*#__PURE__*/ function(EDataSource) {
139
142
  EDataSource["api"] = "api";
140
143
  EDataSource["cache"] = "cache";
141
- })(EDataSource || (EDataSource = {}));
142
- var EGetEncryptedData;
143
- (function(EGetEncryptedData) {
144
+ return EDataSource;
145
+ }({});
146
+ var EGetEncryptedData = /*#__PURE__*/ function(EGetEncryptedData) {
144
147
  EGetEncryptedData["no_encryption"] = "no_encryption";
145
148
  EGetEncryptedData["get_only_encryption"] = "get_only_encryption";
146
149
  EGetEncryptedData["get_data_and_encryption"] = "get_data_and_encryption";
147
- })(EGetEncryptedData || (EGetEncryptedData = {}));
148
- var EResponseCase;
149
- (function(EResponseCase) {
150
+ return EGetEncryptedData;
151
+ }({});
152
+ var EResponseCase = /*#__PURE__*/ function(EResponseCase) {
150
153
  EResponseCase["noChange"] = "noChange";
151
154
  EResponseCase["camelCase"] = "camelCase";
152
155
  EResponseCase["capitalCase"] = "capitalCase";
@@ -159,9 +162,10 @@ var EResponseCase;
159
162
  EResponseCase["pathCase"] = "pathCase";
160
163
  EResponseCase["sentenceCase"] = "sentenceCase";
161
164
  EResponseCase["snakeCase"] = "snakeCase";
162
- })(EResponseCase || (EResponseCase = {}));
163
- var EResponseObjectType;
164
- (function(EResponseObjectType) {
165
+ return EResponseCase;
166
+ }({});
167
+ var EResponseObjectType = /*#__PURE__*/ function(EResponseObjectType) {
165
168
  EResponseObjectType["no_action"] = "no_action";
166
169
  EResponseObjectType["make_flat"] = "make_flat";
167
- })(EResponseObjectType || (EResponseObjectType = {}));
170
+ return EResponseObjectType;
171
+ }({});