Skip to content

Commit 856fa30

Browse files
authored
Update Docs (#3409)
Co-authored-by: tauri-bot <[email protected]>
1 parent 7fea48a commit 856fa30

File tree

14 files changed

+218
-218
lines changed

14 files changed

+218
-218
lines changed

docs/api/js/cli.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This package is also accessible with `window.__TAURI__.cli` when [`build.withGlo
1818
1919
Number of occurrences
2020

21-
**Defined in:** [cli.ts:27](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L27)
21+
**Defined in:** [cli.ts:27](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L27)
2222

2323
##### `value`
2424

@@ -28,7 +28,7 @@ string if takes value
2828
boolean if flag
2929
string[] or null if takes multiple values
3030

31-
**Defined in:** [cli.ts:23](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L23)
31+
**Defined in:** [cli.ts:23](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L23)
3232

3333
### `CliMatches`
3434

@@ -40,13 +40,13 @@ string[] or null if takes multiple values
4040

4141
> **args**: [`Record`]( https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type )<`string`, [`ArgMatch`](cli.md#argmatch)\>
4242
43-
**Defined in:** [cli.ts:42](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L42)
43+
**Defined in:** [cli.ts:42](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L42)
4444

4545
##### `subcommand`
4646

4747
> **subcommand**: `null` \| [`SubcommandMatch`](cli.md#subcommandmatch)
4848
49-
**Defined in:** [cli.ts:43](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L43)
49+
**Defined in:** [cli.ts:43](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L43)
5050

5151
### `SubcommandMatch`
5252

@@ -58,13 +58,13 @@ string[] or null if takes multiple values
5858

5959
> **matches**: [`CliMatches`](cli.md#climatches)
6060
61-
**Defined in:** [cli.ts:35](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L35)
61+
**Defined in:** [cli.ts:35](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L35)
6262

6363
##### `name`
6464

6565
> **name**: `string`
6666
67-
**Defined in:** [cli.ts:34](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/cli.ts#L34)
67+
**Defined in:** [cli.ts:34](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/cli.ts#L34)
6868

6969
## Functions
7070

docs/api/js/dialog.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,31 @@ It is recommended to allowlist only the APIs you use for optimal bundle size and
3535
3636
The label of the cancel button.
3737

38-
**Defined in:** [dialog.ts:112](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L112)
38+
**Defined in:** [dialog.ts:112](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L112)
3939

4040
##### `okLabel`
4141

4242
> `Optional` **okLabel**: `string`
4343
4444
The label of the confirm button.
4545

46-
**Defined in:** [dialog.ts:110](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L110)
46+
**Defined in:** [dialog.ts:110](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L110)
4747

4848
##### `title`
4949

5050
> `Optional` **title**: `string`
5151
5252
The title of the dialog. Defaults to the app name.
5353

54-
**Defined in:** [dialog.ts:106](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L106)
54+
**Defined in:** [dialog.ts:106](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L106)
5555

5656
##### `type`
5757

5858
> `Optional` **type**: `"info"` \| `"warning"` \| `"error"`
5959
6060
The type of the dialog. Defaults to `info`.
6161

62-
**Defined in:** [dialog.ts:108](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L108)
62+
**Defined in:** [dialog.ts:108](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L108)
6363

6464
### `DialogFilter`
6565

@@ -81,15 +81,15 @@ Extensions to filter, without a `.` prefix.
8181
extensions: ['svg', 'png']
8282
```
8383

84-
**Defined in:** [dialog.ts:48](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L48)
84+
**Defined in:** [dialog.ts:48](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L48)
8585

8686
##### `name`
8787

8888
> **name**: `string`
8989
9090
Filter name.
9191

92-
**Defined in:** [dialog.ts:40](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L40)
92+
**Defined in:** [dialog.ts:40](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L40)
9393

9494
### `MessageDialogOptions`
9595

@@ -103,23 +103,23 @@ Filter name.
103103
104104
The label of the confirm button.
105105

106-
**Defined in:** [dialog.ts:101](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L101)
106+
**Defined in:** [dialog.ts:101](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L101)
107107

108108
##### `title`
109109

110110
> `Optional` **title**: `string`
111111
112112
The title of the dialog. Defaults to the app name.
113113

114-
**Defined in:** [dialog.ts:97](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L97)
114+
**Defined in:** [dialog.ts:97](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L97)
115115

116116
##### `type`
117117

118118
> `Optional` **type**: `"info"` \| `"warning"` \| `"error"`
119119
120120
The type of the dialog. Defaults to `info`.
121121

122-
**Defined in:** [dialog.ts:99](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L99)
122+
**Defined in:** [dialog.ts:99](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L99)
123123

124124
### `OpenDialogOptions`
125125

@@ -135,31 +135,31 @@ Options for the open dialog.
135135
136136
Initial directory or file path.
137137

138-
**Defined in:** [dialog.ts:62](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L62)
138+
**Defined in:** [dialog.ts:62](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L62)
139139

140140
##### `directory`
141141

142142
> `Optional` **directory**: `boolean`
143143
144144
Whether the dialog is a directory selection or not.
145145

146-
**Defined in:** [dialog.ts:66](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L66)
146+
**Defined in:** [dialog.ts:66](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L66)
147147

148148
##### `filters`
149149

150150
> `Optional` **filters**: [`DialogFilter`](dialog.md#dialogfilter)[]
151151
152152
The filters of the dialog.
153153

154-
**Defined in:** [dialog.ts:60](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L60)
154+
**Defined in:** [dialog.ts:60](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L60)
155155

156156
##### `multiple`
157157

158158
> `Optional` **multiple**: `boolean`
159159
160160
Whether the dialog allows multiple selection or not.
161161

162-
**Defined in:** [dialog.ts:64](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L64)
162+
**Defined in:** [dialog.ts:64](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L64)
163163

164164
##### `recursive`
165165

@@ -168,15 +168,15 @@ Whether the dialog allows multiple selection or not.
168168
If `directory` is true, indicates that it will be read recursively later.
169169
Defines whether subdirectories will be allowed on the scope or not.
170170

171-
**Defined in:** [dialog.ts:71](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L71)
171+
**Defined in:** [dialog.ts:71](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L71)
172172

173173
##### `title`
174174

175175
> `Optional` **title**: `string`
176176
177177
The title of the dialog window.
178178

179-
**Defined in:** [dialog.ts:58](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L58)
179+
**Defined in:** [dialog.ts:58](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L58)
180180

181181
### `SaveDialogOptions`
182182

@@ -194,23 +194,23 @@ Initial directory or file path.
194194
If it's a directory path, the dialog interface will change to that folder.
195195
If it's not an existing directory, the file name will be set to the dialog's file name input and the dialog will be set to the parent folder.
196196

197-
**Defined in:** [dialog.ts:89](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L89)
197+
**Defined in:** [dialog.ts:89](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L89)
198198

199199
##### `filters`
200200

201201
> `Optional` **filters**: [`DialogFilter`](dialog.md#dialogfilter)[]
202202
203203
The filters of the dialog.
204204

205-
**Defined in:** [dialog.ts:83](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L83)
205+
**Defined in:** [dialog.ts:83](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L83)
206206

207207
##### `title`
208208

209209
> `Optional` **title**: `string`
210210
211211
The title of the dialog window.
212212

213-
**Defined in:** [dialog.ts:81](https://github.com/tauri-apps/tauri/blob/089939b/tooling/api/src/dialog.ts#L81)
213+
**Defined in:** [dialog.ts:81](https://github.com/tauri-apps/tauri/blob/7082094/tooling/api/src/dialog.ts#L81)
214214

215215
## Functions
216216

0 commit comments

Comments
 (0)