@tsed/schema 6.75.11 → 6.77.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/lib/decorators/class/children.d.ts +11 -0
- package/lib/decorators/common/jsonEntityFn.d.ts +1 -1
- package/lib/decorators/index.d.ts +1 -0
- package/lib/domain/JsonEntityStore.d.ts +13 -14
- package/lib/domain/JsonOperation.d.ts +1 -0
- package/lib/domain/JsonOperationPathsMap.d.ts +7 -0
- package/lib/domain/JsonOperationRoute.d.ts +16 -0
- package/lib/domain/index.d.ts +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +189 -38
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +186 -39
- package/lib/index.modern.js.map +1 -1
- package/lib/utils/concatPath.d.ts +1 -0
- package/lib/utils/getJsonEntityStore.d.ts +4 -1
- package/lib/utils/getOperationsRoutes.d.ts +8 -0
- package/lib/utils/getOperationsStores.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function concatPath(basePath: string | undefined, path: string | undefined): string;
|
|
@@ -2,5 +2,8 @@ import type { JsonEntityStore } from "../domain/JsonEntityStore";
|
|
|
2
2
|
/**
|
|
3
3
|
* @ignore
|
|
4
4
|
*/
|
|
5
|
-
export declare function getJsonEntityStore<T extends JsonEntityStore = JsonEntityStore>(...args: any[]): NonNullable<T>;
|
|
6
5
|
export declare function isJsonEntityStore(model: any): model is JsonEntityStore;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
export declare function getJsonEntityStore<T extends JsonEntityStore = JsonEntityStore>(...args: any[]): JsonEntityStore;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Type } from "@tsed/core";
|
|
2
|
+
import { JsonOperationRoute } from "../domain/JsonOperationRoute";
|
|
3
|
+
import { JsonEntityStore } from "../domain/JsonEntityStore";
|
|
4
|
+
export interface GetOperationsRoutesOptions {
|
|
5
|
+
withChildren?: boolean;
|
|
6
|
+
basePath?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function getOperationsRoutes<Entity extends JsonEntityStore = JsonEntityStore>(token: Type<any> | any, options?: GetOperationsRoutesOptions): JsonOperationRoute<Entity>[];
|
|
@@ -3,4 +3,4 @@ import type { JsonEntityStore } from "../domain/JsonEntityStore";
|
|
|
3
3
|
/**
|
|
4
4
|
* @ignore
|
|
5
5
|
*/
|
|
6
|
-
export declare function getOperationsStores<T = JsonEntityStore>(target: Type<any> | any): Map<string, T>;
|
|
6
|
+
export declare function getOperationsStores<T extends JsonEntityStore = JsonEntityStore>(target: Type<any> | any): Map<string, T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/schema",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.77.1",
|
|
4
4
|
"description": "JsonSchema module for Ts.ED Framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"build": "microbundle --target node --no-compress --format modern,cjs --tsconfig ./tsconfig.compile.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@tsed/core": "6.
|
|
28
|
-
"@tsed/openspec": "6.
|
|
27
|
+
"@tsed/core": "6.77.1",
|
|
28
|
+
"@tsed/openspec": "6.77.1",
|
|
29
29
|
"change-case": "4.1.2",
|
|
30
30
|
"micromatch": "4.0.2",
|
|
31
31
|
"tslib": "2.2.0"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"fs-extra": "9.0.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@tsed/core": "^6.
|
|
42
|
-
"@tsed/openspec": "^6.
|
|
41
|
+
"@tsed/core": "^6.77.1",
|
|
42
|
+
"@tsed/openspec": "^6.77.1"
|
|
43
43
|
},
|
|
44
44
|
"repository": "https://github.com/tsedio/tsed",
|
|
45
45
|
"bugs": {
|