@platformatic/service 0.19.2 → 0.19.4
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/fixtures/https/embedded-pem.json +20 -0
- package/fixtures/https/https.crt +25 -0
- package/fixtures/https/https.key +27 -0
- package/fixtures/https/pem-path.json +20 -0
- package/fixtures/https/plugin.js +7 -0
- package/index.js +9 -9
- package/package.json +4 -4
- package/test/cli/start.test.mjs +28 -0
- package/fixtures/hello-client-ts/dist/plugin.js +0 -21
- package/fixtures/hello-client-ts/dist/plugin.js.map +0 -1
- package/test/fixtures/bad-typescript-plugin/dist/tsconfig.tsbuildinfo +0 -1
- package/test/tmp/platformatic.service.schema.json +0 -263
- package/test/tmp/typescript-plugin-clone-1/dist/plugin.js +0 -18
- package/test/tmp/typescript-plugin-clone-1/dist/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-1/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-1/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-1/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-2/dist/plugin.js +0 -18
- package/test/tmp/typescript-plugin-clone-2/dist/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-2/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-2/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-2/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-2/tsconfig.json.backup +0 -22
- package/test/tmp/typescript-plugin-clone-3/dist/plugin.js +0 -18
- package/test/tmp/typescript-plugin-clone-3/dist/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-3/dist/tsconfig.tsbuildinfo +0 -1
- package/test/tmp/typescript-plugin-clone-3/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-3/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-3/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-4/dist/plugin.js +0 -18
- package/test/tmp/typescript-plugin-clone-4/dist/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-4/dist/tsconfig.tsbuildinfo +0 -1
- package/test/tmp/typescript-plugin-clone-4/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-4/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-4/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-4/tsconfig.json.backup +0 -22
- package/test/tmp/typescript-plugin-clone-5/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-5/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-5/tsconfig.json.backup +0 -22
- package/test/tmp/typescript-plugin-clone-6/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-6/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-6/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-7/inner-folder/dist/plugin.js +0 -18
- package/test/tmp/typescript-plugin-clone-7/inner-folder/dist/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-7/inner-folder/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-7/inner-folder/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-7/inner-folder/tsconfig.json +0 -22
- package/test/tmp/typescript-plugin-clone-8/dist/routes/plugin.js +0 -7
- package/test/tmp/typescript-plugin-clone-8/dist/routes/plugin.js.map +0 -1
- package/test/tmp/typescript-plugin-clone-8/dist/tsconfig.tsbuildinfo +0 -1
- package/test/tmp/typescript-plugin-clone-8/platformatic.service.json +0 -13
- package/test/tmp/typescript-plugin-clone-8/routes/plugin.ts +0 -5
- package/test/tmp/typescript-plugin-clone-8/tsconfig.json +0 -22
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"server": {
|
|
3
|
+
"hostname": "127.0.0.1",
|
|
4
|
+
"port": 0,
|
|
5
|
+
"logger": {
|
|
6
|
+
"level": "info"
|
|
7
|
+
},
|
|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FqbJw25Ou3A1iMA==\n-----END RSA PRIVATE KEY-----"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"plugins": {
|
|
14
|
+
"paths": ["./plugin.js"]
|
|
15
|
+
},
|
|
16
|
+
"service": {
|
|
17
|
+
"openapi": true
|
|
18
|
+
},
|
|
19
|
+
"metrics": false
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
|
2
|
+
MIIERDCCAyygAwIBAgIBATANBgkqhkiG9w0BAQUFADBsMRgwFgYDVQQDEw9iYXNl
|
|
3
|
+
LXZpcnR1YWxib3gxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAwDgYD
|
|
4
|
+
VQQHEwdBdGxhbnRhMQ0wCwYDVQQKEwROb25lMRAwDgYDVQQLEwdleGFtcGxlMB4X
|
|
5
|
+
DTIzMDQwNzE0MTg0NVoXDTI4MDUwNzA3MDAwMFowbDEYMBYGA1UEAxMPYmFzZS12
|
|
6
|
+
aXJ0dWFsYm94MQswCQYDVQQGEwJVUzEQMA4GA1UECBMHR2VvcmdpYTEQMA4GA1UE
|
|
7
|
+
BxMHQXRsYW50YTENMAsGA1UEChMETm9uZTEQMA4GA1UECxMHZXhhbXBsZTCCASIw
|
|
8
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKIUVhOE8bskYs4fmUGJsfGyPr6Z
|
|
9
|
+
v+jvYlM16/0nnN94DWHi6XnDNYEAltlhP5GtpL7MIdu4gZE4BZGEOxbMOKMhzOEO
|
|
10
|
+
cYLmQrdsGa00lxQ+lYC9TdN3Qo1p0SeNxALwIEFTYzEqM195cmLx2pKobkRysLMM
|
|
11
|
+
vJQbWQTYblXdFtrryVutK5ipC7Uu/hIFyMQNRZ7qpTLNZtznUyRpYL1UOwOUqPiM
|
|
12
|
+
G2X3QmI5wYXzR4gda2k/rNgCLakRwlGeKNjjgKUeS+bs23V2tkhGtJYUbg6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U46jHyH3Yowh9YbmzxFlqXSnGWY0CEIZ0mcZyiUJ1lI/+tr
|
|
18
|
+
TK/9h0yJmTz23qNX1kX9LuYw1y92wz27rsA2JOcCgYEAxi6jw5ajAbNspT6WbkCW
|
|
19
|
+
TAEtYU5l4Mvcr0A7ekEaRyobR7BR3E9+QvXlr7VdUTUu2O6gk027lWymkS5I7FQu
|
|
20
|
+
ioz56k6NQuN2erbRvb2RsdCNowgGqqeM+IuTo3NoEggaKDjYrshtRm/ByMUvekCY
|
|
21
|
+
IR0+/O6WbNVss4JdUEcGpwECgYB1HxXZgqODI5FtC6UBAa/PXr2vZIwCCzoZiUyi
|
|
22
|
+
MQpAjlULY9JUCmmPqqPSClB67ZxdDp87essSpT9ukNHt2PY6j6o6PIAmK/TGMR+H
|
|
23
|
+
ew/SnDNWXEfz4GU/xyF/fajCJzEpi51ipeejl98H3w1VOWjjuA/Uo/xZJJuPEQiW
|
|
24
|
+
W9PtnQKBgQDFJYAQNUqiQ8/o3r5qrQ1m+WwDcSjJo0K+y53WQWWOLQvyaitpxBIV
|
|
25
|
+
6HN6YOqB7D1jjceQisSoGITZklKv5d2szsUwk4OrIDgVjTnbffUPjs18r4sttARV
|
|
26
|
+
i11eYjenblw76OAc5shwCKCGXhKDcpq/23VxjghFqbJw25Ou3A1iMA==
|
|
27
|
+
-----END RSA PRIVATE KEY-----
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"server": {
|
|
3
|
+
"hostname": "127.0.0.1",
|
|
4
|
+
"port": 0,
|
|
5
|
+
"logger": {
|
|
6
|
+
"level": "info"
|
|
7
|
+
},
|
|
8
|
+
"https": {
|
|
9
|
+
"cert": { "path": "./https.crt" },
|
|
10
|
+
"key": [{ "path": "./https.key" }]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"plugins": {
|
|
14
|
+
"paths": ["./plugin.js"]
|
|
15
|
+
},
|
|
16
|
+
"service": {
|
|
17
|
+
"openapi": true
|
|
18
|
+
},
|
|
19
|
+
"metrics": false
|
|
20
|
+
}
|
package/index.js
CHANGED
|
@@ -232,16 +232,16 @@ async function buildServer (options, app, ConfigManagerContructor) {
|
|
|
232
232
|
options = deepmerge({}, options, cm.current)
|
|
233
233
|
options.configManager = cm
|
|
234
234
|
adjustConfigAfterMerge(options, stash)
|
|
235
|
+
}
|
|
235
236
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
237
|
+
if (options.server.https) {
|
|
238
|
+
options.server.https.key = await adjustHttpsKeyAndCert(options.server.https.key)
|
|
239
|
+
options.server.https.cert = await adjustHttpsKeyAndCert(options.server.https.cert)
|
|
240
|
+
options.server = { ...options.server, ...options.server.https }
|
|
241
|
+
delete options.server.https
|
|
242
|
+
options.server.protocol = 'https'
|
|
243
|
+
} else {
|
|
244
|
+
options.server.protocol = 'http'
|
|
245
245
|
}
|
|
246
246
|
const serverConfig = createServerConfig(options)
|
|
247
247
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"pino-pretty": "^10.0.0",
|
|
64
64
|
"rfdc": "^1.3.0",
|
|
65
65
|
"ua-parser-js": "^1.0.33",
|
|
66
|
-
"@platformatic/config": "0.19.
|
|
67
|
-
"@platformatic/
|
|
68
|
-
"@platformatic/
|
|
66
|
+
"@platformatic/config": "0.19.4",
|
|
67
|
+
"@platformatic/utils": "0.19.4",
|
|
68
|
+
"@platformatic/client": "0.19.4"
|
|
69
69
|
},
|
|
70
70
|
"standard": {
|
|
71
71
|
"ignore": [
|
package/test/cli/start.test.mjs
CHANGED
|
@@ -49,6 +49,34 @@ test('plugin options', async ({ equal, same, match, teardown }) => {
|
|
|
49
49
|
child.kill('SIGINT')
|
|
50
50
|
})
|
|
51
51
|
|
|
52
|
+
test('https embedded pem', async ({ equal, same, match, teardown }) => {
|
|
53
|
+
const { child, url } = await start('-c', join(import.meta.url, '..', '..', 'fixtures', 'https', 'embedded-pem.json'))
|
|
54
|
+
|
|
55
|
+
match(url, /https:\/\//)
|
|
56
|
+
const res = await request(`${url}`)
|
|
57
|
+
equal(res.statusCode, 200)
|
|
58
|
+
const body = await res.body.json()
|
|
59
|
+
match(body, {
|
|
60
|
+
hello: 'world'
|
|
61
|
+
}, 'response')
|
|
62
|
+
|
|
63
|
+
child.kill('SIGINT')
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
test('https pem path', async ({ equal, same, match, teardown }) => {
|
|
67
|
+
const { child, url } = await start('-c', join(import.meta.url, '..', '..', 'fixtures', 'https', 'pem-path.json'))
|
|
68
|
+
|
|
69
|
+
match(url, /https:\/\//)
|
|
70
|
+
const res = await request(`${url}`)
|
|
71
|
+
equal(res.statusCode, 200)
|
|
72
|
+
const body = await res.body.json()
|
|
73
|
+
match(body, {
|
|
74
|
+
hello: 'world'
|
|
75
|
+
}, 'response')
|
|
76
|
+
|
|
77
|
+
child.kill('SIGINT')
|
|
78
|
+
})
|
|
79
|
+
|
|
52
80
|
test('not load', async ({ rejects }) => {
|
|
53
81
|
await rejects(execa('node', [cliPath, 'start', '-c', join(import.meta.url, '..', 'fixtures', 'not-load.service.json')]))
|
|
54
82
|
})
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
/// <reference path="./hello" />
|
|
13
|
-
function default_1(app) {
|
|
14
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
app.get('/', () => __awaiter(this, void 0, void 0, function* () {
|
|
16
|
-
return app.hello.get({});
|
|
17
|
-
}));
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
exports.default = default_1;
|
|
21
|
-
//# sourceMappingURL=plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../plugin.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,gCAAgC;AAEhC,mBAA+B,GAAoB;;QACjD,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAS,EAAE;YACtB,OAAO,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QAC1B,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAJD,4BAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es6.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../../node_modules/.pnpm/uri-js@4.4.1/node_modules/uri-js/dist/es5/uri.all.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/codegen/code.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/codegen/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/rules.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/util.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/errors.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/validate/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/validate/datatype.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/additionalitems.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/propertynames.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/additionalproperties.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/anyof.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/oneof.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/limitnumber.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/multipleof.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/uniqueitems.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedproperties.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluateditems.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/validation/dependentrequired.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/errors.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/types/json-schema.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/types/jtd-schema.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/runtime/validation_error.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/ref_error.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/core.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/resolve.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/types/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/ajv.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/error.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/type.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/values.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/vocabularies/jtd/index.d.ts","../../../../../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/jtd.d.ts","../../../../../../node_modules/.pnpm/@fastify+ajv-compiler@3.5.0/node_modules/@fastify/ajv-compiler/types/index.d.ts","../../../../../../node_modules/.pnpm/@fastify+error@3.2.0/node_modules/@fastify/error/types/index.d.ts","../../../../../../node_modules/.pnpm/fast-json-stringify@5.6.2/node_modules/fast-json-stringify/types/index.d.ts","../../../../../../node_modules/.pnpm/@fastify+fast-json-stringify-compiler@4.2.0/node_modules/@fastify/fast-json-stringify-compiler/types/index.d.ts","../../../../../../node_modules/.pnpm/find-my-way@7.6.0/node_modules/find-my-way/index.d.ts","../../../../../../node_modules/.pnpm/light-my-request@5.9.1/node_modules/light-my-request/types/index.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/utils.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/schema.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/type-provider.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/context.d.ts","../../../../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/reply.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/plugin.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/register.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/hooks.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/instance.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/route.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/assert.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/assert/strict.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/globals.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/async_hooks.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/buffer.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/child_process.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/cluster.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/console.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/constants.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/crypto.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/dgram.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/dns.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/dns/promises.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/domain.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/dom-events.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/events.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/fs.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/fs/promises.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/http.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/http2.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/https.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/inspector.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/module.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/net.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/os.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/path.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/perf_hooks.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/process.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/punycode.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/querystring.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/readline.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/readline/promises.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/repl.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/stream.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/stream/promises.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/stream/consumers.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/stream/web.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/string_decoder.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/test.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/timers.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/timers/promises.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/tls.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/trace_events.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/tty.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/url.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/util.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/v8.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/vm.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/wasi.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/worker_threads.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/zlib.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/globals.global.d.ts","../../../../../../node_modules/.pnpm/@types+node@18.15.3/node_modules/@types/node/index.d.ts","../../../../../../node_modules/.pnpm/pino-std-serializers@6.1.0/node_modules/pino-std-serializers/index.d.ts","../../../../../../node_modules/.pnpm/sonic-boom@3.3.0/node_modules/sonic-boom/types/index.d.ts","../../../../../../node_modules/.pnpm/pino@8.11.0/node_modules/pino/pino.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/logger.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/request.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/content-type-parser.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/errors.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/types/serverfactory.d.ts","../../../../../../node_modules/.pnpm/fastify@4.15.0/node_modules/fastify/fastify.d.ts","../plugin.ts","../../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/helpers.d.ts","../../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/lib/rules/index.d.ts","../../../../../../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../../../../../../node_modules/.pnpm/@types+estree@1.0.0/node_modules/@types/estree/index.d.ts","../../../../../../node_modules/.pnpm/@types+eslint@7.29.0/node_modules/@types/eslint/index.d.ts","../../../../../../node_modules/.pnpm/sonic-boom@3.2.1/node_modules/sonic-boom/types/index.d.ts"],"fileInfos":["df039a67536fe2acc3affdcbfb645892f842db36fe599e8e652e2f0c640a90d1",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"95f22ce5f9dbcfc757ff850e7326a1ba1bc69806f1e70f48caefa824819d6f4f","affectsGlobalScope":true},"9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","2d225e7bda2871c066a7079c88174340950fb604f624f2586d3ea27bb9e5f4ff","6a785f84e63234035e511817dd48ada756d984dd8f9344e56eb8b2bdcd8fd001","c1422d016f7df2ccd3594c06f2923199acd09898f2c42f50ea8159f1f856f618","d48084248e3fc241d87852210cabf78f2aed6ce3ea3e2bdaf070e99531c71de2","0eb6152d37c84d6119295493dfcc20c331c6fda1304a513d159cdaa599dcb78b","237df26f8c326ca00cd9d2deb40214a079749062156386b6d75bdcecc6988a6b","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","7557d4d7f19f94341f4413575a3453ba7f6039c9591015bcf4282a8e75414043","a3b2cc16f3ce2d882eca44e1066f57a24751545f2a5e4a153d4de31b4cac9bb5","ac2b3b377d3068bfb6e1cb8889c99098f2c875955e2325315991882a74d92cc8","8deb39d89095469957f73bd194d11f01d9894b8c1f1e27fbf3f6e8122576b336","a38a9c41f433b608a0d37e645a31eecf7233ef3d3fffeb626988d3219f80e32f","8e1428dcba6a984489863935049893631170a37f9584c0479f06e1a5b1f04332","1fce9ecb87a2d3898941c60df617e52e50fb0c03c9b7b2ba8381972448327285","5ef0597b8238443908b2c4bf69149ed3894ac0ddd0515ac583d38c7595b151f1","ac52b775a80badff5f4ac329c5725a26bd5aaadd57afa7ad9e98b4844767312a","6ae5b4a63010c82bf2522b4ecfc29ffe6a8b0c5eea6b2b35120077e9ac54d7a1","dd7109c49f416f218915921d44f0f28975df78e04e437c62e1e1eb3be5e18a35","eee181112e420b345fc78422a6cc32385ede3d27e2eaf8b8c4ad8b2c29e3e52e","25fbe57c8ee3079e2201fe580578fab4f3a78881c98865b7c96233af00bf9624","62cc8477858487b4c4de7d7ae5e745a8ce0015c1592f398b63ee05d6e64ca295","cc2a9ec3cb10e4c0b8738b02c31798fad312d21ef20b6a2f5be1d077e9f5409d","4b4fadcda7d34034737598c07e2dca5d7e1e633cb3ba8dd4d2e6a7782b30b296","360fdc8829a51c5428636f1f83e7db36fef6c5a15ed4411b582d00a1c2bd6e97","1cf0d15e6ab1ecabbf329b906ae8543e6b8955133b7f6655f04d433e3a0597ab","7c9f98fe812643141502b30fb2b5ec56d16aaf94f98580276ae37b7924dd44a4","b3547893f24f59d0a644c52f55901b15a3fa1a115bc5ea9a582911469b9348b7","596e5b88b6ca8399076afcc22af6e6e0c4700c7cd1f420a78d637c3fb44a885e","adddf736e08132c7059ee572b128fdacb1c2650ace80d0f582e93d097ed4fbaf","d4cad9dc13e9c5348637170ddd5d95f7ed5fdfc856ddca40234fa55518bc99a6","d70675ba7ba7d02e52b7070a369957a70827e4b2bca2c1680c38a832e87b61fd","3be71f4ce8988a01e2f5368bdd58e1d60236baf511e4510ee9291c7b3729a27e","423d2ccc38e369a7527988d682fafc40267bcd6688a7473e59c5eea20a29b64f","2f9fde0868ed030277c678b435f63fcf03d27c04301299580a4017963cc04ce6","6b6ed4aa017eb6867cef27257379cfe3e16caf628aceae3f0163dbafcaf891ff","25f1159094dc0bf3a71313a74e0885426af21c5d6564a254004f2cadf9c5b052","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","b83139ae818dd20f365118f9999335ca4cd84ae518348619adc5728e7e0372d5","c3d608cc3e97d22d1d9589262865d5d786c3ee7b0a2ae9716be08634b79b9a8c","62d26d8ba4fa15ab425c1b57a050ed76c5b0ecbffaa53f182110aa3a02405a07","87a4f46dabe0e415e3d38633e4b2295e9a2673ae841886c90a1ff3e66defb367","1a81526753a454468403c6473b7504c297bd4ee9aa8557f4ebf4092db7712fde","a6613ee552418429af38391e37389036654a882c342a1b81f2711e8ddac597f2","da47cb979ae4a849f9b983f43ef34365b7050c4f5ae2ebf818195858774e1d67","ac3bcb82d7280fc313a967f311764258d18caf33db6d2b1a0243cde607ff01a0","c9b5632d6665177030428d02603aeac3e920d31ec83ac500b55d44c7da74bd84","46456824df16d60f243a7e386562b27bac838aaba66050b9bc0f31e1ab34c1f2","b91034069e217212d8dda6c92669ee9f180b4c36273b5244c3be2c657f9286c7","0697277dd829ac2610d68fe1b457c9e758105bb52d40e149d9c15e5e2fe6dca4","b0d06dbb409369169143ede5df1fb58b2fca8d44588e199bd624b6f6d966bf08","e4b6ed6bd6e3b02d7c24090bb5bdb3992243999105fa9e041bcd923147cc3ed6","67dd027877c83c46e74cde7ed6e7faacca148526cd9018ea0772aa7579fa0abc","8071bcdab9afa3e6a8ea8b8f6f242fe85c47c48c385af6622641bde0a8864f1f","e25ac5981c6286223284dc5489ce667fab13b7fef26996035d31cd9b765b3f9e","6e50b2017454705ff94359fc0a2daeba2fa19c133f2f204213d33deed52cf7b4","599979294b7995d24990364643ae35330344c21248d3ddece0ea8a5975680ba7","2bcbd036af47b473516bddfd2f6fd4db4b6260932d12431cfaaf8cbf715846de","c0c0a10022dc341b6a777c9f4372a1f030537109a5a7f39f9a720d0435de7b8e","5e2fafc7dac8fbd1ea725a5a1c8ef89adfb411f3ee10ce93d11202ff5c3dd17e","65e75ad23492c6c2abfa5d9d999a6c55cccd77a98263ab73b39d4d004affbc90","00960e0475564ca1d51af0bea9c746e8df502ed3441716bc42f3c8c7501b3fd3","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","4d79ed1f482b3c9c172e3316a2762552f4f3439d03c07a53313e4d7c0e5a178a","bcce2ec62964bb9929458269cfadfcdb52ea758c2e44c90beba4e2b6f195e246","a8a3779913ddff18d1f516d51bec89f5e3eb149928b859ad3684fae0e10fb2d3","2921e0719c053485a4a351652578e3dd456ba69850275e7ff267c4bd5676b21b","de3422a76fb02c43abf3aa3d1ad23c355e1cd34189d4b18c000a3efb2ee739a2","d04a17fdb961e479ff12b9820def2709a439a808505533bbe2a0bee3f13a0798","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"54ba7456adb777a685250cd144115ea51379784012ba1311255b715c6bdcff2a","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"e193e634a99c9c1d71f1c6e4e1567a4a73584328d21ea02dd5cddbaad6693f61","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5450889a3b688f9da80e7c96963b2cfebc6097e8e95790a23a48558b61e6aea7","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","09326ae5f7e3d49be5cd9ea00eb814770e71870a438faa2efd8bdd9b4db21320",{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d8d555f3d607ecaa18d55de6995ea8f206342ecc93305919eac945c7c78c78c6","043e933c8127f2215f940035bfac94354b82a49f419bb77af0045f0c57e6a05e","9d9f4da63084ac107eddda8b4ea92d7ee443e0c86601e8c844943b82fd3ef6f8","1bcc8d985be76ee06e7e9ef89d3d9b0ae02e56925def72281508b305fcf60f71","f83d0899ffa9bc60340a4f9bfd2f2554a31eb5d39eb1b13100b923a9be5f3955","5480c22488463b35db77cd047f2386a8f52452143695311ce18bb6ea3be3b84f","feeb4514da40bd3c50f6c884c607adb142002b3c8e6a3fe76db41ba8cce644ad","478ad3b417b51a3fb58df7037c072480b157914e17aeeb2e26eea10d36f6f20d","7247fd1853426de8fdc38a7027b488498bb00ea62c9a99037a760520e3944a26","ad772077e45557c3c0f1689ff12255069f5367d6e951e64dc88766debcc15ce1",{"version":"ed08f3d69fa7b43ff17b0249afce4c25a502468e7ba9dbedb247fa74797f50d8","signature":"f27da9a73e62a0ab5337305dfc11b6ad3535068e809e036d090013f97e2b9687"},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"0133ebdd17a823ae56861948870cde4dac18dd8818ab641039c85bbb720429e0","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","874d84ca5699231d5af2868fef01fc63f948bd83be928881479db48508f92ca0"],"root":[183],"options":{"esModuleInterop":true,"module":1,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"target":2},"fileIdsList":[[89,93,102,166],[166],[105,166],[166,184,185,186,187],[166,188],[120,166],[123,166],[124,129,157,166],[125,136,137,144,154,165,166],[125,126,136,144,166],[127,166],[128,129,137,145,166],[129,154,162,166],[130,132,136,144,166],[131,166],[132,133,166],[136,166],[134,136,166],[136,137,138,154,165,166],[136,137,138,151,154,157,166],[166,170],[132,139,144,154,165,166],[136,137,139,140,144,154,162,165,166],[139,141,154,162,165,166],[120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172],[136,142,166],[143,165,166],[132,136,144,154,166],[145,166],[146,166],[123,147,166],[148,164,166,170],[149,166],[150,166],[136,151,152,166],[151,153,166,168],[124,136,154,155,156,157,166],[124,154,156,166],[154,155,166],[157,166],[158,166],[136,160,161,166],[160,161,166],[129,144,154,162,166],[163,166],[144,164,166],[124,139,150,165,166],[129,166],[154,166,167],[166,168],[166,169],[124,129,136,138,147,154,165,166,168,170],[154,166,171],[52,53,57,84,85,87,88,89,91,92,166],[50,51,166],[50,166],[52,92,166],[52,53,89,90,92,166],[92,166],[49,92,93,166],[52,53,91,92,166],[52,53,55,56,91,92,166],[52,53,54,91,92,166],[52,53,57,84,85,86,87,88,91,92,166],[52,57,86,87,88,89,91,92,101,166],[49,52,53,57,89,91,166],[57,92,166],[59,60,61,62,63,64,65,66,67,68,92,166],[82,92,166],[58,69,77,78,79,80,81,83,166],[82,92,94,166],[92,94,166],[92,95,96,97,98,99,100,166],[57,92,94,166],[62,92,166],[70,71,72,73,74,75,76,92,166],[93,166],[103,104,106,107,108,109,110,111,112,114,115,116,117,118,119,139,140,141,144,166,177,178,179,180,181],[109,110,111,119,166,178],[109,166],[104,166],[104,109,110,111,114,115,116,118,119,154,166,177,178],[104,107,108,109,110,111,114,116,117,119,139,144,166,177,178,179],[104,109,110,111,114,119,166,176,178],[109,111,118,166,177],[109,115,118,166,177,182],[109,110,111,112,118,119,124,166,177,178],[103,109,110,111,112,118,119,166,177],[104,109,110,111,112,114,117,118,166,177,178],[103,106,166,182],[109,139,140,141,166],[110,119,166],[139,140,141,166],[139,140,166],[139,166],[139,166,173],[136,166,170,174,175],[136,166,173],[166,182],[136,166,170,174,189],[182]],"referencedMap":[[103,1],[104,2],[106,3],[184,2],[188,4],[185,5],[187,2],[186,2],[120,6],[121,6],[123,7],[124,8],[125,9],[126,10],[127,11],[128,12],[129,13],[130,14],[131,15],[132,16],[133,16],[135,17],[134,18],[136,17],[137,19],[138,20],[122,21],[172,2],[139,22],[140,23],[141,24],[173,25],[142,26],[143,27],[144,28],[145,29],[146,30],[147,31],[148,32],[149,33],[150,34],[151,35],[152,35],[153,36],[154,37],[156,38],[155,39],[157,40],[158,41],[159,2],[160,42],[161,43],[162,44],[163,45],[164,46],[165,47],[166,48],[167,49],[168,50],[169,51],[170,52],[171,53],[93,54],[50,2],[52,55],[51,56],[56,57],[91,58],[88,59],[90,60],[53,59],[54,61],[58,61],[57,62],[55,63],[89,64],[102,65],[87,59],[92,66],[85,2],[86,2],[59,67],[64,59],[66,59],[61,59],[62,67],[68,59],[69,68],[60,59],[65,59],[67,59],[63,59],[83,69],[82,59],[84,70],[78,59],[99,71],[97,72],[96,59],[94,57],[101,73],[98,74],[95,72],[100,72],[80,59],[79,59],[75,59],[81,75],[76,59],[77,76],[70,59],[71,59],[72,59],[73,59],[74,59],[113,2],[105,77],[182,78],[179,79],[112,80],[180,81],[117,82],[118,83],[177,84],[115,85],[116,86],[114,87],[178,88],[119,89],[110,90],[181,91],[111,92],[109,93],[107,94],[108,95],[174,96],[176,97],[175,98],[47,2],[48,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[37,2],[34,2],[35,2],[36,2],[38,2],[8,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[2,2],[1,2],[46,2],[12,2],[11,2],[49,2],[183,99]],"exportedModulesMap":[[103,1],[104,2],[106,3],[184,2],[188,4],[185,5],[187,2],[186,2],[120,6],[121,6],[123,7],[124,8],[125,9],[126,10],[127,11],[128,12],[129,13],[130,14],[131,15],[132,16],[133,16],[135,17],[134,18],[136,17],[137,19],[138,20],[122,21],[172,2],[139,22],[140,23],[141,24],[173,25],[142,26],[143,27],[144,28],[145,29],[146,30],[147,31],[148,32],[149,33],[150,34],[151,35],[152,35],[153,36],[154,37],[156,38],[155,39],[157,40],[158,41],[159,2],[160,42],[161,43],[162,44],[163,45],[164,46],[165,47],[166,48],[167,49],[168,50],[169,51],[170,52],[171,53],[93,54],[50,2],[52,55],[51,56],[56,57],[91,58],[88,59],[90,60],[53,59],[54,61],[58,61],[57,62],[55,63],[89,64],[102,65],[87,59],[92,66],[85,2],[86,2],[59,67],[64,59],[66,59],[61,59],[62,67],[68,59],[69,68],[60,59],[65,59],[67,59],[63,59],[83,69],[82,59],[84,70],[78,59],[99,71],[97,72],[96,59],[94,57],[101,73],[98,74],[95,72],[100,72],[80,59],[79,59],[75,59],[81,75],[76,59],[77,76],[70,59],[71,59],[72,59],[73,59],[74,59],[113,2],[105,77],[182,78],[179,79],[112,80],[180,81],[117,82],[118,83],[177,84],[115,85],[116,86],[114,87],[178,88],[119,89],[110,90],[181,91],[111,92],[109,93],[107,94],[108,95],[174,96],[176,100],[175,98],[47,2],[48,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[37,2],[34,2],[35,2],[36,2],[38,2],[8,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[2,2],[1,2],[46,2],[12,2],[11,2],[49,2],[183,101]],"semanticDiagnosticsPerFile":[103,104,106,184,188,185,187,186,120,121,123,124,125,126,127,128,129,130,131,132,133,135,134,136,137,138,122,172,139,140,141,173,142,143,144,145,146,147,148,149,150,151,152,153,154,156,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,93,50,52,51,56,91,88,90,53,54,58,57,55,89,102,87,92,85,86,59,64,66,61,62,68,69,60,65,67,63,83,82,84,78,99,97,96,94,101,98,95,100,80,79,75,81,76,77,70,71,72,73,74,113,105,182,179,112,180,117,118,177,115,116,114,178,119,110,181,111,109,107,108,174,176,175,47,48,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,37,34,35,36,38,8,39,44,45,40,41,42,43,2,1,46,12,11,49,[183,[{"file":"../plugin.ts","start":106,"length":3,"code":2322,"category":1,"messageText":"Type 'FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault>' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[183]},"version":"5.0.2"}
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/service",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"server": {
|
|
6
|
-
"$id": "https://schemas.platformatic.dev/service/server",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"hostname": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"port": {
|
|
13
|
-
"anyOf": [
|
|
14
|
-
{
|
|
15
|
-
"type": "integer"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "string"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"pluginTimeout": {
|
|
23
|
-
"type": "integer"
|
|
24
|
-
},
|
|
25
|
-
"healthCheck": {
|
|
26
|
-
"anyOf": [
|
|
27
|
-
{
|
|
28
|
-
"type": "boolean"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"type": "object",
|
|
32
|
-
"properties": {
|
|
33
|
-
"enabled": {
|
|
34
|
-
"type": "boolean"
|
|
35
|
-
},
|
|
36
|
-
"interval": {
|
|
37
|
-
"type": "integer"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"additionalProperties": true
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"cors": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"$comment": "See https://github.com/fastify/fastify-cors",
|
|
47
|
-
"properties": {
|
|
48
|
-
"origin": {
|
|
49
|
-
"anyOf": [
|
|
50
|
-
{
|
|
51
|
-
"type": "boolean"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"type": "string"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"type": "array",
|
|
58
|
-
"items": {
|
|
59
|
-
"type": "string"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"methods": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"allowedHeaders": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"description": "Comma separated string of allowed headers."
|
|
73
|
-
},
|
|
74
|
-
"exposedHeaders": {
|
|
75
|
-
"anyOf": [
|
|
76
|
-
{
|
|
77
|
-
"type": "array",
|
|
78
|
-
"items": {
|
|
79
|
-
"type": "string"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"type": "string",
|
|
84
|
-
"description": "Comma separated string of exposed headers."
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"credentials": {
|
|
89
|
-
"type": "boolean"
|
|
90
|
-
},
|
|
91
|
-
"maxAge": {
|
|
92
|
-
"type": "integer"
|
|
93
|
-
},
|
|
94
|
-
"preflightContinue": {
|
|
95
|
-
"type": "boolean",
|
|
96
|
-
"default": false
|
|
97
|
-
},
|
|
98
|
-
"optionsSuccessStatus": {
|
|
99
|
-
"type": "integer",
|
|
100
|
-
"default": 204
|
|
101
|
-
},
|
|
102
|
-
"preflight": {
|
|
103
|
-
"type": "boolean",
|
|
104
|
-
"default": true
|
|
105
|
-
},
|
|
106
|
-
"strictPreflight": {
|
|
107
|
-
"type": "boolean",
|
|
108
|
-
"default": true
|
|
109
|
-
},
|
|
110
|
-
"hideOptionsRoute": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"default": true
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"additionalProperties": false
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"required": [
|
|
119
|
-
"hostname",
|
|
120
|
-
"port"
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
|
-
"plugin": {
|
|
124
|
-
"$id": "https://schemas.platformatic.dev/service/pluginTypes",
|
|
125
|
-
"$defs": {
|
|
126
|
-
"plugin": {
|
|
127
|
-
"$id": "#plugin",
|
|
128
|
-
"type": "object",
|
|
129
|
-
"properties": {
|
|
130
|
-
"path": {
|
|
131
|
-
"type": "string"
|
|
132
|
-
},
|
|
133
|
-
"stopTimeout": {
|
|
134
|
-
"type": "integer"
|
|
135
|
-
},
|
|
136
|
-
"typescript": {
|
|
137
|
-
"type": "object",
|
|
138
|
-
"properties": {
|
|
139
|
-
"outDir": {
|
|
140
|
-
"type": "string"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"additionalProperties": false,
|
|
144
|
-
"required": [
|
|
145
|
-
"outDir"
|
|
146
|
-
]
|
|
147
|
-
},
|
|
148
|
-
"fallback": {
|
|
149
|
-
"type": "boolean"
|
|
150
|
-
},
|
|
151
|
-
"hotReload": {
|
|
152
|
-
"type": "boolean",
|
|
153
|
-
"default": true
|
|
154
|
-
},
|
|
155
|
-
"options": {
|
|
156
|
-
"type": "object"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"additionalProperties": false,
|
|
160
|
-
"required": [
|
|
161
|
-
"path"
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"anyOf": [
|
|
166
|
-
{
|
|
167
|
-
"type": "array",
|
|
168
|
-
"items": {
|
|
169
|
-
"anyOf": [
|
|
170
|
-
{
|
|
171
|
-
"$ref": "#plugin"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"type": "string"
|
|
175
|
-
}
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"$ref": "#plugin"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"type": "string"
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
},
|
|
187
|
-
"metrics": {
|
|
188
|
-
"$id": "https://schemas.platformatic.dev/service/metrics",
|
|
189
|
-
"anyOf": [
|
|
190
|
-
{
|
|
191
|
-
"type": "boolean"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"type": "object",
|
|
195
|
-
"properties": {
|
|
196
|
-
"port": {
|
|
197
|
-
"type": "integer"
|
|
198
|
-
},
|
|
199
|
-
"hostname": {
|
|
200
|
-
"type": "string"
|
|
201
|
-
},
|
|
202
|
-
"auth": {
|
|
203
|
-
"type": "object",
|
|
204
|
-
"properties": {
|
|
205
|
-
"username": {
|
|
206
|
-
"type": "string"
|
|
207
|
-
},
|
|
208
|
-
"password": {
|
|
209
|
-
"type": "string"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"additionalProperties": false,
|
|
213
|
-
"required": [
|
|
214
|
-
"username",
|
|
215
|
-
"password"
|
|
216
|
-
]
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"additionalProperties": false
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"additionalProperties": {
|
|
225
|
-
"watch": {
|
|
226
|
-
"anyOf": [
|
|
227
|
-
{
|
|
228
|
-
"$id": "https://schemas.platformatic.dev/service/watch",
|
|
229
|
-
"type": "object",
|
|
230
|
-
"properties": {
|
|
231
|
-
"type": "object",
|
|
232
|
-
"properties": {
|
|
233
|
-
"allow": {
|
|
234
|
-
"type": "array",
|
|
235
|
-
"items": {
|
|
236
|
-
"type": "string"
|
|
237
|
-
},
|
|
238
|
-
"minItems": 1,
|
|
239
|
-
"nullable": true,
|
|
240
|
-
"default": null
|
|
241
|
-
},
|
|
242
|
-
"ignore": {
|
|
243
|
-
"type": "array",
|
|
244
|
-
"items": {
|
|
245
|
-
"type": "string"
|
|
246
|
-
},
|
|
247
|
-
"nullable": true,
|
|
248
|
-
"default": null
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"additionalProperties": false
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"type": "boolean"
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"required": [
|
|
261
|
-
"server"
|
|
262
|
-
]
|
|
263
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
function default_1(app) {
|
|
13
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14
|
-
app.log.info('Typescript plugin loaded');
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
exports.default = default_1;
|
|
18
|
-
//# sourceMappingURL=plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../plugin.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,mBAA+B,GAAoB;;QACjD,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAA;IAC1C,CAAC;CAAA;AAFD,4BAEC"}
|