@encatch/schema 0.1.23 → 0.1.25

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,5 +1,5 @@
1
1
  export { questionTypeSchema, validationRuleTypeSchema, validationRuleSchema, visibilityConditionSchema, sectionSchema, questionStatusSchema, ratingDisplayStyleSchema, ratingRepresentationSizeSchema, multipleChoiceDisplayStyleSchema, multipleChoiceMultipleDisplayStyleSchema, choiceOrderOptionSchema, questionSchema, ratingQuestionSchema, annotationQuestionSchema, questionOptionSchema, nestedOptionSchema, multipleChoiceSingleQuestionSchema, multipleChoiceMultipleQuestionSchema, npsQuestionSchema, shortAnswerQuestionSchema, longAnswerQuestionSchema, nestedDropdownQuestionSchema, combinedQuestionSchema, QuestionTypes, ValidationRuleTypes, VisibilityConditionOperators, QuestionStatuses, RatingDisplayStyles, RatingRepresentationSizes, MultipleChoiceDisplayStyles, MultipleChoiceMultipleDisplayStyles, ChoiceOrderOptions, type QuestionType, type ValidationRule, type VisibilityCondition, type QuestionStatus, type Question, type RatingDisplayStyle, type RatingRepresentationSize, type RatingQuestion, type AnnotationQuestion, type QuestionOption, type NestedOption, type MultipleChoiceDisplayStyle, type MultipleChoiceSingleQuestion, type MultipleChoiceMultipleDisplayStyle, type MultipleChoiceMultipleQuestion, type NpsQuestion, type ShortAnswerQuestion, type LongAnswerQuestion, type ChoiceOrderOption, type NestedDropdownQuestion, type Section, type CombinedQuestion, } from "./schemas/fields/field-schema";
2
- export { AnnotationMarkerSchema, AnnotationSchema, AnswerItemSchema, QuestionsResponseSchema, AnswerSchema, type AnnotationMarker, type Annotation, type AnswerItem, type QuestionsResponse, type Answer, } from "./schemas/fields/answer-schema";
2
+ export { AnnotationMarkerSchema, AnnotationSchema, AnswerItemSchema, AnswerSchema, type AnnotationMarker, type Annotation, type AnswerItem, type Answer, } from "./schemas/fields/answer-schema";
3
3
  export { surveyTypeSchema, yesNoSchema, recurringUnitSchema, frequencyAndSchedulingPropertiesSchema, externalPublishingPropertiesSchema, publicationStatusSchema, feedbackConfigurationSchema, SurveyTypes, YesNoValues, RecurringUnits, PublicationStatuses, type SurveyType, type YesNo, type RecurringUnit, type PublicationStatus, type FeedbackConfiguration, type FrequencyAndSchedulingProperties, type ExternalPublishingProperties, } from "./schemas/fields/form-schema";
4
4
  export { otherConfigurationPropertiesSchema, welcomeScreenPropertiesSchema, endScreenPropertiesSchema, appearancePropertiesSchema, formPropertiesSchema, type FormProperties, type OtherConfigurationProperties, type WelcomeScreenProperties, type EndScreenProperties, type AppearanceProperties, } from "./schemas/fields/form-properties-schema";
5
5
  export { dismissBehaviorSchema, WelcomeScreenFieldsSchema, EndScreenFieldsSchema, WelcomeFieldsTranslationSchema, EndFieldsTranslationSchema, OtherFieldsSchema, LanguageFieldSchema, LanguagesSchema, OtherFieldsTranslationSchema, DismissBehaviors, type WelcomeFields, type EndFields, type WelcomeFieldsTranslation, type EndFieldsTranslation, type OtherFields, type OtherFieldsTranslation, type LanguageField, type Languages, } from "./schemas/fields/other-screen-schema";
@@ -10,4 +10,5 @@ export { masterPropertiesSchema, type MasterProperties, } from "./schemas/fields
10
10
  export { deviceThemeSchema, deviceInfoSchema, sessionInfoSchema, deviceSessionInfoSchema, userPropertiesSchema, userInfoSchema, DeviceThemes, type DeviceTheme, type DeviceInfo, type SessionInfo, type DeviceSessionInfo, type UserProperties, type UserInfo, } from "./schemas/api/other-schema";
