@examplary/schemas 1.5.0 → 1.6.0
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/.serverless/serverless-state.json +1 -1
- package/.turbo/turbo-deploy.log +4 -5
- package/.turbo/turbo-release.log +113 -68
- package/dist/question-type-setting.d.ts +1 -0
- package/dist/question-type-setting.js +1 -0
- package/dist/question-type.d.ts +1 -1
- package/dist/question-type.js +0 -4
- package/dist/schemas/question-type.json +20 -4
- package/package.json +2 -2
- package/src/question-type-setting.ts +1 -0
- package/src/question-type.ts +0 -4
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"layers": {}
|
|
397
397
|
},
|
|
398
398
|
"package": {
|
|
399
|
-
"artifactDirectoryName": "serverless/schemas/production/
|
|
399
|
+
"artifactDirectoryName": "serverless/schemas/production/1759416191225-2025-10-02T14:43:11.225Z",
|
|
400
400
|
"artifact": ""
|
|
401
401
|
}
|
|
402
402
|
}
|
package/.turbo/turbo-deploy.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
|
|
5
4
|
|
|
5
|
+
✔ Installed Serverless Framework v4.19.1
|
|
6
6
|
|
|
7
7
|
Initializing
|
|
8
8
|
Initializing
|
|
@@ -26,10 +26,9 @@ Fetching Service Information
|
|
|
26
26
|
Updating
|
|
27
27
|
Uploading directory 'dist/schemas' to bucket 'schemas-production-schemasbucketbe9e7d9f-q1aisqmk2pik'
|
|
28
28
|
Uploading directory 'dist/schemas' to bucket 'schemas-production-schemasbucketbe9e7d9f-q1aisqmk2pik'
|
|
29
|
-
|
|
30
|
-
Clearing CloudFront DNS cache
|
|
29
|
+
Skipped uploading 1 unchanged files
|
|
31
30
|
Removing old service artifacts from S3
|
|
32
|
-
✔ Service deployed to stack schemas-production (
|
|
31
|
+
✔ Service deployed to stack schemas-production (9s)
|
|
33
32
|
Stack Outputs:
|
|
34
33
|
schemasBucketName814EA6EC: schemas-production-schemasbucketbe9e7d9f-q1aisqmk2pik
|
|
35
34
|
schemasCloudFrontCName05CBFC31: djykovp21c0ec.cloudfront.net
|
package/.turbo/turbo-release.log
CHANGED
|
@@ -1,69 +1,114 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
1
|
+
[2:48:29 PM] [semantic-release] › ℹ Running semantic-release version 24.2.9
|
|
2
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
|
|
3
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
|
|
4
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
|
|
5
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
|
|
6
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
|
|
7
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
|
|
8
|
+
[2:48:30 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
|
|
9
|
+
[2:48:41 PM] [semantic-release] › ✔ Run automated release from branch main on repository https://github.com/examplary-ai/examplary
|
|
10
|
+
[2:48:42 PM] [semantic-release] › ✔ Allowed to push to the Git repository
|
|
11
|
+
[2:48:42 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
|
|
12
|
+
[2:48:42 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
|
|
13
|
+
[2:48:42 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/examplary/examplary/.npmrc
|
|
14
|
+
[2:48:42 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/78df127ca37f312a93b35fa0637e1515/.npmrc
|
|
15
15
|
tschoffelen
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
[
|
|
65
|
-
[
|
|
66
|
-
[
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
16
|
+
[2:48:43 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
|
|
17
|
+
[2:48:43 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
|
|
18
|
+
[2:48:43 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
|
|
19
|
+
[2:48:43 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
|
|
20
|
+
[2:48:43 PM] [semantic-release] › ℹ Found git tag @examplary/schemas-v1.5.0 associated with version 1.5.0 on branch main
|
|
21
|
+
[2:48:43 PM] [semantic-release] › ℹ Found 109 commits since last release
|
|
22
|
+
[2:48:43 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
23
|
+
[2:48:43 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
24
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 3 commits for package @examplary/schemas since last release
|
|
25
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(dashboard): question setting help text
|
|
26
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
27
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: chore(deps-dev): bump tsx from 4.20.5 to 4.20.6
|
|
28
|
+
|
|
29
|
+
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.20.5 to 4.20.6.
|
|
30
|
+
- [Release notes](https://github.com/privatenumber/tsx/releases)
|
|
31
|
+
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
|
|
32
|
+
- [Commits](https://github.com/privatenumber/tsx/compare/v4.20.5...v4.20.6)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
updated-dependencies:
|
|
36
|
+
- dependency-name: tsx
|
|
37
|
+
dependency-version: 4.20.6
|
|
38
|
+
dependency-type: direct:development
|
|
39
|
+
update-type: version-update:semver-patch
|
|
40
|
+
...
|
|
41
|
+
|
|
42
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
43
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The commit should not trigger a release
|
|
44
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: chore(schemas): remove deprecated keys
|
|
45
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The commit should not trigger a release
|
|
46
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 3 commits complete: minor release
|
|
47
|
+
[2:48:44 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
48
|
+
[2:48:44 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
49
|
+
[2:48:44 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
50
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
|
|
51
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
52
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
53
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
|
|
54
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
55
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
56
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
|
|
57
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
58
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
59
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
60
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
61
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
62
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
63
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
64
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
65
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
66
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
67
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
68
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
69
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
70
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
71
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
72
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
73
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
74
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
75
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
76
|
+
[2:48:45 PM] [semantic-release] › ℹ The next release version is 1.6.0
|
|
77
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
78
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
|
|
79
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
80
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
81
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
|
|
82
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 3 commits for package @examplary/schemas since last release
|
|
83
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
|
|
84
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
85
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
86
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "generateNotes"
|
|
87
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
88
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
89
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "generateNotes"
|
|
90
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
91
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
92
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
93
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
94
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
95
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
96
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
97
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
98
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
99
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
100
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
101
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
102
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
103
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
104
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
105
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
106
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
107
|
+
[2:48:45 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
108
|
+
[2:48:45 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
109
|
+
[2:48:45 PM] [semantic-release] › ℹ Start step "prepare" of plugin "@semantic-release/npm"
|
|
110
|
+
[2:48:45 PM] [semantic-release] [@semantic-release/npm] › ℹ Write version 1.6.0 to package.json in /home/runner/work/examplary/examplary/schemas
|
|
111
|
+
@examplary/schemas
|
|
112
|
+
v1.6.0
|
|
113
|
+
[2:48:46 PM] [semantic-release] › ✔ Completed step "prepare" of plugin "@semantic-release/npm"
|
|
114
|
+
[2:48:47 PM] [semantic-release] › ✔ Created tag @examplary/schemas-v1.6.0
|
|
@@ -6,6 +6,7 @@ export declare const QuestionTypeSettingOption: z.ZodObject<{
|
|
|
6
6
|
export declare const QuestionTypeSetting: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
9
|
+
helpText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
9
10
|
description: z.ZodOptional<z.ZodString>;
|
|
10
11
|
type: z.ZodEnum<{
|
|
11
12
|
string: "string";
|
|
@@ -16,6 +16,7 @@ exports.QuestionTypeSetting = zod_1.z
|
|
|
16
16
|
.object({
|
|
17
17
|
id: zod_1.z.string().describe("Unique identifier for the setting"),
|
|
18
18
|
name: translatable_1.Translatable.describe("Display name for the setting"),
|
|
19
|
+
helpText: translatable_1.Translatable.optional().describe("Help text for the setting"),
|
|
19
20
|
description: zod_1.z
|
|
20
21
|
.string()
|
|
21
22
|
.optional()
|
package/dist/question-type.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export declare const QuestionTypeSchema: z.ZodObject<{
|
|
|
17
17
|
timeEstimateMinutes: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
isAi: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
20
|
-
iconBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
21
20
|
enforcePosition: z.ZodOptional<z.ZodEnum<{
|
|
22
21
|
start: "start";
|
|
23
22
|
end: "end";
|
|
@@ -38,6 +37,7 @@ export declare const QuestionTypeSchema: z.ZodObject<{
|
|
|
38
37
|
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
38
|
id: z.ZodString;
|
|
40
39
|
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
40
|
+
helpText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
41
41
|
description: z.ZodOptional<z.ZodString>;
|
|
42
42
|
type: z.ZodEnum<{
|
|
43
43
|
string: "string";
|
package/dist/question-type.js
CHANGED
|
@@ -37,10 +37,6 @@ exports.QuestionTypeSchema = zod_1.z
|
|
|
37
37
|
.string()
|
|
38
38
|
.optional()
|
|
39
39
|
.describe("Background color for the question type"),
|
|
40
|
-
iconBackgroundColor: zod_1.z
|
|
41
|
-
.string()
|
|
42
|
-
.optional()
|
|
43
|
-
.describe("Background color for the question type icon"),
|
|
44
40
|
enforcePosition: zod_1.z
|
|
45
41
|
.enum(["start", "end"])
|
|
46
42
|
.optional()
|
|
@@ -110,10 +110,6 @@
|
|
|
110
110
|
"description": "Background color for the question type",
|
|
111
111
|
"type": "string"
|
|
112
112
|
},
|
|
113
|
-
"iconBackgroundColor": {
|
|
114
|
-
"description": "Background color for the question type icon",
|
|
115
|
-
"type": "string"
|
|
116
|
-
},
|
|
117
113
|
"enforcePosition": {
|
|
118
114
|
"description": "Position enforcement for this question type",
|
|
119
115
|
"type": "string",
|
|
@@ -272,6 +268,26 @@
|
|
|
272
268
|
}
|
|
273
269
|
]
|
|
274
270
|
},
|
|
271
|
+
"helpText": {
|
|
272
|
+
"description": "Help text for the setting",
|
|
273
|
+
"anyOf": [
|
|
274
|
+
{
|
|
275
|
+
"description": "Simple string value",
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"description": "Translation object with language codes as keys",
|
|
280
|
+
"type": "object",
|
|
281
|
+
"propertyNames": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"pattern": "^[a-z]{2}(-[A-Z]{2})?$"
|
|
284
|
+
},
|
|
285
|
+
"additionalProperties": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
275
291
|
"description": {
|
|
276
292
|
"description": "Description to help AI agents auto-generate question settings",
|
|
277
293
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@examplary/schemas",
|
|
3
3
|
"packageManager": "yarn@4.8.1",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"description": "Schemas for the Examplary platform.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build:schema": "tsx ./scripts/build.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"serverless": "^4.19.1",
|
|
18
18
|
"serverless-lift": "^1.32.0",
|
|
19
|
-
"tsx": "^4.20.
|
|
19
|
+
"tsx": "^4.20.6",
|
|
20
20
|
"typescript": "^5.9.2"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
@@ -16,6 +16,7 @@ export const QuestionTypeSetting = z
|
|
|
16
16
|
.object({
|
|
17
17
|
id: z.string().describe("Unique identifier for the setting"),
|
|
18
18
|
name: Translatable.describe("Display name for the setting"),
|
|
19
|
+
helpText: Translatable.optional().describe("Help text for the setting"),
|
|
19
20
|
description: z
|
|
20
21
|
.string()
|
|
21
22
|
.optional()
|
package/src/question-type.ts
CHANGED
|
@@ -50,10 +50,6 @@ export const QuestionTypeSchema = z
|
|
|
50
50
|
.string()
|
|
51
51
|
.optional()
|
|
52
52
|
.describe("Background color for the question type"),
|
|
53
|
-
iconBackgroundColor: z
|
|
54
|
-
.string()
|
|
55
|
-
.optional()
|
|
56
|
-
.describe("Background color for the question type icon"),
|
|
57
53
|
enforcePosition: z
|
|
58
54
|
.enum(["start", "end"])
|
|
59
55
|
.optional()
|