@driveflux/api-swr 4.0.78 → 4.0.79
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/api-models.d.ts +1 -0
- package/dist/api-models.d.ts.map +1 -1
- package/dist/api-models.js +2 -1
- package/package.json +2 -2
package/dist/api-models.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const API_MODELS_URLS: {
|
|
|
12
12
|
readonly Invoice: "/api/invoices";
|
|
13
13
|
readonly SubscriptionReservation: "/api/reservations";
|
|
14
14
|
readonly SubscriptionContract: "/api/subscription-contracts";
|
|
15
|
+
readonly EmailSent: "/api/emails-sent";
|
|
15
16
|
};
|
|
16
17
|
/**
|
|
17
18
|
* This helps IDEs autocomplete without restricting the type of the model argument which can be the api itself
|
package/dist/api-models.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-models.d.ts","sourceRoot":"","sources":["../src/api-models.ts"],"names":[],"mappings":"AAOA,KAAK,eAAe,GAAG,MAAM,OAAO,eAAe,CAAA;AACnD,KAAK,SAAS,GAAG,OAAO,eAAe,CAAA;AAEvC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"api-models.d.ts","sourceRoot":"","sources":["../src/api-models.ts"],"names":[],"mappings":"AAOA,KAAK,eAAe,GAAG,MAAM,OAAO,eAAe,CAAA;AACnD,KAAK,SAAS,GAAG,OAAO,eAAe,CAAA;AAEvC,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAaQ,CAAA;AAEpC;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;AAC5E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA"}
|
package/dist/api-models.js
CHANGED
|
@@ -10,7 +10,8 @@ export var API_MODELS_URLS = {
|
|
|
10
10
|
Cycle: '/api/cycles',
|
|
11
11
|
Invoice: '/api/invoices',
|
|
12
12
|
SubscriptionReservation: '/api/reservations',
|
|
13
|
-
SubscriptionContract: '/api/subscription-contracts'
|
|
13
|
+
SubscriptionContract: '/api/subscription-contracts',
|
|
14
|
+
EmailSent: '/api/emails-sent'
|
|
14
15
|
};
|
|
15
16
|
export function getApiUrl(model) {
|
|
16
17
|
if (model.startsWith('/api') || model.startsWith("".concat(config.apiUrl))) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/api-swr",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.79",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@driveflux/auth": "4.0.
|
|
19
|
+
"@driveflux/auth": "4.0.78",
|
|
20
20
|
"@driveflux/config": "3.0.9",
|
|
21
21
|
"@driveflux/db": "4.1.8",
|
|
22
22
|
"@driveflux/fetch": "8.0.1",
|