@nomalism-com/api 0.8.157 → 0.8.159
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/dist/modules/documentManagement/index.js +6 -5
- package/dist/modules/integration/index.js +6 -5
- package/dist/modules/print/index.js +6 -5
- package/dist/modules/stock/documentLineAssoc.d.ts +2 -1
- package/dist/modules/stock/documentLineAssoc.js +93 -2
- package/dist/modules/stock/index.js +6 -5
- package/dist/modules/tickets/index.js +6 -5
- package/dist/modules/user/index.js +6 -5
- package/dist/modules/view/index.js +5 -4
- package/dist/shared/client.d.ts +2 -0
- package/dist/shared/client.js +9 -1
- package/package.json +54 -54
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_DOCUMENT_MANAGEMENT_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'documents/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'documents/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
|
12
|
-
exports.servicePublicPath =
|
|
13
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'documents/public/';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_INTEGRATION_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'integration/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'integration/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
|
12
|
-
exports.servicePublicPath =
|
|
13
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'integration/public/';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serviceApiKeyPath = exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_PRINT_URL
|
|
6
|
-
:
|
|
7
|
-
exports.serviceAuthPath =
|
|
8
|
-
exports.servicePublicPath =
|
|
9
|
-
exports.serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
exports.serviceAuthPath = client_1.processEnvironment === 'development' ? '/' : 'print/auth/';
|
|
9
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'print/public/';
|
|
10
|
+
exports.serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'print/apikey/';
|
|
@@ -17,6 +17,7 @@ export import IPurchaFromProviderRequest = Entity.IPurchaseFromProviderRequest;
|
|
|
17
17
|
export import IDeleteInventoryLossRequest = Entity.IDeleteInventoryLossRequest;
|
|
18
18
|
export import IFindStockToOrderResponse = Entity.IFindStockToOrderResponse;
|
|
19
19
|
export import IFindStockToOrderRequest = Entity.IFindStockToOrderRequest;
|
|
20
|
+
export import ISetProviderRequest = Entity.ISetProviderRequest;
|
|
20
21
|
export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
21
22
|
'Espera Adjudica\u00E7\u00E3o': "Espera Adjudicação";
|
|
22
23
|
'Espera RM cliente': "Espera RM cliente";
|
|
@@ -27,4 +28,4 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
|
27
28
|
'Encomendar Stock': "Encomendar Stock";
|
|
28
29
|
'Stock em Loja': "Stock em Loja";
|
|
29
30
|
}, conferirEncomendaClienteOptions: string[];
|
|
30
|
-
export declare const findByOwnerId: (data: shared.IFindByOwnerIdRequest) => Promise<Entity.IEntityExtended[]>, create: (data: Entity.ICreateRequest[]) => Promise<Entity.IEntityExtended[]>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IEntityExtended | null>, validarEntradaMaterial: (data: Entity.IValidarEntradaDeMaterialRequest) => Promise<Entity.IValidarEntradaDeMaterialResponse>, finalizarEntradaMaterial: (data: Entity.IFinalizarEntradaDeMaterialRequest) => Promise<void>, conferirEncomendaCliente: (data: Entity.IConferirEncomendaClienteRequest) => Promise<void>, purchaseFromProvider: (data: Entity.IPurchaseFromProviderRequest
|
|
31
|
+
export declare const findByOwnerId: (data: shared.IFindByOwnerIdRequest) => Promise<Entity.IEntityExtended[]>, create: (data: Entity.ICreateRequest[]) => Promise<Entity.IEntityExtended[]>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IEntityExtended | null>, validarEntradaMaterial: (data: Entity.IValidarEntradaDeMaterialRequest) => Promise<Entity.IValidarEntradaDeMaterialResponse>, finalizarEntradaMaterial: (data: Entity.IFinalizarEntradaDeMaterialRequest) => Promise<void>, conferirEncomendaCliente: (data: Entity.IConferirEncomendaClienteRequest) => Promise<void>, purchaseFromProvider: (data: Entity.IPurchaseFromProviderRequest) => Promise<void>, deleteInventoryLosses: (data: Entity.IDeleteInventoryLossRequest) => Promise<void>, findProvidersWithStockToOrder: () => Promise<shared.IFindMinifiedResponse[]>, undoEncomendaVA: (selector: shared.IFindByIdRequest) => Promise<void>, findStockToOrder: (data: Entity.IFindStockToOrderRequest) => Promise<Entity.IFindStockToOrderResponse[]>, markUnsentClientNotification: (selector: shared.IFindByIdRequest) => Promise<void>, markUnsentProviderOrder: (selector: shared.IFindByIdRequest) => Promise<void>, sendClientNotification: (selector: shared.IFindByIdRequest) => Promise<void>, sendProviderOrder: (selector: shared.IFindByIdRequest) => Promise<void>, setProvider: (selector: shared.IFindByIdRequest, data: Entity.ISetProviderRequest) => Promise<void>, undoEncomendaStock: (selector: shared.IFindByIdRequest) => Promise<void>, unsetProvider: (selector: shared.IFindByIdRequest) => Promise<void>;
|
|
@@ -39,7 +39,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
39
39
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.undoEncomendaVA = exports.findProvidersWithStockToOrder = exports.deleteInventoryLosses = exports.purchaseFromProvider = exports.conferirEncomendaCliente = exports.finalizarEntradaMaterial = exports.validarEntradaMaterial = exports.update = exports.create = exports.findByOwnerId = exports.conferirEncomendaClienteOptions = exports.ConferirEncomendaClienteOptionsEnum = void 0;
|
|
42
|
+
exports.unsetProvider = exports.undoEncomendaStock = exports.setProvider = exports.sendProviderOrder = exports.sendClientNotification = exports.markUnsentProviderOrder = exports.markUnsentClientNotification = exports.findStockToOrder = exports.undoEncomendaVA = exports.findProvidersWithStockToOrder = exports.deleteInventoryLosses = exports.purchaseFromProvider = exports.conferirEncomendaCliente = exports.finalizarEntradaMaterial = exports.validarEntradaMaterial = exports.update = exports.create = exports.findByOwnerId = exports.conferirEncomendaClienteOptions = exports.ConferirEncomendaClienteOptionsEnum = void 0;
|
|
43
43
|
var types_1 = require("@nomalism-com/types");
|
|
44
44
|
var client_1 = __importDefault(require("../../shared/client"));
|
|
45
45
|
var _1 = require(".");
|
|
@@ -162,5 +162,96 @@ var repository = {
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
}); },
|
|
165
|
+
setProvider: function (_a, data) {
|
|
166
|
+
var id = _a.id;
|
|
167
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
168
|
+
return __generator(this, function (_b) {
|
|
169
|
+
switch (_b.label) {
|
|
170
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/set_provider"), data)];
|
|
171
|
+
case 1:
|
|
172
|
+
_b.sent();
|
|
173
|
+
return [2];
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
},
|
|
178
|
+
unsetProvider: function (_a) {
|
|
179
|
+
var id = _a.id;
|
|
180
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
181
|
+
return __generator(this, function (_b) {
|
|
182
|
+
switch (_b.label) {
|
|
183
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/unset_provider"))];
|
|
184
|
+
case 1:
|
|
185
|
+
_b.sent();
|
|
186
|
+
return [2];
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
},
|
|
191
|
+
undoEncomendaStock: function (_a) {
|
|
192
|
+
var id = _a.id;
|
|
193
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
194
|
+
return __generator(this, function (_b) {
|
|
195
|
+
switch (_b.label) {
|
|
196
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/undo_encomenda_stock"))];
|
|
197
|
+
case 1:
|
|
198
|
+
_b.sent();
|
|
199
|
+
return [2];
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
},
|
|
204
|
+
sendProviderOrder: function (_a) {
|
|
205
|
+
var id = _a.id;
|
|
206
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
207
|
+
return __generator(this, function (_b) {
|
|
208
|
+
switch (_b.label) {
|
|
209
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/send_provider_order"))];
|
|
210
|
+
case 1:
|
|
211
|
+
_b.sent();
|
|
212
|
+
return [2];
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
markUnsentProviderOrder: function (_a) {
|
|
218
|
+
var id = _a.id;
|
|
219
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
220
|
+
return __generator(this, function (_b) {
|
|
221
|
+
switch (_b.label) {
|
|
222
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/mark_unsent_provider_order"))];
|
|
223
|
+
case 1:
|
|
224
|
+
_b.sent();
|
|
225
|
+
return [2];
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
},
|
|
230
|
+
sendClientNotification: function (_a) {
|
|
231
|
+
var id = _a.id;
|
|
232
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
233
|
+
return __generator(this, function (_b) {
|
|
234
|
+
switch (_b.label) {
|
|
235
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/send_client_notification"))];
|
|
236
|
+
case 1:
|
|
237
|
+
_b.sent();
|
|
238
|
+
return [2];
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
},
|
|
243
|
+
markUnsentClientNotification: function (_a) {
|
|
244
|
+
var id = _a.id;
|
|
245
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
246
|
+
return __generator(this, function (_b) {
|
|
247
|
+
switch (_b.label) {
|
|
248
|
+
case 0: return [4, client_1.default.post("".concat(route).concat(id, "/mark_unsent_client_notification"))];
|
|
249
|
+
case 1:
|
|
250
|
+
_b.sent();
|
|
251
|
+
return [2];
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
},
|
|
165
256
|
};
|
|
166
|
-
exports.findByOwnerId = repository.findByOwnerId, exports.create = repository.create, exports.update = repository.update, exports.validarEntradaMaterial = repository.validarEntradaMaterial, exports.finalizarEntradaMaterial = repository.finalizarEntradaMaterial, exports.conferirEncomendaCliente = repository.conferirEncomendaCliente, exports.purchaseFromProvider = repository.purchaseFromProvider, exports.deleteInventoryLosses = repository.deleteInventoryLosses, exports.findProvidersWithStockToOrder = repository.findProvidersWithStockToOrder, exports.undoEncomendaVA = repository.undoEncomendaVA;
|
|
257
|
+
exports.findByOwnerId = repository.findByOwnerId, exports.create = repository.create, exports.update = repository.update, exports.validarEntradaMaterial = repository.validarEntradaMaterial, exports.finalizarEntradaMaterial = repository.finalizarEntradaMaterial, exports.conferirEncomendaCliente = repository.conferirEncomendaCliente, exports.purchaseFromProvider = repository.purchaseFromProvider, exports.deleteInventoryLosses = repository.deleteInventoryLosses, exports.findProvidersWithStockToOrder = repository.findProvidersWithStockToOrder, exports.undoEncomendaVA = repository.undoEncomendaVA, exports.findStockToOrder = repository.findStockToOrder, exports.markUnsentClientNotification = repository.markUnsentClientNotification, exports.markUnsentProviderOrder = repository.markUnsentProviderOrder, exports.sendClientNotification = repository.sendClientNotification, exports.sendProviderOrder = repository.sendProviderOrder, exports.setProvider = repository.setProvider, exports.undoEncomendaStock = repository.undoEncomendaStock, exports.unsetProvider = repository.unsetProvider;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_STOCK_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'stock/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'stock/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
|
12
|
-
exports.servicePublicPath =
|
|
13
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'stock/public/';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_TICKETS_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'tickets/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'tickets/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
|
12
|
-
exports.servicePublicPath =
|
|
13
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'tickets/public/';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.servicePublicPath = exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_USER_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'users/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'users/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
|
12
|
-
exports.servicePublicPath =
|
|
13
|
+
exports.servicePublicPath = client_1.processEnvironment === 'development' ? '/' : 'users/public/';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serviceAuthPath = exports.serviceHostname = void 0;
|
|
4
|
-
|
|
4
|
+
var client_1 = require("../../shared/client");
|
|
5
|
+
exports.serviceHostname = client_1.processEnvironment === 'development'
|
|
5
6
|
? process.env.REACT_APP_VIEW_URL
|
|
6
|
-
:
|
|
7
|
-
var serviceJwtPath =
|
|
8
|
-
var serviceApiKeyPath =
|
|
7
|
+
: client_1.REACT_APP_API_GATEWAY_URL;
|
|
8
|
+
var serviceJwtPath = client_1.processEnvironment === 'development' ? '/' : 'view/auth/';
|
|
9
|
+
var serviceApiKeyPath = client_1.processEnvironment === 'development' ? '/' : 'view/apikey/';
|
|
9
10
|
exports.serviceAuthPath = process.env.REACT_APP_API_KEY
|
|
10
11
|
? serviceApiKeyPath
|
|
11
12
|
: serviceJwtPath;
|
package/dist/shared/client.d.ts
CHANGED
package/dist/shared/client.js
CHANGED
|
@@ -14,8 +14,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.REACT_APP_API_GATEWAY_URL = exports.processEnvironment = void 0;
|
|
17
18
|
var axios_1 = __importDefault(require("axios"));
|
|
18
|
-
exports.
|
|
19
|
+
exports.processEnvironment = process.env.REACT_APP_ENV || process.env.NODE_ENV || 'development';
|
|
20
|
+
var PROCESS_REACT_APP_API_GATEWAY_URL = {
|
|
21
|
+
production: process.env.REACT_APP_API_GATEWAY_URL_DEV,
|
|
22
|
+
uat: process.env.REACT_APP_API_GATEWAY_URL_UAT,
|
|
23
|
+
development: process.env.REACT_APP_API_GATEWAY_URL_PROD,
|
|
24
|
+
};
|
|
25
|
+
exports.REACT_APP_API_GATEWAY_URL = PROCESS_REACT_APP_API_GATEWAY_URL[exports.processEnvironment];
|
|
26
|
+
exports.default = axios_1.default.create(__assign({ baseURL: exports.REACT_APP_API_GATEWAY_URL }, (process.env.REACT_APP_API_KEY
|
|
19
27
|
? {
|
|
20
28
|
headers: {
|
|
21
29
|
apikey: process.env.REACT_APP_API_KEY,
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@nomalism-com/api",
|
|
3
|
-
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"nomalism",
|
|
7
|
-
"api",
|
|
8
|
-
"types",
|
|
9
|
-
"typescript",
|
|
10
|
-
"helper"
|
|
11
|
-
],
|
|
12
|
-
"version": "0.8.
|
|
13
|
-
"main": "dist/index.js",
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"license": "UNLICENSED",
|
|
19
|
-
"homepage": "https://gitlab.com/nomalism-develop/api",
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://gitlab.com/nomalism-develop/api/issues"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://gitlab.com/nomalism-develop/api.git"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
|
|
29
|
-
"build": "rm -rf dist && tsc --project tsconfig.json",
|
|
30
|
-
"start": "tsx --tsconfig ./tsconfig.json src/index.ts",
|
|
31
|
-
"prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/convert-units": "^2.3.5",
|
|
35
|
-
"@types/node": "^18.15.3",
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
37
|
-
"@typescript-eslint/parser": "^5.55.0",
|
|
38
|
-
"concurrently": "^7.6.0",
|
|
39
|
-
"eslint": "^8.36.0",
|
|
40
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
41
|
-
"eslint-config-prettier": "^8.7.0",
|
|
42
|
-
"eslint-import-resolver-typescript": "^3.5.3",
|
|
43
|
-
"eslint-plugin-import": "^2.27.5",
|
|
44
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
45
|
-
"prettier": "^2.8.4",
|
|
46
|
-
"tsx": "^3.12.5",
|
|
47
|
-
"typescript": "^
|
|
48
|
-
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"@nomalism-com/api": "^0.8.
|
|
51
|
-
"@nomalism-com/types": "^0.9.
|
|
52
|
-
"axios": "^0.27.2"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@nomalism-com/api",
|
|
3
|
+
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
+
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nomalism",
|
|
7
|
+
"api",
|
|
8
|
+
"types",
|
|
9
|
+
"typescript",
|
|
10
|
+
"helper"
|
|
11
|
+
],
|
|
12
|
+
"version": "0.8.159",
|
|
13
|
+
"main": "dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"license": "UNLICENSED",
|
|
19
|
+
"homepage": "https://gitlab.com/nomalism-develop/api",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://gitlab.com/nomalism-develop/api/issues"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://gitlab.com/nomalism-develop/api.git"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
|
|
29
|
+
"build": "rm -rf dist && tsc --project tsconfig.json",
|
|
30
|
+
"start": "tsx --tsconfig ./tsconfig.json src/index.ts",
|
|
31
|
+
"prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/convert-units": "^2.3.5",
|
|
35
|
+
"@types/node": "^18.15.3",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
37
|
+
"@typescript-eslint/parser": "^5.55.0",
|
|
38
|
+
"concurrently": "^7.6.0",
|
|
39
|
+
"eslint": "^8.36.0",
|
|
40
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
41
|
+
"eslint-config-prettier": "^8.7.0",
|
|
42
|
+
"eslint-import-resolver-typescript": "^3.5.3",
|
|
43
|
+
"eslint-plugin-import": "^2.27.5",
|
|
44
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
45
|
+
"prettier": "^2.8.4",
|
|
46
|
+
"tsx": "^3.12.5",
|
|
47
|
+
"typescript": "^5.0.2"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@nomalism-com/api": "^0.8.157",
|
|
51
|
+
"@nomalism-com/types": "^0.9.185",
|
|
52
|
+
"axios": "^0.27.2"
|
|
53
|
+
}
|
|
54
|
+
}
|