@rxap/open-api 19.3.0 → 21.0.1-dev.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/CHANGELOG.md +43 -0
- package/compodoc/changelog.html +41 -0
- package/compodoc/classes/SchemaValidationMixin.html +1 -1
- package/compodoc/dependencies.html +11 -11
- package/compodoc/injectables/OpenApiConfigService.html +19 -24
- package/compodoc/interfaces/SchemaValidationResponse.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +947 -717
- package/docs/html/classes/OpenApiConfigService.html +3 -3
- package/docs/html/classes/OpenApiHttpResponseError.html +26 -9
- package/docs/html/classes/RxapOpenApiError.html +6 -5
- package/docs/html/classes/SchemaValidationMixin.html +5 -5
- package/docs/html/functions/AssertOpenApiV3.html +1 -1
- package/docs/html/functions/IsOpenApiV3.html +1 -1
- package/docs/html/functions/IsReferenceObject.html +1 -1
- package/docs/html/functions/NotContainsReferenceObjects.html +1 -1
- package/docs/html/functions/OpenApiInit.html +1 -1
- package/docs/html/functions/getJsonContentSchema.html +1 -1
- package/docs/html/functions/getJsonSchema.html +1 -1
- package/docs/html/functions/hasJsonContentSchema.html +1 -1
- package/docs/html/functions/hasJsonSchema.html +1 -1
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/OpenApiInitOptions.html +3 -3
- package/docs/html/interfaces/OpenApiMetaData.html +5 -5
- package/docs/html/interfaces/OperationObjectWithMetadata.html +2 -2
- package/docs/html/interfaces/SchemaValidationResponse.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/OperationMap.html +1 -1
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +1 -1
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +1 -1
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +1 -1
- package/docs/html/variables/DISABLE_VALIDATION.html +1 -1
- package/docs/html/variables/OPEN_API_OPERATION.html +1 -1
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +1 -1
- package/docs/html/variables/OPEN_API_SERVER_ID.html +1 -1
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +1 -1
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/OpenApiConfigService.md +14 -14
- package/docs/markdown/classes/OpenApiHttpResponseError.md +61 -17
- package/docs/markdown/classes/RxapOpenApiError.md +25 -13
- package/docs/markdown/classes/SchemaValidationMixin.md +13 -13
- package/docs/markdown/functions/AssertOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsReferenceObject.md +2 -2
- package/docs/markdown/functions/NotContainsReferenceObjects.md +2 -2
- package/docs/markdown/functions/OpenApiInit.md +2 -2
- package/docs/markdown/functions/getJsonContentSchema.md +2 -2
- package/docs/markdown/functions/getJsonSchema.md +2 -2
- package/docs/markdown/functions/hasJsonContentSchema.md +2 -2
- package/docs/markdown/functions/hasJsonSchema.md +2 -2
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/OpenApiInitOptions.md +4 -4
- package/docs/markdown/interfaces/OpenApiMetaData.md +8 -8
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +4 -4
- package/docs/markdown/interfaces/SchemaValidationResponse.md +6 -6
- package/docs/markdown/type-aliases/OperationMap.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
- package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
- package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
- package/docs/wiki/Class.OpenApiConfigService.md +13 -13
- package/docs/wiki/Class.OpenApiHttpResponseError.md +60 -16
- package/docs/wiki/Class.RxapOpenApiError.md +24 -12
- package/docs/wiki/Class.SchemaValidationMixin.md +12 -12
- package/docs/wiki/Function.AssertOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsReferenceObject.md +1 -1
- package/docs/wiki/Function.NotContainsReferenceObjects.md +1 -1
- package/docs/wiki/Function.OpenApiInit.md +1 -1
- package/docs/wiki/Function.getJsonContentSchema.md +1 -1
- package/docs/wiki/Function.getJsonSchema.md +1 -1
- package/docs/wiki/Function.hasJsonContentSchema.md +1 -1
- package/docs/wiki/Function.hasJsonSchema.md +1 -1
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +1 -1
- package/docs/wiki/Interface.OpenApiInitOptions.md +3 -3
- package/docs/wiki/Interface.OpenApiMetaData.md +7 -7
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +3 -3
- package/docs/wiki/Interface.SchemaValidationResponse.md +5 -5
- package/docs/wiki/TypeAlias.OperationMap.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
- package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
- package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-open-api-data-source-table.mjs +9 -21
- package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs +11 -17
- package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
- package/fesm2022/rxap-open-api-http-resource.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +12 -18
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/fesm2022/rxap-open-api-testing.mjs +1 -1
- package/fesm2022/rxap-open-api-testing.mjs.map +1 -1
- package/fesm2022/rxap-open-api.mjs +5 -5
- package/fesm2022/rxap-open-api.mjs.map +1 -1
- package/package.json +41 -40
- package/types/rxap-open-api-data-source-table.d.ts +45 -0
- package/{data-source/lib/open-api.data-source.d.ts → types/rxap-open-api-data-source.d.ts} +24 -8
- package/types/rxap-open-api-http-resource.d.ts +21 -0
- package/types/rxap-open-api-remote-method.d.ts +95 -0
- package/types/rxap-open-api-testing.d.ts +30 -0
- package/types/rxap-open-api.d.ts +171 -0
- package/data-source/index.d.ts +0 -3
- package/data-source/lib/error.d.ts +0 -4
- package/data-source/lib/open-api-data-source.loader.d.ts +0 -12
- package/data-source/table/index.d.ts +0 -4
- package/data-source/table/lib/error.d.ts +0 -4
- package/data-source/table/lib/open-api-table.data-source.d.ts +0 -29
- package/data-source/table/lib/to-open-api-table-data-source.pipe.d.ts +0 -17
- package/data-source/table/lib/tokens.d.ts +0 -2
- package/http-resource/index.d.ts +0 -5
- package/http-resource/lib/http-context-tokens.d.ts +0 -4
- package/http-resource/lib/http-interceptors.d.ts +0 -4
- package/http-resource/lib/to-http-headers.d.ts +0 -3
- package/http-resource/lib/to-http-params.d.ts +0 -3
- package/http-resource/lib/types.d.ts +0 -11
- package/index.d.ts +0 -11
- package/lib/error.d.ts +0 -4
- package/lib/http-context-tokens.d.ts +0 -5
- package/lib/http-interceptors.d.ts +0 -2
- package/lib/open-api-config.service.d.ts +0 -42
- package/lib/open-api-http-response.error.d.ts +0 -9
- package/lib/open-api-init.d.ts +0 -15
- package/lib/open-api.d.ts +0 -5
- package/lib/open-api.meta-data.d.ts +0 -17
- package/lib/schema-validation.mixin.d.ts +0 -50
- package/lib/tokens.d.ts +0 -7
- package/lib/utilities.d.ts +0 -11
- package/remote-method/index.d.ts +0 -4
- package/remote-method/lib/error.d.ts +0 -4
- package/remote-method/lib/get-page-adapter.factory.d.ts +0 -30
- package/remote-method/lib/open-api-remote-method.loader.d.ts +0 -14
- package/remote-method/lib/open-api.remote-method.d.ts +0 -48
- package/testing/index.d.ts +0 -2
- package/testing/lib/provide-method-mock.d.ts +0 -7
- package/testing/lib/provide-rxap-nestjs-get-page-method.d.ts +0 -20
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](ht
|
|
|
28
28
|
|
|
29
29
|
> `protected` `optional` **disableSchemaValidation**: `boolean`
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L37)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](ht
|
|
|
36
36
|
|
|
37
37
|
> `static` **STRICT**: `boolean` = `false`
|
|
38
38
|
|
|
39
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
39
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
|
|
40
40
|
|
|
41
41
|
## Methods
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](ht
|
|
|
44
44
|
|
|
45
45
|
> **buildHttpHeaders**(`operationParameters`, `parameters`?): `HttpHeaders`
|
|
46
46
|
|
|
47
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L297)
|
|
48
48
|
|
|
49
49
|
#### Parameters
|
|
50
50
|
|
|
@@ -66,7 +66,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](h
|
|
|
66
66
|
|
|
67
67
|
> **buildHttpOptions**(`operation`, `parameters`?, `requestBody`?, `ignoreUndefined`?): `HttpRemoteMethodParameter`
|
|
68
68
|
|
|
69
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L381)
|
|
70
70
|
|
|
71
71
|
Converts open api parameters into the corresponding http options to
|
|
72
72
|
create a http request. The transformation is guided by the openapi definition
|
|
@@ -99,7 +99,7 @@ create a http request. The transformation is guided by the openapi definition
|
|
|
99
99
|
|
|
100
100
|
> **buildHttpParams**(`operationParameters`, `parameters`?, `ignoreUndefined`?): `HttpParams`
|
|
101
101
|
|
|
102
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/
|
|
102
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L248)
|
|
103
103
|
|
|
104
104
|
#### Parameters
|
|
105
105
|
|
|
@@ -125,7 +125,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](h
|
|
|
125
125
|
|
|
126
126
|
> **buildHttpPathParams**(`operationParameters`, `parameters`?): `Record`\<`string`, `string`\>
|
|
127
127
|
|
|
128
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/
|
|
128
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L332)
|
|
129
129
|
|
|
130
130
|
#### Parameters
|
|
131
131
|
|
|
@@ -147,7 +147,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](h
|
|
|
147
147
|
|
|
148
148
|
> `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
|
|
149
149
|
|
|
150
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/
|
|
150
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L355)
|
|
151
151
|
|
|
152
152
|
#### Parameters
|
|
153
153
|
|
|
@@ -169,7 +169,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](h
|
|
|
169
169
|
|
|
170
170
|
> `protected` **validateParameters**(`operation`, `parameters`?, `strict`?): `void`
|
|
171
171
|
|
|
172
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
172
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L47)
|
|
173
173
|
|
|
174
174
|
Validates the parameters against the schema specified in the operation object
|
|
175
175
|
|
|
@@ -197,7 +197,7 @@ Validates the parameters against the schema specified in the operation object
|
|
|
197
197
|
|
|
198
198
|
> **validateRequestBody**(`operation`, `body`?, `strict`?): `void`
|
|
199
199
|
|
|
200
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/
|
|
200
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L193)
|
|
201
201
|
|
|
202
202
|
#### Parameters
|
|
203
203
|
|
|
@@ -223,7 +223,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](h
|
|
|
223
223
|
|
|
224
224
|
> `protected` **validateResponse**(`operation`, `response`, `strict`): `void`
|
|
225
225
|
|
|
226
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/
|
|
226
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L124)
|
|
227
227
|
|
|
228
228
|
Validates the http response against the schema specified in the operation object
|
|
229
229
|
|
|
@@ -251,7 +251,7 @@ Validates the http response against the schema specified in the operation object
|
|
|
251
251
|
|
|
252
252
|
> **validationError**(`message`, `strict`, `schema`?, `value`?): `void`
|
|
253
253
|
|
|
254
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/
|
|
254
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L226)
|
|
255
255
|
|
|
256
256
|
#### Parameters
|
|
257
257
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AssertOpenApiV3**(`obj`?): `asserts obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:18](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L18)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **IsOpenApiV3**(`obj`?): `obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L14)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **IsReferenceObject**(`obj`?): `obj is ReferenceObject`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L6)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **NotContainsReferenceObjects**\<`T`\>(`array`?): `array is T[]`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L10)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **OpenApiInit**(`environment`, `options`): `undefined` \| `Promise`\<`void`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api-init.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getJsonContentSchema**(`data`): `null` \| `SchemaObject`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:32](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:32](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L32)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getJsonSchema**(`map`): `null` \| `SchemaObject`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:45](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L45)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **hasJsonContentSchema**\<`T`\>(`data`): `data is T & { content: Record<string, MediaTypeObject> }`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L26)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **hasJsonSchema**(`map`): `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:41](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/utilities.ts#L41)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **injectOpenApiBaseUrlHttpInterceptorFn**(`req`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-interceptors.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-interceptors.ts:9](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/http-interceptors.ts#L9)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: OpenApiInitOptions
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api-init.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitla
|
|
|
10
10
|
|
|
11
11
|
> `optional` **load**: `boolean` \| \{ `openApiUrl`: `string`; \}
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api-init.ts#L11)
|
|
14
14
|
|
|
15
15
|
true - load the open api config file from the default url
|
|
16
16
|
default url: openapi.json
|
|
@@ -21,6 +21,6 @@ default url: openapi.json
|
|
|
21
21
|
|
|
22
22
|
> `optional` **origin**: `string`
|
|
23
23
|
|
|
24
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
24
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api-init.ts#L17)
|
|
25
25
|
|
|
26
26
|
The location origin prefix for the open api base urls if the base url is not absolute. defaults to location.origin
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: OpenApiMetaData
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://
|
|
|
18
18
|
|
|
19
19
|
> **id**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
|
|
22
22
|
|
|
23
23
|
#### Overrides
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https:/
|
|
|
30
30
|
|
|
31
31
|
> `optional` **operation**: `string` \| [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L8)
|
|
34
34
|
|
|
35
35
|
The operation object with path and method
|
|
36
36
|
|
|
@@ -38,9 +38,9 @@ The operation object with path and method
|
|
|
38
38
|
|
|
39
39
|
### refresh?
|
|
40
40
|
|
|
41
|
-
> `optional` **refresh**: (`Type
|
|
41
|
+
> `optional` **refresh**: (`Type`\<`Refreshable`\> \| `InjectionToken`\<`Refreshable`\> \| `AbstractType`\<`Refreshable`\>)[]
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:
|
|
43
|
+
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:25](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/remote-method/src/lib/base.remote-method.ts#L25)
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:26](ht
|
|
|
52
52
|
|
|
53
53
|
> `optional` **serverId**: `string`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L16)
|
|
56
56
|
|
|
57
57
|
used to specify the target server for the reset api operation
|
|
58
58
|
|
|
@@ -62,6 +62,6 @@ used to specify the target server for the reset api operation
|
|
|
62
62
|
|
|
63
63
|
> `optional` **serverIndex**: `number`
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
65
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L12)
|
|
66
66
|
|
|
67
67
|
The index of the server object in the servers array in the open api config
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: OperationObjectWithMetadata
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -66,7 +66,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:219
|
|
|
66
66
|
|
|
67
67
|
> **method**: `string`
|
|
68
68
|
|
|
69
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:5](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.ts#L5)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -98,7 +98,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:221
|
|
|
98
98
|
|
|
99
99
|
> **path**: `string`
|
|
100
100
|
|
|
101
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
101
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:4](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api.ts#L4)
|
|
102
102
|
|
|
103
103
|
***
|
|
104
104
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: SchemaValidationResponse\<Data\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L24)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](ht
|
|
|
14
14
|
|
|
15
15
|
> `optional` **body**: `null` \| `Data`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:27](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L27)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:27](ht
|
|
|
22
22
|
|
|
23
23
|
> `optional` **data**: `Data`
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L28)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](ht
|
|
|
30
30
|
|
|
31
31
|
> **headers**: `HttpHeaders`
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L25)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](ht
|
|
|
38
38
|
|
|
39
39
|
> **status**: `number`
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L26)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **OperationMap**: `Map`\<`string`, [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:10](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/open-api-config.service.ts#L10)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **DEFAULT\_OPEN\_API\_DATA\_SOURCE\_META\_DATA**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L7)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **DEFAULT\_OPEN\_API\_REMOTE\_METHOD\_META\_DATA**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L5)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **DISABLE\_SCHEMA\_VALIDATION**: `InjectionToken`\<`boolean`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L8)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **DISABLE\_VALIDATION**: `InjectionToken`\<`boolean`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L12)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_OPERATION**: `HttpContextToken`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/http-context-tokens.ts#L6)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_OPERATION\_ID**: `HttpContextToken`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/http-context-tokens.ts#L3)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_SERVER\_ID**: `HttpContextToken`\<`null` \| `string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/http-context-tokens.ts#L4)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_SERVER\_INDEX**: `HttpContextToken`\<`number`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/http-context-tokens.ts#L5)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_OPEN\_API\_CONFIG**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L3)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_OPEN\_API\_STRICT\_VALIDATOR**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/open-api/src/lib/tokens.ts#L4)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RxapOpenApiDataSourceError } from '@rxap/open-api/data-source';
|
|
2
2
|
import { AbstractTableDataSource, RXAP_TABLE_DATA_SOURCE, RXAP_TABLE_DATA_SOURCE_PAGINATOR, RXAP_TABLE_DATA_SOURCE_SORT, RXAP_TABLE_DATA_SOURCE_FILTER, RXAP_TABLE_DATA_SOURCE_PARAMETERS, RxapAbstractTableDataSource } from '@rxap/data-source/table';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken,
|
|
4
|
+
import { InjectionToken, Inject, Optional, Injectable, Pipe } from '@angular/core';
|
|
5
5
|
import { RXAP_DATA_SOURCE_METADATA } from '@rxap/data-source';
|
|
6
6
|
import * as i1 from 'rxjs';
|
|
7
7
|
import { EMPTY, combineLatest, of, isObservable } from 'rxjs';
|
|
@@ -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: "
|
|
97
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", 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: "21.2.9", ngImport: i0, type: OpenApiTableDataSource }); }
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OpenApiTableDataSource, decorators: [{
|
|
100
100
|
type: Injectable
|
|
101
101
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
102
102
|
type: Inject,
|
|
@@ -142,26 +142,14 @@ 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: "
|
|
146
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ToOpenApiTableDataSourcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
146
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: ToOpenApiTableDataSourcePipe, isStandalone: true, name: "toOpenApiTableDataSource" }); }
|
|
147
147
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ToOpenApiTableDataSourcePipe, decorators: [{
|
|
149
149
|
type: Pipe,
|
|
150
150
|
args: [{
|
|
151
151
|
name: 'toOpenApiTableDataSource',
|
|
152
|
-
standalone:
|
|
153
|
-
}]
|
|
154
|
-
}] });
|
|
155
|
-
class ToOpenApiTableDataSourcePipeModule {
|
|
156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
157
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.16", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, declarations: [ToOpenApiTableDataSourcePipe], exports: [ToOpenApiTableDataSourcePipe] }); }
|
|
158
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule }); }
|
|
159
|
-
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ToOpenApiTableDataSourcePipeModule, decorators: [{
|
|
161
|
-
type: NgModule,
|
|
162
|
-
args: [{
|
|
163
|
-
exports: [ToOpenApiTableDataSourcePipe],
|
|
164
|
-
declarations: [ToOpenApiTableDataSourcePipe],
|
|
152
|
+
standalone: true,
|
|
165
153
|
}]
|
|
166
154
|
}] });
|
|
167
155
|
|
|
@@ -172,5 +160,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
172
160
|
* Generated bundle index. Do not edit.
|
|
173
161
|
*/
|
|
174
162
|
|
|
175
|
-
export { OpenApiTableDataSource, RXAP_OPEN_API_TABLE_DATA_SOURCE_TO_PARAMETERS_FUNCTION, RxapOpenApiDataSourceTableError, RxapOpenApiTableDataSource, ToOpenApiTableDataSourcePipe
|
|
163
|
+
export { OpenApiTableDataSource, RXAP_OPEN_API_TABLE_DATA_SOURCE_TO_PARAMETERS_FUNCTION, RxapOpenApiDataSourceTableError, RxapOpenApiTableDataSource, ToOpenApiTableDataSourcePipe };
|
|
176
164
|
//# sourceMappingURL=rxap-open-api-data-source-table.mjs.map
|