ng2-rest 16.100.6 → 16.100.7
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/README.md +135 -135
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/client/README.md +24 -24
- package/client/package.json +38 -27
- package/firedev.jsonc +44 -44
- package/lib/helpers.d.ts +3 -3
- package/lib/mapping.d.ts +2 -2
- package/lib/models.d.ts +4 -4
- package/lib/resource-service.d.ts +2 -2
- package/package.json +4 -4
- package/tmp-environment.json +42 -31
- package/websql/README.md +24 -24
package/README.md
CHANGED
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
|
|
2
|
-
## ng2-rest ##
|
|
3
|
-
|
|
4
|
-
Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
|
|
5
|
-
|
|
6
|
-
Features:
|
|
7
|
-
- Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
|
|
8
|
-
- Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
|
|
9
|
-
- Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
|
|
10
|
-
- JSONP api request handling
|
|
11
|
-
- Transfer class instance from server to client and back
|
|
12
|
-
- Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
|
|
13
|
-
|
|
14
|
-
(more documentation soon... )
|
|
15
|
-
|
|
16
|
-
To install this package run:
|
|
17
|
-
|
|
18
|
-
npm install ng2-rest --save
|
|
19
|
-
|
|
20
|
-
Import Resource class:
|
|
21
|
-
```ts
|
|
22
|
-
import { Resource } from 'ng2-rest/browser';
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Resource
|
|
26
|
-
========
|
|
27
|
-
|
|
28
|
-
Fit you existing API (not only REST) into new fluent objects with **Resource**
|
|
29
|
-
class observables. Use power of **async** in new angular templates;
|
|
30
|
-
|
|
31
|
-
**template.html**
|
|
32
|
-
```html
|
|
33
|
-
Users:
|
|
34
|
-
<ul *ngIf="model.allUsers() | async; else loader; let users" >
|
|
35
|
-
|
|
36
|
-
<li *ngFor="let user of users">
|
|
37
|
-
{{user.id}} {{user.fullName()}}
|
|
38
|
-
<br>
|
|
39
|
-
<input type="name" [(NgModel)]="user.name" >
|
|
40
|
-
<button (click)="model.update(user)" > Update </button>
|
|
41
|
-
</li>
|
|
42
|
-
|
|
43
|
-
</ul>
|
|
44
|
-
|
|
45
|
-
<ng-template #loader> loading users... </ng-template>
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
**component.ts**
|
|
49
|
-
```ts
|
|
50
|
-
class User {
|
|
51
|
-
name: string;
|
|
52
|
-
surname: string;
|
|
53
|
-
id: number;
|
|
54
|
-
|
|
55
|
-
fullName() {
|
|
56
|
-
return `Surname: ${this.surname}, Name: ${this.name}`;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Express.js style url endpoint model
|
|
61
|
-
// you can ommit "<User>" part is you don't wanna see response interface
|
|
62
|
-
// also you can ommit third argument ",User" is you don't wanna
|
|
63
|
-
// map response object to User class objects
|
|
64
|
-
const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
|
|
65
|
-
|
|
66
|
-
class UserComponent {
|
|
67
|
-
|
|
68
|
-
// Prepare your beautiful interface
|
|
69
|
-
model = {
|
|
70
|
-
allUsers: () => rest.model()
|
|
71
|
-
.array
|
|
72
|
-
.get()
|
|
73
|
-
.observable // Observable resposne (useful for Angular 2+ html templates)
|
|
74
|
-
.pipe( map({ body } => body.json) ) // get all users, body.json => User[]
|
|
75
|
-
|
|
76
|
-
userBy: (id) => rest.model({id})
|
|
77
|
-
.get() // Promise response by default
|
|
78
|
-
.then({ body } => console.log(body.json)) // get user by id, body.json => User
|
|
79
|
-
|
|
80
|
-
update: async (user:User) =>{
|
|
81
|
-
try {
|
|
82
|
-
await rest.model({id:user.id}).put(user) // Promise response by default
|
|
83
|
-
|
|
84
|
-
alert('Update sucess')
|
|
85
|
-
} catch(e) {
|
|
86
|
-
alert(e)
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
constructor() { }
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Specification
|
|
97
|
-
============
|
|
98
|
-
Example **UrlParams[]** :
|
|
99
|
-
`[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| Name | Parameters | Description |
|
|
103
|
-
| :---: | --- | ---: |
|
|
104
|
-
| **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
|
|
105
|
-
| **get** | `UrlParams[] ` | get model by parameters |
|
|
106
|
-
| **post** | `model, UrlParams[] ` | post object model |
|
|
107
|
-
| **put** | `model, UrlParams[]` | put object model |
|
|
108
|
-
| **head** | `model, UrlParams[]` | get head for model |
|
|
109
|
-
| **delete** | `UrlParams[]` | remove object by params |
|
|
110
|
-
| **jsonp** | `UrlParams[]` | get jsonp data |
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
# Production mode
|
|
115
|
-
===
|
|
116
|
-
Nice things to do in production mode:
|
|
117
|
-
|
|
118
|
-
**1. Disable warnings.**
|
|
119
|
-
|
|
120
|
-
If you don't wanna see warning, disable it like this:
|
|
121
|
-
```ts
|
|
122
|
-
if (environment.production) {
|
|
123
|
-
Resource.enableWarnings = false;
|
|
124
|
-
}
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
# Angular 2+ ngZone
|
|
128
|
-
If you are using Angular 2+ you need to do this in your root **app.component**:
|
|
129
|
-
```ts
|
|
130
|
-
constructor(zone:NgZone) {
|
|
131
|
-
Resource.initAngularNgZone(zone)
|
|
132
|
-
}
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
|
|
1
|
+
|
|
2
|
+
## ng2-rest ##
|
|
3
|
+
|
|
4
|
+
Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
|
|
5
|
+
|
|
6
|
+
Features:
|
|
7
|
+
- Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
|
|
8
|
+
- Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
|
|
9
|
+
- Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
|
|
10
|
+
- JSONP api request handling
|
|
11
|
+
- Transfer class instance from server to client and back
|
|
12
|
+
- Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
|
|
13
|
+
|
|
14
|
+
(more documentation soon... )
|
|
15
|
+
|
|
16
|
+
To install this package run:
|
|
17
|
+
|
|
18
|
+
npm install ng2-rest --save
|
|
19
|
+
|
|
20
|
+
Import Resource class:
|
|
21
|
+
```ts
|
|
22
|
+
import { Resource } from 'ng2-rest/browser';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Resource
|
|
26
|
+
========
|
|
27
|
+
|
|
28
|
+
Fit you existing API (not only REST) into new fluent objects with **Resource**
|
|
29
|
+
class observables. Use power of **async** in new angular templates;
|
|
30
|
+
|
|
31
|
+
**template.html**
|
|
32
|
+
```html
|
|
33
|
+
Users:
|
|
34
|
+
<ul *ngIf="model.allUsers() | async; else loader; let users" >
|
|
35
|
+
|
|
36
|
+
<li *ngFor="let user of users">
|
|
37
|
+
{{user.id}} {{user.fullName()}}
|
|
38
|
+
<br>
|
|
39
|
+
<input type="name" [(NgModel)]="user.name" >
|
|
40
|
+
<button (click)="model.update(user)" > Update </button>
|
|
41
|
+
</li>
|
|
42
|
+
|
|
43
|
+
</ul>
|
|
44
|
+
|
|
45
|
+
<ng-template #loader> loading users... </ng-template>
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
**component.ts**
|
|
49
|
+
```ts
|
|
50
|
+
class User {
|
|
51
|
+
name: string;
|
|
52
|
+
surname: string;
|
|
53
|
+
id: number;
|
|
54
|
+
|
|
55
|
+
fullName() {
|
|
56
|
+
return `Surname: ${this.surname}, Name: ${this.name}`;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Express.js style url endpoint model
|
|
61
|
+
// you can ommit "<User>" part is you don't wanna see response interface
|
|
62
|
+
// also you can ommit third argument ",User" is you don't wanna
|
|
63
|
+
// map response object to User class objects
|
|
64
|
+
const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
|
|
65
|
+
|
|
66
|
+
class UserComponent {
|
|
67
|
+
|
|
68
|
+
// Prepare your beautiful interface
|
|
69
|
+
model = {
|
|
70
|
+
allUsers: () => rest.model()
|
|
71
|
+
.array
|
|
72
|
+
.get()
|
|
73
|
+
.observable // Observable resposne (useful for Angular 2+ html templates)
|
|
74
|
+
.pipe( map({ body } => body.json) ) // get all users, body.json => User[]
|
|
75
|
+
|
|
76
|
+
userBy: (id) => rest.model({id})
|
|
77
|
+
.get() // Promise response by default
|
|
78
|
+
.then({ body } => console.log(body.json)) // get user by id, body.json => User
|
|
79
|
+
|
|
80
|
+
update: async (user:User) =>{
|
|
81
|
+
try {
|
|
82
|
+
await rest.model({id:user.id}).put(user) // Promise response by default
|
|
83
|
+
|
|
84
|
+
alert('Update sucess')
|
|
85
|
+
} catch(e) {
|
|
86
|
+
alert(e)
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor() { }
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Specification
|
|
97
|
+
============
|
|
98
|
+
Example **UrlParams[]** :
|
|
99
|
+
`[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
| Name | Parameters | Description |
|
|
103
|
+
| :---: | --- | ---: |
|
|
104
|
+
| **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
|
|
105
|
+
| **get** | `UrlParams[] ` | get model by parameters |
|
|
106
|
+
| **post** | `model, UrlParams[] ` | post object model |
|
|
107
|
+
| **put** | `model, UrlParams[]` | put object model |
|
|
108
|
+
| **head** | `model, UrlParams[]` | get head for model |
|
|
109
|
+
| **delete** | `UrlParams[]` | remove object by params |
|
|
110
|
+
| **jsonp** | `UrlParams[]` | get jsonp data |
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# Production mode
|
|
115
|
+
===
|
|
116
|
+
Nice things to do in production mode:
|
|
117
|
+
|
|
118
|
+
**1. Disable warnings.**
|
|
119
|
+
|
|
120
|
+
If you don't wanna see warning, disable it like this:
|
|
121
|
+
```ts
|
|
122
|
+
if (environment.production) {
|
|
123
|
+
Resource.enableWarnings = false;
|
|
124
|
+
}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
# Angular 2+ ngZone
|
|
128
|
+
If you are using Angular 2+ you need to do this in your root **app.component**:
|
|
129
|
+
```ts
|
|
130
|
+
constructor(zone:NgZone) {
|
|
131
|
+
Resource.initAngularNgZone(zone)
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder are being shipped with this npm package (ng2-rest@16.100.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (ng2-rest@16.100.7)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/browser/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/client/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/client/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.100.
|
|
56
|
+
"version": "16.100.7",
|
|
57
57
|
"bugs": {
|
|
58
58
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
59
59
|
},
|
|
@@ -76,18 +76,23 @@
|
|
|
76
76
|
"@types/lodash": "4.14.92",
|
|
77
77
|
"axios": "1.3.5",
|
|
78
78
|
"diff": "3.2.0",
|
|
79
|
-
"json10": "16.100.
|
|
79
|
+
"json10": "16.100.7",
|
|
80
80
|
"json5": "2.2.1",
|
|
81
81
|
"lodash": "4.17.20",
|
|
82
|
-
"ng2-logger": "16.100.
|
|
82
|
+
"ng2-logger": "16.100.10"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"private": false,
|
|
86
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
89
89
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
90
90
|
"@angular-devkit/core": "~16.0.5",
|
|
91
|
+
"@angular-eslint/builder": "~16.3.1",
|
|
92
|
+
"@angular-eslint/eslint-plugin": "~16.3.1",
|
|
93
|
+
"@angular-eslint/eslint-plugin-template": "~16.3.1",
|
|
94
|
+
"@angular-eslint/schematics": "~16.3.1",
|
|
95
|
+
"@angular-eslint/template-parser": "~16.3.1",
|
|
91
96
|
"@angular-material-extensions/password-strength": "~12.1.0",
|
|
92
97
|
"@angular/animations": "~16.0.0",
|
|
93
98
|
"@angular/cdk": "~16.0.3",
|
|
@@ -105,9 +110,6 @@
|
|
|
105
110
|
"@angular/router": "~16.0.0",
|
|
106
111
|
"@angular/service-worker": "~16.0.4",
|
|
107
112
|
"@babel/cli": "7.18.6",
|
|
108
|
-
"@commitlint/cli": "12.1.1",
|
|
109
|
-
"@commitlint/config-conventional": "12.1.1",
|
|
110
|
-
"@commitlint/prompt-cli": "12.1.1",
|
|
111
113
|
"@compodoc/compodoc": "1.1.20",
|
|
112
114
|
"@iconify/icons-fa-solid": "1.2.2",
|
|
113
115
|
"@iconify/icons-mdi": "1.2.1",
|
|
@@ -129,6 +131,7 @@
|
|
|
129
131
|
"@ngx-formly/material": "6.1.8",
|
|
130
132
|
"@ngx-translate/core": "15.0.0",
|
|
131
133
|
"@ngx-translate/http-loader": "8.0.0",
|
|
134
|
+
"@sqltools/formatter": "1.2.2",
|
|
132
135
|
"@sweetalert2/ngx-sweetalert2": "12.1.0",
|
|
133
136
|
"@testdeck/jest": "0.3.3",
|
|
134
137
|
"@testdeck/mocha": "0.3.3",
|
|
@@ -157,13 +160,16 @@
|
|
|
157
160
|
"@types/systeminformation": "3.23.0",
|
|
158
161
|
"@types/vinyl": "2.0.2",
|
|
159
162
|
"@types/watch": "1.0.0",
|
|
163
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
164
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
160
165
|
"@vercel/ncc": "0.38.1",
|
|
161
166
|
"accepts": "1.3.4",
|
|
162
167
|
"ajv": "8.12.0",
|
|
163
168
|
"angular-material-css-vars": "5.0.2",
|
|
164
169
|
"angular-resize-event": "3.2.0",
|
|
165
170
|
"animate.css": "4.1.1 ",
|
|
166
|
-
"any-project-cli": "16.100.
|
|
171
|
+
"any-project-cli": "16.100.10",
|
|
172
|
+
"app-root-path": "3.0.0",
|
|
167
173
|
"background-worker-process": "16.100.10",
|
|
168
174
|
"base32": "0.0.7",
|
|
169
175
|
"bcryptjs": "2.4.3",
|
|
@@ -180,6 +186,7 @@
|
|
|
180
186
|
"circular-json": "0.5.1",
|
|
181
187
|
"class-transformer": "0.5.1",
|
|
182
188
|
"class-validator": "0.14.0",
|
|
189
|
+
"cli-highlight": "2.1.11",
|
|
183
190
|
"command-exists": "1.2.2",
|
|
184
191
|
"compression": "1.7.4",
|
|
185
192
|
"concurrently": "3.5.1",
|
|
@@ -200,10 +207,13 @@
|
|
|
200
207
|
"enquirer": "2.3.0",
|
|
201
208
|
"enum-values": "1.2.1",
|
|
202
209
|
"errorhandler": "1.5.0",
|
|
203
|
-
"eslint": "
|
|
204
|
-
"eslint-
|
|
205
|
-
"eslint-plugin-
|
|
206
|
-
"eslint-plugin-
|
|
210
|
+
"eslint": "8.51.0",
|
|
211
|
+
"eslint-config-prettier": "9.1.0",
|
|
212
|
+
"eslint-plugin-import": "latest",
|
|
213
|
+
"eslint-plugin-jsdoc": "latest",
|
|
214
|
+
"eslint-plugin-prefer-arrow": "latest",
|
|
215
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
216
|
+
"eslint-plugin-react": "latest",
|
|
207
217
|
"express": "4.16.3",
|
|
208
218
|
"express-fileupload": "1.4.0",
|
|
209
219
|
"express-session": "1.17.3",
|
|
@@ -212,10 +222,10 @@
|
|
|
212
222
|
"file-type": "18.5.0",
|
|
213
223
|
"firedev": "^16",
|
|
214
224
|
"firedev-crud": "16.100.9",
|
|
215
|
-
"firedev-crud-deamon": "16.100.
|
|
225
|
+
"firedev-crud-deamon": "16.100.9",
|
|
216
226
|
"firedev-ports": "16.100.9",
|
|
217
227
|
"firedev-storage": "16.100.5",
|
|
218
|
-
"firedev-type-sql": "16.100.
|
|
228
|
+
"firedev-type-sql": "16.100.6",
|
|
219
229
|
"firedev-typeorm": "16.100.5",
|
|
220
230
|
"firedev-ui": "16.100.8",
|
|
221
231
|
"fkill": "6.1.0",
|
|
@@ -235,11 +245,11 @@
|
|
|
235
245
|
"image-focus": "1.2.1",
|
|
236
246
|
"immer": "10.0.2",
|
|
237
247
|
"immutable": "4.3.0",
|
|
238
|
-
"incremental-compiler": "16.100.
|
|
248
|
+
"incremental-compiler": "16.100.10",
|
|
239
249
|
"inquirer": "7.3.3",
|
|
240
250
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
241
251
|
"is-elevated": "3.0.0",
|
|
242
|
-
"isomorphic-region-loader": "16.100.
|
|
252
|
+
"isomorphic-region-loader": "16.100.9",
|
|
243
253
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
244
254
|
"jest": "29.5.0",
|
|
245
255
|
"jest-date-mock": "1.0.8",
|
|
@@ -250,16 +260,16 @@
|
|
|
250
260
|
"joi": "17.9.2",
|
|
251
261
|
"jscodeshift": "0.6.3",
|
|
252
262
|
"json-stringify-safe": "5.0.1",
|
|
253
|
-
"json10-writer": "16.100.
|
|
263
|
+
"json10-writer": "16.100.10",
|
|
254
264
|
"json5-writer": "0.2.0",
|
|
255
265
|
"jszip": "3.10.1",
|
|
256
266
|
"karma-cli": "1.0.1",
|
|
257
267
|
"lnk": "1.0.1",
|
|
258
268
|
"localforage": "1.10.0",
|
|
259
269
|
"lockfile": "1.0.4",
|
|
260
|
-
"lodash-walk-object": "16.100.
|
|
270
|
+
"lodash-walk-object": "16.100.7",
|
|
261
271
|
"lowdb": "7.0.1",
|
|
262
|
-
"magic-renamer": "16.100.
|
|
272
|
+
"magic-renamer": "16.100.9",
|
|
263
273
|
"material-design-icons": "3.0.1",
|
|
264
274
|
"method-override": "2.3.10",
|
|
265
275
|
"minimist": "1.2.0",
|
|
@@ -272,7 +282,7 @@
|
|
|
272
282
|
"ng-packagr": "16.0.1",
|
|
273
283
|
"ng-talkback": "16.100.5",
|
|
274
284
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
275
|
-
"ng2-rest": "16.100.
|
|
285
|
+
"ng2-rest": "16.100.6",
|
|
276
286
|
"ngx-ace-wrapper": "14.0.0",
|
|
277
287
|
"ngx-editor": "15.3.0",
|
|
278
288
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -301,7 +311,8 @@
|
|
|
301
311
|
"path-to-regexp": "6.2.2",
|
|
302
312
|
"pica": "9.0.1",
|
|
303
313
|
"portfinder": "1.0.21",
|
|
304
|
-
"prettier": "3.
|
|
314
|
+
"prettier": "3.2.5",
|
|
315
|
+
"prettier-eslint": "16.3.0",
|
|
305
316
|
"pretty-error": "4.0.0",
|
|
306
317
|
"primeflex": "3.3.1",
|
|
307
318
|
"primeicons": "6.0.1",
|
|
@@ -333,11 +344,11 @@
|
|
|
333
344
|
"task.js": "0.1.5",
|
|
334
345
|
"threads": "1.7.0",
|
|
335
346
|
"tnp-cli": "16.100.5",
|
|
336
|
-
"tnp-config": "16.100.
|
|
337
|
-
"tnp-core": "16.100.
|
|
338
|
-
"tnp-db": "16.100.
|
|
339
|
-
"tnp-helpers": "16.100.
|
|
340
|
-
"tnp-models": "16.100.
|
|
347
|
+
"tnp-config": "16.100.10",
|
|
348
|
+
"tnp-core": "16.100.22",
|
|
349
|
+
"tnp-db": "16.100.9",
|
|
350
|
+
"tnp-helpers": "16.100.18",
|
|
351
|
+
"tnp-models": "16.100.10",
|
|
341
352
|
"ts-debug": "1.3.0",
|
|
342
353
|
"ts-json-schema-generator": "2.1.1",
|
|
343
354
|
"ts-loader": "2.3.1",
|
|
@@ -346,7 +357,7 @@
|
|
|
346
357
|
"tslint": "5.9.1",
|
|
347
358
|
"turndown": "7.1.2",
|
|
348
359
|
"typescript": "~5.0.2",
|
|
349
|
-
"typescript-class-helpers": "~16.100.
|
|
360
|
+
"typescript-class-helpers": "~16.100.10",
|
|
350
361
|
"typescript-formatter": "~7.2.2",
|
|
351
362
|
"underscore": "1.9.1",
|
|
352
363
|
"uuid": "8.3.2",
|
package/firedev.jsonc
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resources": ["README.md"],
|
|
3
|
-
"overrided": {
|
|
4
|
-
"dependencies": {},
|
|
5
|
-
"includeAsDev": [],
|
|
6
|
-
"includeOnly": [
|
|
7
|
-
"@types/diff",
|
|
8
|
-
"diff",
|
|
9
|
-
"axios",
|
|
10
|
-
"lodash",
|
|
11
|
-
"@types/lodash",
|
|
12
|
-
"ng2-logger",
|
|
13
|
-
"json5",
|
|
14
|
-
"json10",
|
|
15
|
-
],
|
|
16
|
-
"ignoreDepsPattern": [],
|
|
17
|
-
"linkedFolders": [],
|
|
18
|
-
"npmFixes": [],
|
|
19
|
-
},
|
|
20
|
-
"smartContainerBuildTarget": "",
|
|
21
|
-
"linkedRepos": [],
|
|
22
|
-
"libReleaseOptions": {
|
|
23
|
-
"nodts": false,
|
|
24
|
-
"obscure": false,
|
|
25
|
-
"ugly": false,
|
|
26
|
-
"includeNodeModules": false,
|
|
27
|
-
"cliBuildNoDts": false,
|
|
28
|
-
"cliBuildObscure": false,
|
|
29
|
-
"cliBuildIncludeNodeModules": false,
|
|
30
|
-
"cliBuildUglify": false,
|
|
31
|
-
},
|
|
32
|
-
"smartContainerTarget": "",
|
|
33
|
-
"type": "isomorphic-lib",
|
|
34
|
-
"version": "v4",
|
|
35
|
-
"additionalNpmNames": ["firedev-rest"],
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"private": false,
|
|
38
|
-
"author": {
|
|
39
|
-
"name": "Dariusz Filipiak",
|
|
40
|
-
},
|
|
41
|
-
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
42
|
-
"keywords": ["isomorphic", "logger", "log", "typescript"],
|
|
43
|
-
"workerPlugins": {},
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"resources": ["README.md"],
|
|
3
|
+
"overrided": {
|
|
4
|
+
"dependencies": {},
|
|
5
|
+
"includeAsDev": [],
|
|
6
|
+
"includeOnly": [
|
|
7
|
+
"@types/diff",
|
|
8
|
+
"diff",
|
|
9
|
+
"axios",
|
|
10
|
+
"lodash",
|
|
11
|
+
"@types/lodash",
|
|
12
|
+
"ng2-logger",
|
|
13
|
+
"json5",
|
|
14
|
+
"json10",
|
|
15
|
+
],
|
|
16
|
+
"ignoreDepsPattern": [],
|
|
17
|
+
"linkedFolders": [],
|
|
18
|
+
"npmFixes": [],
|
|
19
|
+
},
|
|
20
|
+
"smartContainerBuildTarget": "",
|
|
21
|
+
"linkedRepos": [],
|
|
22
|
+
"libReleaseOptions": {
|
|
23
|
+
"nodts": false,
|
|
24
|
+
"obscure": false,
|
|
25
|
+
"ugly": false,
|
|
26
|
+
"includeNodeModules": false,
|
|
27
|
+
"cliBuildNoDts": false,
|
|
28
|
+
"cliBuildObscure": false,
|
|
29
|
+
"cliBuildIncludeNodeModules": false,
|
|
30
|
+
"cliBuildUglify": false,
|
|
31
|
+
},
|
|
32
|
+
"smartContainerTarget": "",
|
|
33
|
+
"type": "isomorphic-lib",
|
|
34
|
+
"version": "v4",
|
|
35
|
+
"additionalNpmNames": ["firedev-rest"],
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"private": false,
|
|
38
|
+
"author": {
|
|
39
|
+
"name": "Dariusz Filipiak",
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
42
|
+
"keywords": ["isomorphic", "logger", "log", "typescript"],
|
|
43
|
+
"workerPlugins": {},
|
|
44
|
+
}
|
package/lib/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CoreHelpers } from 'tnp-core';
|
|
1
|
+
import { CoreHelpers } from 'tnp-core/src';
|
|
2
2
|
import { Mapping } from './mapping';
|
|
3
|
-
import { JSON10 } from 'json10';
|
|
3
|
+
import { JSON10 } from 'json10/src';
|
|
4
4
|
export declare class Helpers extends CoreHelpers {
|
|
5
5
|
static JSON: typeof JSON10;
|
|
6
6
|
static get Mapping(): {
|
|
@@ -8,4 +8,4 @@ export declare class Helpers extends CoreHelpers {
|
|
|
8
8
|
decode(json: Object, autodetect?: boolean): Mapping.Mapping;
|
|
9
9
|
};
|
|
10
10
|
static checkValidUrl(url: string): boolean;
|
|
11
|
-
}
|
|
11
|
+
}
|
package/lib/mapping.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Circ } from 'json10';
|
|
1
|
+
import { Circ } from 'json10/src';
|
|
2
2
|
export declare namespace Mapping {
|
|
3
3
|
function decode(json: Object, autodetect?: boolean): Mapping;
|
|
4
4
|
function encode<T = Function>(json: Object, mapping: Mapping, circular?: Circ[]): T;
|
|
@@ -10,4 +10,4 @@ export declare namespace Mapping {
|
|
|
10
10
|
[propName in keyof T]?: T[propName];
|
|
11
11
|
};
|
|
12
12
|
function DefaultModelWithMapping<T = Object>(defaultModelValues?: ModelValue<T>, mapping?: Mapping<T>): (target: Function) => void;
|
|
13
|
-
}
|
|
13
|
+
}
|
package/lib/models.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { RestHeaders } from './rest-headers';
|
|
|
5
5
|
import { Rest } from './rest.class';
|
|
6
6
|
import { Cookie } from './cookie';
|
|
7
7
|
import { Mapping } from './mapping';
|
|
8
|
-
import { Models as HelpersModels } from 'typescript-class-helpers';
|
|
9
|
-
import { Circ } from 'json10';
|
|
8
|
+
import { Models as HelpersModels } from 'typescript-class-helpers/src';
|
|
9
|
+
import { Circ } from 'json10/src';
|
|
10
10
|
import { RequestCache } from './request-cache';
|
|
11
|
-
import { CoreModels } from 'tnp-core';
|
|
11
|
+
import { CoreModels } from 'tnp-core/src';
|
|
12
12
|
import { Blob } from 'buffer';
|
|
13
13
|
export declare namespace Models {
|
|
14
14
|
export import HttpMethod = CoreModels.HttpMethod;
|
|
@@ -161,4 +161,4 @@ export declare namespace Models {
|
|
|
161
161
|
isArray: boolean;
|
|
162
162
|
}
|
|
163
163
|
type ResponseTypeAxios = 'blob' | 'text' | 'arraybuffer' | 'document' | 'stream';
|
|
164
|
-
}
|
|
164
|
+
}
|
|
@@ -5,7 +5,7 @@ import { RestHeaders } from './rest-headers';
|
|
|
5
5
|
import { Cookie } from './cookie';
|
|
6
6
|
import { Mapping } from './mapping';
|
|
7
7
|
import { Models } from './models';
|
|
8
|
-
import { Circ } from 'json10';
|
|
8
|
+
import { Circ } from 'json10/src';
|
|
9
9
|
export declare class Resource<E, T, TA> {
|
|
10
10
|
protected static _listenErrors: Subject<Models.BackendError>;
|
|
11
11
|
protected static _listenSuccess: Subject<Models.HttpResponse<any>>;
|
|
@@ -41,4 +41,4 @@ export declare class Resource<E, T, TA> {
|
|
|
41
41
|
* @returns {Rest<T, TA>}
|
|
42
42
|
*/
|
|
43
43
|
private api;
|
|
44
|
-
}
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.100.
|
|
56
|
+
"version": "16.100.7",
|
|
57
57
|
"bugs": {
|
|
58
58
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
59
59
|
},
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"@types/lodash": "4.14.92",
|
|
77
77
|
"axios": "1.3.5",
|
|
78
78
|
"diff": "3.2.0",
|
|
79
|
-
"json10": "16.100.
|
|
79
|
+
"json10": "16.100.7",
|
|
80
80
|
"json5": "2.2.1",
|
|
81
81
|
"lodash": "4.17.20",
|
|
82
|
-
"ng2-logger": "16.100.
|
|
82
|
+
"ng2-logger": "16.100.10"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"private": false,
|
|
86
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
87
87
|
"devDependencies": {},
|
|
88
88
|
"main": "dist/app.electron.js"
|
|
89
89
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"workerPlugins": {}
|
|
58
58
|
},
|
|
59
59
|
"name": "ng2-rest",
|
|
60
|
-
"version": "16.100.
|
|
60
|
+
"version": "16.100.7",
|
|
61
61
|
"bugs": {
|
|
62
62
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
63
63
|
},
|
|
@@ -80,18 +80,23 @@
|
|
|
80
80
|
"@types/lodash": "4.14.92",
|
|
81
81
|
"axios": "1.3.5",
|
|
82
82
|
"diff": "3.2.0",
|
|
83
|
-
"json10": "16.100.
|
|
83
|
+
"json10": "16.100.7",
|
|
84
84
|
"json5": "2.2.1",
|
|
85
85
|
"lodash": "4.17.20",
|
|
86
|
-
"ng2-logger": "16.100.
|
|
86
|
+
"ng2-logger": "16.100.10"
|
|
87
87
|
},
|
|
88
88
|
"license": "MIT",
|
|
89
89
|
"private": false,
|
|
90
|
-
"lastBuildTagHash": "
|
|
90
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
93
93
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
94
94
|
"@angular-devkit/core": "~16.0.5",
|
|
95
|
+
"@angular-eslint/builder": "~16.3.1",
|
|
96
|
+
"@angular-eslint/eslint-plugin": "~16.3.1",
|
|
97
|
+
"@angular-eslint/eslint-plugin-template": "~16.3.1",
|
|
98
|
+
"@angular-eslint/schematics": "~16.3.1",
|
|
99
|
+
"@angular-eslint/template-parser": "~16.3.1",
|
|
95
100
|
"@angular-material-extensions/password-strength": "~12.1.0",
|
|
96
101
|
"@angular/animations": "~16.0.0",
|
|
97
102
|
"@angular/cdk": "~16.0.3",
|
|
@@ -109,9 +114,6 @@
|
|
|
109
114
|
"@angular/router": "~16.0.0",
|
|
110
115
|
"@angular/service-worker": "~16.0.4",
|
|
111
116
|
"@babel/cli": "7.18.6",
|
|
112
|
-
"@commitlint/cli": "12.1.1",
|
|
113
|
-
"@commitlint/config-conventional": "12.1.1",
|
|
114
|
-
"@commitlint/prompt-cli": "12.1.1",
|
|
115
117
|
"@compodoc/compodoc": "1.1.20",
|
|
116
118
|
"@iconify/icons-fa-solid": "1.2.2",
|
|
117
119
|
"@iconify/icons-mdi": "1.2.1",
|
|
@@ -133,6 +135,7 @@
|
|
|
133
135
|
"@ngx-formly/material": "6.1.8",
|
|
134
136
|
"@ngx-translate/core": "15.0.0",
|
|
135
137
|
"@ngx-translate/http-loader": "8.0.0",
|
|
138
|
+
"@sqltools/formatter": "1.2.2",
|
|
136
139
|
"@sweetalert2/ngx-sweetalert2": "12.1.0",
|
|
137
140
|
"@testdeck/jest": "0.3.3",
|
|
138
141
|
"@testdeck/mocha": "0.3.3",
|
|
@@ -161,13 +164,16 @@
|
|
|
161
164
|
"@types/systeminformation": "3.23.0",
|
|
162
165
|
"@types/vinyl": "2.0.2",
|
|
163
166
|
"@types/watch": "1.0.0",
|
|
167
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
168
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
164
169
|
"@vercel/ncc": "0.38.1",
|
|
165
170
|
"accepts": "1.3.4",
|
|
166
171
|
"ajv": "8.12.0",
|
|
167
172
|
"angular-material-css-vars": "5.0.2",
|
|
168
173
|
"angular-resize-event": "3.2.0",
|
|
169
174
|
"animate.css": "4.1.1 ",
|
|
170
|
-
"any-project-cli": "16.100.
|
|
175
|
+
"any-project-cli": "16.100.10",
|
|
176
|
+
"app-root-path": "3.0.0",
|
|
171
177
|
"background-worker-process": "16.100.10",
|
|
172
178
|
"base32": "0.0.7",
|
|
173
179
|
"bcryptjs": "2.4.3",
|
|
@@ -184,6 +190,7 @@
|
|
|
184
190
|
"circular-json": "0.5.1",
|
|
185
191
|
"class-transformer": "0.5.1",
|
|
186
192
|
"class-validator": "0.14.0",
|
|
193
|
+
"cli-highlight": "2.1.11",
|
|
187
194
|
"command-exists": "1.2.2",
|
|
188
195
|
"compression": "1.7.4",
|
|
189
196
|
"concurrently": "3.5.1",
|
|
@@ -204,10 +211,13 @@
|
|
|
204
211
|
"enquirer": "2.3.0",
|
|
205
212
|
"enum-values": "1.2.1",
|
|
206
213
|
"errorhandler": "1.5.0",
|
|
207
|
-
"eslint": "
|
|
208
|
-
"eslint-
|
|
209
|
-
"eslint-plugin-
|
|
210
|
-
"eslint-plugin-
|
|
214
|
+
"eslint": "8.51.0",
|
|
215
|
+
"eslint-config-prettier": "9.1.0",
|
|
216
|
+
"eslint-plugin-import": "latest",
|
|
217
|
+
"eslint-plugin-jsdoc": "latest",
|
|
218
|
+
"eslint-plugin-prefer-arrow": "latest",
|
|
219
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
220
|
+
"eslint-plugin-react": "latest",
|
|
211
221
|
"express": "4.16.3",
|
|
212
222
|
"express-fileupload": "1.4.0",
|
|
213
223
|
"express-session": "1.17.3",
|
|
@@ -216,10 +226,10 @@
|
|
|
216
226
|
"file-type": "18.5.0",
|
|
217
227
|
"firedev": "^16",
|
|
218
228
|
"firedev-crud": "16.100.9",
|
|
219
|
-
"firedev-crud-deamon": "16.100.
|
|
229
|
+
"firedev-crud-deamon": "16.100.9",
|
|
220
230
|
"firedev-ports": "16.100.9",
|
|
221
231
|
"firedev-storage": "16.100.5",
|
|
222
|
-
"firedev-type-sql": "16.100.
|
|
232
|
+
"firedev-type-sql": "16.100.6",
|
|
223
233
|
"firedev-typeorm": "16.100.5",
|
|
224
234
|
"firedev-ui": "16.100.8",
|
|
225
235
|
"fkill": "6.1.0",
|
|
@@ -239,11 +249,11 @@
|
|
|
239
249
|
"image-focus": "1.2.1",
|
|
240
250
|
"immer": "10.0.2",
|
|
241
251
|
"immutable": "4.3.0",
|
|
242
|
-
"incremental-compiler": "16.100.
|
|
252
|
+
"incremental-compiler": "16.100.10",
|
|
243
253
|
"inquirer": "7.3.3",
|
|
244
254
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
245
255
|
"is-elevated": "3.0.0",
|
|
246
|
-
"isomorphic-region-loader": "16.100.
|
|
256
|
+
"isomorphic-region-loader": "16.100.9",
|
|
247
257
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
248
258
|
"jest": "29.5.0",
|
|
249
259
|
"jest-date-mock": "1.0.8",
|
|
@@ -254,16 +264,16 @@
|
|
|
254
264
|
"joi": "17.9.2",
|
|
255
265
|
"jscodeshift": "0.6.3",
|
|
256
266
|
"json-stringify-safe": "5.0.1",
|
|
257
|
-
"json10-writer": "16.100.
|
|
267
|
+
"json10-writer": "16.100.10",
|
|
258
268
|
"json5-writer": "0.2.0",
|
|
259
269
|
"jszip": "3.10.1",
|
|
260
270
|
"karma-cli": "1.0.1",
|
|
261
271
|
"lnk": "1.0.1",
|
|
262
272
|
"localforage": "1.10.0",
|
|
263
273
|
"lockfile": "1.0.4",
|
|
264
|
-
"lodash-walk-object": "16.100.
|
|
274
|
+
"lodash-walk-object": "16.100.7",
|
|
265
275
|
"lowdb": "7.0.1",
|
|
266
|
-
"magic-renamer": "16.100.
|
|
276
|
+
"magic-renamer": "16.100.9",
|
|
267
277
|
"material-design-icons": "3.0.1",
|
|
268
278
|
"method-override": "2.3.10",
|
|
269
279
|
"minimist": "1.2.0",
|
|
@@ -276,7 +286,7 @@
|
|
|
276
286
|
"ng-packagr": "16.0.1",
|
|
277
287
|
"ng-talkback": "16.100.5",
|
|
278
288
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
279
|
-
"ng2-rest": "16.100.
|
|
289
|
+
"ng2-rest": "16.100.6",
|
|
280
290
|
"ngx-ace-wrapper": "14.0.0",
|
|
281
291
|
"ngx-editor": "15.3.0",
|
|
282
292
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -305,7 +315,8 @@
|
|
|
305
315
|
"path-to-regexp": "6.2.2",
|
|
306
316
|
"pica": "9.0.1",
|
|
307
317
|
"portfinder": "1.0.21",
|
|
308
|
-
"prettier": "3.
|
|
318
|
+
"prettier": "3.2.5",
|
|
319
|
+
"prettier-eslint": "16.3.0",
|
|
309
320
|
"pretty-error": "4.0.0",
|
|
310
321
|
"primeflex": "3.3.1",
|
|
311
322
|
"primeicons": "6.0.1",
|
|
@@ -337,11 +348,11 @@
|
|
|
337
348
|
"task.js": "0.1.5",
|
|
338
349
|
"threads": "1.7.0",
|
|
339
350
|
"tnp-cli": "16.100.5",
|
|
340
|
-
"tnp-config": "16.100.
|
|
341
|
-
"tnp-core": "16.100.
|
|
342
|
-
"tnp-db": "16.100.
|
|
343
|
-
"tnp-helpers": "16.100.
|
|
344
|
-
"tnp-models": "16.100.
|
|
351
|
+
"tnp-config": "16.100.10",
|
|
352
|
+
"tnp-core": "16.100.22",
|
|
353
|
+
"tnp-db": "16.100.9",
|
|
354
|
+
"tnp-helpers": "16.100.18",
|
|
355
|
+
"tnp-models": "16.100.10",
|
|
345
356
|
"ts-debug": "1.3.0",
|
|
346
357
|
"ts-json-schema-generator": "2.1.1",
|
|
347
358
|
"ts-loader": "2.3.1",
|
|
@@ -350,7 +361,7 @@
|
|
|
350
361
|
"tslint": "5.9.1",
|
|
351
362
|
"turndown": "7.1.2",
|
|
352
363
|
"typescript": "~5.0.2",
|
|
353
|
-
"typescript-class-helpers": "~16.100.
|
|
364
|
+
"typescript-class-helpers": "~16.100.10",
|
|
354
365
|
"typescript-formatter": "~7.2.2",
|
|
355
366
|
"underscore": "1.9.1",
|
|
356
367
|
"uuid": "8.3.2",
|
|
@@ -367,14 +378,14 @@
|
|
|
367
378
|
"main": "dist/app.electron.js"
|
|
368
379
|
},
|
|
369
380
|
"build": {
|
|
370
|
-
"number":
|
|
371
|
-
"date": "2024-05-
|
|
372
|
-
"hash": "
|
|
381
|
+
"number": 915,
|
|
382
|
+
"date": "2024-05-27T07:09:44.000Z",
|
|
383
|
+
"hash": "5df25f4c72dee86e51007c1b9a056efeb47add2f"
|
|
373
384
|
},
|
|
374
385
|
"currentProjectName": "ng2-rest",
|
|
375
386
|
"currentProjectGenericName": "ng2-rest",
|
|
376
387
|
"currentProjectType": "isomorphic-lib",
|
|
377
|
-
"currentFrameworkVersion": "16.100.
|
|
388
|
+
"currentFrameworkVersion": "16.100.21",
|
|
378
389
|
"isStandaloneProject": true,
|
|
379
390
|
"isSmartContainer": false,
|
|
380
391
|
"pathesTsconfig": "\"paths\": {\"ng2-rest\":[\"./src/lib\"],\"ng2-rest/*\":[\"./src/lib/*\"]},",
|
package/websql/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|