@examplary/schemas 1.6.0 → 1.9.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/dist/common/scalar.d.ts +3 -0
- package/dist/common/scalar.js +10 -0
- package/dist/index.d.ts +6 -8
- package/dist/index.js +5 -5
- package/dist/question/index.d.ts +4 -0
- package/dist/question/index.js +18 -0
- package/dist/question/legacy-question-scoring-criteria.d.ts +9 -0
- package/dist/question/legacy-question-scoring-criteria.js +10 -0
- package/dist/question/question-scoring.d.ts +55 -0
- package/dist/question/question-scoring.js +29 -0
- package/dist/question/question.d.ts +42 -0
- package/dist/question/question.js +26 -0
- package/{src/index.ts → dist/question-type/index.d.ts} +0 -5
- package/dist/question-type/index.js +20 -0
- package/dist/question-type/question-type-qti3.d.ts +60 -0
- package/dist/question-type/question-type-qti3.js +48 -0
- package/dist/{question-type-setting.js → question-type/question-type-setting.js} +1 -1
- package/dist/{question-type.d.ts → question-type/question-type.d.ts} +31 -0
- package/dist/{question-type.js → question-type/question-type.js} +13 -1
- package/dist/schemas/question-scoring.json +197 -0
- package/dist/schemas/question-type.json +179 -74
- package/dist/schemas/question.json +364 -0
- package/package.json +7 -1
- package/.env +0 -1
- package/.serverless/cloudformation-template-update-stack.json +0 -175
- package/.serverless/meta.json +0 -274
- package/.serverless/serverless-state.json +0 -402
- package/.turbo/turbo-build.log +0 -1
- package/.turbo/turbo-deploy.log +0 -43
- package/.turbo/turbo-release.log +0 -114
- package/scripts/build.ts +0 -16
- package/serverless.yml +0 -25
- package/src/question-type-components.ts +0 -36
- package/src/question-type-generation-options.ts +0 -21
- package/src/question-type-grading-options.ts +0 -21
- package/src/question-type-setting.ts +0 -70
- package/src/question-type.ts +0 -104
- package/src/translatable.ts +0 -17
- /package/dist/{translatable.d.ts → common/translatable.d.ts} +0 -0
- /package/dist/{translatable.js → common/translatable.js} +0 -0
- /package/dist/{question-type-components.d.ts → question-type/question-type-components.d.ts} +0 -0
- /package/dist/{question-type-components.js → question-type/question-type-components.js} +0 -0
- /package/dist/{question-type-generation-options.d.ts → question-type/question-type-generation-options.d.ts} +0 -0
- /package/dist/{question-type-generation-options.js → question-type/question-type-generation-options.js} +0 -0
- /package/dist/{question-type-grading-options.d.ts → question-type/question-type-grading-options.d.ts} +0 -0
- /package/dist/{question-type-grading-options.js → question-type/question-type-grading-options.js} +0 -0
- /package/dist/{question-type-setting.d.ts → question-type/question-type-setting.d.ts} +0 -0
package/.serverless/meta.json
DELETED
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"/home/runner/work/examplary/examplary/schemas/serverless.yml": {
|
|
3
|
-
"versionFramework": "4.19.1",
|
|
4
|
-
"servicePath": "/home/runner/work/examplary/examplary/schemas/serverless.yml",
|
|
5
|
-
"serviceConfigFileName": "serverless.yml",
|
|
6
|
-
"service": {
|
|
7
|
-
"service": "schemas",
|
|
8
|
-
"params": {
|
|
9
|
-
"default": {
|
|
10
|
-
"domain": "schemas-production.examplary.ai",
|
|
11
|
-
"certificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
12
|
-
},
|
|
13
|
-
"production": {
|
|
14
|
-
"domain": "schemas.examplary.ai",
|
|
15
|
-
"certificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"provider": {
|
|
19
|
-
"name": "aws",
|
|
20
|
-
"region": "eu-central-1",
|
|
21
|
-
"stage": "production",
|
|
22
|
-
"deploymentMethod": "direct",
|
|
23
|
-
"versionFunctions": true
|
|
24
|
-
},
|
|
25
|
-
"plugins": [
|
|
26
|
-
"serverless-lift"
|
|
27
|
-
],
|
|
28
|
-
"constructs": {
|
|
29
|
-
"schemas": {
|
|
30
|
-
"type": "static-website",
|
|
31
|
-
"path": "dist/schemas",
|
|
32
|
-
"domain": "schemas.examplary.ai",
|
|
33
|
-
"certificate": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"provider": {
|
|
38
|
-
"name": "aws",
|
|
39
|
-
"region": "eu-central-1",
|
|
40
|
-
"stage": "production",
|
|
41
|
-
"deploymentMethod": "direct",
|
|
42
|
-
"versionFunctions": true
|
|
43
|
-
},
|
|
44
|
-
"dashboard": {
|
|
45
|
-
"isEnabledForService": false,
|
|
46
|
-
"requiredAuthentication": false,
|
|
47
|
-
"orgFeaturesInUse": null,
|
|
48
|
-
"orgObservabilityIntegrations": null,
|
|
49
|
-
"serviceAppId": null,
|
|
50
|
-
"serviceProvider": null,
|
|
51
|
-
"instanceParameters": null
|
|
52
|
-
},
|
|
53
|
-
"serviceRawFile": "service: schemas\n\nparams:\n default:\n domain: schemas-${sls:stage}.examplary.ai\n certificateArn: arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f\n production:\n domain: schemas.examplary.ai\n certificateArn: arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f\n\nprovider:\n name: aws\n region: eu-central-1\n stage: ${opt:stage, 'dev'}\n deploymentMethod: direct\n\nplugins:\n - serverless-lift\n\nconstructs:\n schemas:\n type: static-website\n path: dist/schemas\n domain: ${param:domain}\n certificate: ${param:certificateArn}\n",
|
|
54
|
-
"command": [
|
|
55
|
-
"deploy"
|
|
56
|
-
],
|
|
57
|
-
"options": {
|
|
58
|
-
"verbose": true,
|
|
59
|
-
"stage": "production"
|
|
60
|
-
},
|
|
61
|
-
"orgId": "5d3064e1-8166-4393-8f8f-cc3391651697",
|
|
62
|
-
"orgName": "examplary",
|
|
63
|
-
"userId": "1KmmvFzp9d3Ns75m6V",
|
|
64
|
-
"userName": "tschoffelen",
|
|
65
|
-
"serviceProviderAwsAccountId": "864899853846",
|
|
66
|
-
"serviceProviderAwsCfStackName": "schemas-production",
|
|
67
|
-
"serviceProviderAwsCfStackId": "arn:aws:cloudformation:eu-central-1:864899853846:stack/schemas-production/a2a7bd10-4ee3-11f0-b7fe-0aa88b30c07b",
|
|
68
|
-
"serviceProviderAwsCfStackCreated": "2025-06-21T21:06:44.314Z",
|
|
69
|
-
"serviceProviderAwsCfStackUpdated": "2025-09-20T12:05:42.880Z",
|
|
70
|
-
"serviceProviderAwsCfStackStatus": "UPDATE_COMPLETE",
|
|
71
|
-
"serviceProviderAwsCfStackOutputs": [
|
|
72
|
-
{
|
|
73
|
-
"OutputKey": "schemasBucketName814EA6EC",
|
|
74
|
-
"OutputValue": "schemas-production-schemasbucketbe9e7d9f-q1aisqmk2pik",
|
|
75
|
-
"Description": "Name of the bucket that stores the static website."
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"OutputKey": "schemasCloudFrontCName05CBFC31",
|
|
79
|
-
"OutputValue": "djykovp21c0ec.cloudfront.net",
|
|
80
|
-
"Description": "CloudFront CNAME."
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"OutputKey": "schemasDistributionIdF843C7D9",
|
|
84
|
-
"OutputValue": "E1Z7GHEM2TF0UN",
|
|
85
|
-
"Description": "ID of the CloudFront distribution."
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"OutputKey": "schemasDomainC1437202",
|
|
89
|
-
"OutputValue": "schemas.examplary.ai",
|
|
90
|
-
"Description": "Website domain name."
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"OutputKey": "ServerlessDeploymentBucketName",
|
|
94
|
-
"OutputValue": "serverless-framework-deployments-eu-central-1-fe769196-9095",
|
|
95
|
-
"ExportName": "sls-schemas-production-ServerlessDeploymentBucketName"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"compiledCloudFormationTemplate": {
|
|
99
|
-
"AWSTemplateFormatVersion": "2010-09-09",
|
|
100
|
-
"Description": "The AWS CloudFormation template for this Serverless application",
|
|
101
|
-
"Resources": {
|
|
102
|
-
"schemasBucketBE9E7D9F": {
|
|
103
|
-
"Type": "AWS::S3::Bucket",
|
|
104
|
-
"Properties": {
|
|
105
|
-
"PublicAccessBlockConfiguration": {
|
|
106
|
-
"BlockPublicAcls": false,
|
|
107
|
-
"BlockPublicPolicy": false,
|
|
108
|
-
"IgnorePublicAcls": false,
|
|
109
|
-
"RestrictPublicBuckets": false
|
|
110
|
-
},
|
|
111
|
-
"WebsiteConfiguration": {
|
|
112
|
-
"IndexDocument": "index.html"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"UpdateReplacePolicy": "Delete",
|
|
116
|
-
"DeletionPolicy": "Delete"
|
|
117
|
-
},
|
|
118
|
-
"schemasBucketPolicy7504DC0B": {
|
|
119
|
-
"Type": "AWS::S3::BucketPolicy",
|
|
120
|
-
"Properties": {
|
|
121
|
-
"Bucket": {
|
|
122
|
-
"Ref": "schemasBucketBE9E7D9F"
|
|
123
|
-
},
|
|
124
|
-
"PolicyDocument": {
|
|
125
|
-
"Statement": [
|
|
126
|
-
{
|
|
127
|
-
"Action": "s3:GetObject",
|
|
128
|
-
"Effect": "Allow",
|
|
129
|
-
"Principal": {
|
|
130
|
-
"AWS": "*"
|
|
131
|
-
},
|
|
132
|
-
"Resource": {
|
|
133
|
-
"Fn::Join": [
|
|
134
|
-
"",
|
|
135
|
-
[
|
|
136
|
-
{
|
|
137
|
-
"Fn::GetAtt": [
|
|
138
|
-
"schemasBucketBE9E7D9F",
|
|
139
|
-
"Arn"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"/*"
|
|
143
|
-
]
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"Version": "2012-10-17"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"schemasResponseFunctionC5B753EB": {
|
|
153
|
-
"Type": "AWS::CloudFront::Function",
|
|
154
|
-
"Properties": {
|
|
155
|
-
"AutoPublish": true,
|
|
156
|
-
"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}",
|
|
157
|
-
"FunctionConfig": {
|
|
158
|
-
"Comment": "schemas-production-eu-central-1-schemas-response",
|
|
159
|
-
"Runtime": "cloudfront-js-1.0"
|
|
160
|
-
},
|
|
161
|
-
"Name": "schemas-production-eu-central-1-schemas-response"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"schemasCDNE849A679": {
|
|
165
|
-
"Type": "AWS::CloudFront::Distribution",
|
|
166
|
-
"Properties": {
|
|
167
|
-
"DistributionConfig": {
|
|
168
|
-
"Aliases": [
|
|
169
|
-
"schemas.examplary.ai"
|
|
170
|
-
],
|
|
171
|
-
"Comment": "schemas-production schemas website CDN",
|
|
172
|
-
"CustomErrorResponses": [
|
|
173
|
-
{
|
|
174
|
-
"ErrorCachingMinTTL": 0,
|
|
175
|
-
"ErrorCode": 404,
|
|
176
|
-
"ResponseCode": 200,
|
|
177
|
-
"ResponsePagePath": "/index.html"
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"DefaultCacheBehavior": {
|
|
181
|
-
"AllowedMethods": [
|
|
182
|
-
"GET",
|
|
183
|
-
"HEAD",
|
|
184
|
-
"OPTIONS"
|
|
185
|
-
],
|
|
186
|
-
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
|
|
187
|
-
"Compress": true,
|
|
188
|
-
"FunctionAssociations": [
|
|
189
|
-
{
|
|
190
|
-
"EventType": "viewer-response",
|
|
191
|
-
"FunctionARN": {
|
|
192
|
-
"Ref": "schemasResponseFunctionC5B753EB"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"TargetOriginId": "schemasCDNOrigin1ED98F1D0",
|
|
197
|
-
"ViewerProtocolPolicy": "redirect-to-https"
|
|
198
|
-
},
|
|
199
|
-
"DefaultRootObject": "index.html",
|
|
200
|
-
"Enabled": true,
|
|
201
|
-
"HttpVersion": "http2",
|
|
202
|
-
"IPV6Enabled": true,
|
|
203
|
-
"Origins": [
|
|
204
|
-
{
|
|
205
|
-
"CustomOriginConfig": {
|
|
206
|
-
"OriginProtocolPolicy": "http-only",
|
|
207
|
-
"OriginSSLProtocols": [
|
|
208
|
-
"TLSv1.2"
|
|
209
|
-
]
|
|
210
|
-
},
|
|
211
|
-
"DomainName": {
|
|
212
|
-
"Fn::Select": [
|
|
213
|
-
2,
|
|
214
|
-
{
|
|
215
|
-
"Fn::Split": [
|
|
216
|
-
"/",
|
|
217
|
-
{
|
|
218
|
-
"Fn::GetAtt": [
|
|
219
|
-
"schemasBucketBE9E7D9F",
|
|
220
|
-
"WebsiteURL"
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
"Id": "schemasCDNOrigin1ED98F1D0"
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"ViewerCertificate": {
|
|
231
|
-
"AcmCertificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f",
|
|
232
|
-
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
233
|
-
"SslSupportMethod": "sni-only"
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"Outputs": {
|
|
240
|
-
"ServerlessDeploymentBucketName": {
|
|
241
|
-
"Value": "serverless-framework-deployments-eu-central-1-fe769196-9095",
|
|
242
|
-
"Export": {
|
|
243
|
-
"Name": "sls-schemas-production-ServerlessDeploymentBucketName"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"schemasBucketName814EA6EC": {
|
|
247
|
-
"Description": "Name of the bucket that stores the static website.",
|
|
248
|
-
"Value": {
|
|
249
|
-
"Ref": "schemasBucketBE9E7D9F"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"schemasDomainC1437202": {
|
|
253
|
-
"Description": "Website domain name.",
|
|
254
|
-
"Value": "schemas.examplary.ai"
|
|
255
|
-
},
|
|
256
|
-
"schemasCloudFrontCName05CBFC31": {
|
|
257
|
-
"Description": "CloudFront CNAME.",
|
|
258
|
-
"Value": {
|
|
259
|
-
"Fn::GetAtt": [
|
|
260
|
-
"schemasCDNE849A679",
|
|
261
|
-
"DomainName"
|
|
262
|
-
]
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"schemasDistributionIdF843C7D9": {
|
|
266
|
-
"Description": "ID of the CloudFront distribution.",
|
|
267
|
-
"Value": {
|
|
268
|
-
"Ref": "schemasCDNE849A679"
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"service": {
|
|
3
|
-
"service": "schemas",
|
|
4
|
-
"serviceObject": {
|
|
5
|
-
"name": "schemas"
|
|
6
|
-
},
|
|
7
|
-
"provider": {
|
|
8
|
-
"name": "aws",
|
|
9
|
-
"region": "eu-central-1",
|
|
10
|
-
"stage": "production",
|
|
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-production-eu-central-1-schemas-response",
|
|
74
|
-
"Runtime": "cloudfront-js-1.0"
|
|
75
|
-
},
|
|
76
|
-
"Name": "schemas-production-eu-central-1-schemas-response"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"schemasCDNE849A679": {
|
|
80
|
-
"Type": "AWS::CloudFront::Distribution",
|
|
81
|
-
"Properties": {
|
|
82
|
-
"DistributionConfig": {
|
|
83
|
-
"Aliases": [
|
|
84
|
-
"schemas.examplary.ai"
|
|
85
|
-
],
|
|
86
|
-
"Comment": "schemas-production 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
|
-
"Ref": "schemasResponseFunctionC5B753EB"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"TargetOriginId": "schemasCDNOrigin1ED98F1D0",
|
|
112
|
-
"ViewerProtocolPolicy": "redirect-to-https"
|
|
113
|
-
},
|
|
114
|
-
"DefaultRootObject": "index.html",
|
|
115
|
-
"Enabled": true,
|
|
116
|
-
"HttpVersion": "http2",
|
|
117
|
-
"IPV6Enabled": true,
|
|
118
|
-
"Origins": [
|
|
119
|
-
{
|
|
120
|
-
"CustomOriginConfig": {
|
|
121
|
-
"OriginProtocolPolicy": "http-only",
|
|
122
|
-
"OriginSSLProtocols": [
|
|
123
|
-
"TLSv1.2"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"DomainName": {
|
|
127
|
-
"Fn::Select": [
|
|
128
|
-
2,
|
|
129
|
-
{
|
|
130
|
-
"Fn::Split": [
|
|
131
|
-
"/",
|
|
132
|
-
{
|
|
133
|
-
"Fn::GetAtt": [
|
|
134
|
-
"schemasBucketBE9E7D9F",
|
|
135
|
-
"WebsiteURL"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"Id": "schemasCDNOrigin1ED98F1D0"
|
|
143
|
-
}
|
|
144
|
-
],
|
|
145
|
-
"ViewerCertificate": {
|
|
146
|
-
"AcmCertificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f",
|
|
147
|
-
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
148
|
-
"SslSupportMethod": "sni-only"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"Outputs": {
|
|
155
|
-
"ServerlessDeploymentBucketName": {
|
|
156
|
-
"Value": "serverless-framework-deployments-eu-central-1-fe769196-9095",
|
|
157
|
-
"Export": {
|
|
158
|
-
"Name": "sls-schemas-production-ServerlessDeploymentBucketName"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"schemasBucketName814EA6EC": {
|
|
162
|
-
"Description": "Name of the bucket that stores the static website.",
|
|
163
|
-
"Value": {
|
|
164
|
-
"Ref": "schemasBucketBE9E7D9F"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"schemasDomainC1437202": {
|
|
168
|
-
"Description": "Website domain name.",
|
|
169
|
-
"Value": "schemas.examplary.ai"
|
|
170
|
-
},
|
|
171
|
-
"schemasCloudFrontCName05CBFC31": {
|
|
172
|
-
"Description": "CloudFront CNAME.",
|
|
173
|
-
"Value": {
|
|
174
|
-
"Fn::GetAtt": [
|
|
175
|
-
"schemasCDNE849A679",
|
|
176
|
-
"DomainName"
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"schemasDistributionIdF843C7D9": {
|
|
181
|
-
"Description": "ID of the CloudFront distribution.",
|
|
182
|
-
"Value": {
|
|
183
|
-
"Ref": "schemasCDNE849A679"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"plugins": [
|
|
190
|
-
"serverless-lift"
|
|
191
|
-
],
|
|
192
|
-
"pluginsData": {},
|
|
193
|
-
"functions": {},
|
|
194
|
-
"resources": {
|
|
195
|
-
"Resources": {
|
|
196
|
-
"schemasBucketBE9E7D9F": {
|
|
197
|
-
"Type": "AWS::S3::Bucket",
|
|
198
|
-
"Properties": {
|
|
199
|
-
"PublicAccessBlockConfiguration": {
|
|
200
|
-
"BlockPublicAcls": false,
|
|
201
|
-
"BlockPublicPolicy": false,
|
|
202
|
-
"IgnorePublicAcls": false,
|
|
203
|
-
"RestrictPublicBuckets": false
|
|
204
|
-
},
|
|
205
|
-
"WebsiteConfiguration": {
|
|
206
|
-
"IndexDocument": "index.html"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"UpdateReplacePolicy": "Delete",
|
|
210
|
-
"DeletionPolicy": "Delete"
|
|
211
|
-
},
|
|
212
|
-
"schemasBucketPolicy7504DC0B": {
|
|
213
|
-
"Type": "AWS::S3::BucketPolicy",
|
|
214
|
-
"Properties": {
|
|
215
|
-
"Bucket": {
|
|
216
|
-
"Ref": "schemasBucketBE9E7D9F"
|
|
217
|
-
},
|
|
218
|
-
"PolicyDocument": {
|
|
219
|
-
"Statement": [
|
|
220
|
-
{
|
|
221
|
-
"Action": "s3:GetObject",
|
|
222
|
-
"Effect": "Allow",
|
|
223
|
-
"Principal": {
|
|
224
|
-
"AWS": "*"
|
|
225
|
-
},
|
|
226
|
-
"Resource": {
|
|
227
|
-
"Fn::Join": [
|
|
228
|
-
"",
|
|
229
|
-
[
|
|
230
|
-
{
|
|
231
|
-
"Fn::GetAtt": [
|
|
232
|
-
"schemasBucketBE9E7D9F",
|
|
233
|
-
"Arn"
|
|
234
|
-
]
|
|
235
|
-
},
|
|
236
|
-
"/*"
|
|
237
|
-
]
|
|
238
|
-
]
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
"Version": "2012-10-17"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"schemasResponseFunctionC5B753EB": {
|
|
247
|
-
"Type": "AWS::CloudFront::Function",
|
|
248
|
-
"Properties": {
|
|
249
|
-
"AutoPublish": true,
|
|
250
|
-
"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}",
|
|
251
|
-
"FunctionConfig": {
|
|
252
|
-
"Comment": "schemas-production-eu-central-1-schemas-response",
|
|
253
|
-
"Runtime": "cloudfront-js-1.0"
|
|
254
|
-
},
|
|
255
|
-
"Name": "schemas-production-eu-central-1-schemas-response"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"schemasCDNE849A679": {
|
|
259
|
-
"Type": "AWS::CloudFront::Distribution",
|
|
260
|
-
"Properties": {
|
|
261
|
-
"DistributionConfig": {
|
|
262
|
-
"Aliases": [
|
|
263
|
-
"schemas.examplary.ai"
|
|
264
|
-
],
|
|
265
|
-
"Comment": "schemas-production schemas website CDN",
|
|
266
|
-
"CustomErrorResponses": [
|
|
267
|
-
{
|
|
268
|
-
"ErrorCachingMinTTL": 0,
|
|
269
|
-
"ErrorCode": 404,
|
|
270
|
-
"ResponseCode": 200,
|
|
271
|
-
"ResponsePagePath": "/index.html"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"DefaultCacheBehavior": {
|
|
275
|
-
"AllowedMethods": [
|
|
276
|
-
"GET",
|
|
277
|
-
"HEAD",
|
|
278
|
-
"OPTIONS"
|
|
279
|
-
],
|
|
280
|
-
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
|
|
281
|
-
"Compress": true,
|
|
282
|
-
"FunctionAssociations": [
|
|
283
|
-
{
|
|
284
|
-
"EventType": "viewer-response",
|
|
285
|
-
"FunctionARN": {
|
|
286
|
-
"Ref": "schemasResponseFunctionC5B753EB"
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"TargetOriginId": "schemasCDNOrigin1ED98F1D0",
|
|
291
|
-
"ViewerProtocolPolicy": "redirect-to-https"
|
|
292
|
-
},
|
|
293
|
-
"DefaultRootObject": "index.html",
|
|
294
|
-
"Enabled": true,
|
|
295
|
-
"HttpVersion": "http2",
|
|
296
|
-
"IPV6Enabled": true,
|
|
297
|
-
"Origins": [
|
|
298
|
-
{
|
|
299
|
-
"CustomOriginConfig": {
|
|
300
|
-
"OriginProtocolPolicy": "http-only",
|
|
301
|
-
"OriginSSLProtocols": [
|
|
302
|
-
"TLSv1.2"
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
"DomainName": {
|
|
306
|
-
"Fn::Select": [
|
|
307
|
-
2,
|
|
308
|
-
{
|
|
309
|
-
"Fn::Split": [
|
|
310
|
-
"/",
|
|
311
|
-
{
|
|
312
|
-
"Fn::GetAtt": [
|
|
313
|
-
"schemasBucketBE9E7D9F",
|
|
314
|
-
"WebsiteURL"
|
|
315
|
-
]
|
|
316
|
-
}
|
|
317
|
-
]
|
|
318
|
-
}
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
"Id": "schemasCDNOrigin1ED98F1D0"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"ViewerCertificate": {
|
|
325
|
-
"AcmCertificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f",
|
|
326
|
-
"MinimumProtocolVersion": "TLSv1.2_2021",
|
|
327
|
-
"SslSupportMethod": "sni-only"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
"Outputs": {
|
|
334
|
-
"schemasBucketName814EA6EC": {
|
|
335
|
-
"Description": "Name of the bucket that stores the static website.",
|
|
336
|
-
"Value": {
|
|
337
|
-
"Ref": "schemasBucketBE9E7D9F"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"schemasDomainC1437202": {
|
|
341
|
-
"Description": "Website domain name.",
|
|
342
|
-
"Value": "schemas.examplary.ai"
|
|
343
|
-
},
|
|
344
|
-
"schemasCloudFrontCName05CBFC31": {
|
|
345
|
-
"Description": "CloudFront CNAME.",
|
|
346
|
-
"Value": {
|
|
347
|
-
"Fn::GetAtt": [
|
|
348
|
-
"schemasCDNE849A679",
|
|
349
|
-
"DomainName"
|
|
350
|
-
]
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"schemasDistributionIdF843C7D9": {
|
|
354
|
-
"Description": "ID of the CloudFront distribution.",
|
|
355
|
-
"Value": {
|
|
356
|
-
"Ref": "schemasCDNE849A679"
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"configValidationMode": "warn",
|
|
362
|
-
"serviceFilename": "serverless",
|
|
363
|
-
"initialServerlessConfig": {
|
|
364
|
-
"service": "schemas",
|
|
365
|
-
"params": {
|
|
366
|
-
"default": {
|
|
367
|
-
"domain": "schemas-production.examplary.ai",
|
|
368
|
-
"certificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
369
|
-
},
|
|
370
|
-
"production": {
|
|
371
|
-
"domain": "schemas.examplary.ai",
|
|
372
|
-
"certificateArn": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
"provider": {
|
|
376
|
-
"name": "aws",
|
|
377
|
-
"region": "eu-central-1",
|
|
378
|
-
"stage": "production",
|
|
379
|
-
"deploymentMethod": "direct",
|
|
380
|
-
"versionFunctions": true
|
|
381
|
-
},
|
|
382
|
-
"plugins": {
|
|
383
|
-
"$ref": "$[\"service\"][\"plugins\"]"
|
|
384
|
-
},
|
|
385
|
-
"constructs": {
|
|
386
|
-
"schemas": {
|
|
387
|
-
"type": "static-website",
|
|
388
|
-
"path": "dist/schemas",
|
|
389
|
-
"domain": "schemas.examplary.ai",
|
|
390
|
-
"certificate": "arn:aws:acm:us-east-1:864899853846:certificate/98929ce6-38a5-41ec-ac3c-6abd2f46087f"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
"appId": null,
|
|
395
|
-
"orgId": null,
|
|
396
|
-
"layers": {}
|
|
397
|
-
},
|
|
398
|
-
"package": {
|
|
399
|
-
"artifactDirectoryName": "serverless/schemas/production/1759416191225-2025-10-02T14:43:11.225Z",
|
|
400
|
-
"artifact": ""
|
|
401
|
-
}
|
|
402
|
-
}
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Schema built successfully!
|