11
11
  export { userActionSchema, formConfigSchema, questionResponseSchema, responseSchema, matchedTriggerPropertiesSchema, baseSubmitFeedbackSchema, viewFeedbackSchema, submitFeedbackSchema, feedbackRequestSchema, UserActions, type UserAction, type FormConfig, type QuestionResponse, type Response, type MatchedTriggerProperties, type BaseSubmitFeedback, type ViewFeedback, type SubmitFeedback, type FeedbackRequest, } from "./schemas/api/submit-feedback-schema";
12
12
  export { feedbackConfigurationItemSchema, fetchFormConfigSchema, fetchConfigurationListSchema, fetchFeedbackDetailsSchema, formConfigurationResponseSchema, questionnaireFieldsResponseSchema, fetchFeedbackDetailsResponseSchema, fetchConfigurationListResponseSchema, type FeedbackConfigurationItem, type FetchFormConfig, type FetchConfigurationListRequest, type FetchFeedbackDetailsRequest, type FormConfigurationResponse, type QuestionnaireFieldsResponse, type FetchFeedbackDetailsResponse, type FetchConfigurationListResponse, } from "./schemas/api/fetch-feedback-schema";
13
+ export { RefineTextParams, RefineTextResponse, RefineTextData, refineTextDataSchema, refineTextParamsSchema, refineTextResponseSchema, } from "./schemas/api/refine-text-schema";
13
14
  export { z } from "zod";
@@ -103,21 +103,22 @@ export declare const fetchFormConfigSchema: z.ZodObject<{
103
103
  }, z.core.$strip>;
