ng2-rest 16.100.5 → 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 +50 -42
- 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 -7
- package/tmp-environment.json +54 -46
- 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,10 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.100.
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
59
|
-
},
|
|
56
|
+
"version": "16.100.7",
|
|
60
57
|
"bugs": {
|
|
61
58
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
62
59
|
},
|
|
@@ -79,18 +76,23 @@
|
|
|
79
76
|
"@types/lodash": "4.14.92",
|
|
80
77
|
"axios": "1.3.5",
|
|
81
78
|
"diff": "3.2.0",
|
|
82
|
-
"json10": "16.100.
|
|
79
|
+
"json10": "16.100.7",
|
|
83
80
|
"json5": "2.2.1",
|
|
84
81
|
"lodash": "4.17.20",
|
|
85
|
-
"ng2-logger": "16.100.
|
|
82
|
+
"ng2-logger": "16.100.10"
|
|
86
83
|
},
|
|
87
84
|
"license": "MIT",
|
|
88
85
|
"private": false,
|
|
89
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
90
87
|
"devDependencies": {
|
|
91
88
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
92
89
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
93
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",
|
|
94
96
|
"@angular-material-extensions/password-strength": "~12.1.0",
|
|
95
97
|
"@angular/animations": "~16.0.0",
|
|
96
98
|
"@angular/cdk": "~16.0.3",
|
|
@@ -108,9 +110,6 @@
|
|
|
108
110
|
"@angular/router": "~16.0.0",
|
|
109
111
|
"@angular/service-worker": "~16.0.4",
|
|
110
112
|
"@babel/cli": "7.18.6",
|
|
111
|
-
"@commitlint/cli": "12.1.1",
|
|
112
|
-
"@commitlint/config-conventional": "12.1.1",
|
|
113
|
-
"@commitlint/prompt-cli": "12.1.1",
|
|
114
113
|
"@compodoc/compodoc": "1.1.20",
|
|
115
114
|
"@iconify/icons-fa-solid": "1.2.2",
|
|
116
115
|
"@iconify/icons-mdi": "1.2.1",
|
|
@@ -132,6 +131,7 @@
|
|
|
132
131
|
"@ngx-formly/material": "6.1.8",
|
|
133
132
|
"@ngx-translate/core": "15.0.0",
|
|
134
133
|
"@ngx-translate/http-loader": "8.0.0",
|
|
134
|
+
"@sqltools/formatter": "1.2.2",
|
|
135
135
|
"@sweetalert2/ngx-sweetalert2": "12.1.0",
|
|
136
136
|
"@testdeck/jest": "0.3.3",
|
|
137
137
|
"@testdeck/mocha": "0.3.3",
|
|
@@ -160,14 +160,17 @@
|
|
|
160
160
|
"@types/systeminformation": "3.23.0",
|
|
161
161
|
"@types/vinyl": "2.0.2",
|
|
162
162
|
"@types/watch": "1.0.0",
|
|
163
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
164
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
163
165
|
"@vercel/ncc": "0.38.1",
|
|
164
166
|
"accepts": "1.3.4",
|
|
165
167
|
"ajv": "8.12.0",
|
|
166
168
|
"angular-material-css-vars": "5.0.2",
|
|
167
169
|
"angular-resize-event": "3.2.0",
|
|
168
170
|
"animate.css": "4.1.1 ",
|
|
169
|
-
"any-project-cli": "16.100.
|
|
170
|
-
"
|
|
171
|
+
"any-project-cli": "16.100.10",
|
|
172
|
+
"app-root-path": "3.0.0",
|
|
173
|
+
"background-worker-process": "16.100.10",
|
|
171
174
|
"base32": "0.0.7",
|
|
172
175
|
"bcryptjs": "2.4.3",
|
|
173
176
|
"better-sqlite3": "9.5.0",
|
|
@@ -183,6 +186,7 @@
|
|
|
183
186
|
"circular-json": "0.5.1",
|
|
184
187
|
"class-transformer": "0.5.1",
|
|
185
188
|
"class-validator": "0.14.0",
|
|
189
|
+
"cli-highlight": "2.1.11",
|
|
186
190
|
"command-exists": "1.2.2",
|
|
187
191
|
"compression": "1.7.4",
|
|
188
192
|
"concurrently": "3.5.1",
|
|
@@ -203,10 +207,13 @@
|
|
|
203
207
|
"enquirer": "2.3.0",
|
|
204
208
|
"enum-values": "1.2.1",
|
|
205
209
|
"errorhandler": "1.5.0",
|
|
206
|
-
"eslint": "
|
|
207
|
-
"eslint-
|
|
208
|
-
"eslint-plugin-
|
|
209
|
-
"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",
|
|
210
217
|
"express": "4.16.3",
|
|
211
218
|
"express-fileupload": "1.4.0",
|
|
212
219
|
"express-session": "1.17.3",
|
|
@@ -214,13 +221,13 @@
|
|
|
214
221
|
"file-saver": "2.0.5",
|
|
215
222
|
"file-type": "18.5.0",
|
|
216
223
|
"firedev": "^16",
|
|
217
|
-
"firedev-crud": "16.100.
|
|
218
|
-
"firedev-crud-deamon": "16.100.
|
|
219
|
-
"firedev-ports": "16.100.
|
|
220
|
-
"firedev-storage": "16.100.
|
|
221
|
-
"firedev-type-sql": "16.100.
|
|
222
|
-
"firedev-typeorm": "16.100.
|
|
223
|
-
"firedev-ui": "16.100.
|
|
224
|
+
"firedev-crud": "16.100.9",
|
|
225
|
+
"firedev-crud-deamon": "16.100.9",
|
|
226
|
+
"firedev-ports": "16.100.9",
|
|
227
|
+
"firedev-storage": "16.100.5",
|
|
228
|
+
"firedev-type-sql": "16.100.6",
|
|
229
|
+
"firedev-typeorm": "16.100.5",
|
|
230
|
+
"firedev-ui": "16.100.8",
|
|
224
231
|
"fkill": "6.1.0",
|
|
225
232
|
"font-awesome": "4.7.0",
|
|
226
233
|
"form-data": "4.0.0",
|
|
@@ -238,11 +245,11 @@
|
|
|
238
245
|
"image-focus": "1.2.1",
|
|
239
246
|
"immer": "10.0.2",
|
|
240
247
|
"immutable": "4.3.0",
|
|
241
|
-
"incremental-compiler": "16.100.
|
|
248
|
+
"incremental-compiler": "16.100.10",
|
|
242
249
|
"inquirer": "7.3.3",
|
|
243
250
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
244
251
|
"is-elevated": "3.0.0",
|
|
245
|
-
"isomorphic-region-loader": "16.100.
|
|
252
|
+
"isomorphic-region-loader": "16.100.9",
|
|
246
253
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
247
254
|
"jest": "29.5.0",
|
|
248
255
|
"jest-date-mock": "1.0.8",
|
|
@@ -253,16 +260,16 @@
|
|
|
253
260
|
"joi": "17.9.2",
|
|
254
261
|
"jscodeshift": "0.6.3",
|
|
255
262
|
"json-stringify-safe": "5.0.1",
|
|
256
|
-
"json10-writer": "16.100.
|
|
263
|
+
"json10-writer": "16.100.10",
|
|
257
264
|
"json5-writer": "0.2.0",
|
|
258
265
|
"jszip": "3.10.1",
|
|
259
266
|
"karma-cli": "1.0.1",
|
|
260
267
|
"lnk": "1.0.1",
|
|
261
268
|
"localforage": "1.10.0",
|
|
262
269
|
"lockfile": "1.0.4",
|
|
263
|
-
"lodash-walk-object": "16.100.
|
|
270
|
+
"lodash-walk-object": "16.100.7",
|
|
264
271
|
"lowdb": "7.0.1",
|
|
265
|
-
"magic-renamer": "16.100.
|
|
272
|
+
"magic-renamer": "16.100.9",
|
|
266
273
|
"material-design-icons": "3.0.1",
|
|
267
274
|
"method-override": "2.3.10",
|
|
268
275
|
"minimist": "1.2.0",
|
|
@@ -273,9 +280,9 @@
|
|
|
273
280
|
"ng-in-viewport": "15.0.2",
|
|
274
281
|
"ng-lock": "16.0.1",
|
|
275
282
|
"ng-packagr": "16.0.1",
|
|
276
|
-
"ng-talkback": "16.100.
|
|
283
|
+
"ng-talkback": "16.100.5",
|
|
277
284
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
278
|
-
"ng2-rest": "16.100.
|
|
285
|
+
"ng2-rest": "16.100.6",
|
|
279
286
|
"ngx-ace-wrapper": "14.0.0",
|
|
280
287
|
"ngx-editor": "15.3.0",
|
|
281
288
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -288,7 +295,7 @@
|
|
|
288
295
|
"ngx-scrolltop": "6.0.0",
|
|
289
296
|
"ngx-store": "3.1.1",
|
|
290
297
|
"ngx-typed-js": "2.1.1",
|
|
291
|
-
"node-cli-tester": "16.100.
|
|
298
|
+
"node-cli-tester": "16.100.5",
|
|
292
299
|
"node-localstorage": "2.1.6",
|
|
293
300
|
"node-notifier": "6.0.0",
|
|
294
301
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -304,7 +311,8 @@
|
|
|
304
311
|
"path-to-regexp": "6.2.2",
|
|
305
312
|
"pica": "9.0.1",
|
|
306
313
|
"portfinder": "1.0.21",
|
|
307
|
-
"prettier": "3.
|
|
314
|
+
"prettier": "3.2.5",
|
|
315
|
+
"prettier-eslint": "16.3.0",
|
|
308
316
|
"pretty-error": "4.0.0",
|
|
309
317
|
"primeflex": "3.3.1",
|
|
310
318
|
"primeicons": "6.0.1",
|
|
@@ -316,7 +324,7 @@
|
|
|
316
324
|
"q": "1.5.1",
|
|
317
325
|
"rallax.js": "2.0.4",
|
|
318
326
|
"randomcolor": "0.5.3",
|
|
319
|
-
"record-replay-req-res-scenario": "16.100.
|
|
327
|
+
"record-replay-req-res-scenario": "16.100.5",
|
|
320
328
|
"reflect-metadata": "0.1.10",
|
|
321
329
|
"rimraf": "2.6.2",
|
|
322
330
|
"rxjs": "~7.8.0",
|
|
@@ -327,7 +335,7 @@
|
|
|
327
335
|
"socket.io": "2.4.1",
|
|
328
336
|
"sort-package-json": "1.11.0",
|
|
329
337
|
"sql.js": "1.8.0",
|
|
330
|
-
"static-columns": "16.100.
|
|
338
|
+
"static-columns": "16.100.5",
|
|
331
339
|
"string-similarity": "4.0.2",
|
|
332
340
|
"sudo-block": "3.0.0",
|
|
333
341
|
"supertest": "6.3.3",
|
|
@@ -335,12 +343,12 @@
|
|
|
335
343
|
"systeminformation": "3.45.7",
|
|
336
344
|
"task.js": "0.1.5",
|
|
337
345
|
"threads": "1.7.0",
|
|
338
|
-
"tnp-cli": "16.100.
|
|
339
|
-
"tnp-config": "16.100.
|
|
340
|
-
"tnp-core": "16.100.
|
|
341
|
-
"tnp-db": "16.100.
|
|
342
|
-
"tnp-helpers": "16.100.
|
|
343
|
-
"tnp-models": "16.100.
|
|
346
|
+
"tnp-cli": "16.100.5",
|
|
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",
|
|
344
352
|
"ts-debug": "1.3.0",
|
|
345
353
|
"ts-json-schema-generator": "2.1.1",
|
|
346
354
|
"ts-loader": "2.3.1",
|
|
@@ -349,13 +357,13 @@
|
|
|
349
357
|
"tslint": "5.9.1",
|
|
350
358
|
"turndown": "7.1.2",
|
|
351
359
|
"typescript": "~5.0.2",
|
|
352
|
-
"typescript-class-helpers": "~16.100.
|
|
360
|
+
"typescript-class-helpers": "~16.100.10",
|
|
353
361
|
"typescript-formatter": "~7.2.2",
|
|
354
362
|
"underscore": "1.9.1",
|
|
355
363
|
"uuid": "8.3.2",
|
|
356
364
|
"validator": "9.2.0",
|
|
357
365
|
"video.js": "8.3.0",
|
|
358
|
-
"vpn-split": "16.100.
|
|
366
|
+
"vpn-split": "16.100.5",
|
|
359
367
|
"watch": "1.0.2",
|
|
360
368
|
"webpack": "~5.80",
|
|
361
369
|
"webpack-dev-middleware": "~6.0.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,10 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.100.
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
59
|
-
},
|
|
56
|
+
"version": "16.100.7",
|
|
60
57
|
"bugs": {
|
|
61
58
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
62
59
|
},
|
|
@@ -79,14 +76,14 @@
|
|
|
79
76
|
"@types/lodash": "4.14.92",
|
|
80
77
|
"axios": "1.3.5",
|
|
81
78
|
"diff": "3.2.0",
|
|
82
|
-
"json10": "16.100.
|
|
79
|
+
"json10": "16.100.7",
|
|
83
80
|
"json5": "2.2.1",
|
|
84
81
|
"lodash": "4.17.20",
|
|
85
|
-
"ng2-logger": "16.100.
|
|
82
|
+
"ng2-logger": "16.100.10"
|
|
86
83
|
},
|
|
87
84
|
"license": "MIT",
|
|
88
85
|
"private": false,
|
|
89
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
90
87
|
"devDependencies": {},
|
|
91
88
|
"main": "dist/app.electron.js"
|
|
92
89
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -57,10 +57,7 @@
|
|
|
57
57
|
"workerPlugins": {}
|
|
58
58
|
},
|
|
59
59
|
"name": "ng2-rest",
|
|
60
|
-
"version": "16.100.
|
|
61
|
-
"scripts": {
|
|
62
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
63
|
-
},
|
|
60
|
+
"version": "16.100.7",
|
|
64
61
|
"bugs": {
|
|
65
62
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
66
63
|
},
|
|
@@ -83,18 +80,23 @@
|
|
|
83
80
|
"@types/lodash": "4.14.92",
|
|
84
81
|
"axios": "1.3.5",
|
|
85
82
|
"diff": "3.2.0",
|
|
86
|
-
"json10": "16.100.
|
|
83
|
+
"json10": "16.100.7",
|
|
87
84
|
"json5": "2.2.1",
|
|
88
85
|
"lodash": "4.17.20",
|
|
89
|
-
"ng2-logger": "16.100.
|
|
86
|
+
"ng2-logger": "16.100.10"
|
|
90
87
|
},
|
|
91
88
|
"license": "MIT",
|
|
92
89
|
"private": false,
|
|
93
|
-
"lastBuildTagHash": "
|
|
90
|
+
"lastBuildTagHash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf",
|
|
94
91
|
"devDependencies": {
|
|
95
92
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
96
93
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
97
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",
|
|
98
100
|
"@angular-material-extensions/password-strength": "~12.1.0",
|
|
99
101
|
"@angular/animations": "~16.0.0",
|
|
100
102
|
"@angular/cdk": "~16.0.3",
|
|
@@ -112,9 +114,6 @@
|
|
|
112
114
|
"@angular/router": "~16.0.0",
|
|
113
115
|
"@angular/service-worker": "~16.0.4",
|
|
114
116
|
"@babel/cli": "7.18.6",
|
|
115
|
-
"@commitlint/cli": "12.1.1",
|
|
116
|
-
"@commitlint/config-conventional": "12.1.1",
|
|
117
|
-
"@commitlint/prompt-cli": "12.1.1",
|
|
118
117
|
"@compodoc/compodoc": "1.1.20",
|
|
119
118
|
"@iconify/icons-fa-solid": "1.2.2",
|
|
120
119
|
"@iconify/icons-mdi": "1.2.1",
|
|
@@ -136,6 +135,7 @@
|
|
|
136
135
|
"@ngx-formly/material": "6.1.8",
|
|
137
136
|
"@ngx-translate/core": "15.0.0",
|
|
138
137
|
"@ngx-translate/http-loader": "8.0.0",
|
|
138
|
+
"@sqltools/formatter": "1.2.2",
|
|
139
139
|
"@sweetalert2/ngx-sweetalert2": "12.1.0",
|
|
140
140
|
"@testdeck/jest": "0.3.3",
|
|
141
141
|
"@testdeck/mocha": "0.3.3",
|
|
@@ -164,14 +164,17 @@
|
|
|
164
164
|
"@types/systeminformation": "3.23.0",
|
|
165
165
|
"@types/vinyl": "2.0.2",
|
|
166
166
|
"@types/watch": "1.0.0",
|
|
167
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
168
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
167
169
|
"@vercel/ncc": "0.38.1",
|
|
168
170
|
"accepts": "1.3.4",
|
|
169
171
|
"ajv": "8.12.0",
|
|
170
172
|
"angular-material-css-vars": "5.0.2",
|
|
171
173
|
"angular-resize-event": "3.2.0",
|
|
172
174
|
"animate.css": "4.1.1 ",
|
|
173
|
-
"any-project-cli": "16.100.
|
|
174
|
-
"
|
|
175
|
+
"any-project-cli": "16.100.10",
|
|
176
|
+
"app-root-path": "3.0.0",
|
|
177
|
+
"background-worker-process": "16.100.10",
|
|
175
178
|
"base32": "0.0.7",
|
|
176
179
|
"bcryptjs": "2.4.3",
|
|
177
180
|
"better-sqlite3": "9.5.0",
|
|
@@ -187,6 +190,7 @@
|
|
|
187
190
|
"circular-json": "0.5.1",
|
|
188
191
|
"class-transformer": "0.5.1",
|
|
189
192
|
"class-validator": "0.14.0",
|
|
193
|
+
"cli-highlight": "2.1.11",
|
|
190
194
|
"command-exists": "1.2.2",
|
|
191
195
|
"compression": "1.7.4",
|
|
192
196
|
"concurrently": "3.5.1",
|
|
@@ -207,10 +211,13 @@
|
|
|
207
211
|
"enquirer": "2.3.0",
|
|
208
212
|
"enum-values": "1.2.1",
|
|
209
213
|
"errorhandler": "1.5.0",
|
|
210
|
-
"eslint": "
|
|
211
|
-
"eslint-
|
|
212
|
-
"eslint-plugin-
|
|
213
|
-
"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",
|
|
214
221
|
"express": "4.16.3",
|
|
215
222
|
"express-fileupload": "1.4.0",
|
|
216
223
|
"express-session": "1.17.3",
|
|
@@ -218,13 +225,13 @@
|
|
|
218
225
|
"file-saver": "2.0.5",
|
|
219
226
|
"file-type": "18.5.0",
|
|
220
227
|
"firedev": "^16",
|
|
221
|
-
"firedev-crud": "16.100.
|
|
222
|
-
"firedev-crud-deamon": "16.100.
|
|
223
|
-
"firedev-ports": "16.100.
|
|
224
|
-
"firedev-storage": "16.100.
|
|
225
|
-
"firedev-type-sql": "16.100.
|
|
226
|
-
"firedev-typeorm": "16.100.
|
|
227
|
-
"firedev-ui": "16.100.
|
|
228
|
+
"firedev-crud": "16.100.9",
|
|
229
|
+
"firedev-crud-deamon": "16.100.9",
|
|
230
|
+
"firedev-ports": "16.100.9",
|
|
231
|
+
"firedev-storage": "16.100.5",
|
|
232
|
+
"firedev-type-sql": "16.100.6",
|
|
233
|
+
"firedev-typeorm": "16.100.5",
|
|
234
|
+
"firedev-ui": "16.100.8",
|
|
228
235
|
"fkill": "6.1.0",
|
|
229
236
|
"font-awesome": "4.7.0",
|
|
230
237
|
"form-data": "4.0.0",
|
|
@@ -242,11 +249,11 @@
|
|
|
242
249
|
"image-focus": "1.2.1",
|
|
243
250
|
"immer": "10.0.2",
|
|
244
251
|
"immutable": "4.3.0",
|
|
245
|
-
"incremental-compiler": "16.100.
|
|
252
|
+
"incremental-compiler": "16.100.10",
|
|
246
253
|
"inquirer": "7.3.3",
|
|
247
254
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
248
255
|
"is-elevated": "3.0.0",
|
|
249
|
-
"isomorphic-region-loader": "16.100.
|
|
256
|
+
"isomorphic-region-loader": "16.100.9",
|
|
250
257
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
251
258
|
"jest": "29.5.0",
|
|
252
259
|
"jest-date-mock": "1.0.8",
|
|
@@ -257,16 +264,16 @@
|
|
|
257
264
|
"joi": "17.9.2",
|
|
258
265
|
"jscodeshift": "0.6.3",
|
|
259
266
|
"json-stringify-safe": "5.0.1",
|
|
260
|
-
"json10-writer": "16.100.
|
|
267
|
+
"json10-writer": "16.100.10",
|
|
261
268
|
"json5-writer": "0.2.0",
|
|
262
269
|
"jszip": "3.10.1",
|
|
263
270
|
"karma-cli": "1.0.1",
|
|
264
271
|
"lnk": "1.0.1",
|
|
265
272
|
"localforage": "1.10.0",
|
|
266
273
|
"lockfile": "1.0.4",
|
|
267
|
-
"lodash-walk-object": "16.100.
|
|
274
|
+
"lodash-walk-object": "16.100.7",
|
|
268
275
|
"lowdb": "7.0.1",
|
|
269
|
-
"magic-renamer": "16.100.
|
|
276
|
+
"magic-renamer": "16.100.9",
|
|
270
277
|
"material-design-icons": "3.0.1",
|
|
271
278
|
"method-override": "2.3.10",
|
|
272
279
|
"minimist": "1.2.0",
|
|
@@ -277,9 +284,9 @@
|
|
|
277
284
|
"ng-in-viewport": "15.0.2",
|
|
278
285
|
"ng-lock": "16.0.1",
|
|
279
286
|
"ng-packagr": "16.0.1",
|
|
280
|
-
"ng-talkback": "16.100.
|
|
287
|
+
"ng-talkback": "16.100.5",
|
|
281
288
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
282
|
-
"ng2-rest": "16.100.
|
|
289
|
+
"ng2-rest": "16.100.6",
|
|
283
290
|
"ngx-ace-wrapper": "14.0.0",
|
|
284
291
|
"ngx-editor": "15.3.0",
|
|
285
292
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -292,7 +299,7 @@
|
|
|
292
299
|
"ngx-scrolltop": "6.0.0",
|
|
293
300
|
"ngx-store": "3.1.1",
|
|
294
301
|
"ngx-typed-js": "2.1.1",
|
|
295
|
-
"node-cli-tester": "16.100.
|
|
302
|
+
"node-cli-tester": "16.100.5",
|
|
296
303
|
"node-localstorage": "2.1.6",
|
|
297
304
|
"node-notifier": "6.0.0",
|
|
298
305
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -308,7 +315,8 @@
|
|
|
308
315
|
"path-to-regexp": "6.2.2",
|
|
309
316
|
"pica": "9.0.1",
|
|
310
317
|
"portfinder": "1.0.21",
|
|
311
|
-
"prettier": "3.
|
|
318
|
+
"prettier": "3.2.5",
|
|
319
|
+
"prettier-eslint": "16.3.0",
|
|
312
320
|
"pretty-error": "4.0.0",
|
|
313
321
|
"primeflex": "3.3.1",
|
|
314
322
|
"primeicons": "6.0.1",
|
|
@@ -320,7 +328,7 @@
|
|
|
320
328
|
"q": "1.5.1",
|
|
321
329
|
"rallax.js": "2.0.4",
|
|
322
330
|
"randomcolor": "0.5.3",
|
|
323
|
-
"record-replay-req-res-scenario": "16.100.
|
|
331
|
+
"record-replay-req-res-scenario": "16.100.5",
|
|
324
332
|
"reflect-metadata": "0.1.10",
|
|
325
333
|
"rimraf": "2.6.2",
|
|
326
334
|
"rxjs": "~7.8.0",
|
|
@@ -331,7 +339,7 @@
|
|
|
331
339
|
"socket.io": "2.4.1",
|
|
332
340
|
"sort-package-json": "1.11.0",
|
|
333
341
|
"sql.js": "1.8.0",
|
|
334
|
-
"static-columns": "16.100.
|
|
342
|
+
"static-columns": "16.100.5",
|
|
335
343
|
"string-similarity": "4.0.2",
|
|
336
344
|
"sudo-block": "3.0.0",
|
|
337
345
|
"supertest": "6.3.3",
|
|
@@ -339,12 +347,12 @@
|
|
|
339
347
|
"systeminformation": "3.45.7",
|
|
340
348
|
"task.js": "0.1.5",
|
|
341
349
|
"threads": "1.7.0",
|
|
342
|
-
"tnp-cli": "16.100.
|
|
343
|
-
"tnp-config": "16.100.
|
|
344
|
-
"tnp-core": "16.100.
|
|
345
|
-
"tnp-db": "16.100.
|
|
346
|
-
"tnp-helpers": "16.100.
|
|
347
|
-
"tnp-models": "16.100.
|
|
350
|
+
"tnp-cli": "16.100.5",
|
|
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",
|
|
348
356
|
"ts-debug": "1.3.0",
|
|
349
357
|
"ts-json-schema-generator": "2.1.1",
|
|
350
358
|
"ts-loader": "2.3.1",
|
|
@@ -353,13 +361,13 @@
|
|
|
353
361
|
"tslint": "5.9.1",
|
|
354
362
|
"turndown": "7.1.2",
|
|
355
363
|
"typescript": "~5.0.2",
|
|
356
|
-
"typescript-class-helpers": "~16.100.
|
|
364
|
+
"typescript-class-helpers": "~16.100.10",
|
|
357
365
|
"typescript-formatter": "~7.2.2",
|
|
358
366
|
"underscore": "1.9.1",
|
|
359
367
|
"uuid": "8.3.2",
|
|
360
368
|
"validator": "9.2.0",
|
|
361
369
|
"video.js": "8.3.0",
|
|
362
|
-
"vpn-split": "16.100.
|
|
370
|
+
"vpn-split": "16.100.5",
|
|
363
371
|
"watch": "1.0.2",
|
|
364
372
|
"webpack": "~5.80",
|
|
365
373
|
"webpack-dev-middleware": "~6.0.2",
|
|
@@ -370,14 +378,14 @@
|
|
|
370
378
|
"main": "dist/app.electron.js"
|
|
371
379
|
},
|
|
372
380
|
"build": {
|
|
373
|
-
"number":
|
|
374
|
-
"date": "2024-05-
|
|
375
|
-
"hash": "
|
|
381
|
+
"number": 915,
|
|
382
|
+
"date": "2024-05-27T07:09:44.000Z",
|
|
383
|
+
"hash": "5df25f4c72dee86e51007c1b9a056efeb47add2f"
|
|
376
384
|
},
|
|
377
385
|
"currentProjectName": "ng2-rest",
|
|
378
386
|
"currentProjectGenericName": "ng2-rest",
|
|
379
387
|
"currentProjectType": "isomorphic-lib",
|
|
380
|
-
"currentFrameworkVersion": "16.100.
|
|
388
|
+
"currentFrameworkVersion": "16.100.21",
|
|
381
389
|
"isStandaloneProject": true,
|
|
382
390
|
"isSmartContainer": false,
|
|
383
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.
|