@intellegens/cornerstone-client 0.0.9 → 0.0.10
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/data/_generated/Cornerstone/Auth/API/DTOs/RegisterRequestDto.d.ts +12 -0
- package/data/_generated/Cornerstone/Auth/API/DTOs/RegisterRequestDto.js +2 -0
- package/data/_generated/Cornerstone/Auth/API/DTOs/SignInRequestDto.d.ts +12 -0
- package/data/_generated/Cornerstone/Auth/API/DTOs/SignInRequestDto.js +2 -0
- package/data/_generated/Cornerstone/Auth/API/DTOs/TokensDto.d.ts +12 -0
- package/data/_generated/Cornerstone/Auth/API/DTOs/TokensDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/AnythingDto.d.ts +15 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/AnythingDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/AnythingManuallyMappedDto.d.ts +15 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/AnythingManuallyMappedDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PersonDto.d.ts +38 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PersonDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PersonManuallyMappedDto.d.ts +38 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PersonManuallyMappedDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PetDto.d.ts +15 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PetDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PetManuallyMappedDto.d.ts +15 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/PetManuallyMappedDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/VehicleDto.d.ts +127 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/VehicleDto.js +2 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/VehicleManuallyMappedDto.d.ts +127 -0
- package/data/_generated/Cornerstone/Fixtures/DTOs/VehicleManuallyMappedDto.js +2 -0
- package/data/_generated/index.d.ts +11 -0
- package/data/_generated/index.js +11 -0
- package/data/api/dto/ReadSelectedDefinition.d.ts +18 -0
- package/data/api/dto/ReadSelectedDefinition.js +17 -0
- package/data/api/dto/ReadSelectedFilteringDefinition.d.ts +14 -0
- package/data/api/dto/ReadSelectedFilteringDefinition.js +13 -0
- package/data/api/dto/ReadSelectedFilteringPropertyDefinition.d.ts +22 -0
- package/data/api/dto/ReadSelectedFilteringPropertyDefinition.js +21 -0
- package/data/api/dto/ReadSelectedOrderingDefinition.d.ts +7 -0
- package/data/api/dto/ReadSelectedOrderingDefinition.js +6 -0
- package/data/api/dto/ReadSelectedOrderingPropertyDefinition.d.ts +14 -0
- package/data/api/dto/ReadSelectedOrderingPropertyDefinition.js +14 -0
- package/data/api/dto/ReadSelectedPaginationDefinition.d.ts +13 -0
- package/data/api/dto/ReadSelectedPaginationDefinition.js +13 -0
- package/data/api/dto/index.d.ts +6 -0
- package/data/api/dto/index.js +6 -0
- package/data/api/enum/ReadSelectedComparisonOperator.d.ts +13 -0
- package/data/api/enum/ReadSelectedComparisonOperator.js +25 -0
- package/data/api/enum/ReadSelectedLogicalOperator.d.ts +15 -0
- package/data/api/enum/ReadSelectedLogicalOperator.js +16 -0
- package/data/api/enum/ReadSelectedOrderingDirection.d.ts +13 -0
- package/data/api/enum/ReadSelectedOrderingDirection.js +14 -0
- package/data/api/enum/ReadSelectedPropertyType.d.ts +22 -0
- package/data/api/enum/ReadSelectedPropertyType.js +32 -0
- package/data/api/enum/index.d.ts +4 -0
- package/data/api/enum/index.js +4 -0
- package/data/api/index.d.ts +3 -0
- package/data/api/index.js +3 -0
- package/data/api/interface/IIdentifiable.d.ts +10 -0
- package/data/api/interface/IIdentifiable.js +1 -0
- package/data/api/interface/IIdentifiableByGuid.d.ts +9 -0
- package/data/api/interface/IIdentifiableByGuid.js +1 -0
- package/data/api/interface/index.d.ts +2 -0
- package/data/api/interface/index.js +2 -0
- package/data/api/read/ReadSelectedDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedDefinition.js +2 -0
- package/data/api/read/ReadSelectedFilteringDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedFilteringDefinition.js +2 -0
- package/data/api/read/ReadSelectedFilteringPropertyDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedFilteringPropertyDefinition.js +2 -0
- package/data/api/read/ReadSelectedOrderingDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedOrderingDefinition.js +2 -0
- package/data/api/read/ReadSelectedOrderingPropertyDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedOrderingPropertyDefinition.js +2 -0
- package/data/api/read/ReadSelectedPaginationDefinition.d.ts +2 -0
- package/data/api/read/ReadSelectedPaginationDefinition.js +2 -0
- package/data/api/read/index.d.ts +6 -0
- package/data/api/read/index.js +6 -0
- package/data/auth/User/index.d.ts +12 -0
- package/data/auth/User/index.js +1 -0
- package/data/auth/UserInfo/index.d.ts +14 -0
- package/data/auth/UserInfo/index.js +1 -0
- package/data/auth/index.d.ts +2 -0
- package/data/auth/index.js +2 -0
- package/data/index.d.ts +2 -0
- package/data/index.js +3 -0
- package/package.json +4 -3
- package/services/api/client/ApiCrudControllerClient/index.d.ts +11 -0
- package/services/api/client/ApiCrudControllerClient/index.js +11 -0
- package/services/api/client/ApiReadControllerClient/index.d.ts +34 -0
- package/services/api/client/ApiReadControllerClient/index.js +74 -0
- package/services/api/client/index.d.ts +2 -2
- package/services/api/client/index.js +2 -2
- package/services/api/initialization/index.d.ts +14 -2
- package/services/api/initialization/index.js +20 -4
- package/services/auth/index.d.ts +1 -1
- package/services/auth/index.js +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RegisterRequestDto: z.ZodObject<{
|
|
3
|
+
username: z.ZodString;
|
|
4
|
+
password: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
username: string;
|
|
7
|
+
password: string;
|
|
8
|
+
}, {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type RegisterRequestDto = z.infer<typeof RegisterRequestDto>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SignInRequestDto: z.ZodObject<{
|
|
3
|
+
username: z.ZodString;
|
|
4
|
+
password: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
username: string;
|
|
7
|
+
password: string;
|
|
8
|
+
}, {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type SignInRequestDto = z.infer<typeof SignInRequestDto>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const TokensDto: z.ZodObject<{
|
|
3
|
+
accessToken: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
refreshToken: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
accessToken?: string | null | undefined;
|
|
7
|
+
refreshToken?: string | null | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
accessToken?: string | null | undefined;
|
|
10
|
+
refreshToken?: string | null | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type TokensDto = z.infer<typeof TokensDto>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AnythingDto: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
guid: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name?: string | null | undefined;
|
|
8
|
+
id?: number | undefined;
|
|
9
|
+
guid?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
name?: string | null | undefined;
|
|
12
|
+
id?: number | undefined;
|
|
13
|
+
guid?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type AnythingDto = z.infer<typeof AnythingDto>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AnythingManuallyMappedDto: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
guid: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name?: string | null | undefined;
|
|
8
|
+
id?: number | undefined;
|
|
9
|
+
guid?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
name?: string | null | undefined;
|
|
12
|
+
id?: number | undefined;
|
|
13
|
+
guid?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type AnythingManuallyMappedDto = z.infer<typeof AnythingManuallyMappedDto>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PersonDto: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
6
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
7
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
8
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
name?: string | null | undefined;
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
species?: string | null | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
name?: string | null | undefined;
|
|
15
|
+
id?: string | undefined;
|
|
16
|
+
species?: string | null | undefined;
|
|
17
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
18
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
name?: string | null | undefined;
|
|
21
|
+
id?: number | undefined;
|
|
22
|
+
age?: number | undefined;
|
|
23
|
+
pets?: ({
|
|
24
|
+
name?: string | null | undefined;
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
species?: string | null | undefined;
|
|
27
|
+
} | null)[] | null | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
name?: string | null | undefined;
|
|
30
|
+
id?: number | undefined;
|
|
31
|
+
age?: number | undefined;
|
|
32
|
+
pets?: ({
|
|
33
|
+
name?: string | null | undefined;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
species?: string | null | undefined;
|
|
36
|
+
} | null)[] | null | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
export type PersonDto = z.infer<typeof PersonDto>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const PersonDto = z.object({ "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "id": z.number().int().optional() });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PersonManuallyMappedDto: z.ZodObject<{
|
|
3
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
4
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
name?: string | null | undefined;
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
species?: string | null | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
name?: string | null | undefined;
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
species?: string | null | undefined;
|
|
15
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
16
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
17
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
name?: string | null | undefined;
|
|
21
|
+
id?: number | undefined;
|
|
22
|
+
age?: number | undefined;
|
|
23
|
+
pets?: ({
|
|
24
|
+
name?: string | null | undefined;
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
species?: string | null | undefined;
|
|
27
|
+
} | null)[] | null | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
name?: string | null | undefined;
|
|
30
|
+
id?: number | undefined;
|
|
31
|
+
age?: number | undefined;
|
|
32
|
+
pets?: ({
|
|
33
|
+
name?: string | null | undefined;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
species?: string | null | undefined;
|
|
36
|
+
} | null)[] | null | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
export type PersonManuallyMappedDto = z.infer<typeof PersonManuallyMappedDto>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const PersonManuallyMappedDto = z.object({ "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "id": z.number().int().optional() });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PetDto: z.ZodObject<{
|
|
3
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name?: string | null | undefined;
|
|
8
|
+
id?: string | undefined;
|
|
9
|
+
species?: string | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
name?: string | null | undefined;
|
|
12
|
+
id?: string | undefined;
|
|
13
|
+
species?: string | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type PetDto = z.infer<typeof PetDto>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PetManuallyMappedDto: z.ZodObject<{
|
|
3
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
name?: string | null | undefined;
|
|
8
|
+
id?: string | undefined;
|
|
9
|
+
species?: string | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
name?: string | null | undefined;
|
|
12
|
+
id?: string | undefined;
|
|
13
|
+
species?: string | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type PetManuallyMappedDto = z.infer<typeof PetManuallyMappedDto>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VehicleDto: z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
4
|
+
driver: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
10
|
+
id: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
name?: string | null | undefined;
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
species?: string | null | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
name?: string | null | undefined;
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
species?: string | null | undefined;
|
|
19
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
20
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
name?: string | null | undefined;
|
|
23
|
+
id?: number | undefined;
|
|
24
|
+
age?: number | undefined;
|
|
25
|
+
pets?: ({
|
|
26
|
+
name?: string | null | undefined;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
species?: string | null | undefined;
|
|
29
|
+
} | null)[] | null | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
name?: string | null | undefined;
|
|
32
|
+
id?: number | undefined;
|
|
33
|
+
age?: number | undefined;
|
|
34
|
+
pets?: ({
|
|
35
|
+
name?: string | null | undefined;
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
species?: string | null | undefined;
|
|
38
|
+
} | null)[] | null | undefined;
|
|
39
|
+
}>, z.ZodNull]>>;
|
|
40
|
+
passengers: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
41
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
42
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
44
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
45
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
46
|
+
id: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
name?: string | null | undefined;
|
|
49
|
+
id?: string | undefined;
|
|
50
|
+
species?: string | null | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
name?: string | null | undefined;
|
|
53
|
+
id?: string | undefined;
|
|
54
|
+
species?: string | null | undefined;
|
|
55
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
56
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
name?: string | null | undefined;
|
|
59
|
+
id?: number | undefined;
|
|
60
|
+
age?: number | undefined;
|
|
61
|
+
pets?: ({
|
|
62
|
+
name?: string | null | undefined;
|
|
63
|
+
id?: string | undefined;
|
|
64
|
+
species?: string | null | undefined;
|
|
65
|
+
} | null)[] | null | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
name?: string | null | undefined;
|
|
68
|
+
id?: number | undefined;
|
|
69
|
+
age?: number | undefined;
|
|
70
|
+
pets?: ({
|
|
71
|
+
name?: string | null | undefined;
|
|
72
|
+
id?: string | undefined;
|
|
73
|
+
species?: string | null | undefined;
|
|
74
|
+
} | null)[] | null | undefined;
|
|
75
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
76
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
guid: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
name?: string | null | undefined;
|
|
80
|
+
id?: number | undefined;
|
|
81
|
+
guid?: string | undefined;
|
|
82
|
+
driver?: {
|
|
83
|
+
name?: string | null | undefined;
|
|
84
|
+
id?: number | undefined;
|
|
85
|
+
age?: number | undefined;
|
|
86
|
+
pets?: ({
|
|
87
|
+
name?: string | null | undefined;
|
|
88
|
+
id?: string | undefined;
|
|
89
|
+
species?: string | null | undefined;
|
|
90
|
+
} | null)[] | null | undefined;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
passengers?: ({
|
|
93
|
+
name?: string | null | undefined;
|
|
94
|
+
id?: number | undefined;
|
|
95
|
+
age?: number | undefined;
|
|
96
|
+
pets?: ({
|
|
97
|
+
name?: string | null | undefined;
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
species?: string | null | undefined;
|
|
100
|
+
} | null)[] | null | undefined;
|
|
101
|
+
} | null)[] | null | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
name?: string | null | undefined;
|
|
104
|
+
id?: number | undefined;
|
|
105
|
+
guid?: string | undefined;
|
|
106
|
+
driver?: {
|
|
107
|
+
name?: string | null | undefined;
|
|
108
|
+
id?: number | undefined;
|
|
109
|
+
age?: number | undefined;
|
|
110
|
+
pets?: ({
|
|
111
|
+
name?: string | null | undefined;
|
|
112
|
+
id?: string | undefined;
|
|
113
|
+
species?: string | null | undefined;
|
|
114
|
+
} | null)[] | null | undefined;
|
|
115
|
+
} | null | undefined;
|
|
116
|
+
passengers?: ({
|
|
117
|
+
name?: string | null | undefined;
|
|
118
|
+
id?: number | undefined;
|
|
119
|
+
age?: number | undefined;
|
|
120
|
+
pets?: ({
|
|
121
|
+
name?: string | null | undefined;
|
|
122
|
+
id?: string | undefined;
|
|
123
|
+
species?: string | null | undefined;
|
|
124
|
+
} | null)[] | null | undefined;
|
|
125
|
+
} | null)[] | null | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
export type VehicleDto = z.infer<typeof VehicleDto>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const VehicleDto = z.object({ "name": z.union([z.string(), z.null()]).optional(), "driver": z.union([z.object({ "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "id": z.number().int().optional() }), z.null()]).optional(), "passengers": z.union([z.array(z.union([z.object({ "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "id": z.number().int().optional() }), z.null()])), z.null()]).optional(), "id": z.number().int().optional(), "guid": z.string().optional() });
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VehicleManuallyMappedDto: z.ZodObject<{
|
|
3
|
+
driver: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
4
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
7
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
name?: string | null | undefined;
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
species?: string | null | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
name?: string | null | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
species?: string | null | undefined;
|
|
16
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
17
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
18
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
name?: string | null | undefined;
|
|
22
|
+
id?: number | undefined;
|
|
23
|
+
age?: number | undefined;
|
|
24
|
+
pets?: ({
|
|
25
|
+
name?: string | null | undefined;
|
|
26
|
+
id?: string | undefined;
|
|
27
|
+
species?: string | null | undefined;
|
|
28
|
+
} | null)[] | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
name?: string | null | undefined;
|
|
31
|
+
id?: number | undefined;
|
|
32
|
+
age?: number | undefined;
|
|
33
|
+
pets?: ({
|
|
34
|
+
name?: string | null | undefined;
|
|
35
|
+
id?: string | undefined;
|
|
36
|
+
species?: string | null | undefined;
|
|
37
|
+
} | null)[] | null | undefined;
|
|
38
|
+
}>, z.ZodNull]>>;
|
|
39
|
+
passengers: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
40
|
+
pets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
41
|
+
species: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
42
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
43
|
+
id: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
name?: string | null | undefined;
|
|
46
|
+
id?: string | undefined;
|
|
47
|
+
species?: string | null | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
name?: string | null | undefined;
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
species?: string | null | undefined;
|
|
52
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
53
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
54
|
+
age: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
name?: string | null | undefined;
|
|
58
|
+
id?: number | undefined;
|
|
59
|
+
age?: number | undefined;
|
|
60
|
+
pets?: ({
|
|
61
|
+
name?: string | null | undefined;
|
|
62
|
+
id?: string | undefined;
|
|
63
|
+
species?: string | null | undefined;
|
|
64
|
+
} | null)[] | null | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
name?: string | null | undefined;
|
|
67
|
+
id?: number | undefined;
|
|
68
|
+
age?: number | undefined;
|
|
69
|
+
pets?: ({
|
|
70
|
+
name?: string | null | undefined;
|
|
71
|
+
id?: string | undefined;
|
|
72
|
+
species?: string | null | undefined;
|
|
73
|
+
} | null)[] | null | undefined;
|
|
74
|
+
}>, z.ZodNull]>, "many">, z.ZodNull]>>;
|
|
75
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
76
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
guid: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
name?: string | null | undefined;
|
|
80
|
+
id?: number | undefined;
|
|
81
|
+
guid?: string | undefined;
|
|
82
|
+
driver?: {
|
|
83
|
+
name?: string | null | undefined;
|
|
84
|
+
id?: number | undefined;
|
|
85
|
+
age?: number | undefined;
|
|
86
|
+
pets?: ({
|
|
87
|
+
name?: string | null | undefined;
|
|
88
|
+
id?: string | undefined;
|
|
89
|
+
species?: string | null | undefined;
|
|
90
|
+
} | null)[] | null | undefined;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
passengers?: ({
|
|
93
|
+
name?: string | null | undefined;
|
|
94
|
+
id?: number | undefined;
|
|
95
|
+
age?: number | undefined;
|
|
96
|
+
pets?: ({
|
|
97
|
+
name?: string | null | undefined;
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
species?: string | null | undefined;
|
|
100
|
+
} | null)[] | null | undefined;
|
|
101
|
+
} | null)[] | null | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
name?: string | null | undefined;
|
|
104
|
+
id?: number | undefined;
|
|
105
|
+
guid?: string | undefined;
|
|
106
|
+
driver?: {
|
|
107
|
+
name?: string | null | undefined;
|
|
108
|
+
id?: number | undefined;
|
|
109
|
+
age?: number | undefined;
|
|
110
|
+
pets?: ({
|
|
111
|
+
name?: string | null | undefined;
|
|
112
|
+
id?: string | undefined;
|
|
113
|
+
species?: string | null | undefined;
|
|
114
|
+
} | null)[] | null | undefined;
|
|
115
|
+
} | null | undefined;
|
|
116
|
+
passengers?: ({
|
|
117
|
+
name?: string | null | undefined;
|
|
118
|
+
id?: number | undefined;
|
|
119
|
+
age?: number | undefined;
|
|
120
|
+
pets?: ({
|
|
121
|
+
name?: string | null | undefined;
|
|
122
|
+
id?: string | undefined;
|
|
123
|
+
species?: string | null | undefined;
|
|
124
|
+
} | null)[] | null | undefined;
|
|
125
|
+
} | null)[] | null | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
export type VehicleManuallyMappedDto = z.infer<typeof VehicleManuallyMappedDto>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const VehicleManuallyMappedDto = z.object({ "driver": z.union([z.object({ "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "id": z.number().int().optional() }), z.null()]).optional(), "passengers": z.union([z.array(z.union([z.object({ "pets": z.union([z.array(z.union([z.object({ "species": z.union([z.string(), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.string().optional() }), z.null()])), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "age": z.number().int().optional(), "id": z.number().int().optional() }), z.null()])), z.null()]).optional(), "name": z.union([z.string(), z.null()]).optional(), "id": z.number().int().optional(), "guid": z.string().optional() });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './Cornerstone/Auth/API/DTOs/RegisterRequestDto';
|
|
2
|
+
export * from './Cornerstone/Auth/API/DTOs/SignInRequestDto';
|
|
3
|
+
export * from './Cornerstone/Auth/API/DTOs/TokensDto';
|
|
4
|
+
export * from './Cornerstone/Fixtures/DTOs/AnythingDto';
|
|
5
|
+
export * from './Cornerstone/Fixtures/DTOs/AnythingManuallyMappedDto';
|
|
6
|
+
export * from './Cornerstone/Fixtures/DTOs/PersonDto';
|
|
7
|
+
export * from './Cornerstone/Fixtures/DTOs/PersonManuallyMappedDto';
|
|
8
|
+
export * from './Cornerstone/Fixtures/DTOs/PetDto';
|
|
9
|
+
export * from './Cornerstone/Fixtures/DTOs/PetManuallyMappedDto';
|
|
10
|
+
export * from './Cornerstone/Fixtures/DTOs/VehicleDto';
|
|
11
|
+
export * from './Cornerstone/Fixtures/DTOs/VehicleManuallyMappedDto';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './Cornerstone/Auth/API/DTOs/RegisterRequestDto'; // .NET RegisterRequestDto class
|
|
2
|
+
export * from './Cornerstone/Auth/API/DTOs/SignInRequestDto'; // .NET SignInRequestDto class
|
|
3
|
+
export * from './Cornerstone/Auth/API/DTOs/TokensDto'; // .NET TokensDto class
|
|
4
|
+
export * from './Cornerstone/Fixtures/DTOs/AnythingDto'; // .NET AnythingDto class
|
|
5
|
+
export * from './Cornerstone/Fixtures/DTOs/AnythingManuallyMappedDto'; // .NET AnythingManuallyMappedDto class
|
|
6
|
+
export * from './Cornerstone/Fixtures/DTOs/PersonDto'; // .NET PersonDto class
|
|
7
|
+
export * from './Cornerstone/Fixtures/DTOs/PersonManuallyMappedDto'; // .NET PersonManuallyMappedDto class
|
|
8
|
+
export * from './Cornerstone/Fixtures/DTOs/PetDto'; // .NET PetDto class
|
|
9
|
+
export * from './Cornerstone/Fixtures/DTOs/PetManuallyMappedDto'; // .NET PetManuallyMappedDto class
|
|
10
|
+
export * from './Cornerstone/Fixtures/DTOs/VehicleDto'; // .NET VehicleDto class
|
|
11
|
+
export * from './Cornerstone/Fixtures/DTOs/VehicleManuallyMappedDto'; // .NET VehicleManuallyMappedDto class
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReadSelectedPaginationDefinition, ReadSelectedOrderingDefinition, ReadSelectedFilteringDefinition } from '@data';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the selection criteria for a controller to fetch multiple records
|
|
4
|
+
*/
|
|
5
|
+
export declare class ReadSelectedDefinition {
|
|
6
|
+
/**
|
|
7
|
+
* Pagination definition
|
|
8
|
+
*/
|
|
9
|
+
PaginationDefinition?: ReadSelectedPaginationDefinition;
|
|
10
|
+
/**
|
|
11
|
+
* Ordering definition
|
|
12
|
+
*/
|
|
13
|
+
OrderingDefinition?: ReadSelectedOrderingDefinition;
|
|
14
|
+
/**
|
|
15
|
+
* Filtering definition
|
|
16
|
+
*/
|
|
17
|
+
FilteringDefinition?: ReadSelectedFilteringDefinition;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the selection criteria for a controller to fetch multiple records
|
|
3
|
+
*/
|
|
4
|
+
export class ReadSelectedDefinition {
|
|
5
|
+
/**
|
|
6
|
+
* Pagination definition
|
|
7
|
+
*/
|
|
8
|
+
PaginationDefinition;
|
|
9
|
+
/**
|
|
10
|
+
* Ordering definition
|
|
11
|
+
*/
|
|
12
|
+
OrderingDefinition;
|
|
13
|
+
/**
|
|
14
|
+
* Filtering definition
|
|
15
|
+
*/
|
|
16
|
+
FilteringDefinition;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReadSelectedFilteringPropertyDefinition, ReadSelectedLogicalOperator } from '@data';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the filtering options for a controller, including the logical operator and an array of property definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ReadSelectedFilteringDefinition {
|
|
6
|
+
/**
|
|
7
|
+
* Array of filtering property definitions to be applied.
|
|
8
|
+
*/
|
|
9
|
+
Filters?: ReadSelectedFilteringPropertyDefinition[];
|
|
10
|
+
/**
|
|
11
|
+
* Logical operator to be used when applying the filters.
|
|
12
|
+
*/
|
|
13
|
+
LogicalOperator: ReadSelectedLogicalOperator;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the filtering options for a controller, including the logical operator and an array of property definitions.
|
|
3
|
+
*/
|
|
4
|
+
export class ReadSelectedFilteringDefinition {
|
|
5
|
+
/**
|
|
6
|
+
* Array of filtering property definitions to be applied.
|
|
7
|
+
*/
|
|
8
|
+
Filters;
|
|
9
|
+
/**
|
|
10
|
+
* Logical operator to be used when applying the filters.
|
|
11
|
+
*/
|
|
12
|
+
LogicalOperator;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReadSelectedComparisonOperator, ReadSelectedPropertyType } from '@data';
|
|
2
|
+
/**
|
|
3
|
+
* Defines a property used for filtering in a controller.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ReadSelectedFilteringPropertyDefinition {
|
|
6
|
+
/**
|
|
7
|
+
* The path to the property being filtered.
|
|
8
|
+
*/
|
|
9
|
+
PropertyPath: string;
|
|
10
|
+
/**
|
|
11
|
+
* The comparison operator to use for the filter.
|
|
12
|
+
*/
|
|
13
|
+
ComparisonOperator: ReadSelectedComparisonOperator;
|
|
14
|
+
/**
|
|
15
|
+
* The type of the property value being filtered.
|
|
16
|
+
*/
|
|
17
|
+
ValueType: ReadSelectedPropertyType;
|
|
18
|
+
/**
|
|
19
|
+
* The value to use for the filter.
|
|
20
|
+
*/
|
|
21
|
+
Value: unknown;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines a property used for filtering in a controller.
|
|
3
|
+
*/
|
|
4
|
+
export class ReadSelectedFilteringPropertyDefinition {
|
|
5
|
+
/**
|
|
6
|
+
* The path to the property being filtered.
|
|
7
|
+
*/
|
|
8
|
+
PropertyPath;
|
|
9
|
+
/**
|
|
10
|
+
* The comparison operator to use for the filter.
|
|
11
|
+
*/
|
|
12
|
+
ComparisonOperator;
|
|
13
|
+
/**
|
|
14
|
+
* The type of the property value being filtered.
|
|
15
|
+
*/
|
|
16
|
+
ValueType;
|
|
17
|
+
/**
|
|
18
|
+
* The value to use for the filter.
|
|
19
|
+
*/
|
|
20
|
+
Value = undefined;
|
|
21
|
+
}
|