@twin.org/entity-storage-service 0.0.1-next.22 → 0.0.1-next.24
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/docs/changelog.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Function: generateRestRoutesEntityStorage()
|
2
2
|
|
3
|
-
> **generateRestRoutesEntityStorage**(`baseRouteName`, `componentName`, `options`?): `IRestRoute`[]
|
3
|
+
> **generateRestRoutesEntityStorage**(`baseRouteName`, `componentName`, `options`?): `IRestRoute`\<`any`, `any`\>[]
|
4
4
|
|
5
5
|
The REST routes for entity storage.
|
6
6
|
|
@@ -22,19 +22,19 @@ The name of the component to use in the routes stored in the ComponentFactory.
|
|
22
22
|
|
23
23
|
Additional options for the routes.
|
24
24
|
|
25
|
-
#### typeName
|
25
|
+
#### typeName?
|
26
26
|
|
27
27
|
`string`
|
28
28
|
|
29
29
|
Optional type name to use in the routes, defaults to Entity Storage.
|
30
30
|
|
31
|
-
#### tagName
|
31
|
+
#### tagName?
|
32
32
|
|
33
33
|
`string`
|
34
34
|
|
35
35
|
Optional name to use in OpenAPI spec for tag.
|
36
36
|
|
37
|
-
#### examples
|
37
|
+
#### examples?
|
38
38
|
|
39
39
|
[`IEntityStorageRoutesExamples`](../interfaces/IEntityStorageRoutesExamples.md)
|
40
40
|
|
@@ -42,6 +42,6 @@ Optional examples to use in the routes.
|
|
42
42
|
|
43
43
|
## Returns
|
44
44
|
|
45
|
-
`IRestRoute`[]
|
45
|
+
`IRestRoute`\<`any`, `any`\>[]
|
46
46
|
|
47
47
|
The generated routes.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@twin.org/entity-storage-service",
|
3
|
-
"version": "0.0.1-next.
|
3
|
+
"version": "0.0.1-next.24",
|
4
4
|
"description": "Entity Storage contract implementation and REST endpoint definitions",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"@twin.org/api-models": "next",
|
18
18
|
"@twin.org/core": "next",
|
19
19
|
"@twin.org/entity": "next",
|
20
|
-
"@twin.org/entity-storage-models": "0.0.1-next.
|
20
|
+
"@twin.org/entity-storage-models": "0.0.1-next.24",
|
21
21
|
"@twin.org/nameof": "next",
|
22
22
|
"@twin.org/web": "next"
|
23
23
|
},
|