ng2-rest 16.100.7 → 16.444.1
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 +29 -26
- package/firedev.jsonc +44 -44
- package/package.json +5 -5
- package/tmp-environment.json +33 -30
- 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.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (ng2-rest@16.444.1)
|
|
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
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"smartContainerTarget": "",
|
|
36
36
|
"type": "isomorphic-lib",
|
|
37
|
-
"version": "
|
|
37
|
+
"version": "v16",
|
|
38
38
|
"additionalNpmNames": [
|
|
39
39
|
"firedev-rest"
|
|
40
40
|
],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.
|
|
56
|
+
"version": "16.444.1",
|
|
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.
|
|
79
|
+
"json10": "16.444.1",
|
|
80
80
|
"json5": "2.2.1",
|
|
81
81
|
"lodash": "4.17.20",
|
|
82
|
-
"ng2-logger": "16.
|
|
82
|
+
"ng2-logger": "16.444.2"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"private": false,
|
|
86
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "5df25f4c72dee86e51007c1b9a056efeb47add2f",
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
89
89
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"angular-material-css-vars": "5.0.2",
|
|
169
169
|
"angular-resize-event": "3.2.0",
|
|
170
170
|
"animate.css": "4.1.1 ",
|
|
171
|
-
"any-project-cli": "16.
|
|
171
|
+
"any-project-cli": "16.444.1",
|
|
172
172
|
"app-root-path": "3.0.0",
|
|
173
173
|
"background-worker-process": "16.100.10",
|
|
174
174
|
"base32": "0.0.7",
|
|
@@ -196,6 +196,7 @@
|
|
|
196
196
|
"copy-paste": "1.5.3",
|
|
197
197
|
"cors": "2.8.4",
|
|
198
198
|
"cpr": "3.0.1",
|
|
199
|
+
"cross-env": "7.0.2",
|
|
199
200
|
"cross-spawn": "7.0.3",
|
|
200
201
|
"dateformat": "3.0.3",
|
|
201
202
|
"detect-mocha": "0.1.0",
|
|
@@ -221,13 +222,13 @@
|
|
|
221
222
|
"file-saver": "2.0.5",
|
|
222
223
|
"file-type": "18.5.0",
|
|
223
224
|
"firedev": "^16",
|
|
224
|
-
"firedev-crud": "16.100.
|
|
225
|
-
"firedev-crud-deamon": "16.
|
|
226
|
-
"firedev-ports": "16.100.
|
|
227
|
-
"firedev-storage": "16.100.
|
|
228
|
-
"firedev-type-sql": "16.100.
|
|
229
|
-
"firedev-typeorm": "16.100.
|
|
230
|
-
"firedev-ui": "16.100.
|
|
225
|
+
"firedev-crud": "16.100.10",
|
|
226
|
+
"firedev-crud-deamon": "16.444.1",
|
|
227
|
+
"firedev-ports": "16.100.10",
|
|
228
|
+
"firedev-storage": "16.100.6",
|
|
229
|
+
"firedev-type-sql": "16.100.7",
|
|
230
|
+
"firedev-typeorm": "16.100.7",
|
|
231
|
+
"firedev-ui": "16.100.10",
|
|
231
232
|
"fkill": "6.1.0",
|
|
232
233
|
"font-awesome": "4.7.0",
|
|
233
234
|
"form-data": "4.0.0",
|
|
@@ -245,11 +246,11 @@
|
|
|
245
246
|
"image-focus": "1.2.1",
|
|
246
247
|
"immer": "10.0.2",
|
|
247
248
|
"immutable": "4.3.0",
|
|
248
|
-
"incremental-compiler": "16.
|
|
249
|
+
"incremental-compiler": "16.444.2",
|
|
249
250
|
"inquirer": "7.3.3",
|
|
250
251
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
251
252
|
"is-elevated": "3.0.0",
|
|
252
|
-
"isomorphic-region-loader": "16.
|
|
253
|
+
"isomorphic-region-loader": "16.444.1",
|
|
253
254
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
254
255
|
"jest": "29.5.0",
|
|
255
256
|
"jest-date-mock": "1.0.8",
|
|
@@ -260,16 +261,16 @@
|
|
|
260
261
|
"joi": "17.9.2",
|
|
261
262
|
"jscodeshift": "0.6.3",
|
|
262
263
|
"json-stringify-safe": "5.0.1",
|
|
263
|
-
"json10-writer": "16.
|
|
264
|
+
"json10-writer": "16.444.2",
|
|
264
265
|
"json5-writer": "0.2.0",
|
|
265
266
|
"jszip": "3.10.1",
|
|
266
267
|
"karma-cli": "1.0.1",
|
|
267
268
|
"lnk": "1.0.1",
|
|
268
269
|
"localforage": "1.10.0",
|
|
269
270
|
"lockfile": "1.0.4",
|
|
270
|
-
"lodash-walk-object": "16.
|
|
271
|
+
"lodash-walk-object": "16.444.1",
|
|
271
272
|
"lowdb": "7.0.1",
|
|
272
|
-
"magic-renamer": "16.
|
|
273
|
+
"magic-renamer": "16.444.1",
|
|
273
274
|
"material-design-icons": "3.0.1",
|
|
274
275
|
"method-override": "2.3.10",
|
|
275
276
|
"minimist": "1.2.0",
|
|
@@ -282,7 +283,7 @@
|
|
|
282
283
|
"ng-packagr": "16.0.1",
|
|
283
284
|
"ng-talkback": "16.100.5",
|
|
284
285
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
285
|
-
"ng2-rest": "16.100.
|
|
286
|
+
"ng2-rest": "16.100.7",
|
|
286
287
|
"ngx-ace-wrapper": "14.0.0",
|
|
287
288
|
"ngx-editor": "15.3.0",
|
|
288
289
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -335,7 +336,7 @@
|
|
|
335
336
|
"socket.io": "2.4.1",
|
|
336
337
|
"sort-package-json": "1.11.0",
|
|
337
338
|
"sql.js": "1.8.0",
|
|
338
|
-
"static-columns": "16.100.
|
|
339
|
+
"static-columns": "16.100.6",
|
|
339
340
|
"string-similarity": "4.0.2",
|
|
340
341
|
"sudo-block": "3.0.0",
|
|
341
342
|
"supertest": "6.3.3",
|
|
@@ -344,11 +345,11 @@
|
|
|
344
345
|
"task.js": "0.1.5",
|
|
345
346
|
"threads": "1.7.0",
|
|
346
347
|
"tnp-cli": "16.100.5",
|
|
347
|
-
"tnp-config": "16.
|
|
348
|
-
"tnp-core": "16.
|
|
349
|
-
"tnp-db": "16.
|
|
350
|
-
"tnp-helpers": "16.
|
|
351
|
-
"tnp-models": "16.
|
|
348
|
+
"tnp-config": "16.444.2",
|
|
349
|
+
"tnp-core": "16.444.2",
|
|
350
|
+
"tnp-db": "16.444.1",
|
|
351
|
+
"tnp-helpers": "16.444.2",
|
|
352
|
+
"tnp-models": "16.444.2",
|
|
352
353
|
"ts-debug": "1.3.0",
|
|
353
354
|
"ts-json-schema-generator": "2.1.1",
|
|
354
355
|
"ts-loader": "2.3.1",
|
|
@@ -357,13 +358,15 @@
|
|
|
357
358
|
"tslint": "5.9.1",
|
|
358
359
|
"turndown": "7.1.2",
|
|
359
360
|
"typescript": "~5.0.2",
|
|
360
|
-
"typescript-class-helpers": "~16.
|
|
361
|
+
"typescript-class-helpers": "~16.444.2",
|
|
361
362
|
"typescript-formatter": "~7.2.2",
|
|
362
363
|
"underscore": "1.9.1",
|
|
363
364
|
"uuid": "8.3.2",
|
|
364
365
|
"validator": "9.2.0",
|
|
365
366
|
"video.js": "8.3.0",
|
|
366
367
|
"vpn-split": "16.100.5",
|
|
368
|
+
"vscode": "1.1.37",
|
|
369
|
+
"wait-on": "7.0.1",
|
|
367
370
|
"watch": "1.0.2",
|
|
368
371
|
"webpack": "~5.80",
|
|
369
372
|
"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": "
|
|
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": "v16",
|
|
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/package.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"smartContainerTarget": "",
|
|
36
36
|
"type": "isomorphic-lib",
|
|
37
|
-
"version": "
|
|
37
|
+
"version": "v16",
|
|
38
38
|
"additionalNpmNames": [
|
|
39
39
|
"firedev-rest"
|
|
40
40
|
],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "16.
|
|
56
|
+
"version": "16.444.1",
|
|
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.
|
|
79
|
+
"json10": "16.444.1",
|
|
80
80
|
"json5": "2.2.1",
|
|
81
81
|
"lodash": "4.17.20",
|
|
82
|
-
"ng2-logger": "16.
|
|
82
|
+
"ng2-logger": "16.444.2"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"private": false,
|
|
86
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "5df25f4c72dee86e51007c1b9a056efeb47add2f",
|
|
87
87
|
"devDependencies": {},
|
|
88
88
|
"main": "dist/app.electron.js"
|
|
89
89
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"smartContainerTarget": "",
|
|
40
40
|
"type": "isomorphic-lib",
|
|
41
|
-
"version": "
|
|
41
|
+
"version": "v16",
|
|
42
42
|
"additionalNpmNames": [
|
|
43
43
|
"firedev-rest"
|
|
44
44
|
],
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"workerPlugins": {}
|
|
58
58
|
},
|
|
59
59
|
"name": "ng2-rest",
|
|
60
|
-
"version": "16.
|
|
60
|
+
"version": "16.444.1",
|
|
61
61
|
"bugs": {
|
|
62
62
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
63
63
|
},
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"@types/lodash": "4.14.92",
|
|
81
81
|
"axios": "1.3.5",
|
|
82
82
|
"diff": "3.2.0",
|
|
83
|
-
"json10": "16.
|
|
83
|
+
"json10": "16.444.1",
|
|
84
84
|
"json5": "2.2.1",
|
|
85
85
|
"lodash": "4.17.20",
|
|
86
|
-
"ng2-logger": "16.
|
|
86
|
+
"ng2-logger": "16.444.2"
|
|
87
87
|
},
|
|
88
88
|
"license": "MIT",
|
|
89
89
|
"private": false,
|
|
90
|
-
"lastBuildTagHash": "
|
|
90
|
+
"lastBuildTagHash": "5df25f4c72dee86e51007c1b9a056efeb47add2f",
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
93
93
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"angular-material-css-vars": "5.0.2",
|
|
173
173
|
"angular-resize-event": "3.2.0",
|
|
174
174
|
"animate.css": "4.1.1 ",
|
|
175
|
-
"any-project-cli": "16.
|
|
175
|
+
"any-project-cli": "16.444.1",
|
|
176
176
|
"app-root-path": "3.0.0",
|
|
177
177
|
"background-worker-process": "16.100.10",
|
|
178
178
|
"base32": "0.0.7",
|
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
"copy-paste": "1.5.3",
|
|
201
201
|
"cors": "2.8.4",
|
|
202
202
|
"cpr": "3.0.1",
|
|
203
|
+
"cross-env": "7.0.2",
|
|
203
204
|
"cross-spawn": "7.0.3",
|
|
204
205
|
"dateformat": "3.0.3",
|
|
205
206
|
"detect-mocha": "0.1.0",
|
|
@@ -225,13 +226,13 @@
|
|
|
225
226
|
"file-saver": "2.0.5",
|
|
226
227
|
"file-type": "18.5.0",
|
|
227
228
|
"firedev": "^16",
|
|
228
|
-
"firedev-crud": "16.100.
|
|
229
|
-
"firedev-crud-deamon": "16.
|
|
230
|
-
"firedev-ports": "16.100.
|
|
231
|
-
"firedev-storage": "16.100.
|
|
232
|
-
"firedev-type-sql": "16.100.
|
|
233
|
-
"firedev-typeorm": "16.100.
|
|
234
|
-
"firedev-ui": "16.100.
|
|
229
|
+
"firedev-crud": "16.100.10",
|
|
230
|
+
"firedev-crud-deamon": "16.444.1",
|
|
231
|
+
"firedev-ports": "16.100.10",
|
|
232
|
+
"firedev-storage": "16.100.6",
|
|
233
|
+
"firedev-type-sql": "16.100.7",
|
|
234
|
+
"firedev-typeorm": "16.100.7",
|
|
235
|
+
"firedev-ui": "16.100.10",
|
|
235
236
|
"fkill": "6.1.0",
|
|
236
237
|
"font-awesome": "4.7.0",
|
|
237
238
|
"form-data": "4.0.0",
|
|
@@ -249,11 +250,11 @@
|
|
|
249
250
|
"image-focus": "1.2.1",
|
|
250
251
|
"immer": "10.0.2",
|
|
251
252
|
"immutable": "4.3.0",
|
|
252
|
-
"incremental-compiler": "16.
|
|
253
|
+
"incremental-compiler": "16.444.2",
|
|
253
254
|
"inquirer": "7.3.3",
|
|
254
255
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
255
256
|
"is-elevated": "3.0.0",
|
|
256
|
-
"isomorphic-region-loader": "16.
|
|
257
|
+
"isomorphic-region-loader": "16.444.1",
|
|
257
258
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
258
259
|
"jest": "29.5.0",
|
|
259
260
|
"jest-date-mock": "1.0.8",
|
|
@@ -264,16 +265,16 @@
|
|
|
264
265
|
"joi": "17.9.2",
|
|
265
266
|
"jscodeshift": "0.6.3",
|
|
266
267
|
"json-stringify-safe": "5.0.1",
|
|
267
|
-
"json10-writer": "16.
|
|
268
|
+
"json10-writer": "16.444.2",
|
|
268
269
|
"json5-writer": "0.2.0",
|
|
269
270
|
"jszip": "3.10.1",
|
|
270
271
|
"karma-cli": "1.0.1",
|
|
271
272
|
"lnk": "1.0.1",
|
|
272
273
|
"localforage": "1.10.0",
|
|
273
274
|
"lockfile": "1.0.4",
|
|
274
|
-
"lodash-walk-object": "16.
|
|
275
|
+
"lodash-walk-object": "16.444.1",
|
|
275
276
|
"lowdb": "7.0.1",
|
|
276
|
-
"magic-renamer": "16.
|
|
277
|
+
"magic-renamer": "16.444.1",
|
|
277
278
|
"material-design-icons": "3.0.1",
|
|
278
279
|
"method-override": "2.3.10",
|
|
279
280
|
"minimist": "1.2.0",
|
|
@@ -286,7 +287,7 @@
|
|
|
286
287
|
"ng-packagr": "16.0.1",
|
|
287
288
|
"ng-talkback": "16.100.5",
|
|
288
289
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
289
|
-
"ng2-rest": "16.100.
|
|
290
|
+
"ng2-rest": "16.100.7",
|
|
290
291
|
"ngx-ace-wrapper": "14.0.0",
|
|
291
292
|
"ngx-editor": "15.3.0",
|
|
292
293
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -339,7 +340,7 @@
|
|
|
339
340
|
"socket.io": "2.4.1",
|
|
340
341
|
"sort-package-json": "1.11.0",
|
|
341
342
|
"sql.js": "1.8.0",
|
|
342
|
-
"static-columns": "16.100.
|
|
343
|
+
"static-columns": "16.100.6",
|
|
343
344
|
"string-similarity": "4.0.2",
|
|
344
345
|
"sudo-block": "3.0.0",
|
|
345
346
|
"supertest": "6.3.3",
|
|
@@ -348,11 +349,11 @@
|
|
|
348
349
|
"task.js": "0.1.5",
|
|
349
350
|
"threads": "1.7.0",
|
|
350
351
|
"tnp-cli": "16.100.5",
|
|
351
|
-
"tnp-config": "16.
|
|
352
|
-
"tnp-core": "16.
|
|
353
|
-
"tnp-db": "16.
|
|
354
|
-
"tnp-helpers": "16.
|
|
355
|
-
"tnp-models": "16.
|
|
352
|
+
"tnp-config": "16.444.2",
|
|
353
|
+
"tnp-core": "16.444.2",
|
|
354
|
+
"tnp-db": "16.444.1",
|
|
355
|
+
"tnp-helpers": "16.444.2",
|
|
356
|
+
"tnp-models": "16.444.2",
|
|
356
357
|
"ts-debug": "1.3.0",
|
|
357
358
|
"ts-json-schema-generator": "2.1.1",
|
|
358
359
|
"ts-loader": "2.3.1",
|
|
@@ -361,13 +362,15 @@
|
|
|
361
362
|
"tslint": "5.9.1",
|
|
362
363
|
"turndown": "7.1.2",
|
|
363
364
|
"typescript": "~5.0.2",
|
|
364
|
-
"typescript-class-helpers": "~16.
|
|
365
|
+
"typescript-class-helpers": "~16.444.2",
|
|
365
366
|
"typescript-formatter": "~7.2.2",
|
|
366
367
|
"underscore": "1.9.1",
|
|
367
368
|
"uuid": "8.3.2",
|
|
368
369
|
"validator": "9.2.0",
|
|
369
370
|
"video.js": "8.3.0",
|
|
370
371
|
"vpn-split": "16.100.5",
|
|
372
|
+
"vscode": "1.1.37",
|
|
373
|
+
"wait-on": "7.0.1",
|
|
371
374
|
"watch": "1.0.2",
|
|
372
375
|
"webpack": "~5.80",
|
|
373
376
|
"webpack-dev-middleware": "~6.0.2",
|
|
@@ -378,14 +381,14 @@
|
|
|
378
381
|
"main": "dist/app.electron.js"
|
|
379
382
|
},
|
|
380
383
|
"build": {
|
|
381
|
-
"number":
|
|
382
|
-
"date": "2024-
|
|
383
|
-
"hash": "
|
|
384
|
+
"number": 917,
|
|
385
|
+
"date": "2024-06-05T11:27:49.000Z",
|
|
386
|
+
"hash": "e46d5df5bf0858efb7817656f48bb71572108f73"
|
|
384
387
|
},
|
|
385
388
|
"currentProjectName": "ng2-rest",
|
|
386
389
|
"currentProjectGenericName": "ng2-rest",
|
|
387
390
|
"currentProjectType": "isomorphic-lib",
|
|
388
|
-
"currentFrameworkVersion": "16.
|
|
391
|
+
"currentFrameworkVersion": "16.444.1",
|
|
389
392
|
"isStandaloneProject": true,
|
|
390
393
|
"isSmartContainer": false,
|
|
391
394
|
"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.
|