104
104
  export declare const fetchConfigurationListSchema: z.ZodObject<{
105
105
  deviceInfo: z.ZodObject<{
106
- deviceType: z.ZodString;
107
- timezone: z.ZodString;
108
- theme: z.ZodEnum<{
106
+ $deviceType: z.ZodString;
107
+ $timezone: z.ZodString;
108
+ $theme: z.ZodEnum<{
109
109
  light: "light";
110
110
  dark: "dark";
111
111
  system: "system";
112
112
  }>;
113
- os: z.ZodString;
114
- osVersion: z.ZodString;
115
- appVersion: z.ZodString;
116
- app: z.ZodString;
117
- language: z.ZodString;
113
+ $os: z.ZodString;
114
+ $osVersion: z.ZodString;
115
+ $appVersion: z.ZodString;
116
+ $app: z.ZodString;
117
+ $language: z.ZodString;
118
118
  }, z.core.$strip>;
119
119
  sessionInfo: z.ZodObject<{
120
- sessionId: z.ZodString;
120
+ $sessionId: z.ZodString;
121
+ $timestamp: z.ZodOptional<z.ZodString>;
121
122
  }, z.core.$strip>;
122
123
  userInfo: z.ZodOptional<z.ZodObject<{
123
124
  userName: z.ZodString;
@@ -135,21 +136,22 @@ export declare const fetchFeedbackDetailsSchema: z.ZodObject<{
135
136
  responseLanguageCode: z.ZodString;
136
137
  }, z.core.$strip>;
137
138
  deviceInfo: z.ZodObject<{
138
- deviceType: z.ZodString;
139
- timezone: z.ZodString;
140
- theme: z.ZodEnum<{
139
+ $deviceType: z.ZodString;
140
+ $timezone: z.ZodString;
141
+ $theme: z.ZodEnum<{
141
142
  light: "light";
142
143
  dark: "dark";
143
144
  system: "system";
144
145
  }>;
145
- os: z.ZodString;
146
- osVersion: z.ZodString;
147
- appVersion: z.ZodString;
148
- app: z.ZodString;
149
- language: z.ZodString;
146
+ $os: z.ZodString;
147
+ $osVersion: z.ZodString;
148
+ $appVersion: z.ZodString;
149
+ $app: z.ZodString;
150
+ $language: z.ZodString;
150
151
  }, z.core.$strip>;
151
152
  sessionInfo: z.ZodObject<{
152
- sessionId: z.ZodString;
153
+ $sessionId: z.ZodString;
154
+ $timestamp: z.ZodOptional<z.ZodString>;
153
155
  }, z.core.$strip>;
154
156
  userInfo: z.ZodOptional<z.ZodObject<{
155
157
  userName: z.ZodString;
@@ -10,39 +10,41 @@ export declare const DeviceThemes: {
10
10
  readonly SYSTEM: "system";
11
11
  };
12
12
  export declare const deviceInfoSchema: z.ZodObject<{
13
- deviceType: z.ZodString;
14
- timezone: z.ZodString;
15
- theme: z.ZodEnum<{
13
+ $deviceType: z.ZodString;
14
+ $timezone: z.ZodString;
15
+ $theme: z.ZodEnum<{
16
16
  light: "light";
17
17
  dark: "dark";
18
18
  system: "system";
19
19
  }>;
20
- os: z.ZodString;
21
- osVersion: z.ZodString;
22
- appVersion: z.ZodString;
23
- app: z.ZodString;
24
- language: z.ZodString;
20
+ $os: z.ZodString;
21
+ $osVersion: z.ZodString;
22
+ $appVersion: z.ZodString;
23
+ $app: z.ZodString;
24
+ $language: z.ZodString;
25
25
  }, z.core.$strip>;
26
26
  export declare const sessionInfoSchema: z.ZodObject<{
27
- sessionId: z.ZodString;
27
+ $sessionId: z.ZodString;
28
+ $timestamp: z.ZodOptional<z.ZodString>;
28
29
  }, z.core.$strip>;
29
30
  export declare const deviceSessionInfoSchema: z.ZodObject<{
30
31
  deviceInfo: z.ZodObject<{
31
- deviceType: z.ZodString;
32
- timezone: z.ZodString;
33
- theme: z.ZodEnum<{
32
+ $deviceType: z.ZodString;
33
+ $timezone: z.ZodString;
34
+ $theme: z.ZodEnum<{
34
35
  light: "light";
35
36
  dark: "dark";
36
37
  system: "system";
37
38
  }>;
38
- os: z.ZodString;
39
- osVersion: z.ZodString;
40
- appVersion: z.ZodString;
41
- app: z.ZodString;
42
- language: z.ZodString;
39
+ $os: z.ZodString;
40
+ $osVersion: z.ZodString;
41
+ $appVersion: z.ZodString;
42
+ $app: z.ZodString;
43
+ $language: z.ZodString;
43
44
  }, z.core.$strip>;
44
45
  sessionInfo: z.ZodObject<{
45
- sessionId: z.ZodString;
46
+ $sessionId: z.ZodString;
47
+ $timestamp: z.ZodOptional<z.ZodString>;
46
48
  }, z.core.$strip>;
47
49
  }, z.core.$strip>;
48
50
  export declare const userPropertiesSchema: z.ZodObject<{
@@ -0,0 +1,25 @@
1
+ import { z } from "zod";
2
+ export declare const refineTextParamsSchema: z.ZodObject<{
3
+ question_id: z.ZodString;
4
+ identifier: z.ZodString;
5
+ feedback_configuration_id: z.ZodString;
6
+ user_text: z.ZodString;
7
+ }, z.core.$strict>;
8
+ export declare const refineTextDataSchema: z.ZodObject<{
9
+ user_text: z.ZodString;
10
+ refined_text: z.ZodString;
11
+ }, z.core.$strip>;
12
+ export declare const refineTextResponseSchema: z.ZodObject<{
13
+ success: z.ZodBoolean;
14
+ code: z.ZodString;
15
+ message: z.ZodString;
16
+ messageId: z.ZodString;
17
+ data: z.ZodObject<{
18
+ user_text: z.ZodString;
19
+ refined_text: z.ZodString;
20
+ }, z.core.$strip>;
21
+ error: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strict>;
23
+ export type RefineTextParams = z.infer<typeof refineTextParamsSchema>;
24
+ export type RefineTextData = z.infer<typeof refineTextDataSchema>;
25
+ export type RefineTextResponse = z.infer<typeof refineTextResponseSchema>;
@@ -36,7 +36,8 @@ export declare const questionResponseSchema: z.ZodObject<{
36
36
  comment: z.ZodString;
37
37
  }, z.core.$strip>>;
38
38
  }, z.core.$strip>>;
39
- }, z.core.$catchall<z.ZodAny>>;
39
+ others: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>;
40
41
  type: z.ZodString;
41
42
  }, z.core.$strip>;
42
43
  export declare const responseSchema: z.ZodObject<{
@@ -59,7 +60,8 @@ export declare const responseSchema: z.ZodObject<{
59
60
  comment: z.ZodString;
60
61
  }, z.core.$strip>>;
61
62
  }, z.core.$strip>>;
62
- }, z.core.$catchall<z.ZodAny>>;
63
+ others: z.ZodOptional<z.ZodString>;
64
+ }, z.core.$strip>;
63
65
  type: z.ZodString;
64
66
  }, z.core.$strip>>;
65
67
  }, z.core.$strip>;
@@ -80,21 +82,22 @@ export declare const baseSubmitFeedbackSchema: z.ZodObject<{
80
82
  responseLanguageCode: z.ZodString;
81
83
  }, z.core.$strip>;
82
84
  deviceInfo: z.ZodObject<{
83
- deviceType: z.ZodString;
84
- timezone: z.ZodString;
85
- theme: z.ZodEnum<{
85
+ $deviceType: z.ZodString;
86
+ $timezone: z.ZodString;
87
+ $theme: z.ZodEnum<{
86
88
  light: "light";
87
89
  dark: "dark";
88
90
  system: "system";
89
91
  }>;
90
- os: z.ZodString;
91
- osVersion: z.ZodString;
92
- appVersion: z.ZodString;
93
- app: z.ZodString;
94
- language: z.ZodString;
92
+ $os: z.ZodString;
93
+ $osVersion: z.ZodString;
94
+ $appVersion: z.ZodString;
95
+ $app: z.ZodString;
96
+ $language: z.ZodString;
95
97
  }, z.core.$strip>;
96
98
  sessionInfo: z.ZodObject<{
97
- sessionId: z.ZodString;
99
+ $sessionId: z.ZodString;
100
+ $timestamp: z.ZodOptional<z.ZodString>;
98
101
  }, z.core.$strip>;
99
102
  userInfo: z.ZodOptional<z.ZodObject<{
100
103
  userName: z.ZodString;
@@ -113,21 +116,22 @@ export declare const baseSubmitFeedbackSchema: z.ZodObject<{
113
116
  }, z.core.$strip>;
114
117
  export declare const viewFeedbackSchema: z.ZodObject<{
115
118
  deviceInfo: z.ZodObject<{
116
- deviceType: z.ZodString;
117
- timezone: z.ZodString;
118
- theme: z.ZodEnum<{
119
+ $deviceType: z.ZodString;
120
+ $timezone: z.ZodString;
121
+ $theme: z.ZodEnum<{
119
122
  light: "light";
120
123
  dark: "dark";
121
124
  system: "system";
122
125
  }>;
123
- os: z.ZodString;
124
- osVersion: z.ZodString;
125
- appVersion: z.ZodString;
126
- app: z.ZodString;
127
- language: z.ZodString;
126
+ $os: z.ZodString;
127
+ $osVersion: z.ZodString;
128
+ $appVersion: z.ZodString;
129
+ $app: z.ZodString;
130
+ $language: z.ZodString;
128
131
  }, z.core.$strip>;
129
132
  sessionInfo: z.ZodObject<{
130
- sessionId: z.ZodString;
133
+ $sessionId: z.ZodString;
134
+ $timestamp: z.ZodOptional<z.ZodString>;
131
135
  }, z.core.$strip>;
132
136
  userInfo: z.ZodOptional<z.ZodObject<{
133
137
  userName: z.ZodString;
@@ -153,21 +157,22 @@ export declare const viewFeedbackSchema: z.ZodObject<{
153
157
  }, z.core.$strict>;
154
158
  export declare const submitFeedbackSchema: z.ZodObject<{
155
159
  deviceInfo: z.ZodObject<{
156
- deviceType: z.ZodString;
157
- timezone: z.ZodString;
158
- theme: z.ZodEnum<{
160
+ $deviceType: z.ZodString;
161
+ $timezone: z.ZodString;
162
+ $theme: z.ZodEnum<{
159
163
  light: "light";
160
164
  dark: "dark";
161
165
  system: "system";
162
166
  }>;
163
- os: z.ZodString;
164
- osVersion: z.ZodString;
165
- appVersion: z.ZodString;
166
- app: z.ZodString;
167
- language: z.ZodString;
167
+ $os: z.ZodString;
168
+ $osVersion: z.ZodString;
169
+ $appVersion: z.ZodString;
170
+ $app: z.ZodString;
171
+ $language: z.ZodString;
168
172
  }, z.core.$strip>;
169
173
  sessionInfo: z.ZodObject<{
170
- sessionId: z.ZodString;
174
+ $sessionId: z.ZodString;
175
+ $timestamp: z.ZodOptional<z.ZodString>;
171
176
  }, z.core.$strip>;
172
177
  userInfo: z.ZodOptional<z.ZodObject<{
173
178
  userName: z.ZodString;
@@ -210,28 +215,30 @@ export declare const submitFeedbackSchema: z.ZodObject<{
210
215
  comment: z.ZodString;
211
216
  }, z.core.$strip>>;
212
217
  }, z.core.$strip>>;
213
- }, z.core.$catchall<z.ZodAny>>;
218
+ others: z.ZodOptional<z.ZodString>;
219
+ }, z.core.$strip>;
214
220
  type: z.ZodString;
215
221
  }, z.core.$strip>>;
216
222
  }, z.core.$strip>;
217
223
  }, z.core.$strict>;
218
224
  export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
219
225
  deviceInfo: z.ZodObject<{
220
- deviceType: z.ZodString;
221
- timezone: z.ZodString;
222
- theme: z.ZodEnum<{
226
+ $deviceType: z.ZodString;
227
+ $timezone: z.ZodString;
228
+ $theme: z.ZodEnum<{
223
229
  light: "light";
224
230
  dark: "dark";
225
231
  system: "system";
226
232
  }>;
227
- os: z.ZodString;
228
- osVersion: z.ZodString;
229
- appVersion: z.ZodString;
230
- app: z.ZodString;
231
- language: z.ZodString;
233
+ $os: z.ZodString;
234
+ $osVersion: z.ZodString;
235
+ $appVersion: z.ZodString;
236
+ $app: z.ZodString;
237
+ $language: z.ZodString;
232
238
  }, z.core.$strip>;
233
239
  sessionInfo: z.ZodObject<{
234
- sessionId: z.ZodString;
240
+ $sessionId: z.ZodString;
241
+ $timestamp: z.ZodOptional<z.ZodString>;
235
242
  }, z.core.$strip>;
236
243
  userInfo: z.ZodOptional<z.ZodObject<{
237
244
  userName: z.ZodString;
@@ -256,21 +263,22 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
256
263
  }, z.core.$strip>;
257
264
  }, z.core.$strict>, z.ZodObject<{
258
265
  deviceInfo: z.ZodObject<{
259
- deviceType: z.ZodString;
260
- timezone: z.ZodString;
261
- theme: z.ZodEnum<{
266
+ $deviceType: z.ZodString;
267
+ $timezone: z.ZodString;
268
+ $theme: z.ZodEnum<{
262
269
  light: "light";
263
270
  dark: "dark";
264
271
  system: "system";
265
272
  }>;
266
- os: z.ZodString;
267
- osVersion: z.ZodString;
268
- appVersion: z.ZodString;
269
- app: z.ZodString;
270
- language: z.ZodString;
273
+ $os: z.ZodString;
274
+ $osVersion: z.ZodString;
275
+ $appVersion: z.ZodString;
276
+ $app: z.ZodString;
277
+ $language: z.ZodString;
271
278
  }, z.core.$strip>;
272
279
  sessionInfo: z.ZodObject<{
273
- sessionId: z.ZodString;
280
+ $sessionId: z.ZodString;
281
+ $timestamp: z.ZodOptional<z.ZodString>;
274
282
  }, z.core.$strip>;
275
283
  userInfo: z.ZodOptional<z.ZodObject<{
276
284
  userName: z.ZodString;
@@ -313,7 +321,8 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
313
321
  comment: z.ZodString;
314
322
  }, z.core.$strip>>;
315
323
  }, z.core.$strip>>;
316
- }, z.core.$catchall<z.ZodAny>>;
324
+ others: z.ZodOptional<z.ZodString>;
325
+ }, z.core.$strip>;
317
326
  type: z.ZodString;
318
327
  }, z.core.$strip>>;
319
328
  }, z.core.$strip>;
@@ -30,29 +30,7 @@ export declare const AnswerItemSchema: z.ZodObject<{
30
30
  comment: z.ZodString;
31
31
  }, z.core.$strip>>;
32
32
  }, z.core.$strip>>;
