expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.2 → 0.5.0-EXPO-283-EB-Respuesta-Enlatada.4
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/dist/src/cannedResponse/dto/create-cannedResponse.dto.d.ts +73 -1
- package/dist/src/cannedResponse/dto/create-cannedResponse.dto.js +14 -2
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.d.ts +47 -0
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.js +10 -0
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.d.ts +88 -0
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.js +16 -0
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.d.ts +73 -0
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.js +17 -0
- package/dist/src/cannedResponse/exports.d.ts +5 -0
- package/dist/src/cannedResponse/exports.js +22 -0
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/package.json +1 -1
- package/dist/src/cannedResponse/dto/exports.d.ts +0 -1
- package/dist/src/cannedResponse/dto/exports.js +0 -3
@@ -1 +1,73 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const createCannedResponseSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
createdBy: import("zod").ZodString;
|
6
|
+
created_at: import("zod").ZodDate;
|
7
|
+
updated_at: import("zod").ZodDate;
|
8
|
+
}, "name" | "content">, "strip", import("zod").ZodTypeAny, {
|
9
|
+
name: string;
|
10
|
+
content: string;
|
11
|
+
}, {
|
12
|
+
name: string;
|
13
|
+
content: string;
|
14
|
+
}>;
|
15
|
+
declare const CreateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
16
|
+
name: import("zod").ZodString;
|
17
|
+
content: import("zod").ZodString;
|
18
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
19
|
+
name: string;
|
20
|
+
content: string;
|
21
|
+
}, {
|
22
|
+
name: string;
|
23
|
+
content: string;
|
24
|
+
}>>;
|
25
|
+
export declare class CreateCannedResponseDto extends CreateCannedResponseDto_base {
|
26
|
+
}
|
27
|
+
export declare const createCannedResponseResponseSchema: import("zod").ZodObject<{
|
28
|
+
id: import("zod").ZodString;
|
29
|
+
name: import("zod").ZodString;
|
30
|
+
content: import("zod").ZodString;
|
31
|
+
createdBy: import("zod").ZodString;
|
32
|
+
created_at: import("zod").ZodDate;
|
33
|
+
updated_at: import("zod").ZodDate;
|
34
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35
|
+
id: string;
|
36
|
+
name: string;
|
37
|
+
content: string;
|
38
|
+
created_at: Date;
|
39
|
+
updated_at: Date;
|
40
|
+
createdBy: string;
|
41
|
+
}, {
|
42
|
+
id: string;
|
43
|
+
name: string;
|
44
|
+
content: string;
|
45
|
+
created_at: Date;
|
46
|
+
updated_at: Date;
|
47
|
+
createdBy: string;
|
48
|
+
}>;
|
49
|
+
declare const CreateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
50
|
+
id: import("zod").ZodString;
|
51
|
+
name: import("zod").ZodString;
|
52
|
+
content: import("zod").ZodString;
|
53
|
+
createdBy: import("zod").ZodString;
|
54
|
+
created_at: import("zod").ZodString;
|
55
|
+
updated_at: import("zod").ZodString;
|
56
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
57
|
+
id: string;
|
58
|
+
name: string;
|
59
|
+
content: string;
|
60
|
+
created_at: string;
|
61
|
+
updated_at: string;
|
62
|
+
createdBy: string;
|
63
|
+
}, {
|
64
|
+
id: string;
|
65
|
+
name: string;
|
66
|
+
content: string;
|
67
|
+
created_at: string;
|
68
|
+
updated_at: string;
|
69
|
+
createdBy: string;
|
70
|
+
}>>;
|
71
|
+
export declare class CreateCannedResponseResponseDto extends CreateCannedResponseResponseDto_base {
|
72
|
+
}
|
73
|
+
export {};
|
@@ -1,5 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
|
3
|
+
exports.CreateCannedResponseResponseDto = exports.createCannedResponseResponseSchema = exports.CreateCannedResponseDto = exports.createCannedResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const cannedResponse_dto_1 = require("./cannedResponse.dto");
|
6
|
+
exports.createCannedResponseSchema = cannedResponse_dto_1.cannedResponseSchema.pick({
|
7
|
+
name: true,
|
8
|
+
content: true,
|
9
|
+
});
|
10
|
+
class CreateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseSchema) {
|
11
|
+
}
|
12
|
+
exports.CreateCannedResponseDto = CreateCannedResponseDto;
|
13
|
+
exports.createCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
|
14
|
+
class CreateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.CreateCannedResponseResponseDto = CreateCannedResponseResponseDto;
|
5
17
|
//# sourceMappingURL=create-cannedResponse.dto.js.map
|
@@ -0,0 +1,47 @@
|
|
1
|
+
export declare const deleteCannedResponseResponseSchema: import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
createdBy: import("zod").ZodString;
|
6
|
+
created_at: import("zod").ZodDate;
|
7
|
+
updated_at: import("zod").ZodDate;
|
8
|
+
}, "strip", import("zod").ZodTypeAny, {
|
9
|
+
id: string;
|
10
|
+
name: string;
|
11
|
+
content: string;
|
12
|
+
created_at: Date;
|
13
|
+
updated_at: Date;
|
14
|
+
createdBy: string;
|
15
|
+
}, {
|
16
|
+
id: string;
|
17
|
+
name: string;
|
18
|
+
content: string;
|
19
|
+
created_at: Date;
|
20
|
+
updated_at: Date;
|
21
|
+
createdBy: string;
|
22
|
+
}>;
|
23
|
+
declare const DeleteCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
24
|
+
id: import("zod").ZodString;
|
25
|
+
name: import("zod").ZodString;
|
26
|
+
content: import("zod").ZodString;
|
27
|
+
createdBy: import("zod").ZodString;
|
28
|
+
created_at: import("zod").ZodString;
|
29
|
+
updated_at: import("zod").ZodString;
|
30
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
31
|
+
id: string;
|
32
|
+
name: string;
|
33
|
+
content: string;
|
34
|
+
created_at: string;
|
35
|
+
updated_at: string;
|
36
|
+
createdBy: string;
|
37
|
+
}, {
|
38
|
+
id: string;
|
39
|
+
name: string;
|
40
|
+
content: string;
|
41
|
+
created_at: string;
|
42
|
+
updated_at: string;
|
43
|
+
createdBy: string;
|
44
|
+
}>>;
|
45
|
+
export declare class DeleteCannedResponseResponseDto extends DeleteCannedResponseResponseDto_base {
|
46
|
+
}
|
47
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteCannedResponseResponseDto = exports.deleteCannedResponseResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const cannedResponse_dto_1 = require("./cannedResponse.dto");
|
6
|
+
exports.deleteCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
|
7
|
+
class DeleteCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteCannedResponseResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.DeleteCannedResponseResponseDto = DeleteCannedResponseResponseDto;
|
10
|
+
//# sourceMappingURL=delete-cannedResponse.dto.js.map
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getAllCannedResponseSchema: z.ZodObject<{
|
3
|
+
cannedResponses: z.ZodArray<z.ZodObject<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
content: z.ZodString;
|
7
|
+
createdBy: z.ZodString;
|
8
|
+
created_at: z.ZodDate;
|
9
|
+
updated_at: z.ZodDate;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
id: string;
|
12
|
+
name: string;
|
13
|
+
content: string;
|
14
|
+
created_at: Date;
|
15
|
+
updated_at: Date;
|
16
|
+
createdBy: string;
|
17
|
+
}, {
|
18
|
+
id: string;
|
19
|
+
name: string;
|
20
|
+
content: string;
|
21
|
+
created_at: Date;
|
22
|
+
updated_at: Date;
|
23
|
+
createdBy: string;
|
24
|
+
}>, "many">;
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
26
|
+
cannedResponses: {
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
content: string;
|
30
|
+
created_at: Date;
|
31
|
+
updated_at: Date;
|
32
|
+
createdBy: string;
|
33
|
+
}[];
|
34
|
+
}, {
|
35
|
+
cannedResponses: {
|
36
|
+
id: string;
|
37
|
+
name: string;
|
38
|
+
content: string;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
createdBy: string;
|
42
|
+
}[];
|
43
|
+
}>;
|
44
|
+
declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
45
|
+
cannedResponses: z.ZodArray<z.ZodObject<{
|
46
|
+
id: z.ZodString;
|
47
|
+
name: z.ZodString;
|
48
|
+
content: z.ZodString;
|
49
|
+
createdBy: z.ZodString;
|
50
|
+
created_at: z.ZodString;
|
51
|
+
updated_at: z.ZodString;
|
52
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
53
|
+
id: string;
|
54
|
+
name: string;
|
55
|
+
content: string;
|
56
|
+
created_at: string;
|
57
|
+
updated_at: string;
|
58
|
+
createdBy: string;
|
59
|
+
}, {
|
60
|
+
id: string;
|
61
|
+
name: string;
|
62
|
+
content: string;
|
63
|
+
created_at: string;
|
64
|
+
updated_at: string;
|
65
|
+
createdBy: string;
|
66
|
+
}>, "many">;
|
67
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
68
|
+
cannedResponses: {
|
69
|
+
id: string;
|
70
|
+
name: string;
|
71
|
+
content: string;
|
72
|
+
created_at: string;
|
73
|
+
updated_at: string;
|
74
|
+
createdBy: string;
|
75
|
+
}[];
|
76
|
+
}, {
|
77
|
+
cannedResponses: {
|
78
|
+
id: string;
|
79
|
+
name: string;
|
80
|
+
content: string;
|
81
|
+
created_at: string;
|
82
|
+
updated_at: string;
|
83
|
+
createdBy: string;
|
84
|
+
}[];
|
85
|
+
}>>;
|
86
|
+
export declare class GetAllCannedResponseDto extends GetAllCannedResponseDto_base {
|
87
|
+
}
|
88
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.GetAllCannedResponseDto = exports.getAllCannedResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
const cannedResponse_dto_1 = require("./cannedResponse.dto");
|
10
|
+
exports.getAllCannedResponseSchema = zod_1.default.object({
|
11
|
+
cannedResponses: zod_1.default.array(cannedResponse_dto_1.cannedResponseSchema),
|
12
|
+
});
|
13
|
+
class GetAllCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllCannedResponseSchema) {
|
14
|
+
}
|
15
|
+
exports.GetAllCannedResponseDto = GetAllCannedResponseDto;
|
16
|
+
//# sourceMappingURL=get-all-cannedResponse.dto.js.map
|
@@ -0,0 +1,73 @@
|
|
1
|
+
export declare const updateCannedResponseSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
createdBy: import("zod").ZodString;
|
6
|
+
created_at: import("zod").ZodDate;
|
7
|
+
updated_at: import("zod").ZodDate;
|
8
|
+
}, "name" | "content">, "strip", import("zod").ZodTypeAny, {
|
9
|
+
name: string;
|
10
|
+
content: string;
|
11
|
+
}, {
|
12
|
+
name: string;
|
13
|
+
content: string;
|
14
|
+
}>;
|
15
|
+
declare const UpdateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
16
|
+
name: import("zod").ZodString;
|
17
|
+
content: import("zod").ZodString;
|
18
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
19
|
+
name: string;
|
20
|
+
content: string;
|
21
|
+
}, {
|
22
|
+
name: string;
|
23
|
+
content: string;
|
24
|
+
}>>;
|
25
|
+
export declare class UpdateCannedResponseDto extends UpdateCannedResponseDto_base {
|
26
|
+
}
|
27
|
+
export declare const updateCannedResponseResponseSchema: import("zod").ZodObject<{
|
28
|
+
id: import("zod").ZodString;
|
29
|
+
name: import("zod").ZodString;
|
30
|
+
content: import("zod").ZodString;
|
31
|
+
createdBy: import("zod").ZodString;
|
32
|
+
created_at: import("zod").ZodDate;
|
33
|
+
updated_at: import("zod").ZodDate;
|
34
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35
|
+
id: string;
|
36
|
+
name: string;
|
37
|
+
content: string;
|
38
|
+
created_at: Date;
|
39
|
+
updated_at: Date;
|
40
|
+
createdBy: string;
|
41
|
+
}, {
|
42
|
+
id: string;
|
43
|
+
name: string;
|
44
|
+
content: string;
|
45
|
+
created_at: Date;
|
46
|
+
updated_at: Date;
|
47
|
+
createdBy: string;
|
48
|
+
}>;
|
49
|
+
declare const UpdateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
50
|
+
id: import("zod").ZodString;
|
51
|
+
name: import("zod").ZodString;
|
52
|
+
content: import("zod").ZodString;
|
53
|
+
createdBy: import("zod").ZodString;
|
54
|
+
created_at: import("zod").ZodString;
|
55
|
+
updated_at: import("zod").ZodString;
|
56
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
57
|
+
id: string;
|
58
|
+
name: string;
|
59
|
+
content: string;
|
60
|
+
created_at: string;
|
61
|
+
updated_at: string;
|
62
|
+
createdBy: string;
|
63
|
+
}, {
|
64
|
+
id: string;
|
65
|
+
name: string;
|
66
|
+
content: string;
|
67
|
+
created_at: string;
|
68
|
+
updated_at: string;
|
69
|
+
createdBy: string;
|
70
|
+
}>>;
|
71
|
+
export declare class UpdateCannedResponseResponseDto extends UpdateCannedResponseResponseDto_base {
|
72
|
+
}
|
73
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateCannedResponseResponseDto = exports.updateCannedResponseResponseSchema = exports.UpdateCannedResponseDto = exports.updateCannedResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const cannedResponse_dto_1 = require("./cannedResponse.dto");
|
6
|
+
exports.updateCannedResponseSchema = cannedResponse_dto_1.cannedResponseSchema.pick({
|
7
|
+
name: true,
|
8
|
+
content: true,
|
9
|
+
});
|
10
|
+
class UpdateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseSchema) {
|
11
|
+
}
|
12
|
+
exports.UpdateCannedResponseDto = UpdateCannedResponseDto;
|
13
|
+
exports.updateCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
|
14
|
+
class UpdateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.UpdateCannedResponseResponseDto = UpdateCannedResponseResponseDto;
|
17
|
+
//# sourceMappingURL=update-cannedResponse.dto.js.map
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/cannedResponse.dto"), exports);
|
18
|
+
__exportStar(require("./dto/create-cannedResponse.dto"), exports);
|
19
|
+
__exportStar(require("./dto/delete-cannedResponse.dto"), exports);
|
20
|
+
__exportStar(require("./dto/get-all-cannedResponse.dto"), exports);
|
21
|
+
__exportStar(require("./dto/update-cannedResponse.dto"), exports);
|
22
|
+
//# sourceMappingURL=exports.js.map
|
package/dist/src/exports.d.ts
CHANGED
package/dist/src/exports.js
CHANGED
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./account/exports"), exports);
|
18
18
|
__exportStar(require("./auth/exports"), exports);
|
19
|
+
__exportStar(require("./cannedResponse/exports"), exports);
|
19
20
|
__exportStar(require("./comment/exports"), exports);
|
20
21
|
__exportStar(require("./event-folder/exports"), exports);
|
21
22
|
__exportStar(require("./event/exports"), exports);
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|