@purpleschool/gptbot-tools 0.0.13 → 0.0.15

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.
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REASONINIG_EFFORT = void 0;
4
- var REASONINIG_EFFORT;
5
- (function (REASONINIG_EFFORT) {
6
- REASONINIG_EFFORT["LOW"] = "low";
7
- REASONINIG_EFFORT["MEDIUM"] = "medium";
8
- REASONINIG_EFFORT["HIGH"] = "high";
9
- })(REASONINIG_EFFORT || (exports.REASONINIG_EFFORT = REASONINIG_EFFORT = {}));
3
+ exports.REASONING_EFFORT = void 0;
4
+ var REASONING_EFFORT;
5
+ (function (REASONING_EFFORT) {
6
+ REASONING_EFFORT["LOW"] = "low";
7
+ REASONING_EFFORT["MEDIUM"] = "medium";
8
+ REASONING_EFFORT["HIGH"] = "high";
9
+ })(REASONING_EFFORT || (exports.REASONING_EFFORT = REASONING_EFFORT = {}));
@@ -7,6 +7,7 @@ exports.ParaphraseStyleSchema = zod_1.z.object({
7
7
  title: zod_1.z.string(),
8
8
  icon: zod_1.z.string(),
9
9
  prompt: zod_1.z.string(),
10
+ order: zod_1.z.number(),
10
11
  createdAt: zod_1.z.date(),
11
12
  updatedAt: zod_1.z.date(),
12
13
  });
@@ -9,7 +9,8 @@ exports.ParaphraseTypeSchema = zod_1.z.object({
9
9
  icon: zod_1.z.string(),
10
10
  price: zod_1.z.number(),
11
11
  aiModel: zod_1.z.string(),
12
- reasoningEffort: zod_1.z.nativeEnum(common_1.REASONINIG_EFFORT).nullable().optional(),
12
+ reasoningEffort: zod_1.z.nativeEnum(common_1.REASONING_EFFORT).nullable().optional(),
13
+ order: zod_1.z.number(),
13
14
  createdAt: zod_1.z.date(),
14
15
  updatedAt: zod_1.z.date(),
15
16
  });
@@ -7,6 +7,7 @@ exports.ToolSchema = zod_1.z.object({
7
7
  title: zod_1.z.string(),
8
8
  description: zod_1.z.string(),
9
9
  icon: zod_1.z.string(),
10
+ order: zod_1.z.number(),
10
11
  createdAt: zod_1.z.date(),
11
12
  updatedAt: zod_1.z.date(),
12
13
  });
@@ -1,4 +1,4 @@
1
- export enum REASONINIG_EFFORT {
1
+ export enum REASONING_EFFORT {
2
2
  LOW = 'low',
3
3
  MEDIUM = 'medium',
4
4
  HIGH = 'high',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "scripts": {
@@ -5,6 +5,7 @@ export const ParaphraseStyleSchema = z.object({
5
5
  title: z.string(),
6
6
  icon: z.string(),
7
7
  prompt: z.string(),
8
+ order: z.number(),
8
9
  createdAt: z.date(),
9
10
  updatedAt: z.date(),
10
11
  });
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { REASONINIG_EFFORT } from '../../common';
2
+ import { REASONING_EFFORT } from '../../common';
3
3
 
4
4
  export const ParaphraseTypeSchema = z.object({
5
5
  uuid: z.string(),
@@ -7,7 +7,8 @@ export const ParaphraseTypeSchema = z.object({
7
7
  icon: z.string(),
8
8
  price: z.number(),
9
9
  aiModel: z.string(),
10
- reasoningEffort: z.nativeEnum(REASONINIG_EFFORT).nullable().optional(),
10
+ reasoningEffort: z.nativeEnum(REASONING_EFFORT).nullable().optional(),
11
+ order: z.number(),
11
12
  createdAt: z.date(),
12
13
  updatedAt: z.date(),
13
14
  });
@@ -5,6 +5,7 @@ export const ToolSchema = z.object({
5
5
  title: z.string(),
6
6
  description: z.string(),
7
7
  icon: z.string(),
8
+ order: z.number(),
8
9
  createdAt: z.date(),
9
10
  updatedAt: z.date(),
10
11
  });