@examplary/schemas 0.0.1 → 1.3.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/cloudformation-template-update-stack.json +178 -0
- package/.serverless/meta.json +273 -0
- package/.serverless/serverless-state.json +404 -0
- package/.turbo/turbo-build.log +1 -0
- package/.turbo/turbo-deploy.log +43 -0
- package/.turbo/turbo-release.log +69 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +17 -0
- package/dist/question-type.d.ts +100 -0
- package/dist/question-type.js +149 -0
- package/dist/schemas/question-type.json +387 -0
- package/package.json +2 -2
- package/src/question-type.ts +1 -0
- package/src/question-type.zod.ts +0 -0
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": {
|
|
3
|
+
"service": "schemas",
|
|
4
|
+
"serviceObject": {
|
|
5
|
+
"name": "schemas"
|
|
6
|
+
},
|
|
7
|
+
"provider": {
|
|
8
|
+
"name": "aws",
|
|
9
|
+
"region": "eu-central-1",
|
|
10
|
+
"stage": "staging",
|
|
11
|
+
"deploymentMethod": "direct",
|
|
12
|
+
"versionFunctions": true,
|
|
13
|
+
"compiledCloudFormationTemplate": {
|
|
14
|
+
"AWSTemplateFormatVersion": "2010-09-09",
|
|
15
|
+
"Description": "The AWS CloudFormation template for this Serverless application",
|
|
16
|
+
"Resources": {
|
|
17
|
+
"schemasBucketBE9E7D9F": {
|
|
18
|
+
"Type": "AWS::S3::Bucket",
|
|
19
|
+
"Properties": {
|
|
20
|
+
"PublicAccessBlockConfiguration": {
|
|
21
|
+
"BlockPublicAcls": false,
|
|
22
|
+
"BlockPublicPolicy": false,
|
|
23
|
+
"IgnorePublicAcls": false,
|
|
24
|
+
"RestrictPublicBuckets": false
|
|
25
|
+
},
|
|
26
|
+
"WebsiteConfiguration": {
|
|
27
|
+
"IndexDocument": "index.html"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"UpdateReplacePolicy": "Delete",
|
|
31
|
+
"DeletionPolicy": "Delete"
|
|
32
|
+
},
|
|
33
|
+
"schemasBucketPolicy7504DC0B": {
|
|
34
|
+
"Type": "AWS::S3::BucketPolicy",
|
|
35
|
+
"Properties": {
|
|
36
|
+
"Bucket": {
|
|
37
|
+
"Ref": "schemasBucketBE9E7D9F"
|
|
38
|
+
},
|
|
39
|
+
"PolicyDocument": {
|
|
40
|
+
"Statement": [
|
|
41
|
+
{
|
|
42
|
+
"Action": "s3:GetObject",
|
|
43
|
+
"Effect": "Allow",
|
|
44
|
+
"Principal": {
|
|
45
|
+
"AWS": "*"
|
|
46
|
+
},
|
|
47
|
+
"Resource": {
|
|
48
|
+
"Fn::Join": [
|
|
49
|
+
"",
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
|
+
"Fn::GetAtt": [
|
|
53
|
+
"schemasBucketBE9E7D9F",
|
|
54
|
+
"Arn"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"/*"
|
|
58
|
+
]
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"Version": "2012-10-17"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"schemasResponseFunctionC5B753EB": {
|
|
68
|
+
"Type": "AWS::CloudFront::Function",
|
|
69
|
+
"Properties": {
|
|
70
|
+
"AutoPublish": true,
|
|
71
|
+
"FunctionCode": "function handler(event) {\n var response = event.response;\n response.headers = Object.assign({}, {\n \"x-frame-options\": {\n \"value\": \"SAMEORIGIN\"\n },\n \"x-content-type-options\": {\n \"value\": \"nosniff\"\n },\n \"x-xss-protection\": {\n \"value\": \"1; mode=block\"\n },\n \"strict-transport-security\": {\n \"value\": \"max-age=63072000\"\n }\n}, response.headers);\n return response;\n}",
|
|
72
|
+
"FunctionConfig": {
|
|
73
|
+
"Comment": "schemas-staging-eu-central-1-schemas-response",
|
|
74
|
+
"Runtime": "cloudfront-js-1.0"
|
|
75
|
+
},
|
|
76
|
+
"Name": "schemas-staging-eu-central-1-schemas-response"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"schemasCDNE849A679": {
|
|
80
|
+
"Type": "AWS::CloudFront::Distribution",
|
|
81
|
+
"Properties": {
|
|
82
|
+
"DistributionConfig": {
|
|
83
|
+
"Aliases": [
|
|
84
|
+
"schemas-staging.examplary.ai"
|
|
85
|
+
],
|
|
86
|
+
"Comment": "schemas-staging schemas website CDN",
|
|
87
|
+
"CustomErrorResponses": [
|
|
88
|
+
{
|
|
89
|
+
"ErrorCachingMinTTL": 0,
|
|
90
|
+
"ErrorCode": 404,
|
|
91
|
+
"ResponseCode": 200,
|
|
92
|
+
"ResponsePagePath": "/index.html"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"DefaultCacheBehavior": {
|
|
96
|
+
"AllowedMethods": [
|
|
97
|
+
"GET",
|
|
98
|
+
"HEAD",
|
|
99
|
+
"OPTIONS"
|
|
100
|
+
],
|
|
101
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
|
|
102
|
+
"Compress": true,
|
|
103
|
+
"FunctionAssociations": [
|
|
104
|
+
{
|
|
105
|
+
"EventType": "viewer-response",
|
|
106
|
+
"FunctionARN": {
|
|
107
|
+
"Fn::GetAtt": [
|
|
108
|
+
"schemasResponseFunctionC5B753EB",
|
|
109
|
+
"FunctionARN"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"TargetOriginId": "schemasCDNOrigin1ED98F1D0",
|
|
115
|
+
"ViewerProtocolPolicy": "redirect-to-https"
|
|
116
|
+
},
|
|
117
|
+
"DefaultRootObject": "index.html",
|
|
118
|
+
"Enabled": true,
|
|
119
|
+
"HttpVersion": "http2",
|
|
120
|
+
"IPV6Enabled": true,
|
|
121
|
+
"Origins": [
|
|
122
|
+
{
|
|
123
|
+
"CustomOriginConfig": {
|
|
124
|
+
"OriginProtocolPolicy": "http-only",
|
|
125
|
+
"OriginSSLProtocols": [
|
|
126
|
+
"TLSv1.2"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"DomainName": {
|
|
130
|
+
"Fn::Select": [
|
|
131
|
+
2,
|
|
132
|
+
{
|
|
133
|
+
"Fn::Split": [
|
|
134
|
+
"/",
|
|
135
|
+
{
|
|
136
|
+
"Fn::GetAtt": [
|
|
137
|
+
"schemasBucketBE9E7D9F",
|
|
138
|
+
"WebsiteURL"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"Id": "schemasCDNOrigin1ED98F1D0"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"ViewerCertificate": {
|
|
149
|
+
"AcmCertificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f",
|
|
150
|
+
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
151
|
+
"SslSupportMethod": "sni-only"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"Outputs": {
|
|
158
|
+
"ServerlessDeploymentBucketName": {
|
|
159
|
+
"Value": "serverless-framework-deployments-eu-central-1-fe769196-9095",
|
|
160
|
+
"Export": {
|
|
161
|
+
"Name": "sls-schemas-staging-ServerlessDeploymentBucketName"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"schemasBucketName814EA6EC": {
|
|
165
|
+
"Description": "Name of the bucket that stores the static website.",
|
|
166
|
+
"Value": {
|
|
167
|
+
"Ref": "schemasBucketBE9E7D9F"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"schemasDomainC1437202": {
|
|
171
|
+
"Description": "Website domain name.",
|
|
172
|
+
"Value": "schemas-staging.examplary.ai"
|
|
173
|
+
},
|
|
174
|
+
"schemasCloudFrontCName05CBFC31": {
|
|
175
|
+
"Description": "CloudFront CNAME.",
|
|
176
|
+
"Value": {
|
|
177
|
+
"Fn::GetAtt": [
|
|
178
|
+
"schemasCDNE849A679",
|
|
179
|
+
"DomainName"
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"schemasDistributionIdF843C7D9": {
|
|
184
|
+
"Description": "ID of the CloudFront distribution.",
|
|
185
|
+
"Value": {
|
|
186
|
+
"Ref": "schemasCDNE849A679"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"plugins": [
|
|
193
|
+
"serverless-lift"
|
|
194
|
+
],
|
|
195
|
+
"pluginsData": {},
|
|
196
|
+
"functions": {},
|
|
197
|
+
"resources": {
|
|
198
|
+
"Resources": {
|
|
199
|
+
"schemasBucketBE9E7D9F": {
|
|
200
|
+
"Type": "AWS::S3::Bucket",
|
|
201
|
+
"Properties": {
|
|
202
|
+
"PublicAccessBlockConfiguration": {
|
|
203
|
+
"BlockPublicAcls": false,
|
|
204
|
+
"BlockPublicPolicy": false,
|
|
205
|
+
"IgnorePublicAcls": false,
|
|
206
|
+
"RestrictPublicBuckets": false
|
|
207
|
+
},
|
|
208
|
+
"WebsiteConfiguration": {
|
|
209
|
+
"IndexDocument": "index.html"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"UpdateReplacePolicy": "Delete",
|
|
213
|
+
"DeletionPolicy": "Delete"
|
|
214
|
+
},
|
|
215
|
+
"schemasBucketPolicy7504DC0B": {
|
|
216
|
+
"Type": "AWS::S3::BucketPolicy",
|
|
217
|
+
"Properties": {
|
|
218
|
+
"Bucket": {
|
|
219
|
+
"Ref": "schemasBucketBE9E7D9F"
|
|
220
|
+
},
|
|
221
|
+
"PolicyDocument": {
|
|
222
|
+
"Statement": [
|
|
223
|
+
{
|
|
224
|
+
"Action": "s3:GetObject",
|
|
225
|
+
"Effect": "Allow",
|
|
226
|
+
"Principal": {
|
|
227
|
+
"AWS": "*"
|
|
228
|
+
},
|
|
229
|
+
"Resource": {
|
|
230
|
+
"Fn::Join": [
|
|
231
|
+
"",
|
|
232
|
+
[
|
|
233
|
+
{
|
|
234
|
+
"Fn::GetAtt": [
|
|
235
|
+
"schemasBucketBE9E7D9F",
|
|
236
|
+
"Arn"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"/*"
|
|
240
|
+
]
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"Version": "2012-10-17"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"schemasResponseFunctionC5B753EB": {
|
|
250
|
+
"Type": "AWS::CloudFront::Function",
|
|
251
|
+
"Properties": {
|
|
252
|
+
"AutoPublish": true,
|
|
253
|
+
"FunctionCode": "function handler(event) {\n var response = event.response;\n response.headers = Object.assign({}, {\n \"x-frame-options\": {\n \"value\": \"SAMEORIGIN\"\n },\n \"x-content-type-options\": {\n \"value\": \"nosniff\"\n },\n \"x-xss-protection\": {\n \"value\": \"1; mode=block\"\n },\n \"strict-transport-security\": {\n \"value\": \"max-age=63072000\"\n }\n}, response.headers);\n return response;\n}",
|
|
254
|
+
"FunctionConfig": {
|
|
255
|
+
"Comment": "schemas-staging-eu-central-1-schemas-response",
|
|
256
|
+
"Runtime": "cloudfront-js-1.0"
|
|
257
|
+
},
|
|
258
|
+
"Name": "schemas-staging-eu-central-1-schemas-response"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"schemasCDNE849A679": {
|
|
262
|
+
"Type": "AWS::CloudFront::Distribution",
|
|
263
|
+
"Properties": {
|
|
264
|
+
"DistributionConfig": {
|
|
265
|
+
"Aliases": [
|
|
266
|
+
"schemas-staging.examplary.ai"
|
|
267
|
+
],
|
|
268
|
+
"Comment": "schemas-staging schemas website CDN",
|
|
269
|
+
"CustomErrorResponses": [
|
|
270
|
+
{
|
|
271
|
+
"ErrorCachingMinTTL": 0,
|
|
272
|
+
"ErrorCode": 404,
|
|
273
|
+
"ResponseCode": 200,
|
|
274
|
+
"ResponsePagePath": "/index.html"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"DefaultCacheBehavior": {
|
|
278
|
+
"AllowedMethods": [
|
|
279
|
+
"GET",
|
|
280
|
+
"HEAD",
|
|
281
|
+
"OPTIONS"
|
|
282
|
+
],
|
|
283
|
+
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
|
|
284
|
+
"Compress": true,
|
|
285
|
+
"FunctionAssociations": [
|
|
286
|
+
{
|
|
287
|
+
"EventType": "viewer-response",
|
|
288
|
+
"FunctionARN": {
|
|
289
|
+
"Fn::GetAtt": [
|
|
290
|
+
"schemasResponseFunctionC5B753EB",
|
|
291
|
+
"FunctionARN"
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"TargetOriginId": "schemasCDNOrigin1ED98F1D0",
|
|
297
|
+
"ViewerProtocolPolicy": "redirect-to-https"
|
|
298
|
+
},
|
|
299
|
+
"DefaultRootObject": "index.html",
|
|
300
|
+
"Enabled": true,
|
|
301
|
+
"HttpVersion": "http2",
|
|
302
|
+
"IPV6Enabled": true,
|
|
303
|
+
"Origins": [
|
|
304
|
+
{
|
|
305
|
+
"CustomOriginConfig": {
|
|
306
|
+
"OriginProtocolPolicy": "http-only",
|
|
307
|
+
"OriginSSLProtocols": [
|
|
308
|
+
"TLSv1.2"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"DomainName": {
|
|
312
|
+
"Fn::Select": [
|
|
313
|
+
2,
|
|
314
|
+
{
|
|
315
|
+
"Fn::Split": [
|
|
316
|
+
"/",
|
|
317
|
+
{
|
|
318
|
+
"Fn::GetAtt": [
|
|
319
|
+
"schemasBucketBE9E7D9F",
|
|
320
|
+
"WebsiteURL"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"Id": "schemasCDNOrigin1ED98F1D0"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"ViewerCertificate": {
|
|
331
|
+
"AcmCertificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f",
|
|
332
|
+
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
333
|
+
"SslSupportMethod": "sni-only"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"Outputs": {
|
|
340
|
+
"schemasBucketName814EA6EC": {
|
|
341
|
+
"Description": "Name of the bucket that stores the static website.",
|
|
342
|
+
"Value": {
|
|
343
|
+
"Ref": "schemasBucketBE9E7D9F"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"schemasDomainC1437202": {
|
|
347
|
+
"Description": "Website domain name.",
|
|
348
|
+
"Value": "schemas-staging.examplary.ai"
|
|
349
|
+
},
|
|
350
|
+
"schemasCloudFrontCName05CBFC31": {
|
|
351
|
+
"Description": "CloudFront CNAME.",
|
|
352
|
+
"Value": {
|
|
353
|
+
"Fn::GetAtt": [
|
|
354
|
+
"schemasCDNE849A679",
|
|
355
|
+
"DomainName"
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"schemasDistributionIdF843C7D9": {
|
|
360
|
+
"Description": "ID of the CloudFront distribution.",
|
|
361
|
+
"Value": {
|
|
362
|
+
"Ref": "schemasCDNE849A679"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"configValidationMode": "warn",
|
|
368
|
+
"serviceFilename": "serverless",
|
|
369
|
+
"initialServerlessConfig": {
|
|
370
|
+
"service": "schemas",
|
|
371
|
+
"params": {
|
|
372
|
+
"default": {
|
|
373
|
+
"domain": "schemas-staging.examplary.ai",
|
|
374
|
+
"certificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"provider": {
|
|
378
|
+
"name": "aws",
|
|
379
|
+
"region": "eu-central-1",
|
|
380
|
+
"stage": "staging",
|
|
381
|
+
"deploymentMethod": "direct",
|
|
382
|
+
"versionFunctions": true
|
|
383
|
+
},
|
|
384
|
+
"plugins": {
|
|
385
|
+
"$ref": "$[\"service\"][\"plugins\"]"
|
|
386
|
+
},
|
|
387
|
+
"constructs": {
|
|
388
|
+
"schemas": {
|
|
389
|
+
"type": "static-website",
|
|
390
|
+
"path": "dist/schemas",
|
|
391
|
+
"domain": "schemas-staging.examplary.ai",
|
|
392
|
+
"certificate": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"appId": null,
|
|
397
|
+
"orgId": null,
|
|
398
|
+
"layers": {}
|
|
399
|
+
},
|
|
400
|
+
"package": {
|
|
401
|
+
"artifactDirectoryName": "serverless/schemas/staging/1755011730212-2025-08-12T15:15:30.212Z",
|
|
402
|
+
"artifact": ""
|
|
403
|
+
}
|
|
404
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Schema built successfully!
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
|
|
4
|
+
Disable auto-updates by adding "frameworkVersion" to your serverless.yml (frameworkVersion: ~4.18.0)
|
|
5
|
+
|
|
6
|
+
Initializing
|
|
7
|
+
Initializing
|
|
8
|
+
Authenticating
|
|
9
|
+
Resolving variables
|
|
10
|
+
Resolving variables
|
|
11
|
+
Deploying "schemas" to stage "staging" (eu-central-1)
|
|
12
|
+
[WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin is deprecated.
|
|
13
|
+
Use `S3BucketOrigin` or `S3StaticWebsiteOrigin` instead.
|
|
14
|
+
This API will be removed in the next major release.
|
|
15
|
+
[WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin#bind is deprecated.
|
|
16
|
+
Use `S3BucketOrigin` or `S3StaticWebsiteOrigin` instead.
|
|
17
|
+
This API will be removed in the next major release.
|
|
18
|
+
Packaging
|
|
19
|
+
Packaging
|
|
20
|
+
Retrieving AWS CloudFormation stack
|
|
21
|
+
Uploading
|
|
22
|
+
Uploading (0/0)
|
|
23
|
+
Uploading CloudFormation file to S3
|
|
24
|
+
Uploading State file to S3
|
|
25
|
+
Updating AWS CloudFormation stack
|
|
26
|
+
Fetching Service Information
|
|
27
|
+
Updating
|
|
28
|
+
Uploading directory 'dist/schemas' to bucket 'schemas-staging-schemasbucketbe9e7d9f-bjwiggxeliry'
|
|
29
|
+
Uploading directory 'dist/schemas' to bucket 'schemas-staging-schemasbucketbe9e7d9f-bjwiggxeliry'
|
|
30
|
+
Skipped uploading 1 unchanged files
|
|
31
|
+
Removing old service artifacts from S3
|
|
32
|
+
✔ Service deployed to stack schemas-staging (17s)
|
|
33
|
+
Stack Outputs:
|
|
34
|
+
schemasBucketName814EA6EC: schemas-staging-schemasbucketbe9e7d9f-bjwiggxeliry
|
|
35
|
+
schemasCloudFrontCName05CBFC31: d2ub43ytncf7pc.cloudfront.net
|
|
36
|
+
schemasDistributionIdF843C7D9: E2QF0CWOESW4D1
|
|
37
|
+
schemasDomainC1437202: schemas-staging.examplary.ai
|
|
38
|
+
ServerlessDeploymentBucketName: serverless-framework-deployments-eu-central-1-fe769196-9095
|
|
39
|
+
|
|
40
|
+
schemas:
|
|
41
|
+
url: https://schemas-staging.examplary.ai
|
|
42
|
+
cname: d2ub43ytncf7pc.cloudfront.net
|
|
43
|
+
|
|
44
|
+
Finalizing
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[3:18:09 PM] [semantic-release] › ℹ Running semantic-release version 24.2.7
|
|
2
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
|
|
3
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
|
|
4
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
|
|
5
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
|
|
6
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
|
|
7
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
|
|
8
|
+
[3:18:09 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
|
|
9
|
+
[3:18:14 PM] [semantic-release] › ✔ Run automated release from branch main on repository https://github.com/examplary-ai/examplary
|
|
10
|
+
[3:18:15 PM] [semantic-release] › ✔ Allowed to push to the Git repository
|
|
11
|
+
[3:18:15 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
|
|
12
|
+
[3:18:15 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
|
|
13
|
+
[3:18:15 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/examplary/examplary/.npmrc
|
|
14
|
+
[3:18:15 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/042f7872d30b642a6822ffdce64f546b/.npmrc
|
|
15
|
+
tschoffelen
|
|
16
|
+
[3:18:15 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
|
|
17
|
+
[3:18:15 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
|
|
18
|
+
[3:18:15 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
|
|
19
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
|
|
20
|
+
[3:18:16 PM] [semantic-release] › ℹ Found git tag @examplary/schemas-v1.2.0 associated with version 1.2.0 on branch main
|
|
21
|
+
[3:18:16 PM] [semantic-release] › ℹ Found 105 commits since last release
|
|
22
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
23
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
24
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 4 commits for package @examplary/schemas since last release
|
|
25
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(bundler): finish preview for assessments
|
|
26
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
27
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat: bundler WIP
|
|
28
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
29
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix: index, default question IDs
|
|
30
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
|
|
31
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat: complete move to dynamic question loading
|
|
32
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
33
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 4 commits complete: minor release
|
|
34
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
35
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
36
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
37
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
|
|
38
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
39
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
40
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
|
|
41
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
42
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
43
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
|
|
44
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
45
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
46
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
47
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
48
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
49
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
50
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
51
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
52
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
53
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
54
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
55
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
56
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
57
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
58
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
59
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
60
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
61
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
62
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
63
|
+
[3:18:16 PM] [semantic-release] › ℹ The next release version is 1.3.0
|
|
64
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
65
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
|
|
66
|
+
[3:18:16 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
67
|
+
[3:18:16 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
68
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
|
|
69
|
+
[3:18:16 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 4 commits for package @examplary/schemas since last release
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./question-type"), exports);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare const Translatable: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
3
|
+
declare const ComponentReference: z.ZodString;
|
|
4
|
+
declare const SettingOption: z.ZodObject<{
|
|
5
|
+
value: z.ZodString;
|
|
6
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
declare const Setting: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
11
|
+
type: z.ZodEnum<{
|
|
12
|
+
string: "string";
|
|
13
|
+
number: "number";
|
|
14
|
+
boolean: "boolean";
|
|
15
|
+
enum: "enum";
|
|
16
|
+
custom: "custom";
|
|
17
|
+
"scoring-criteria": "scoring-criteria";
|
|
18
|
+
"question-type": "question-type";
|
|
19
|
+
}>;
|
|
20
|
+
default: z.ZodOptional<z.ZodAny>;
|
|
21
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
|
+
value: z.ZodString;
|
|
24
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
25
|
+
}, z.core.$strict>>>;
|
|
26
|
+
placeholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
27
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
declare const Components: z.ZodObject<{
|
|
32
|
+
assessment: z.ZodOptional<z.ZodString>;
|
|
33
|
+
print: z.ZodOptional<z.ZodString>;
|
|
34
|
+
"settings-area": z.ZodOptional<z.ZodString>;
|
|
35
|
+
results: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const QuestionTypeSchema: z.ZodObject<{
|
|
38
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
41
|
+
description: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
42
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
43
|
+
shortcut: z.ZodOptional<z.ZodString>;
|
|
44
|
+
canAutoGenerate: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
timeEstimateMinutes: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
isAi: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
48
|
+
iconBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
49
|
+
enforcePosition: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
start: "start";
|
|
51
|
+
end: "end";
|
|
52
|
+
}>>;
|
|
53
|
+
enforceTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
54
|
+
hideSettings: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
isPreviewRefreshable: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
hasSimpleScoring: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
titlePlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
58
|
+
descriptionPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
59
|
+
untitledPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
60
|
+
components: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
assessment: z.ZodOptional<z.ZodString>;
|
|
62
|
+
print: z.ZodOptional<z.ZodString>;
|
|
63
|
+
"settings-area": z.ZodOptional<z.ZodString>;
|
|
64
|
+
results: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
id: z.ZodString;
|
|
68
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
69
|
+
type: z.ZodEnum<{
|
|
70
|
+
string: "string";
|
|
71
|
+
number: "number";
|
|
72
|
+
boolean: "boolean";
|
|
73
|
+
enum: "enum";
|
|
74
|
+
custom: "custom";
|
|
75
|
+
"scoring-criteria": "scoring-criteria";
|
|
76
|
+
"question-type": "question-type";
|
|
77
|
+
}>;
|
|
78
|
+
default: z.ZodOptional<z.ZodAny>;
|
|
79
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
+
value: z.ZodString;
|
|
82
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
83
|
+
}, z.core.$strict>>>;
|
|
84
|
+
placeholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
85
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
}, z.core.$strict>>>;
|
|
89
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
91
|
+
stylesheet: z.ZodOptional<z.ZodURL>;
|
|
92
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
}, z.core.$strict>;
|
|
94
|
+
export type QuestionType = z.infer<typeof QuestionTypeSchema>;
|
|
95
|
+
export type TranslatableType = z.infer<typeof Translatable>;
|
|
96
|
+
export type ComponentReferenceType = z.infer<typeof ComponentReference>;
|
|
97
|
+
export type SettingType = z.infer<typeof Setting>;
|
|
98
|
+
export type SettingOptionType = z.infer<typeof SettingOption>;
|
|
99
|
+
export type ComponentsType = z.infer<typeof Components>;
|
|
100
|
+
export {};
|