-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.d.ts
29 lines (26 loc) · 886 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { type Adapter } from "@sveltejs/kit";
// eslint-disable-next-line import/no-unassigned-import
import "./ambient.js";
declare global {
// eslint-disable-next-line @typescript-eslint/naming-convention
const ENV_PREFIX: string;
}
type AdapterOptions = {
/** Directory for build output */
out?: string;
/** Use improved cloud logging, defaults to true */
useCloudLogging?: boolean;
/** Enable cloud tracing */
useCloudTracing?: boolean;
/** Modules marked as external in esbuild */
external?: string[];
/** Dependencies to be added in package.json */
dependencies?: Record<string, string>;
/**
* Nodejs version to target, defaults to 18
* Available runtimes can be seen here:
* https://cloud.google.com/appengine/docs/standard/nodejs/runtime
*/
nodejsRuntime?: number;
};
export default function plugin(options?: AdapterOptions): Adapter;