@slidev/types 0.31.3 → 0.32.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -24,6 +24,12 @@ interface SlidevConfig {
24
24
  * @default 'default'
25
25
  */
26
26
  theme: string;
27
+ /**
28
+ * List of Slidev addons
29
+ *
30
+ * @default []
31
+ */
32
+ addons: string[];
27
33
  /**
28
34
  * Download remote assets in local using vite-plugin-remote-assets
29
35
  *
@@ -143,6 +149,14 @@ interface SlidevConfig {
143
149
  * @default 'dev'
144
150
  */
145
151
  record: boolean | 'dev' | 'build';
152
+ /**
153
+ * Expose the server to inbound requests (listen to `0.0.0.0`)
154
+ *
155
+ * Pass a string to set the password for accessing presenter mode.
156
+ *
157
+ * @default false
158
+ */
159
+ remote?: string | boolean;
146
160
  }
147
161
  interface FontOptions {
148
162
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.31.3",
3
+ "version": "0.32.2",
4
4
  "description": "Shared types declerations for Slidev",
5
5
  "homepage": "https://sli.dev",
6
6
  "bugs": "https://github.com/slidevjs/slidev/issues",