@redmix/api-server 9.0.0-canary.623 → 9.0.0-canary.625
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.
@@ -4,26 +4,18 @@ export interface Server extends FastifyInstance {
|
|
4
4
|
start: (options?: StartOptions) => Promise<string>;
|
5
5
|
}
|
6
6
|
export interface CreateServerOptions {
|
7
|
-
/**
|
8
|
-
* The prefix for all routes. Defaults to `/`.
|
9
|
-
*/
|
7
|
+
/** The prefix for all routes. Defaults to `/` */
|
10
8
|
apiRootPath?: string;
|
11
|
-
/**
|
12
|
-
* Logger instance or options.
|
13
|
-
*/
|
9
|
+
/** Logger instance or options */
|
14
10
|
logger?: FastifyServerOptions['logger'];
|
15
11
|
/**
|
16
12
|
* Options for the fastify server instance.
|
17
13
|
* Omitting logger here because we move it up.
|
18
14
|
*/
|
19
15
|
fastifyServerOptions?: Omit<FastifyServerOptions, 'logger'>;
|
20
|
-
/**
|
21
|
-
* Customise the API server fastify plugin before it is registered
|
22
|
-
*/
|
16
|
+
/** Customise the API server fastify plugin before it is registered */
|
23
17
|
configureApiServer?: (server: Server) => void | Promise<void>;
|
24
|
-
/**
|
25
|
-
* Whether to parse args or not. Defaults to `true`.
|
26
|
-
*/
|
18
|
+
/** Whether to parse args or not. Defaults to `true` */
|
27
19
|
parseArgs?: boolean;
|
28
20
|
}
|
29
21
|
type DefaultCreateServerOptions = Required<Omit<CreateServerOptions, 'fastifyServerOptions'> & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createServerHelpers.d.ts","sourceRoot":"","sources":["../src/createServerHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,SAAS,CAAA;AAMhB,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;AAEtE,MAAM,WAAW,MAAO,SAAQ,eAAe;IA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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@redmix/api-server",
|
3
|
-
"version": "9.0.0-canary.
|
3
|
+
"version": "9.0.0-canary.625+ae69585fd",
|
4
4
|
"description": "Redwood's HTTP server for Serverless Functions",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -31,11 +31,11 @@
|
|
31
31
|
"dependencies": {
|
32
32
|
"@fastify/multipart": "8.3.1",
|
33
33
|
"@fastify/url-data": "5.4.0",
|
34
|
-
"@redmix/context": "9.0.0-canary.
|
35
|
-
"@redmix/fastify-web": "9.0.0-canary.
|
36
|
-
"@redmix/internal": "9.0.0-canary.
|
37
|
-
"@redmix/project-config": "9.0.0-canary.
|
38
|
-
"@redmix/web-server": "9.0.0-canary.
|
34
|
+
"@redmix/context": "9.0.0-canary.625",
|
35
|
+
"@redmix/fastify-web": "9.0.0-canary.625",
|
36
|
+
"@redmix/internal": "9.0.0-canary.625",
|
37
|
+
"@redmix/project-config": "9.0.0-canary.625",
|
38
|
+
"@redmix/web-server": "9.0.0-canary.625",
|
39
39
|
"chalk": "4.1.2",
|
40
40
|
"chokidar": "3.6.0",
|
41
41
|
"dotenv-defaults": "5.0.2",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"yargs": "17.7.2"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
|
-
"@redmix/framework-tools": "9.0.0-canary.
|
54
|
+
"@redmix/framework-tools": "9.0.0-canary.625",
|
55
55
|
"@types/aws-lambda": "8.10.145",
|
56
56
|
"@types/lodash": "4.17.15",
|
57
57
|
"@types/qs": "6.9.16",
|
@@ -63,12 +63,12 @@
|
|
63
63
|
"vitest": "2.1.9"
|
64
64
|
},
|
65
65
|
"peerDependencies": {
|
66
|
-
"@redmix/graphql-server": "9.0.0-canary.
|
66
|
+
"@redmix/graphql-server": "9.0.0-canary.625"
|
67
67
|
},
|
68
68
|
"peerDependenciesMeta": {
|
69
69
|
"@redmix/graphql-server": {
|
70
70
|
"optional": true
|
71
71
|
}
|
72
72
|
},
|
73
|
-
"gitHead": "
|
73
|
+
"gitHead": "ae69585fddc2209f927ef9fa3fe63e61668eb727"
|
74
74
|
}
|