@cloudize/sdk-core 23.1.5 → 23.2.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.
- package/lib/classes/index.d.ts +5 -5
- package/lib/classes/index.js +15 -15
- package/lib/classes/resource.container.d.ts +57 -57
- package/lib/classes/resource.container.js +322 -322
- package/lib/classes/resource.header.params.d.ts +3 -3
- package/lib/classes/resource.header.params.js +2 -2
- package/lib/classes/resource.object.d.ts +38 -38
- package/lib/classes/resource.object.js +279 -279
- package/lib/classes/resource.path.params.d.ts +3 -3
- package/lib/classes/resource.path.params.js +2 -2
- package/lib/classes/sdk.config.d.ts +21 -21
- package/lib/classes/sdk.config.js +46 -46
- package/lib/exceptions/index.d.ts +1 -1
- package/lib/exceptions/index.js +8 -8
- package/lib/exceptions/sdk.exception.d.ts +6 -6
- package/lib/exceptions/sdk.exception.js +14 -14
- package/lib/helpers/index.d.ts +3 -3
- package/lib/helpers/index.js +30 -30
- package/lib/index.d.ts +5 -5
- package/lib/index.js +21 -21
- package/lib/interfaces/index.d.ts +2 -2
- package/lib/interfaces/index.js +10 -10
- package/lib/interfaces/resource.interfaces.d.ts +94 -94
- package/lib/interfaces/resource.interfaces.js +101 -101
- package/lib/interfaces/sdk.errors.d.ts +17 -17
- package/lib/interfaces/sdk.errors.js +2 -2
- package/lib/type-guards/index.d.ts +6 -6
- package/lib/type-guards/index.js +30 -30
- package/package.json +9 -9
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceObjectRelationshipBase = exports.GeospatialPoint = exports.ResourceObjectAttributeBase = exports.ResourceObjectRelationshipsLoadType = exports.ResourceObjectRelationship = exports.ResourceObjectAttributesLoadType = void 0;
|
|
4
|
-
const json_1 = require("@cloudize/json");
|
|
5
|
-
const helpers_1 = require("../helpers");
|
|
6
|
-
var ResourceObjectAttributesLoadType;
|
|
7
|
-
(function (ResourceObjectAttributesLoadType) {
|
|
8
|
-
ResourceObjectAttributesLoadType[ResourceObjectAttributesLoadType["Replace"] = 0] = "Replace";
|
|
9
|
-
ResourceObjectAttributesLoadType[ResourceObjectAttributesLoadType["Update"] = 1] = "Update";
|
|
10
|
-
})(ResourceObjectAttributesLoadType = exports.ResourceObjectAttributesLoadType || (exports.ResourceObjectAttributesLoadType = {}));
|
|
11
|
-
class ResourceObjectRelationship {
|
|
12
|
-
constructor(includes, type, id) {
|
|
13
|
-
this._includes = includes;
|
|
14
|
-
this.type = type;
|
|
15
|
-
if (id)
|
|
16
|
-
this.id = id;
|
|
17
|
-
}
|
|
18
|
-
clear() {
|
|
19
|
-
this.id = null;
|
|
20
|
-
}
|
|
21
|
-
get target() {
|
|
22
|
-
if ((0, json_1.isDefined)(this.type) && (0, json_1.isDefined)(this.id) && (0, json_1.isDefined)(this._includes[this.type][this.id])) {
|
|
23
|
-
return this._includes[this.type][this.id];
|
|
24
|
-
}
|
|
25
|
-
return undefined;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ResourceObjectRelationship = ResourceObjectRelationship;
|
|
29
|
-
var ResourceObjectRelationshipsLoadType;
|
|
30
|
-
(function (ResourceObjectRelationshipsLoadType) {
|
|
31
|
-
ResourceObjectRelationshipsLoadType[ResourceObjectRelationshipsLoadType["Replace"] = 0] = "Replace";
|
|
32
|
-
ResourceObjectRelationshipsLoadType[ResourceObjectRelationshipsLoadType["Update"] = 1] = "Update";
|
|
33
|
-
})(ResourceObjectRelationshipsLoadType = exports.ResourceObjectRelationshipsLoadType || (exports.ResourceObjectRelationshipsLoadType = {}));
|
|
34
|
-
class ResourceObjectAttributeBase {
|
|
35
|
-
static LoadDateTime(value) {
|
|
36
|
-
return (0, helpers_1.LoadDateTime)(value);
|
|
37
|
-
}
|
|
38
|
-
static LoadGeospatialPoint(geospatialPoint, value) {
|
|
39
|
-
return (0, helpers_1.LoadGeospatialPoint)(geospatialPoint, value);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.ResourceObjectAttributeBase = ResourceObjectAttributeBase;
|
|
43
|
-
class GeospatialPoint extends ResourceObjectAttributeBase {
|
|
44
|
-
LoadData(data) {
|
|
45
|
-
if ((0, json_1.hasProperty)(data, 'longitude'))
|
|
46
|
-
this.longitude = data.longitude;
|
|
47
|
-
if ((0, json_1.hasProperty)(data, 'latitude'))
|
|
48
|
-
this.latitude = data.latitude;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.GeospatialPoint = GeospatialPoint;
|
|
52
|
-
class ResourceObjectRelationshipBase {
|
|
53
|
-
constructor(includes) {
|
|
54
|
-
this._includes = includes;
|
|
55
|
-
}
|
|
56
|
-
LoadRelationship(expectedType, value) {
|
|
57
|
-
if ((0, json_1.isObject)(value)) {
|
|
58
|
-
if ((0, json_1.hasProperty)(value, 'data') && (0, json_1.isObject)(value.data) && (Object.keys(value.data).length === 2)
|
|
59
|
-
&& (0, json_1.hasProperty)(value.data, 'type') && (0, json_1.isString)(value.data.type)
|
|
60
|
-
&& (value.data.type === expectedType)
|
|
61
|
-
&& (0, json_1.hasProperty)(value.data, 'id') && (0, json_1.isString)(value.data.id)) {
|
|
62
|
-
return new ResourceObjectRelationship(this._includes, value.data.type, value.data.id);
|
|
63
|
-
}
|
|
64
|
-
if ((Object.keys(value).length === 1) && (0, json_1.hasProperty)(value, 'id') && (0, json_1.isString)(value.id)) {
|
|
65
|
-
return new ResourceObjectRelationship(this._includes, expectedType, value.id);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return undefined;
|
|
69
|
-
}
|
|
70
|
-
LoadRelationships(expectedType, value) {
|
|
71
|
-
if ((0, json_1.isObject)(value)) {
|
|
72
|
-
if ((0, json_1.hasProperty)(value, 'data') && (0, json_1.isArray)(value.data)) {
|
|
73
|
-
const relationships = [];
|
|
74
|
-
for (const relationship of value.data) {
|
|
75
|
-
if ((0, json_1.isObject)(relationship) && (Object.keys(relationship).length === 2)
|
|
76
|
-
&& (0, json_1.hasProperty)(relationship, 'type') && (0, json_1.isString)(relationship.type)
|
|
77
|
-
&& (relationship.type === expectedType)
|
|
78
|
-
&& (0, json_1.hasProperty)(relationship, 'id') && (0, json_1.isString)(relationship.id)) {
|
|
79
|
-
relationships.push(new ResourceObjectRelationship(this._includes, relationship.type, relationship.id));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return relationships;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
else if ((0, json_1.isArray)(value)) {
|
|
86
|
-
const relationships = [];
|
|
87
|
-
for (const relationship of value) {
|
|
88
|
-
if ((0, json_1.isObject)(relationship) && (Object.keys(relationship).length === 1)
|
|
89
|
-
&& (0, json_1.hasProperty)(relationship, 'id') && (0, json_1.isString)(relationship.id)) {
|
|
90
|
-
relationships.push(new ResourceObjectRelationship(this._includes, expectedType, relationship.id));
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
return relationships;
|
|
94
|
-
}
|
|
95
|
-
return undefined;
|
|
96
|
-
}
|
|
97
|
-
static RelationshipType(relationshipName) {
|
|
98
|
-
throw new Error('Method or Property not implemented.');
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
exports.ResourceObjectRelationshipBase = ResourceObjectRelationshipBase;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceObjectRelationshipBase = exports.GeospatialPoint = exports.ResourceObjectAttributeBase = exports.ResourceObjectRelationshipsLoadType = exports.ResourceObjectRelationship = exports.ResourceObjectAttributesLoadType = void 0;
|
|
4
|
+
const json_1 = require("@cloudize/json");
|
|
5
|
+
const helpers_1 = require("../helpers");
|
|
6
|
+
var ResourceObjectAttributesLoadType;
|
|
7
|
+
(function (ResourceObjectAttributesLoadType) {
|
|
8
|
+
ResourceObjectAttributesLoadType[ResourceObjectAttributesLoadType["Replace"] = 0] = "Replace";
|
|
9
|
+
ResourceObjectAttributesLoadType[ResourceObjectAttributesLoadType["Update"] = 1] = "Update";
|
|
10
|
+
})(ResourceObjectAttributesLoadType = exports.ResourceObjectAttributesLoadType || (exports.ResourceObjectAttributesLoadType = {}));
|
|
11
|
+
class ResourceObjectRelationship {
|
|
12
|
+
constructor(includes, type, id) {
|
|
13
|
+
this._includes = includes;
|
|
14
|
+
this.type = type;
|
|
15
|
+
if (id)
|
|
16
|
+
this.id = id;
|
|
17
|
+
}
|
|
18
|
+
clear() {
|
|
19
|
+
this.id = null;
|
|
20
|
+
}
|
|
21
|
+
get target() {
|
|
22
|
+
if ((0, json_1.isDefined)(this.type) && (0, json_1.isDefined)(this.id) && (0, json_1.isDefined)(this._includes[this.type][this.id])) {
|
|
23
|
+
return this._includes[this.type][this.id];
|
|
24
|
+
}
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.ResourceObjectRelationship = ResourceObjectRelationship;
|
|
29
|
+
var ResourceObjectRelationshipsLoadType;
|
|
30
|
+
(function (ResourceObjectRelationshipsLoadType) {
|
|
31
|
+
ResourceObjectRelationshipsLoadType[ResourceObjectRelationshipsLoadType["Replace"] = 0] = "Replace";
|
|
32
|
+
ResourceObjectRelationshipsLoadType[ResourceObjectRelationshipsLoadType["Update"] = 1] = "Update";
|
|
33
|
+
})(ResourceObjectRelationshipsLoadType = exports.ResourceObjectRelationshipsLoadType || (exports.ResourceObjectRelationshipsLoadType = {}));
|
|
34
|
+
class ResourceObjectAttributeBase {
|
|
35
|
+
static LoadDateTime(value) {
|
|
36
|
+
return (0, helpers_1.LoadDateTime)(value);
|
|
37
|
+
}
|
|
38
|
+
static LoadGeospatialPoint(geospatialPoint, value) {
|
|
39
|
+
return (0, helpers_1.LoadGeospatialPoint)(geospatialPoint, value);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.ResourceObjectAttributeBase = ResourceObjectAttributeBase;
|
|
43
|
+
class GeospatialPoint extends ResourceObjectAttributeBase {
|
|
44
|
+
LoadData(data) {
|
|
45
|
+
if ((0, json_1.hasProperty)(data, 'longitude'))
|
|
46
|
+
this.longitude = data.longitude;
|
|
47
|
+
if ((0, json_1.hasProperty)(data, 'latitude'))
|
|
48
|
+
this.latitude = data.latitude;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GeospatialPoint = GeospatialPoint;
|
|
52
|
+
class ResourceObjectRelationshipBase {
|
|
53
|
+
constructor(includes) {
|
|
54
|
+
this._includes = includes;
|
|
55
|
+
}
|
|
56
|
+
LoadRelationship(expectedType, value) {
|
|
57
|
+
if ((0, json_1.isObject)(value)) {
|
|
58
|
+
if ((0, json_1.hasProperty)(value, 'data') && (0, json_1.isObject)(value.data) && (Object.keys(value.data).length === 2)
|
|
59
|
+
&& (0, json_1.hasProperty)(value.data, 'type') && (0, json_1.isString)(value.data.type)
|
|
60
|
+
&& (value.data.type === expectedType)
|
|
61
|
+
&& (0, json_1.hasProperty)(value.data, 'id') && (0, json_1.isString)(value.data.id)) {
|
|
62
|
+
return new ResourceObjectRelationship(this._includes, value.data.type, value.data.id);
|
|
63
|
+
}
|
|
64
|
+
if ((Object.keys(value).length === 1) && (0, json_1.hasProperty)(value, 'id') && (0, json_1.isString)(value.id)) {
|
|
65
|
+
return new ResourceObjectRelationship(this._includes, expectedType, value.id);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
LoadRelationships(expectedType, value) {
|
|
71
|
+
if ((0, json_1.isObject)(value)) {
|
|
72
|
+
if ((0, json_1.hasProperty)(value, 'data') && (0, json_1.isArray)(value.data)) {
|
|
73
|
+
const relationships = [];
|
|
74
|
+
for (const relationship of value.data) {
|
|
75
|
+
if ((0, json_1.isObject)(relationship) && (Object.keys(relationship).length === 2)
|
|
76
|
+
&& (0, json_1.hasProperty)(relationship, 'type') && (0, json_1.isString)(relationship.type)
|
|
77
|
+
&& (relationship.type === expectedType)
|
|
78
|
+
&& (0, json_1.hasProperty)(relationship, 'id') && (0, json_1.isString)(relationship.id)) {
|
|
79
|
+
relationships.push(new ResourceObjectRelationship(this._includes, relationship.type, relationship.id));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return relationships;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
else if ((0, json_1.isArray)(value)) {
|
|
86
|
+
const relationships = [];
|
|
87
|
+
for (const relationship of value) {
|
|
88
|
+
if ((0, json_1.isObject)(relationship) && (Object.keys(relationship).length === 1)
|
|
89
|
+
&& (0, json_1.hasProperty)(relationship, 'id') && (0, json_1.isString)(relationship.id)) {
|
|
90
|
+
relationships.push(new ResourceObjectRelationship(this._includes, expectedType, relationship.id));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return relationships;
|
|
94
|
+
}
|
|
95
|
+
return undefined;
|
|
96
|
+
}
|
|
97
|
+
static RelationshipType(relationshipName) {
|
|
98
|
+
throw new Error('Method or Property not implemented.');
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ResourceObjectRelationshipBase = ResourceObjectRelationshipBase;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface ISDKError {
|
|
2
|
-
code: string;
|
|
3
|
-
title: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ISDKRequestError extends ISDKError {
|
|
6
|
-
status: number;
|
|
7
|
-
detail?: string;
|
|
8
|
-
source?: any;
|
|
9
|
-
}
|
|
10
|
-
export interface ISDKException {
|
|
11
|
-
code: string;
|
|
12
|
-
message: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ISDKRequestException {
|
|
15
|
-
status: number;
|
|
16
|
-
items: ISDKRequestError[];
|
|
17
|
-
}
|
|
1
|
+
export interface ISDKError {
|
|
2
|
+
code: string;
|
|
3
|
+
title: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ISDKRequestError extends ISDKError {
|
|
6
|
+
status: number;
|
|
7
|
+
detail?: string;
|
|
8
|
+
source?: any;
|
|
9
|
+
}
|
|
10
|
+
export interface ISDKException {
|
|
11
|
+
code: string;
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ISDKRequestException {
|
|
15
|
+
status: number;
|
|
16
|
+
items: ISDKRequestError[];
|
|
17
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ResourceContainer, ResourceObject } from '../classes';
|
|
2
|
-
import { ResourceObjectRelationship, ResourceObjectRelationships } from '../interfaces';
|
|
3
|
-
export declare function isResourceContainer(value: any): value is ResourceContainer;
|
|
4
|
-
export declare function isResourceObject(value: any): value is ResourceObject;
|
|
5
|
-
export declare function isResourceObjectRelationship(value: any): value is ResourceObjectRelationship;
|
|
6
|
-
export declare function isResourceObjectRelationships(value: any): value is ResourceObjectRelationships;
|
|
1
|
+
import { ResourceContainer, ResourceObject } from '../classes';
|
|
2
|
+
import { ResourceObjectRelationship, ResourceObjectRelationships } from '../interfaces';
|
|
3
|
+
export declare function isResourceContainer(value: any): value is ResourceContainer;
|
|
4
|
+
export declare function isResourceObject(value: any): value is ResourceObject;
|
|
5
|
+
export declare function isResourceObjectRelationship(value: any): value is ResourceObjectRelationship;
|
|
6
|
+
export declare function isResourceObjectRelationships(value: any): value is ResourceObjectRelationships;
|
package/lib/type-guards/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isResourceObjectRelationships = exports.isResourceObjectRelationship = exports.isResourceObject = exports.isResourceContainer = void 0;
|
|
4
|
-
const json_1 = require("@cloudize/json");
|
|
5
|
-
const classes_1 = require("../classes");
|
|
6
|
-
const interfaces_1 = require("../interfaces");
|
|
7
|
-
function isResourceContainer(value) {
|
|
8
|
-
return (0, json_1.isDefinedAndNotNull)(value) && (value instanceof classes_1.ResourceContainer);
|
|
9
|
-
}
|
|
10
|
-
exports.isResourceContainer = isResourceContainer;
|
|
11
|
-
function isResourceObject(value) {
|
|
12
|
-
return (0, json_1.isDefinedAndNotNull)(value)
|
|
13
|
-
&& (value instanceof classes_1.ResourceObject)
|
|
14
|
-
&& (typeof value.type === 'string');
|
|
15
|
-
}
|
|
16
|
-
exports.isResourceObject = isResourceObject;
|
|
17
|
-
function isResourceObjectRelationship(value) {
|
|
18
|
-
return (0, json_1.isDefinedAndNotNull)(value) && (value instanceof interfaces_1.ResourceObjectRelationship);
|
|
19
|
-
}
|
|
20
|
-
exports.isResourceObjectRelationship = isResourceObjectRelationship;
|
|
21
|
-
function isResourceObjectRelationships(value) {
|
|
22
|
-
if ((0, json_1.isArray)(value)) {
|
|
23
|
-
let allValid = true;
|
|
24
|
-
for (const relationship of value)
|
|
25
|
-
allValid = allValid && isResourceObjectRelationship(relationship);
|
|
26
|
-
return allValid;
|
|
27
|
-
}
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
exports.isResourceObjectRelationships = isResourceObjectRelationships;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isResourceObjectRelationships = exports.isResourceObjectRelationship = exports.isResourceObject = exports.isResourceContainer = void 0;
|
|
4
|
+
const json_1 = require("@cloudize/json");
|
|
5
|
+
const classes_1 = require("../classes");
|
|
6
|
+
const interfaces_1 = require("../interfaces");
|
|
7
|
+
function isResourceContainer(value) {
|
|
8
|
+
return (0, json_1.isDefinedAndNotNull)(value) && (value instanceof classes_1.ResourceContainer);
|
|
9
|
+
}
|
|
10
|
+
exports.isResourceContainer = isResourceContainer;
|
|
11
|
+
function isResourceObject(value) {
|
|
12
|
+
return (0, json_1.isDefinedAndNotNull)(value)
|
|
13
|
+
&& (value instanceof classes_1.ResourceObject)
|
|
14
|
+
&& (typeof value.type === 'string');
|
|
15
|
+
}
|
|
16
|
+
exports.isResourceObject = isResourceObject;
|
|
17
|
+
function isResourceObjectRelationship(value) {
|
|
18
|
+
return (0, json_1.isDefinedAndNotNull)(value) && (value instanceof interfaces_1.ResourceObjectRelationship);
|
|
19
|
+
}
|
|
20
|
+
exports.isResourceObjectRelationship = isResourceObjectRelationship;
|
|
21
|
+
function isResourceObjectRelationships(value) {
|
|
22
|
+
if ((0, json_1.isArray)(value)) {
|
|
23
|
+
let allValid = true;
|
|
24
|
+
for (const relationship of value)
|
|
25
|
+
allValid = allValid && isResourceObjectRelationship(relationship);
|
|
26
|
+
return allValid;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
exports.isResourceObjectRelationships = isResourceObjectRelationships;
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"description": "Cloudize SDK Core",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"version": "23.
|
|
16
|
+
"version": "23.2.0",
|
|
17
17
|
"main": "lib/index.js",
|
|
18
18
|
"types": "lib/index.d.ts",
|
|
19
19
|
"scripts": {
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"test:watch": "jest --watch"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@cloudize/json": "23.
|
|
37
|
-
"@cloudize/rest-client": "23.
|
|
36
|
+
"@cloudize/json": "23.2.0",
|
|
37
|
+
"@cloudize/rest-client": "23.2.0",
|
|
38
38
|
"object-hash": "3.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/date-and-time": "0.13.0",
|
|
42
42
|
"@types/jest": "29.5.0",
|
|
43
|
-
"@types/node": "18.15.
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
45
|
-
"@typescript-eslint/parser": "5.
|
|
43
|
+
"@types/node": "18.15.11",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
45
|
+
"@typescript-eslint/parser": "5.58.0",
|
|
46
46
|
"date-and-time": "2.4.3",
|
|
47
|
-
"eslint": "8.
|
|
47
|
+
"eslint": "8.38.0",
|
|
48
48
|
"eslint-config-airbnb": "19.0.4",
|
|
49
49
|
"eslint-plugin-import": "2.27.5",
|
|
50
50
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
51
51
|
"eslint-plugin-react": "7.32.2",
|
|
52
52
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
53
53
|
"jest": "29.5.0",
|
|
54
|
-
"ts-jest": "29.0
|
|
55
|
-
"typescript": "
|
|
54
|
+
"ts-jest": "29.1.0",
|
|
55
|
+
"typescript": "5.0.4"
|
|
56
56
|
},
|
|
57
57
|
"eslintConfig": {},
|
|
58
58
|
"repository": {
|