@rxap/open-api 16.0.0-dev.14 → 16.0.0-dev.15
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/esm2022/data-source/lib/open-api-data-source.loader.mjs +3 -3
- package/esm2022/data-source/lib/open-api.data-source.mjs +3 -3
- package/esm2022/data-source/table/lib/open-api-table.data-source.mjs +3 -3
- package/esm2022/data-source/table/lib/to-open-api-table-data-source.pipe.mjs +7 -7
- package/esm2022/lib/open-api-config.service.mjs +3 -3
- package/esm2022/remote-method/lib/open-api-remote-method.loader.mjs +3 -3
- package/esm2022/remote-method/lib/open-api.remote-method.mjs +3 -3
- package/fesm2022/rxap-open-api-data-source-table.mjs +10 -10
- package/fesm2022/rxap-open-api-data-source.mjs +6 -6
- package/fesm2022/rxap-open-api-remote-method.mjs +6 -6
- package/fesm2022/rxap-open-api.mjs +3 -3
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.0.0-dev.15](https://gitlab.com/rxap/packages/compare/@rxap/open-api@16.0.0-dev.14...@rxap/open-api@16.0.0-dev.15) (2023-09-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/open-api
|
|
9
|
+
|
|
6
10
|
# [16.0.0-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/open-api@16.0.0-dev.13...@rxap/open-api@16.0.0-dev.14) (2023-09-03)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @rxap/open-api
|
package/README.md
CHANGED
|
@@ -18,5 +18,5 @@ yarn add @rxap/open-api
|
|
|
18
18
|
```
|
|
19
19
|
**Install peer dependencies:**
|
|
20
20
|
```bash
|
|
21
|
-
yarn add @angular/common@^16.1.4 @angular/core@^16.1.4 @rxap/config@^16.0.0-dev.
|
|
21
|
+
yarn add @angular/common@^16.1.4 @angular/core@^16.1.4 @rxap/config@^16.0.0-dev.12 @rxap/data-source@^16.0.0-dev.13 @rxap/mixin@^16.0.0-dev.11 @rxap/remote-method@^16.0.0-dev.12 @rxap/rxjs@^1.0.1-dev.7 @rxap/utilities@^16.0.0-dev.15 rxjs@^7.8.0
|
|
22
22
|
```
|
|
@@ -20,10 +20,10 @@ export class OpenApiDataSourceLoader {
|
|
|
20
20
|
}
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
24
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, deps: [{ token: OpenApiConfigService }, { token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, providedIn: 'root' }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, decorators: [{
|
|
27
27
|
type: Injectable,
|
|
28
28
|
args: [{ providedIn: 'root' }]
|
|
29
29
|
}], ctorParameters: function () { return [{ type: i1.OpenApiConfigService, decorators: [{
|
|
@@ -109,15 +109,15 @@ export let OpenApiDataSource = class OpenApiDataSource extends BaseHttpDataSourc
|
|
|
109
109
|
}));
|
|
110
110
|
}), map((event) => event.body), isDefined(), take(1), timeout(this.timeout));
|
|
111
111
|
}
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
113
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource, deps: [{ token: HttpClient }, { token: OpenApiConfigService }, { token: DEFAULT_OPEN_API_DATA_SOURCE_META_DATA, optional: true }, { token: RXAP_DATA_SOURCE_REFRESH, optional: true }, { token: RXAP_OPEN_API_STRICT_VALIDATOR, optional: true }, { token: DISABLE_SCHEMA_VALIDATION, optional: true }, { token: DISABLE_VALIDATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
113
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource }); }
|
|
114
114
|
};
|
|
115
115
|
OpenApiDataSource = OpenApiDataSource_1 = __decorate([
|
|
116
116
|
Mixin(SchemaValidationMixin),
|
|
117
117
|
__metadata("design:paramtypes", [HttpClient,
|
|
118
118
|
OpenApiConfigService, Object, Object, Object, Object, Object])
|
|
119
119
|
], OpenApiDataSource);
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource, decorators: [{
|
|
121
121
|
type: Injectable
|
|
122
122
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
123
123
|
type: Inject,
|
|
@@ -84,10 +84,10 @@ export class OpenApiTableDataSource extends AbstractTableDataSource {
|
|
|
84
84
|
() => this.dataSource.disconnect(viewer),
|
|
85
85
|
];
|
|
86
86
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
88
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource, deps: [{ token: RXAP_TABLE_DATA_SOURCE }, { token: RXAP_TABLE_DATA_SOURCE_PAGINATOR, optional: true }, { token: RXAP_OPEN_API_TABLE_DATA_SOURCE_TO_PARAMETERS_FUNCTION, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_SORT, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_FILTER, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_PARAMETERS, optional: true }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
88
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource }); }
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource, decorators: [{
|
|
91
91
|
type: Injectable
|
|
92
92
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
93
93
|
type: Inject,
|
|
@@ -5,21 +5,21 @@ export class ToOpenApiTableDataSourcePipe {
|
|
|
5
5
|
transform(dataSource, paginator, tableEventToOpenApiParameters, sort, filter) {
|
|
6
6
|
return new OpenApiTableDataSource(dataSource, paginator, tableEventToOpenApiParameters, sort, filter);
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, name: "toOpenApiTableDataSource" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'toOpenApiTableDataSource',
|
|
15
15
|
}]
|
|
16
16
|
}] });
|
|
17
17
|
export class ToOpenApiTableDataSourcePipeModule {
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
19
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
20
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
19
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, declarations: [ToOpenApiTableDataSourcePipe], exports: [ToOpenApiTableDataSourcePipe] }); }
|
|
20
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, decorators: [{
|
|
23
23
|
type: NgModule,
|
|
24
24
|
args: [{
|
|
25
25
|
exports: [ToOpenApiTableDataSourcePipe],
|
|
@@ -154,10 +154,10 @@ export class OpenApiConfigService {
|
|
|
154
154
|
insertServer(serverConfig, index = this.defaultServerIndex, serverId) {
|
|
155
155
|
OpenApiConfigService.InsertServer(serverConfig, index, serverId, this.config);
|
|
156
156
|
}
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
158
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, deps: [{ token: RXAP_OPEN_API_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
158
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, providedIn: 'root' }); }
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, decorators: [{
|
|
161
161
|
type: Injectable,
|
|
162
162
|
args: [{ providedIn: 'root' }]
|
|
163
163
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -21,10 +21,10 @@ export class OpenApiRemoteMethodLoader {
|
|
|
21
21
|
}
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
25
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, deps: [{ token: OpenApiConfigService }, { token: HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
25
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, providedIn: 'root' }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, decorators: [{
|
|
28
28
|
type: Injectable,
|
|
29
29
|
args: [{ providedIn: 'root' }]
|
|
30
30
|
}], ctorParameters: function () { return [{ type: i1.OpenApiConfigService, decorators: [{
|
|
@@ -134,8 +134,8 @@ export let OpenApiRemoteMethod = class OpenApiRemoteMethod extends BaseHttpRemot
|
|
|
134
134
|
}
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
138
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod, deps: [{ token: HttpClient }, { token: Injector }, { token: OpenApiConfigService }, { token: DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA, optional: true }, { token: RXAP_OPEN_API_STRICT_VALIDATOR, optional: true }, { token: DISABLE_SCHEMA_VALIDATION, optional: true }, { token: DISABLE_VALIDATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
138
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod }); }
|
|
139
139
|
};
|
|
140
140
|
OpenApiRemoteMethod = __decorate([
|
|
141
141
|
Mixin(SchemaValidationMixin),
|
|
@@ -143,7 +143,7 @@ OpenApiRemoteMethod = __decorate([
|
|
|
143
143
|
Injector,
|
|
144
144
|
OpenApiConfigService, Object, Object, Object, Object])
|
|
145
145
|
], OpenApiRemoteMethod);
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod, decorators: [{
|
|
147
147
|
type: Injectable
|
|
148
148
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
149
149
|
type: Inject,
|
|
@@ -93,10 +93,10 @@ class OpenApiTableDataSource extends AbstractTableDataSource {
|
|
|
93
93
|
() => this.dataSource.disconnect(viewer),
|
|
94
94
|
];
|
|
95
95
|
}
|
|
96
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
97
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource, deps: [{ token: RXAP_TABLE_DATA_SOURCE }, { token: RXAP_TABLE_DATA_SOURCE_PAGINATOR, optional: true }, { token: RXAP_OPEN_API_TABLE_DATA_SOURCE_TO_PARAMETERS_FUNCTION, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_SORT, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_FILTER, optional: true }, { token: RXAP_TABLE_DATA_SOURCE_PARAMETERS, optional: true }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
97
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource }); }
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiTableDataSource, decorators: [{
|
|
100
100
|
type: Injectable
|
|
101
101
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
102
102
|
type: Inject,
|
|
@@ -142,21 +142,21 @@ class ToOpenApiTableDataSourcePipe {
|
|
|
142
142
|
transform(dataSource, paginator, tableEventToOpenApiParameters, sort, filter) {
|
|
143
143
|
return new OpenApiTableDataSource(dataSource, paginator, tableEventToOpenApiParameters, sort, filter);
|
|
144
144
|
}
|
|
145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
146
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
|
145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
146
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, name: "toOpenApiTableDataSource" }); }
|
|
147
147
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipe, decorators: [{
|
|
149
149
|
type: Pipe,
|
|
150
150
|
args: [{
|
|
151
151
|
name: 'toOpenApiTableDataSource',
|
|
152
152
|
}]
|
|
153
153
|
}] });
|
|
154
154
|
class ToOpenApiTableDataSourcePipeModule {
|
|
155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
156
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
|
157
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
156
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, declarations: [ToOpenApiTableDataSourcePipe], exports: [ToOpenApiTableDataSourcePipe] }); }
|
|
157
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule }); }
|
|
158
158
|
}
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, decorators: [{
|
|
160
160
|
type: NgModule,
|
|
161
161
|
args: [{
|
|
162
162
|
exports: [ToOpenApiTableDataSourcePipe],
|
|
@@ -111,15 +111,15 @@ let OpenApiDataSource = class OpenApiDataSource extends BaseHttpDataSource {
|
|
|
111
111
|
}));
|
|
112
112
|
}), map((event) => event.body), isDefined(), take(1), timeout(this.timeout));
|
|
113
113
|
}
|
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
115
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource, deps: [{ token: HttpClient }, { token: OpenApiConfigService }, { token: DEFAULT_OPEN_API_DATA_SOURCE_META_DATA, optional: true }, { token: RXAP_DATA_SOURCE_REFRESH, optional: true }, { token: RXAP_OPEN_API_STRICT_VALIDATOR, optional: true }, { token: DISABLE_SCHEMA_VALIDATION, optional: true }, { token: DISABLE_VALIDATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource }); }
|
|
116
116
|
};
|
|
117
117
|
OpenApiDataSource = OpenApiDataSource_1 = __decorate([
|
|
118
118
|
Mixin(SchemaValidationMixin),
|
|
119
119
|
__metadata("design:paramtypes", [HttpClient,
|
|
120
120
|
OpenApiConfigService, Object, Object, Object, Object, Object])
|
|
121
121
|
], OpenApiDataSource);
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSource, decorators: [{
|
|
123
123
|
type: Injectable
|
|
124
124
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
125
125
|
type: Inject,
|
|
@@ -169,10 +169,10 @@ class OpenApiDataSourceLoader {
|
|
|
169
169
|
}
|
|
170
170
|
return null;
|
|
171
171
|
}
|
|
172
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
173
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, deps: [{ token: OpenApiConfigService }, { token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
173
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, providedIn: 'root' }); }
|
|
174
174
|
}
|
|
175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiDataSourceLoader, decorators: [{
|
|
176
176
|
type: Injectable,
|
|
177
177
|
args: [{ providedIn: 'root' }]
|
|
178
178
|
}], ctorParameters: function () { return [{ type: i2.OpenApiConfigService, decorators: [{
|
|
@@ -136,8 +136,8 @@ let OpenApiRemoteMethod = class OpenApiRemoteMethod extends BaseHttpRemoteMethod
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
140
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod, deps: [{ token: HttpClient }, { token: Injector }, { token: OpenApiConfigService }, { token: DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA, optional: true }, { token: RXAP_OPEN_API_STRICT_VALIDATOR, optional: true }, { token: DISABLE_SCHEMA_VALIDATION, optional: true }, { token: DISABLE_VALIDATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod }); }
|
|
141
141
|
};
|
|
142
142
|
OpenApiRemoteMethod = __decorate([
|
|
143
143
|
Mixin(SchemaValidationMixin),
|
|
@@ -145,7 +145,7 @@ OpenApiRemoteMethod = __decorate([
|
|
|
145
145
|
Injector,
|
|
146
146
|
OpenApiConfigService, Object, Object, Object, Object])
|
|
147
147
|
], OpenApiRemoteMethod);
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethod, decorators: [{
|
|
149
149
|
type: Injectable
|
|
150
150
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
151
151
|
type: Inject,
|
|
@@ -194,10 +194,10 @@ class OpenApiRemoteMethodLoader {
|
|
|
194
194
|
}
|
|
195
195
|
return null;
|
|
196
196
|
}
|
|
197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
198
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, deps: [{ token: OpenApiConfigService }, { token: HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
198
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, providedIn: 'root' }); }
|
|
199
199
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiRemoteMethodLoader, decorators: [{
|
|
201
201
|
type: Injectable,
|
|
202
202
|
args: [{ providedIn: 'root' }]
|
|
203
203
|
}], ctorParameters: function () { return [{ type: i2.OpenApiConfigService, decorators: [{
|
|
@@ -185,10 +185,10 @@ class OpenApiConfigService {
|
|
|
185
185
|
insertServer(serverConfig, index = this.defaultServerIndex, serverId) {
|
|
186
186
|
OpenApiConfigService.InsertServer(serverConfig, index, serverId, this.config);
|
|
187
187
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
189
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, deps: [{ token: RXAP_OPEN_API_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, providedIn: 'root' }); }
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.4", ngImport: i0, type: OpenApiConfigService, decorators: [{
|
|
192
192
|
type: Injectable,
|
|
193
193
|
args: [{ providedIn: 'root' }]
|
|
194
194
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/open-api",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
3
|
+
"version": "16.0.0-dev.15",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.4",
|
|
6
6
|
"@angular/core": "^16.1.4",
|
|
7
|
-
"@rxap/config": "^16.0.0-dev.
|
|
8
|
-
"@rxap/data-source": "^16.0.0-dev.
|
|
9
|
-
"@rxap/mixin": "^16.0.0-dev.
|
|
10
|
-
"@rxap/remote-method": "^16.0.0-dev.
|
|
11
|
-
"@rxap/rxjs": "^1.0.1-dev.
|
|
12
|
-
"@rxap/utilities": "^16.0.0-dev.
|
|
7
|
+
"@rxap/config": "^16.0.0-dev.12",
|
|
8
|
+
"@rxap/data-source": "^16.0.0-dev.13",
|
|
9
|
+
"@rxap/mixin": "^16.0.0-dev.11",
|
|
10
|
+
"@rxap/remote-method": "^16.0.0-dev.12",
|
|
11
|
+
"@rxap/rxjs": "^1.0.1-dev.7",
|
|
12
|
+
"@rxap/utilities": "^16.0.0-dev.15",
|
|
13
13
|
"rxjs": "^7.8.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ajv": "8.12.0",
|
|
17
17
|
"openapi-types": "10.0.0",
|
|
18
|
-
"tslib": "2.
|
|
18
|
+
"tslib": "2.6.2"
|
|
19
19
|
},
|
|
20
20
|
"description": "Provides the functionality to create DataSource and RemoteMethod instances from an OpenAPI config.",
|
|
21
21
|
"sideEffects": false,
|
|
@@ -50,31 +50,31 @@
|
|
|
50
50
|
"packageGroup": [
|
|
51
51
|
{
|
|
52
52
|
"package": "@rxap/data-source",
|
|
53
|
-
"version": "16.0.0-dev.
|
|
53
|
+
"version": "16.0.0-dev.13"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"package": "@rxap/utilities",
|
|
57
|
-
"version": "16.0.0-dev.
|
|
57
|
+
"version": "16.0.0-dev.15"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"package": "@rxap/mixin",
|
|
61
|
-
"version": "16.0.0-dev.
|
|
61
|
+
"version": "16.0.0-dev.11"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"package": "@rxap/rxjs",
|
|
65
|
-
"version": "1.0.1-dev.
|
|
65
|
+
"version": "1.0.1-dev.7"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"package": "@rxap/config",
|
|
69
|
-
"version": "16.0.0-dev.
|
|
69
|
+
"version": "16.0.0-dev.12"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"package": "@rxap/remote-method",
|
|
73
|
-
"version": "16.0.0-dev.
|
|
73
|
+
"version": "16.0.0-dev.12"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "b6e1ecbccc89aae6de3dc72b0206374dbaa44e69",
|
|
78
78
|
"module": "fesm2022/rxap-open-api.mjs",
|
|
79
79
|
"typings": "index.d.ts",
|
|
80
80
|
"exports": {
|