@uniformdev/next-app-router 20.72.3-alpha.25 → 20.72.3-alpha.40
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/cache.js +5 -47
- package/dist/cache.mjs +5 -47
- package/dist/component.js +5 -47
- package/dist/component.mjs +5 -47
- package/dist/handler.js +5 -47
- package/dist/handler.mjs +5 -47
- package/dist/index.esm.js +5 -47
- package/dist/index.js +5 -47
- package/dist/index.mjs +5 -47
- package/dist/middleware.js +5 -47
- package/dist/middleware.mjs +5 -47
- package/package.json +8 -8
package/dist/cache.js
CHANGED
|
@@ -1460,48 +1460,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1460
1460
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1461
1461
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1462
1462
|
var _url22;
|
|
1463
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1464
|
-
constructor(options) {
|
|
1465
|
-
super(options);
|
|
1466
|
-
}
|
|
1467
|
-
/**
|
|
1468
|
-
* Lists notifications for the current user.
|
|
1469
|
-
*
|
|
1470
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1471
|
-
*/
|
|
1472
|
-
async list(options) {
|
|
1473
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1474
|
-
return await this.apiClient(fetchUri);
|
|
1475
|
-
}
|
|
1476
|
-
/**
|
|
1477
|
-
* Creates a notification for one or more recipients.
|
|
1478
|
-
*
|
|
1479
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1480
|
-
*/
|
|
1481
|
-
async create(body) {
|
|
1482
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1483
|
-
return await this.apiClient(fetchUri, {
|
|
1484
|
-
method: "POST",
|
|
1485
|
-
body: JSON.stringify(body)
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
/**
|
|
1489
|
-
* Updates the read state of the current user's notifications.
|
|
1490
|
-
*
|
|
1491
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1492
|
-
*/
|
|
1493
|
-
async setReadState(body) {
|
|
1494
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1495
|
-
await this.apiClient(fetchUri, {
|
|
1496
|
-
method: "PATCH",
|
|
1497
|
-
body: JSON.stringify(body),
|
|
1498
|
-
expectNoContent: true
|
|
1499
|
-
});
|
|
1500
|
-
}
|
|
1501
|
-
};
|
|
1502
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1503
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1504
|
-
var _url32;
|
|
1505
1463
|
var _projectsUrl;
|
|
1506
1464
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1507
1465
|
constructor(options) {
|
|
@@ -1509,7 +1467,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1509
1467
|
}
|
|
1510
1468
|
/** Fetches single Project */
|
|
1511
1469
|
async get(options) {
|
|
1512
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1470
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
1513
1471
|
return await this.apiClient(fetchUri);
|
|
1514
1472
|
}
|
|
1515
1473
|
/**
|
|
@@ -1527,7 +1485,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1527
1485
|
}
|
|
1528
1486
|
/** Updates or creates (based on id) a Project */
|
|
1529
1487
|
async save(body) {
|
|
1530
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1488
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1531
1489
|
return await this.apiClient(fetchUri, {
|
|
1532
1490
|
method: "PUT",
|
|
1533
1491
|
body: JSON.stringify({ ...body })
|
|
@@ -1539,7 +1497,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1539
1497
|
}
|
|
1540
1498
|
/** Deletes a Project */
|
|
1541
1499
|
async remove(body) {
|
|
1542
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1500
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1543
1501
|
await this.apiClient(fetchUri, {
|
|
1544
1502
|
method: "DELETE",
|
|
1545
1503
|
body: JSON.stringify({ ...body }),
|
|
@@ -1551,9 +1509,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1551
1509
|
return this.remove(body);
|
|
1552
1510
|
}
|
|
1553
1511
|
};
|
|
1554
|
-
|
|
1512
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1555
1513
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1556
|
-
__privateAdd3(_ProjectClient,
|
|
1514
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1557
1515
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1558
1516
|
var ROUTE_URL = "/api/v1/route";
|
|
1559
1517
|
var RouteClient = class extends ApiClient {
|
package/dist/cache.mjs
CHANGED
|
@@ -1447,48 +1447,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1447
1447
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1448
1448
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1449
1449
|
var _url22;
|
|
1450
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1451
|
-
constructor(options) {
|
|
1452
|
-
super(options);
|
|
1453
|
-
}
|
|
1454
|
-
/**
|
|
1455
|
-
* Lists notifications for the current user.
|
|
1456
|
-
*
|
|
1457
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1458
|
-
*/
|
|
1459
|
-
async list(options) {
|
|
1460
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1461
|
-
return await this.apiClient(fetchUri);
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* Creates a notification for one or more recipients.
|
|
1465
|
-
*
|
|
1466
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1467
|
-
*/
|
|
1468
|
-
async create(body) {
|
|
1469
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1470
|
-
return await this.apiClient(fetchUri, {
|
|
1471
|
-
method: "POST",
|
|
1472
|
-
body: JSON.stringify(body)
|
|
1473
|
-
});
|
|
1474
|
-
}
|
|
1475
|
-
/**
|
|
1476
|
-
* Updates the read state of the current user's notifications.
|
|
1477
|
-
*
|
|
1478
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1479
|
-
*/
|
|
1480
|
-
async setReadState(body) {
|
|
1481
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1482
|
-
await this.apiClient(fetchUri, {
|
|
1483
|
-
method: "PATCH",
|
|
1484
|
-
body: JSON.stringify(body),
|
|
1485
|
-
expectNoContent: true
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
};
|
|
1489
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1490
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1491
|
-
var _url32;
|
|
1492
1450
|
var _projectsUrl;
|
|
1493
1451
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1494
1452
|
constructor(options) {
|
|
@@ -1496,7 +1454,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1496
1454
|
}
|
|
1497
1455
|
/** Fetches single Project */
|
|
1498
1456
|
async get(options) {
|
|
1499
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1457
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
1500
1458
|
return await this.apiClient(fetchUri);
|
|
1501
1459
|
}
|
|
1502
1460
|
/**
|
|
@@ -1514,7 +1472,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1514
1472
|
}
|
|
1515
1473
|
/** Updates or creates (based on id) a Project */
|
|
1516
1474
|
async save(body) {
|
|
1517
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1475
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1518
1476
|
return await this.apiClient(fetchUri, {
|
|
1519
1477
|
method: "PUT",
|
|
1520
1478
|
body: JSON.stringify({ ...body })
|
|
@@ -1526,7 +1484,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1526
1484
|
}
|
|
1527
1485
|
/** Deletes a Project */
|
|
1528
1486
|
async remove(body) {
|
|
1529
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1487
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1530
1488
|
await this.apiClient(fetchUri, {
|
|
1531
1489
|
method: "DELETE",
|
|
1532
1490
|
body: JSON.stringify({ ...body }),
|
|
@@ -1538,9 +1496,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1538
1496
|
return this.remove(body);
|
|
1539
1497
|
}
|
|
1540
1498
|
};
|
|
1541
|
-
|
|
1499
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1542
1500
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1543
|
-
__privateAdd3(_ProjectClient,
|
|
1501
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1544
1502
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1545
1503
|
var ROUTE_URL = "/api/v1/route";
|
|
1546
1504
|
var RouteClient = class extends ApiClient {
|
package/dist/component.js
CHANGED
|
@@ -878,48 +878,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
878
878
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
879
879
|
__privateAdd2(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
880
880
|
var _url22;
|
|
881
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
882
|
-
constructor(options) {
|
|
883
|
-
super(options);
|
|
884
|
-
}
|
|
885
|
-
/**
|
|
886
|
-
* Lists notifications for the current user.
|
|
887
|
-
*
|
|
888
|
-
* @deprecated This API is experimental and may change without notice.
|
|
889
|
-
*/
|
|
890
|
-
async list(options) {
|
|
891
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22), options);
|
|
892
|
-
return await this.apiClient(fetchUri);
|
|
893
|
-
}
|
|
894
|
-
/**
|
|
895
|
-
* Creates a notification for one or more recipients.
|
|
896
|
-
*
|
|
897
|
-
* @deprecated This API is experimental and may change without notice.
|
|
898
|
-
*/
|
|
899
|
-
async create(body) {
|
|
900
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
901
|
-
return await this.apiClient(fetchUri, {
|
|
902
|
-
method: "POST",
|
|
903
|
-
body: JSON.stringify(body)
|
|
904
|
-
});
|
|
905
|
-
}
|
|
906
|
-
/**
|
|
907
|
-
* Updates the read state of the current user's notifications.
|
|
908
|
-
*
|
|
909
|
-
* @deprecated This API is experimental and may change without notice.
|
|
910
|
-
*/
|
|
911
|
-
async setReadState(body) {
|
|
912
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
913
|
-
await this.apiClient(fetchUri, {
|
|
914
|
-
method: "PATCH",
|
|
915
|
-
body: JSON.stringify(body),
|
|
916
|
-
expectNoContent: true
|
|
917
|
-
});
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
921
|
-
__privateAdd2(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
922
|
-
var _url32;
|
|
923
881
|
var _projectsUrl;
|
|
924
882
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
925
883
|
constructor(options) {
|
|
@@ -927,7 +885,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
927
885
|
}
|
|
928
886
|
/** Fetches single Project */
|
|
929
887
|
async get(options) {
|
|
930
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
888
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22), { ...options });
|
|
931
889
|
return await this.apiClient(fetchUri);
|
|
932
890
|
}
|
|
933
891
|
/**
|
|
@@ -945,7 +903,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
945
903
|
}
|
|
946
904
|
/** Updates or creates (based on id) a Project */
|
|
947
905
|
async save(body) {
|
|
948
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
906
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22));
|
|
949
907
|
return await this.apiClient(fetchUri, {
|
|
950
908
|
method: "PUT",
|
|
951
909
|
body: JSON.stringify({ ...body })
|
|
@@ -957,7 +915,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
957
915
|
}
|
|
958
916
|
/** Deletes a Project */
|
|
959
917
|
async remove(body) {
|
|
960
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
918
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22));
|
|
961
919
|
await this.apiClient(fetchUri, {
|
|
962
920
|
method: "DELETE",
|
|
963
921
|
body: JSON.stringify({ ...body }),
|
|
@@ -969,9 +927,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
969
927
|
return this.remove(body);
|
|
970
928
|
}
|
|
971
929
|
};
|
|
972
|
-
|
|
930
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
973
931
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
974
|
-
__privateAdd2(_ProjectClient,
|
|
932
|
+
__privateAdd2(_ProjectClient, _url22, "/api/v1/project");
|
|
975
933
|
__privateAdd2(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
976
934
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
|
977
935
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
package/dist/component.mjs
CHANGED
|
@@ -863,48 +863,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
863
863
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
864
864
|
__privateAdd2(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
865
865
|
var _url22;
|
|
866
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
867
|
-
constructor(options) {
|
|
868
|
-
super(options);
|
|
869
|
-
}
|
|
870
|
-
/**
|
|
871
|
-
* Lists notifications for the current user.
|
|
872
|
-
*
|
|
873
|
-
* @deprecated This API is experimental and may change without notice.
|
|
874
|
-
*/
|
|
875
|
-
async list(options) {
|
|
876
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22), options);
|
|
877
|
-
return await this.apiClient(fetchUri);
|
|
878
|
-
}
|
|
879
|
-
/**
|
|
880
|
-
* Creates a notification for one or more recipients.
|
|
881
|
-
*
|
|
882
|
-
* @deprecated This API is experimental and may change without notice.
|
|
883
|
-
*/
|
|
884
|
-
async create(body) {
|
|
885
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
886
|
-
return await this.apiClient(fetchUri, {
|
|
887
|
-
method: "POST",
|
|
888
|
-
body: JSON.stringify(body)
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* Updates the read state of the current user's notifications.
|
|
893
|
-
*
|
|
894
|
-
* @deprecated This API is experimental and may change without notice.
|
|
895
|
-
*/
|
|
896
|
-
async setReadState(body) {
|
|
897
|
-
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
898
|
-
await this.apiClient(fetchUri, {
|
|
899
|
-
method: "PATCH",
|
|
900
|
-
body: JSON.stringify(body),
|
|
901
|
-
expectNoContent: true
|
|
902
|
-
});
|
|
903
|
-
}
|
|
904
|
-
};
|
|
905
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
906
|
-
__privateAdd2(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
907
|
-
var _url32;
|
|
908
866
|
var _projectsUrl;
|
|
909
867
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
910
868
|
constructor(options) {
|
|
@@ -912,7 +870,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
912
870
|
}
|
|
913
871
|
/** Fetches single Project */
|
|
914
872
|
async get(options) {
|
|
915
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
873
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22), { ...options });
|
|
916
874
|
return await this.apiClient(fetchUri);
|
|
917
875
|
}
|
|
918
876
|
/**
|
|
@@ -930,7 +888,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
930
888
|
}
|
|
931
889
|
/** Updates or creates (based on id) a Project */
|
|
932
890
|
async save(body) {
|
|
933
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
891
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22));
|
|
934
892
|
return await this.apiClient(fetchUri, {
|
|
935
893
|
method: "PUT",
|
|
936
894
|
body: JSON.stringify({ ...body })
|
|
@@ -942,7 +900,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
942
900
|
}
|
|
943
901
|
/** Deletes a Project */
|
|
944
902
|
async remove(body) {
|
|
945
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
903
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url22));
|
|
946
904
|
await this.apiClient(fetchUri, {
|
|
947
905
|
method: "DELETE",
|
|
948
906
|
body: JSON.stringify({ ...body }),
|
|
@@ -954,9 +912,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
954
912
|
return this.remove(body);
|
|
955
913
|
}
|
|
956
914
|
};
|
|
957
|
-
|
|
915
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
958
916
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
959
|
-
__privateAdd2(_ProjectClient,
|
|
917
|
+
__privateAdd2(_ProjectClient, _url22, "/api/v1/project");
|
|
960
918
|
__privateAdd2(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
961
919
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
|
962
920
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
package/dist/handler.js
CHANGED
|
@@ -1626,48 +1626,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1626
1626
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1627
1627
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1628
1628
|
var _url22;
|
|
1629
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1630
|
-
constructor(options) {
|
|
1631
|
-
super(options);
|
|
1632
|
-
}
|
|
1633
|
-
/**
|
|
1634
|
-
* Lists notifications for the current user.
|
|
1635
|
-
*
|
|
1636
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1637
|
-
*/
|
|
1638
|
-
async list(options) {
|
|
1639
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1640
|
-
return await this.apiClient(fetchUri);
|
|
1641
|
-
}
|
|
1642
|
-
/**
|
|
1643
|
-
* Creates a notification for one or more recipients.
|
|
1644
|
-
*
|
|
1645
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1646
|
-
*/
|
|
1647
|
-
async create(body) {
|
|
1648
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1649
|
-
return await this.apiClient(fetchUri, {
|
|
1650
|
-
method: "POST",
|
|
1651
|
-
body: JSON.stringify(body)
|
|
1652
|
-
});
|
|
1653
|
-
}
|
|
1654
|
-
/**
|
|
1655
|
-
* Updates the read state of the current user's notifications.
|
|
1656
|
-
*
|
|
1657
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1658
|
-
*/
|
|
1659
|
-
async setReadState(body) {
|
|
1660
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1661
|
-
await this.apiClient(fetchUri, {
|
|
1662
|
-
method: "PATCH",
|
|
1663
|
-
body: JSON.stringify(body),
|
|
1664
|
-
expectNoContent: true
|
|
1665
|
-
});
|
|
1666
|
-
}
|
|
1667
|
-
};
|
|
1668
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1669
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1670
|
-
var _url32;
|
|
1671
1629
|
var _projectsUrl;
|
|
1672
1630
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1673
1631
|
constructor(options) {
|
|
@@ -1675,7 +1633,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1675
1633
|
}
|
|
1676
1634
|
/** Fetches single Project */
|
|
1677
1635
|
async get(options) {
|
|
1678
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1636
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
1679
1637
|
return await this.apiClient(fetchUri);
|
|
1680
1638
|
}
|
|
1681
1639
|
/**
|
|
@@ -1693,7 +1651,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1693
1651
|
}
|
|
1694
1652
|
/** Updates or creates (based on id) a Project */
|
|
1695
1653
|
async save(body) {
|
|
1696
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1654
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1697
1655
|
return await this.apiClient(fetchUri, {
|
|
1698
1656
|
method: "PUT",
|
|
1699
1657
|
body: JSON.stringify({ ...body })
|
|
@@ -1705,7 +1663,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1705
1663
|
}
|
|
1706
1664
|
/** Deletes a Project */
|
|
1707
1665
|
async remove(body) {
|
|
1708
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1666
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1709
1667
|
await this.apiClient(fetchUri, {
|
|
1710
1668
|
method: "DELETE",
|
|
1711
1669
|
body: JSON.stringify({ ...body }),
|
|
@@ -1717,9 +1675,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1717
1675
|
return this.remove(body);
|
|
1718
1676
|
}
|
|
1719
1677
|
};
|
|
1720
|
-
|
|
1678
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1721
1679
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1722
|
-
__privateAdd3(_ProjectClient,
|
|
1680
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1723
1681
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1724
1682
|
var isAllowedReferrer = (referrer) => {
|
|
1725
1683
|
return Boolean(
|
package/dist/handler.mjs
CHANGED
|
@@ -1611,48 +1611,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1611
1611
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1612
1612
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1613
1613
|
var _url22;
|
|
1614
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1615
|
-
constructor(options) {
|
|
1616
|
-
super(options);
|
|
1617
|
-
}
|
|
1618
|
-
/**
|
|
1619
|
-
* Lists notifications for the current user.
|
|
1620
|
-
*
|
|
1621
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1622
|
-
*/
|
|
1623
|
-
async list(options) {
|
|
1624
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1625
|
-
return await this.apiClient(fetchUri);
|
|
1626
|
-
}
|
|
1627
|
-
/**
|
|
1628
|
-
* Creates a notification for one or more recipients.
|
|
1629
|
-
*
|
|
1630
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1631
|
-
*/
|
|
1632
|
-
async create(body) {
|
|
1633
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1634
|
-
return await this.apiClient(fetchUri, {
|
|
1635
|
-
method: "POST",
|
|
1636
|
-
body: JSON.stringify(body)
|
|
1637
|
-
});
|
|
1638
|
-
}
|
|
1639
|
-
/**
|
|
1640
|
-
* Updates the read state of the current user's notifications.
|
|
1641
|
-
*
|
|
1642
|
-
* @deprecated This API is experimental and may change without notice.
|
|
1643
|
-
*/
|
|
1644
|
-
async setReadState(body) {
|
|
1645
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1646
|
-
await this.apiClient(fetchUri, {
|
|
1647
|
-
method: "PATCH",
|
|
1648
|
-
body: JSON.stringify(body),
|
|
1649
|
-
expectNoContent: true
|
|
1650
|
-
});
|
|
1651
|
-
}
|
|
1652
|
-
};
|
|
1653
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1654
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1655
|
-
var _url32;
|
|
1656
1614
|
var _projectsUrl;
|
|
1657
1615
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1658
1616
|
constructor(options) {
|
|
@@ -1660,7 +1618,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1660
1618
|
}
|
|
1661
1619
|
/** Fetches single Project */
|
|
1662
1620
|
async get(options) {
|
|
1663
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1621
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
1664
1622
|
return await this.apiClient(fetchUri);
|
|
1665
1623
|
}
|
|
1666
1624
|
/**
|
|
@@ -1678,7 +1636,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1678
1636
|
}
|
|
1679
1637
|
/** Updates or creates (based on id) a Project */
|
|
1680
1638
|
async save(body) {
|
|
1681
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1639
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1682
1640
|
return await this.apiClient(fetchUri, {
|
|
1683
1641
|
method: "PUT",
|
|
1684
1642
|
body: JSON.stringify({ ...body })
|
|
@@ -1690,7 +1648,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1690
1648
|
}
|
|
1691
1649
|
/** Deletes a Project */
|
|
1692
1650
|
async remove(body) {
|
|
1693
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1651
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
1694
1652
|
await this.apiClient(fetchUri, {
|
|
1695
1653
|
method: "DELETE",
|
|
1696
1654
|
body: JSON.stringify({ ...body }),
|
|
@@ -1702,9 +1660,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1702
1660
|
return this.remove(body);
|
|
1703
1661
|
}
|
|
1704
1662
|
};
|
|
1705
|
-
|
|
1663
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1706
1664
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1707
|
-
__privateAdd3(_ProjectClient,
|
|
1665
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
1708
1666
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1709
1667
|
var isAllowedReferrer = (referrer) => {
|
|
1710
1668
|
return Boolean(
|
package/dist/index.esm.js
CHANGED
|
@@ -2100,48 +2100,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2100
2100
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2101
2101
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2102
2102
|
var _url22;
|
|
2103
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2104
|
-
constructor(options) {
|
|
2105
|
-
super(options);
|
|
2106
|
-
}
|
|
2107
|
-
/**
|
|
2108
|
-
* Lists notifications for the current user.
|
|
2109
|
-
*
|
|
2110
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2111
|
-
*/
|
|
2112
|
-
async list(options) {
|
|
2113
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2114
|
-
return await this.apiClient(fetchUri);
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
* Creates a notification for one or more recipients.
|
|
2118
|
-
*
|
|
2119
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2120
|
-
*/
|
|
2121
|
-
async create(body) {
|
|
2122
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2123
|
-
return await this.apiClient(fetchUri, {
|
|
2124
|
-
method: "POST",
|
|
2125
|
-
body: JSON.stringify(body)
|
|
2126
|
-
});
|
|
2127
|
-
}
|
|
2128
|
-
/**
|
|
2129
|
-
* Updates the read state of the current user's notifications.
|
|
2130
|
-
*
|
|
2131
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2132
|
-
*/
|
|
2133
|
-
async setReadState(body) {
|
|
2134
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2135
|
-
await this.apiClient(fetchUri, {
|
|
2136
|
-
method: "PATCH",
|
|
2137
|
-
body: JSON.stringify(body),
|
|
2138
|
-
expectNoContent: true
|
|
2139
|
-
});
|
|
2140
|
-
}
|
|
2141
|
-
};
|
|
2142
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2143
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2144
|
-
var _url32;
|
|
2145
2103
|
var _projectsUrl;
|
|
2146
2104
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2147
2105
|
constructor(options) {
|
|
@@ -2149,7 +2107,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2149
2107
|
}
|
|
2150
2108
|
/** Fetches single Project */
|
|
2151
2109
|
async get(options) {
|
|
2152
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2110
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
2153
2111
|
return await this.apiClient(fetchUri);
|
|
2154
2112
|
}
|
|
2155
2113
|
/**
|
|
@@ -2167,7 +2125,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2167
2125
|
}
|
|
2168
2126
|
/** Updates or creates (based on id) a Project */
|
|
2169
2127
|
async save(body) {
|
|
2170
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2128
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2171
2129
|
return await this.apiClient(fetchUri, {
|
|
2172
2130
|
method: "PUT",
|
|
2173
2131
|
body: JSON.stringify({ ...body })
|
|
@@ -2179,7 +2137,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2179
2137
|
}
|
|
2180
2138
|
/** Deletes a Project */
|
|
2181
2139
|
async remove(body) {
|
|
2182
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2140
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2183
2141
|
await this.apiClient(fetchUri, {
|
|
2184
2142
|
method: "DELETE",
|
|
2185
2143
|
body: JSON.stringify({ ...body }),
|
|
@@ -2191,9 +2149,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2191
2149
|
return this.remove(body);
|
|
2192
2150
|
}
|
|
2193
2151
|
};
|
|
2194
|
-
|
|
2152
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2195
2153
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2196
|
-
__privateAdd3(_ProjectClient,
|
|
2154
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
2197
2155
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2198
2156
|
var ROUTE_URL = "/api/v1/route";
|
|
2199
2157
|
var RouteClient = class extends ApiClient {
|
package/dist/index.js
CHANGED
|
@@ -2128,48 +2128,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2128
2128
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2129
2129
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2130
2130
|
var _url22;
|
|
2131
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2132
|
-
constructor(options) {
|
|
2133
|
-
super(options);
|
|
2134
|
-
}
|
|
2135
|
-
/**
|
|
2136
|
-
* Lists notifications for the current user.
|
|
2137
|
-
*
|
|
2138
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2139
|
-
*/
|
|
2140
|
-
async list(options) {
|
|
2141
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2142
|
-
return await this.apiClient(fetchUri);
|
|
2143
|
-
}
|
|
2144
|
-
/**
|
|
2145
|
-
* Creates a notification for one or more recipients.
|
|
2146
|
-
*
|
|
2147
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2148
|
-
*/
|
|
2149
|
-
async create(body) {
|
|
2150
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2151
|
-
return await this.apiClient(fetchUri, {
|
|
2152
|
-
method: "POST",
|
|
2153
|
-
body: JSON.stringify(body)
|
|
2154
|
-
});
|
|
2155
|
-
}
|
|
2156
|
-
/**
|
|
2157
|
-
* Updates the read state of the current user's notifications.
|
|
2158
|
-
*
|
|
2159
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2160
|
-
*/
|
|
2161
|
-
async setReadState(body) {
|
|
2162
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2163
|
-
await this.apiClient(fetchUri, {
|
|
2164
|
-
method: "PATCH",
|
|
2165
|
-
body: JSON.stringify(body),
|
|
2166
|
-
expectNoContent: true
|
|
2167
|
-
});
|
|
2168
|
-
}
|
|
2169
|
-
};
|
|
2170
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2171
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2172
|
-
var _url32;
|
|
2173
2131
|
var _projectsUrl;
|
|
2174
2132
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2175
2133
|
constructor(options) {
|
|
@@ -2177,7 +2135,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2177
2135
|
}
|
|
2178
2136
|
/** Fetches single Project */
|
|
2179
2137
|
async get(options) {
|
|
2180
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2138
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
2181
2139
|
return await this.apiClient(fetchUri);
|
|
2182
2140
|
}
|
|
2183
2141
|
/**
|
|
@@ -2195,7 +2153,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2195
2153
|
}
|
|
2196
2154
|
/** Updates or creates (based on id) a Project */
|
|
2197
2155
|
async save(body) {
|
|
2198
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2156
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2199
2157
|
return await this.apiClient(fetchUri, {
|
|
2200
2158
|
method: "PUT",
|
|
2201
2159
|
body: JSON.stringify({ ...body })
|
|
@@ -2207,7 +2165,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2207
2165
|
}
|
|
2208
2166
|
/** Deletes a Project */
|
|
2209
2167
|
async remove(body) {
|
|
2210
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2168
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2211
2169
|
await this.apiClient(fetchUri, {
|
|
2212
2170
|
method: "DELETE",
|
|
2213
2171
|
body: JSON.stringify({ ...body }),
|
|
@@ -2219,9 +2177,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2219
2177
|
return this.remove(body);
|
|
2220
2178
|
}
|
|
2221
2179
|
};
|
|
2222
|
-
|
|
2180
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2223
2181
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2224
|
-
__privateAdd3(_ProjectClient,
|
|
2182
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
2225
2183
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2226
2184
|
var ROUTE_URL = "/api/v1/route";
|
|
2227
2185
|
var RouteClient = class extends ApiClient {
|
package/dist/index.mjs
CHANGED
|
@@ -2100,48 +2100,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2100
2100
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2101
2101
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2102
2102
|
var _url22;
|
|
2103
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2104
|
-
constructor(options) {
|
|
2105
|
-
super(options);
|
|
2106
|
-
}
|
|
2107
|
-
/**
|
|
2108
|
-
* Lists notifications for the current user.
|
|
2109
|
-
*
|
|
2110
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2111
|
-
*/
|
|
2112
|
-
async list(options) {
|
|
2113
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2114
|
-
return await this.apiClient(fetchUri);
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
* Creates a notification for one or more recipients.
|
|
2118
|
-
*
|
|
2119
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2120
|
-
*/
|
|
2121
|
-
async create(body) {
|
|
2122
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2123
|
-
return await this.apiClient(fetchUri, {
|
|
2124
|
-
method: "POST",
|
|
2125
|
-
body: JSON.stringify(body)
|
|
2126
|
-
});
|
|
2127
|
-
}
|
|
2128
|
-
/**
|
|
2129
|
-
* Updates the read state of the current user's notifications.
|
|
2130
|
-
*
|
|
2131
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2132
|
-
*/
|
|
2133
|
-
async setReadState(body) {
|
|
2134
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2135
|
-
await this.apiClient(fetchUri, {
|
|
2136
|
-
method: "PATCH",
|
|
2137
|
-
body: JSON.stringify(body),
|
|
2138
|
-
expectNoContent: true
|
|
2139
|
-
});
|
|
2140
|
-
}
|
|
2141
|
-
};
|
|
2142
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2143
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2144
|
-
var _url32;
|
|
2145
2103
|
var _projectsUrl;
|
|
2146
2104
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2147
2105
|
constructor(options) {
|
|
@@ -2149,7 +2107,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2149
2107
|
}
|
|
2150
2108
|
/** Fetches single Project */
|
|
2151
2109
|
async get(options) {
|
|
2152
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2110
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
2153
2111
|
return await this.apiClient(fetchUri);
|
|
2154
2112
|
}
|
|
2155
2113
|
/**
|
|
@@ -2167,7 +2125,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2167
2125
|
}
|
|
2168
2126
|
/** Updates or creates (based on id) a Project */
|
|
2169
2127
|
async save(body) {
|
|
2170
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2128
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2171
2129
|
return await this.apiClient(fetchUri, {
|
|
2172
2130
|
method: "PUT",
|
|
2173
2131
|
body: JSON.stringify({ ...body })
|
|
@@ -2179,7 +2137,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2179
2137
|
}
|
|
2180
2138
|
/** Deletes a Project */
|
|
2181
2139
|
async remove(body) {
|
|
2182
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2140
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2183
2141
|
await this.apiClient(fetchUri, {
|
|
2184
2142
|
method: "DELETE",
|
|
2185
2143
|
body: JSON.stringify({ ...body }),
|
|
@@ -2191,9 +2149,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2191
2149
|
return this.remove(body);
|
|
2192
2150
|
}
|
|
2193
2151
|
};
|
|
2194
|
-
|
|
2152
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2195
2153
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2196
|
-
__privateAdd3(_ProjectClient,
|
|
2154
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
2197
2155
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2198
2156
|
var ROUTE_URL = "/api/v1/route";
|
|
2199
2157
|
var RouteClient = class extends ApiClient {
|
package/dist/middleware.js
CHANGED
|
@@ -2315,48 +2315,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2315
2315
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2316
2316
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2317
2317
|
var _url22;
|
|
2318
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2319
|
-
constructor(options) {
|
|
2320
|
-
super(options);
|
|
2321
|
-
}
|
|
2322
|
-
/**
|
|
2323
|
-
* Lists notifications for the current user.
|
|
2324
|
-
*
|
|
2325
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2326
|
-
*/
|
|
2327
|
-
async list(options) {
|
|
2328
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2329
|
-
return await this.apiClient(fetchUri);
|
|
2330
|
-
}
|
|
2331
|
-
/**
|
|
2332
|
-
* Creates a notification for one or more recipients.
|
|
2333
|
-
*
|
|
2334
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2335
|
-
*/
|
|
2336
|
-
async create(body) {
|
|
2337
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2338
|
-
return await this.apiClient(fetchUri, {
|
|
2339
|
-
method: "POST",
|
|
2340
|
-
body: JSON.stringify(body)
|
|
2341
|
-
});
|
|
2342
|
-
}
|
|
2343
|
-
/**
|
|
2344
|
-
* Updates the read state of the current user's notifications.
|
|
2345
|
-
*
|
|
2346
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2347
|
-
*/
|
|
2348
|
-
async setReadState(body) {
|
|
2349
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2350
|
-
await this.apiClient(fetchUri, {
|
|
2351
|
-
method: "PATCH",
|
|
2352
|
-
body: JSON.stringify(body),
|
|
2353
|
-
expectNoContent: true
|
|
2354
|
-
});
|
|
2355
|
-
}
|
|
2356
|
-
};
|
|
2357
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2358
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2359
|
-
var _url32;
|
|
2360
2318
|
var _projectsUrl;
|
|
2361
2319
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2362
2320
|
constructor(options) {
|
|
@@ -2364,7 +2322,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2364
2322
|
}
|
|
2365
2323
|
/** Fetches single Project */
|
|
2366
2324
|
async get(options) {
|
|
2367
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2325
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
2368
2326
|
return await this.apiClient(fetchUri);
|
|
2369
2327
|
}
|
|
2370
2328
|
/**
|
|
@@ -2382,7 +2340,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2382
2340
|
}
|
|
2383
2341
|
/** Updates or creates (based on id) a Project */
|
|
2384
2342
|
async save(body) {
|
|
2385
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2343
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2386
2344
|
return await this.apiClient(fetchUri, {
|
|
2387
2345
|
method: "PUT",
|
|
2388
2346
|
body: JSON.stringify({ ...body })
|
|
@@ -2394,7 +2352,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2394
2352
|
}
|
|
2395
2353
|
/** Deletes a Project */
|
|
2396
2354
|
async remove(body) {
|
|
2397
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2355
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2398
2356
|
await this.apiClient(fetchUri, {
|
|
2399
2357
|
method: "DELETE",
|
|
2400
2358
|
body: JSON.stringify({ ...body }),
|
|
@@ -2406,9 +2364,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2406
2364
|
return this.remove(body);
|
|
2407
2365
|
}
|
|
2408
2366
|
};
|
|
2409
|
-
|
|
2367
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2410
2368
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2411
|
-
__privateAdd3(_ProjectClient,
|
|
2369
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
2412
2370
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2413
2371
|
var ROUTE_URL = "/api/v1/route";
|
|
2414
2372
|
var RouteClient = class extends ApiClient {
|
package/dist/middleware.mjs
CHANGED
|
@@ -2300,48 +2300,6 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2300
2300
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2301
2301
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2302
2302
|
var _url22;
|
|
2303
|
-
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2304
|
-
constructor(options) {
|
|
2305
|
-
super(options);
|
|
2306
|
-
}
|
|
2307
|
-
/**
|
|
2308
|
-
* Lists notifications for the current user.
|
|
2309
|
-
*
|
|
2310
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2311
|
-
*/
|
|
2312
|
-
async list(options) {
|
|
2313
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2314
|
-
return await this.apiClient(fetchUri);
|
|
2315
|
-
}
|
|
2316
|
-
/**
|
|
2317
|
-
* Creates a notification for one or more recipients.
|
|
2318
|
-
*
|
|
2319
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2320
|
-
*/
|
|
2321
|
-
async create(body) {
|
|
2322
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2323
|
-
return await this.apiClient(fetchUri, {
|
|
2324
|
-
method: "POST",
|
|
2325
|
-
body: JSON.stringify(body)
|
|
2326
|
-
});
|
|
2327
|
-
}
|
|
2328
|
-
/**
|
|
2329
|
-
* Updates the read state of the current user's notifications.
|
|
2330
|
-
*
|
|
2331
|
-
* @deprecated This API is experimental and may change without notice.
|
|
2332
|
-
*/
|
|
2333
|
-
async setReadState(body) {
|
|
2334
|
-
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2335
|
-
await this.apiClient(fetchUri, {
|
|
2336
|
-
method: "PATCH",
|
|
2337
|
-
body: JSON.stringify(body),
|
|
2338
|
-
expectNoContent: true
|
|
2339
|
-
});
|
|
2340
|
-
}
|
|
2341
|
-
};
|
|
2342
|
-
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2343
|
-
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2344
|
-
var _url32;
|
|
2345
2303
|
var _projectsUrl;
|
|
2346
2304
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2347
2305
|
constructor(options) {
|
|
@@ -2349,7 +2307,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2349
2307
|
}
|
|
2350
2308
|
/** Fetches single Project */
|
|
2351
2309
|
async get(options) {
|
|
2352
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2310
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22), { ...options });
|
|
2353
2311
|
return await this.apiClient(fetchUri);
|
|
2354
2312
|
}
|
|
2355
2313
|
/**
|
|
@@ -2367,7 +2325,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2367
2325
|
}
|
|
2368
2326
|
/** Updates or creates (based on id) a Project */
|
|
2369
2327
|
async save(body) {
|
|
2370
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2328
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2371
2329
|
return await this.apiClient(fetchUri, {
|
|
2372
2330
|
method: "PUT",
|
|
2373
2331
|
body: JSON.stringify({ ...body })
|
|
@@ -2379,7 +2337,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2379
2337
|
}
|
|
2380
2338
|
/** Deletes a Project */
|
|
2381
2339
|
async remove(body) {
|
|
2382
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2340
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url22));
|
|
2383
2341
|
await this.apiClient(fetchUri, {
|
|
2384
2342
|
method: "DELETE",
|
|
2385
2343
|
body: JSON.stringify({ ...body }),
|
|
@@ -2391,9 +2349,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2391
2349
|
return this.remove(body);
|
|
2392
2350
|
}
|
|
2393
2351
|
};
|
|
2394
|
-
|
|
2352
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2395
2353
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2396
|
-
__privateAdd3(_ProjectClient,
|
|
2354
|
+
__privateAdd3(_ProjectClient, _url22, "/api/v1/project");
|
|
2397
2355
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2398
2356
|
var ROUTE_URL = "/api/v1/route";
|
|
2399
2357
|
var RouteClient = class extends ApiClient {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/next-app-router",
|
|
3
|
-
"version": "20.72.3-alpha.
|
|
3
|
+
"version": "20.72.3-alpha.40+ffbec41570",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"vitest": "4.1.9"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@uniformdev/canvas-react": "20.72.3-alpha.
|
|
102
|
-
"@uniformdev/next-app-router-client": "20.72.3-alpha.
|
|
103
|
-
"@uniformdev/next-app-router-shared": "20.72.3-alpha.
|
|
104
|
-
"@uniformdev/redirect": "20.72.3-alpha.
|
|
105
|
-
"@uniformdev/richtext": "20.72.3-alpha.
|
|
106
|
-
"@uniformdev/webhooks": "20.72.3-alpha.
|
|
101
|
+
"@uniformdev/canvas-react": "20.72.3-alpha.40+ffbec41570",
|
|
102
|
+
"@uniformdev/next-app-router-client": "20.72.3-alpha.40+ffbec41570",
|
|
103
|
+
"@uniformdev/next-app-router-shared": "20.72.3-alpha.40+ffbec41570",
|
|
104
|
+
"@uniformdev/redirect": "20.72.3-alpha.40+ffbec41570",
|
|
105
|
+
"@uniformdev/richtext": "20.72.3-alpha.40+ffbec41570",
|
|
106
|
+
"@uniformdev/webhooks": "20.72.3-alpha.40+ffbec41570",
|
|
107
107
|
"@vercel/functions": "^3.7.2",
|
|
108
108
|
"encoding": "^0.1.13",
|
|
109
109
|
"server-only": "^0.0.1",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"publishConfig": {
|
|
121
121
|
"access": "public"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "ffbec41570c4266c69674871c97146bf7bf86383"
|
|
124
124
|
}
|