33
- }, z.core.$catchall<z.ZodAny>>;
34
- export declare const QuestionsResponseSchema: z.ZodObject<{
35
- question_id: z.ZodString;
36
- title: z.ZodString;
37
- answer: z.ZodObject<{
38
- nps: z.ZodOptional<z.ZodNumber>;
39
- nested_selection: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
- long_text: z.ZodOptional<z.ZodString>;
41
- short_answer: z.ZodOptional<z.ZodString>;
42
- single_choice: z.ZodOptional<z.ZodString>;
43
- rating: z.ZodOptional<z.ZodNumber>;
44
- multiple_choice_multiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
- annotation: z.ZodOptional<z.ZodObject<{
46
- file_type: z.ZodString;
47
- file_name: z.ZodString;
48
- markers: z.ZodArray<z.ZodObject<{
49
- marker_no: z.ZodString;
50
- timeline: z.ZodString;
51
- comment: z.ZodString;
52
- }, z.core.$strip>>;
53
- }, z.core.$strip>>;
54
- }, z.core.$catchall<z.ZodAny>>;
55
- type: z.ZodString;
33
+ others: z.ZodOptional<z.ZodString>;
56
34
  }, z.core.$strip>;
57
35
  export declare const AnswerSchema: z.ZodObject<{
58
36
  nps: z.ZodOptional<z.ZodNumber>;
@@ -71,9 +49,9 @@ export declare const AnswerSchema: z.ZodObject<{
71
49
  comment: z.ZodString;
72
50
  }, z.core.$strip>>;
73
51
  }, z.core.$strip>>;
