@purpleschool/gptbot 0.19.4-stage-2 → 0.19.5-stage-2
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/commands/folder/create-folder.command.d.ts +1 -0
- package/build/commands/folder/find-folder-by-uuid-with-chats.command.d.ts +1 -0
- package/build/commands/folder/find-folder-by-uuid.command.d.ts +1 -0
- package/build/commands/folder/find-folders-by-user.command.d.ts +2 -0
- package/build/commands/folder/find-folders-by-user.command.js +2 -0
- package/build/commands/folder/update-folder.command.d.ts +2 -0
- package/build/commands/folder/update-folder.command.js +1 -0
- package/build/models/folder.schema.d.ts +1 -0
- package/build/models/folder.schema.js +1 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare namespace FindFoldersByUserCommand {
|
|
|
4
4
|
limit: z.ZodCoercedNumber<unknown>;
|
|
5
5
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
6
|
title: z.ZodOptional<z.ZodString>;
|
|
7
|
+
isFavorite: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
|
|
7
8
|
}, z.core.$strip>;
|
|
8
9
|
type Request = z.infer<typeof RequestSchema>;
|
|
9
10
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -12,6 +13,7 @@ export declare namespace FindFoldersByUserCommand {
|
|
|
12
13
|
title: z.ZodString;
|
|
13
14
|
prompt: z.ZodString;
|
|
14
15
|
userId: z.ZodUUID;
|
|
16
|
+
isFavorite: z.ZodBoolean;
|
|
15
17
|
createdAt: z.ZodDate;
|
|
16
18
|
updatedAt: z.ZodDate;
|
|
17
19
|
}, z.core.$strip>>;
|
|
@@ -6,12 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.FindFoldersByUserCommand = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const models_1 = require("../../models");
|
|
9
|
+
const helpers_1 = require("../../helpers");
|
|
9
10
|
var FindFoldersByUserCommand;
|
|
10
11
|
(function (FindFoldersByUserCommand) {
|
|
11
12
|
FindFoldersByUserCommand.RequestSchema = zod_1.default.object({
|
|
12
13
|
limit: zod_1.default.coerce.number().min(1),
|
|
13
14
|
offset: zod_1.default.coerce.number().min(0).default(0),
|
|
14
15
|
title: zod_1.default.string().optional(),
|
|
16
|
+
isFavorite: helpers_1.QueryBooleanSchema.optional(),
|
|
15
17
|
});
|
|
16
18
|
FindFoldersByUserCommand.ResponseSchema = zod_1.default.object({
|
|
17
19
|
data: zod_1.default.array(models_1.FolderSchema),
|
|
@@ -7,6 +7,7 @@ export declare namespace UpdateFolderCommand {
|
|
|
7
7
|
const RequestSchema: z.ZodObject<{
|
|
8
8
|
title: z.ZodOptional<z.ZodString>;
|
|
9
9
|
prompt: z.ZodOptional<z.ZodString>;
|
|
10
|
+
isFavorite: z.ZodOptional<z.ZodBoolean>;
|
|
10
11
|
}, z.core.$strip>;
|
|
11
12
|
type Request = z.infer<typeof RequestSchema>;
|
|
12
13
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -15,6 +16,7 @@ export declare namespace UpdateFolderCommand {
|
|
|
15
16
|
title: z.ZodString;
|
|
16
17
|
prompt: z.ZodString;
|
|
17
18
|
userId: z.ZodUUID;
|
|
19
|
+
isFavorite: z.ZodBoolean;
|
|
18
20
|
createdAt: z.ZodDate;
|
|
19
21
|
updatedAt: z.ZodDate;
|
|
20
22
|
}, z.core.$strip>;
|