@purpleschool/rugpt-lib-common 0.0.29 → 0.0.31
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/build/enums/index.js +0 -1
- package/build/index.js +2 -0
- package/build/{enums/tools-api → tools-api}/commands/save-file.command.js +2 -1
- package/enums/index.ts +0 -1
- package/index.ts +2 -1
- package/package.json +1 -1
- package/{enums/tools-api → tools-api}/commands/save-file.command.ts +2 -1
- /package/build/{enums/tools-api → tools-api}/commands/index.js +0 -0
- /package/build/{enums/tools-api → tools-api}/index.js +0 -0
- /package/build/{enums/tools-api → tools-api}/tools-api.amqp.routes.js +0 -0
- /package/{enums/tools-api → tools-api}/commands/index.ts +0 -0
- /package/{enums/tools-api → tools-api}/index.ts +0 -0
- /package/{enums/tools-api → tools-api}/tools-api.amqp.routes.ts +0 -0
package/build/enums/index.js
CHANGED
|
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ai-model-status.enum"), exports);
|
|
18
18
|
__exportStar(require("./locale.enum"), exports);
|
|
19
19
|
__exportStar(require("./statistics"), exports);
|
|
20
|
-
__exportStar(require("./tools-api"), exports);
|
package/build/index.js
CHANGED
|
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./enums"), exports);
|
|
18
18
|
__exportStar(require("./errors"), exports);
|
|
19
|
+
__exportStar(require("./common"), exports);
|
|
20
|
+
__exportStar(require("./tools-api"), exports);
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SaveFileCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
6
|
var SaveFileCommand;
|
|
7
7
|
(function (SaveFileCommand) {
|
|
8
8
|
SaveFileCommand.RequestSchema = zod_1.z.object({
|
|
9
9
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
10
10
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
jobId: zod_1.z.string().uuid(),
|
|
11
12
|
fileUrls: zod_1.z.array(zod_1.z.string().url()).min(1),
|
|
12
13
|
});
|
|
13
14
|
const fileWithUuid = zod_1.z.object({
|
package/enums/index.ts
CHANGED
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { ICommandResponseSchema } from "
|
|
2
|
+
import { ICommandResponseSchema } from "../../common";
|
|
3
3
|
|
|
4
4
|
export namespace SaveFileCommand {
|
|
5
5
|
export const RequestSchema = z.object({
|
|
6
6
|
userId: z.string().uuid().nullable().optional(),
|
|
7
7
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
8
|
+
jobId: z.string().uuid(),
|
|
8
9
|
fileUrls: z.array(z.string().url()).min(1),
|
|
9
10
|
});
|
|
10
11
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|