74
- }, z.core.$catchall<z.ZodAny>>;
52
+ others: z.ZodOptional<z.ZodString>;
53
+ }, z.core.$strip>;
75
54
  export type AnnotationMarker = z.infer<typeof AnnotationMarkerSchema>;
76
55
  export type Annotation = z.infer<typeof AnnotationSchema>;
77
56
  export type AnswerItem = z.infer<typeof AnswerItemSchema>;
78
- export type QuestionsResponse = z.infer<typeof QuestionsResponseSchema>;
79
57
  export type Answer = z.infer<typeof AnswerSchema>;
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@encatch/schema",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "TypeScript schema definitions using Zod for validation and type inference of encatch product",
5
+ "homepage": "https://encatch.com",
6
+ "type": "module",
5
7
  "main": "dist/esm/index.js",
6
8
  "module": "dist/esm/index.js",
7
9
  "types": "dist/types/index.d.ts",
8
10
  "exports": {
9
11
  ".": {
10
12
  "types": "./dist/types/index.d.ts",
11
- "import": "./dist/esm/index.js"
13
+ "import": "./dist/esm/index.js",
14
+ "require": "./dist/esm/index.js"
12
15
  }
13
16
  },
14
17
  "files": [
@@ -24,10 +27,42 @@
24
27
  ],
