@examplary/schemas 0.0.1 → 1.2.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.
@@ -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/1753827291803-2025-07-29T22:14:51.803Z",
402
+ "artifact": ""
403
+ }
404
+ }
@@ -0,0 +1 @@
1
+ Schema built successfully!
@@ -0,0 +1,44 @@
1
+
2
+
3
 
4
+ Disable auto-updates by adding "frameworkVersion" to your serverless.yml (frameworkVersion: ~4.17.2)
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
+ Uploading question-type.json
31
+ Clearing CloudFront DNS cache
32
+ Removing old service artifacts from S3
33
+ ✔ Service deployed to stack schemas-staging (17s)
34
+ Stack Outputs:
35
+ schemasBucketName814EA6EC: schemas-staging-schemasbucketbe9e7d9f-bjwiggxeliry
36
+ schemasCloudFrontCName05CBFC31: d2ub43ytncf7pc.cloudfront.net
37
+ schemasDistributionIdF843C7D9: E2QF0CWOESW4D1
38
+ schemasDomainC1437202: schemas-staging.examplary.ai
39
+ ServerlessDeploymentBucketName: serverless-framework-deployments-eu-central-1-fe769196-9095
40
+
41
+ schemas:
42
+ url: https://schemas-staging.examplary.ai
43
+ cname: d2ub43ytncf7pc.cloudfront.net
44
+
45
+ Finalizing
@@ -0,0 +1,68 @@
1
+ [10:18:46 PM] [semantic-release] › ℹ Running semantic-release version 24.2.7
2
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
3
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
4
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
5
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
6
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
7
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
8
+ [10:18:47 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
9
+ [10:18:51 PM] [semantic-release] › ✔ Run automated release from branch main on repository https://github.com/examplary-ai/examplary
10
+ [10:18:52 PM] [semantic-release] › ✔ Allowed to push to the Git repository
11
+ [10:18:52 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
12
+ [10:18:52 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
13
+ [10:18:52 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/examplary/examplary/.npmrc
14
+ [10:18:52 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/3fa16cca3e8ec19e1ad79668f45de083/.npmrc
15
+ tschoffelen
16
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
17
+ [10:18:53 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
18
+ [10:18:53 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
19
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
20
+ [10:18:53 PM] [semantic-release] › ℹ Found git tag @examplary/schemas-v1.1.0 associated with version 1.1.0 on branch main
21
+ [10:18:53 PM] [semantic-release] › ℹ Found 12 commits since last release
22
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
23
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
24
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @examplary/schemas since last release
25
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(bundler): bundle tailwind styles
26
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
27
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: minor release
28
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
29
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
30
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
31
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
32
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
33
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
34
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
35
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
36
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
37
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
38
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
39
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
40
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
41
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
42
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
43
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
44
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
45
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
46
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
47
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
48
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
49
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
50
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
51
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
52
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
53
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
54
+ [10:18:53 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
55
+ [10:18:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
56
+ [10:18:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
57
+ [10:18:53 PM] [semantic-release] › ℹ The next release version is 1.2.0
58
+ [10:18:54 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
59
+ [10:18:54 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
60
+ [10:18:54 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
61
+ [10:18:54 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
62
+ [10:18:54 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
63
+ [10:18:54 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @examplary/schemas since last release
64
+ [10:18:54 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
65
+ [10:18:54 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
66
+ [10:18:54 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
67
+ [10:18:54 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "generateNotes"
68
+ [10:18:54 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
@@ -0,0 +1,2 @@
1
+ export * from "./question-type";
2
+ export type * from "./question-type";
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 {};