25
28
  "author": "",
26
29
  "license": "AGPL-3.0",
27
- "type": "module",
28
- "homepage": "https://encatch.com",
30
+ "dependencies": {
31
+ "@types/node": "^24.3.0",
32
+ "typescript": "^5.9.2",
33
+ "uuid": "^11.1.0"
34
+ },
29
35
  "peerDependencies": {
30
36
  "zod": ">=3.0.0 <6.0.0"
31
37
  },
32
- "packageManager": "pnpm@10.4.1"
38
+ "devDependencies": {
39
+ "@release-it/bumper": "^7.0.5",
40
+ "@vitest/ui": "^3.2.4",
41
+ "esbuild": "^0.25.9",
42
+ "release-it": "^19.0.4",
43
+ "tsx": "^4.20.5",
44
+ "vitest": "^3.2.4"
45
+ },
46
+ "scripts": {
47
+ "build": "pnpm run build:types && pnpm run build:bundle",
48
+ "build:types": "tsc --project tsconfig.types.json",
49
+ "build:bundle": "node esbuild.config.js",
50
+ "build:esm": "tsc --project tsconfig.esm.json",
51
+ "dev": "tsc --watch",
52
+ "clean": "rm -rf dist",
53
+ "generate-json-schemas": "tsx generate-json-schemas.ts",
54
+ "publish:clean": "node scripts/publish-clean.js --generate && cp package.json package.json.backup && mv package.clean.json package.json && npm publish && node scripts/publish-clean.js --restore && node scripts/publish-clean.js --cleanup",
55
+ "release": "release-it --ci",
56
+ "release:minor": "release-it minor --ci",
57
+ "release:major": "release-it major --ci",
58
+ "release:patch": "release-it patch --ci",
59
+ "release:pre": "release-it --preRelease=beta",
60
+ "release:beta": "release-it --preRelease=beta",
61
+ "release:alpha": "release-it --preRelease=alpha",
62
+ "release:rc": "release-it --preRelease=rc",
63
+ "test": "vitest",
64
+ "test:run": "vitest run",
65
+ "test:ui": "vitest --ui",
66
+ "test:coverage": "vitest --coverage"
67
+ }
33
68
  }
File without changes