tauri/tooling/api/docs/js-api.json

1 line
510 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"id":0,"name":"@tauri-apps/api","variant":"project","kind":1,"flags":{},"children":[{"id":1,"name":"app","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get application metadata.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.app`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.app`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.app) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"app\": {\r\n \"all\": true, // enable all app APIs\r\n \"show\": true,\r\n \"hide\": true\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":2,"name":"getName","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":60,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L60"}],"signatures":[{"id":3,"name":"getName","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application name."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getName } from '@tauri-apps/api/app';\r\nconst appName = await getName();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":60,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L60"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":6,"name":"getTauriVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":80,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L80"}],"signatures":[{"id":7,"name":"getTauriVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Tauri version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getTauriVersion } from '@tauri-apps/api/app';\r\nconst tauriVersion = await getTauriVersion();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":80,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L80"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":4,"name":"getVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":41,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L41"}],"signatures":[{"id":5,"name":"getVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getVersion } from '@tauri-apps/api/app';\r\nconst appVersion = await getVersion();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":41,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L41"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":10,"name":"hide","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":120,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L120"}],"signatures":[{"id":11,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hides the application on macOS."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { hide } from '@tauri-apps/api/app';\r\nawait hide();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":120,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L120"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":8,"name":"show","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":100,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L100"}],"signatures":[{"id":9,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows the application on macOS. This function does not automatically focus any specific app window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { show } from '@tauri-apps/api/app';\r\nawait show();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":100,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L100"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[2,6,4,10,8]}],"sources":[{"fileName":"app.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/app.ts#L1"}]},{"id":12,"name":"cli","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Parse arguments from your Command Line Interface.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.cli`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":13,"name":"ArgMatch","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":15,"name":"occurrences","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Number of occurrences"}]},"sources":[{"fileName":"cli.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L27"}],"type":{"type":"intrinsic","name":"number"}},{"id":14,"name":"value","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"string if takes value\r\nboolean if flag\r\nstring[] or null if takes multiple values"}]},"sources":[{"fileName":"cli.ts","line":23,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L23"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"boolean"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}}],"groups":[{"title":"Properties","children":[15,14]}],"sources":[{"fileName":"cli.ts","line":17,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L17"}]},{"id":19,"name":"CliMatches","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":20,"name":"args","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"cli.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L42"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","target":13,"name":"ArgMatch","package":"@tauri-apps/api"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":21,"name":"subcommand","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"cli.ts","line":43,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L43"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":16,"name":"SubcommandMatch","package":"@tauri-apps/api"}]}}],"groups":[{"title":"Properties","children":[20,21]}],"sources":[{"fileName":"cli.ts","line":41,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L41"}]},{"id":16,"name":"SubcommandMatch","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":18,"name":"matches","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"cli.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L35"}],"type":{"type":"reference","target":19,"name":"CliMatches","package":"@tauri-apps/api"}},{"id":17,"name":"name","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"cli.ts","line":34,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L34"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[18,17]}],"sources":[{"fileName":"cli.ts","line":33,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L33"}]},{"id":22,"name":"getMatches","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"cli.ts","line":66,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L66"}],"signatures":[{"id":23,"name":"getMatches","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Parse the arguments provided to the current process and get the matches using the configuration defined ["},{"kind":"code","text":"`tauri.cli`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#tauriconfig.cli) in "},{"kind":"code","text":"`tauri.conf.json`"}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getMatches } from '@tauri-apps/api/cli';\r\nconst matches = await getMatches();\r\nif (matches.subcommand?.name === 'run') {\r\n // `./your-app run $ARGS` was executed\r\n const args = matches.subcommand?.matches.args\r\n if ('debug' in args) {\r\n // `./your-app run --debug` was executed\r\n }\r\n} else {\r\n const args = matches.args\r\n // `./your-app $ARGS` was executed\r\n}\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"cli.ts","line":66,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L66"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":19,"name":"CliMatches","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Interfaces","children":[13,19,16]},{"title":"Functions","children":[22]}],"sources":[{"fileName":"cli.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/cli.ts#L1"}]},{"id":24,"name":"clipboard","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Read and write to the system clipboard.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.clipboard`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.clipboard`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.clipboard) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"clipboard\": {\r\n \"all\": true, // enable all Clipboard APIs\r\n \"writeText\": true,\r\n \"readText\": true\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":28,"name":"readText","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"clipboard.ts","line":63,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/clipboard.ts#L63"}],"signatures":[{"id":29,"name":"readText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the clipboard content as plain text."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { readText } from '@tauri-apps/api/clipboard';\r\nconst clipboardText = await readText();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0."}]}]},"sources":[{"fileName":"clipboard.ts","line":63,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/clipboard.ts#L63"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":25,"name":"writeText","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"clipboard.ts","line":44,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/clipboard.ts#L44"}],"signatures":[{"id":26,"name":"writeText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes plain text to the clipboard."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { writeText, readText } from '@tauri-apps/api/clipboard';\r\nawait writeText('Tauri is awesome!');\r\nassert(await readText(), 'Tauri is awesome!');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0."}]}]},"sources":[{"fileName":"clipboard.ts","line":44,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/clipboard.ts#L44"}],"parameters":[{"id":27,"name":"text","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[28,25]}],"sources":[{"fileName":"clipboard.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/clipboard.ts#L1"}]},{"id":30,"name":"dialog","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Native system dialogs for opening and saving files.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.dialog`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.dialog`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.dialog) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"dialog\": {\r\n \"all\": true, // enable all dialog APIs\r\n \"ask\": true, // enable dialog ask API\r\n \"confirm\": true, // enable dialog confirm API\r\n \"message\": true, // enable dialog message API\r\n \"open\": true, // enable file open API\r\n \"save\": true // enable file save API\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":49,"name":"ConfirmDialogOptions","variant":"declaration","kind":256,"flags":{},"children":[{"id":53,"name":"cancelLabel","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The label of the cancel button."}]},"sources":[{"fileName":"dialog.ts","line":112,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L112"}],"type":{"type":"intrinsic","name":"string"}},{"id":52,"name":"okLabel","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The label of the confirm button."}]},"sources":[{"fileName":"dialog.ts","line":110,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L110"}],"type":{"type":"intrinsic","name":"string"}},{"id":50,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The title of the dialog. Defaults to the app name."}]},"sources":[{"fileName":"dialog.ts","line":106,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L106"}],"type":{"type":"intrinsic","name":"string"}},{"id":51,"name":"type","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The type of the dialog. Defaults to "},{"kind":"code","text":"`info`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"dialog.ts","line":108,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L108"}],"type":{"type":"union","types":[{"type":"literal","value":"info"},{"type":"literal","value":"warning"},{"type":"literal","value":"error"}]}}],"groups":[{"title":"Properties","children":[53,52,50,51]}],"sources":[{"fileName":"dialog.ts","line":104,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L104"}]},{"id":31,"name":"DialogFilter","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Extension filters for the file dialog."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":33,"name":"extensions","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Extensions to filter, without a "},{"kind":"code","text":"`.`"},{"kind":"text","text":" prefix."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nextensions: ['svg', 'png']\r\n```"}]}]},"sources":[{"fileName":"dialog.ts","line":48,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L48"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":32,"name":"name","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Filter name."}]},"sources":[{"fileName":"dialog.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L40"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[33,32]}],"sources":[{"fileName":"dialog.ts","line":38,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L38"}]},{"id":45,"name":"MessageDialogOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":48,"name":"okLabel","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The label of the confirm button."}]},"sources":[{"fileName":"dialog.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L101"}],"type":{"type":"intrinsic","name":"string"}},{"id":46,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The title of the dialog. Defaults to the app name."}]},"sources":[{"fileName":"dialog.ts","line":97,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L97"}],"type":{"type":"intrinsic","name":"string"}},{"id":47,"name":"type","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The type of the dialog. Defaults to "},{"kind":"code","text":"`info`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"dialog.ts","line":99,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L99"}],"type":{"type":"union","types":[{"type":"literal","value":"info"},{"type":"literal","value":"warning"},{"type":"literal","value":"error"}]}}],"groups":[{"title":"Properties","children":[48,46,47]}],"sources":[{"fileName":"dialog.ts","line":95,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L95"}]},{"id":34,"name":"OpenDialogOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options for the open dialog."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":37,"name":"defaultPath","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Initial directory or file path."}]},"sources":[{"fileName":"dialog.ts","line":62,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L62"}],"type":{"type":"intrinsic","name":"string"}},{"id":39,"name":"directory","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the dialog is a directory selection or not."}]},"sources":[{"fileName":"dialog.ts","line":66,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L66"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":36,"name":"filters","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The filters of the dialog."}]},"sources":[{"fileName":"dialog.ts","line":60,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L60"}],"type":{"type":"array","elementType":{"type":"reference","target":31,"name":"DialogFilter","package":"@tauri-apps/api"}}},{"id":38,"name":"multiple","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the dialog allows multiple selection or not."}]},"sources":[{"fileName":"dialog.ts","line":64,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L64"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":40,"name":"recursive","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`directory`"},{"kind":"text","text":" is true, indicates that it will be read recursively later.\r\nDefines whether subdirectories will be allowed on the scope or not."}]},"sources":[{"fileName":"dialog.ts","line":71,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L71"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":35,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The title of the dialog window."}]},"sources":[{"fileName":"dialog.ts","line":58,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L58"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[37,39,36,38,40,35]}],"sources":[{"fileName":"dialog.ts","line":56,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L56"}]},{"id":41,"name":"SaveDialogOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options for the save dialog."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":44,"name":"defaultPath","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Initial directory or file path.\r\nIf it's a directory path, the dialog interface will change to that folder.\r\nIf 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."}]},"sources":[{"fileName":"dialog.ts","line":89,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L89"}],"type":{"type":"intrinsic","name":"string"}},{"id":43,"name":"filters","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The filters of the dialog."}]},"sources":[{"fileName":"dialog.ts","line":83,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L83"}],"type":{"type":"array","elementType":{"type":"reference","target":31,"name":"DialogFilter","package":"@tauri-apps/api"}}},{"id":42,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The title of the dialog window."}]},"sources":[{"fileName":"dialog.ts","line":81,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L81"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[44,43,42]}],"sources":[{"fileName":"dialog.ts","line":79,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L79"}]},{"id":64,"name":"ask","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"dialog.ts","line":271,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L271"}],"signatures":[{"id":65,"name":"ask","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows a question dialog with "},{"kind":"code","text":"`Yes`"},{"kind":"text","text":" and "},{"kind":"code","text":"`No`"},{"kind":"text","text":" buttons."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { ask } from '@tauri-apps/api/dialog';\r\nconst yes = await ask('Are you sure?', 'Tauri');\r\nconst yes2 = await ask('This action cannot be reverted. Are you sure?', { title: 'Tauri', type: 'warning' });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a boolean indicating whether "},{"kind":"code","text":"`Yes`"},{"kind":"text","text":" was clicked or not."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"dialog.ts","line":271,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L271"}],"parameters":[{"id":66,"name":"message","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The message to show."}]},"type":{"type":"intrinsic","name":"string"}},{"id":67,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The dialog's options. If a string, it represents the dialog title."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":49,"name":"ConfirmDialogOptions","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":68,"name":"confirm","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"dialog.ts","line":307,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L307"}],"signatures":[{"id":69,"name":"confirm","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows a question dialog with "},{"kind":"code","text":"`Ok`"},{"kind":"text","text":" and "},{"kind":"code","text":"`Cancel`"},{"kind":"text","text":" buttons."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { confirm } from '@tauri-apps/api/dialog';\r\nconst confirmed = await confirm('Are you sure?', 'Tauri');\r\nconst confirmed2 = await confirm('This action cannot be reverted. Are you sure?', { title: 'Tauri', type: 'warning' });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a boolean indicating whether "},{"kind":"code","text":"`Ok`"},{"kind":"text","text":" was clicked or not."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"dialog.ts","line":307,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L307"}],"parameters":[{"id":70,"name":"message","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The message to show."}]},"type":{"type":"intrinsic","name":"string"}},{"id":71,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The dialog's options. If a string, it represents the dialog title."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":49,"name":"ConfirmDialogOptions","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":60,"name":"message","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"dialog.ts","line":238,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L238"}],"signatures":[{"id":61,"name":"message","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows a message dialog with an "},{"kind":"code","text":"`Ok`"},{"kind":"text","text":" button."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { message } from '@tauri-apps/api/dialog';\r\nawait message('Tauri is awesome', 'Tauri');\r\nawait message('File not found', { title: 'Tauri', type: 'error' });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"dialog.ts","line":238,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L238"}],"parameters":[{"id":62,"name":"message","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The message to show."}]},"type":{"type":"intrinsic","name":"string"}},{"id":63,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The dialog's options. If a string, it represents the dialog title."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":45,"name":"MessageDialogOptions","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":54,"name":"open","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"dialog.ts","line":167,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L167"}],"signatures":[{"id":55,"name":"open","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Open a file/directory selection dialog.\r\n\r\nThe selected paths are added to the filesystem and asset protocol allowlist scopes.\r\nWhen security is more important than the easy of use of this API,\r\nprefer writing a dedicated command instead.\r\n\r\nNote that the allowlist scope change is not persisted, so the values are cleared when the application is restarted.\r\nYou can save it to the filesystem using [tauri-plugin-persisted-scope](https://github.com/tauri-apps/tauri-plugin-persisted-scope)."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { open } from '@tauri-apps/api/dialog';\r\n// Open a selection dialog for image files\r\nconst selected = await open({\r\n multiple: true,\r\n filters: [{\r\n name: 'Image',\r\n extensions: ['png', 'jpeg']\r\n }]\r\n});\r\nif (Array.isArray(selected)) {\r\n // user selected multiple files\r\n} else if (selected === null) {\r\n // user cancelled the selection\r\n} else {\r\n // user selected a single file\r\n}\r\n```"}]},{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { open } from '@tauri-apps/api/dialog';\r\nimport { appDir } from '@tauri-apps/api/path';\r\n// Open a selection dialog for directories\r\nconst selected = await open({\r\n directory: true,\r\n multiple: true,\r\n defaultPath: await appDir(),\r\n});\r\nif (Array.isArray(selected)) {\r\n // user selected multiple directories\r\n} else if (selected === null) {\r\n // user cancelled the selection\r\n} else {\r\n // user selected a single directory\r\n}\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to the selected path(s)"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"dialog.ts","line":167,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L167"}],"parameters":[{"id":56,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":34,"name":"OpenDialogOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":57,"name":"save","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"dialog.ts","line":207,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L207"}],"signatures":[{"id":58,"name":"save","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Open a file/directory save dialog.\r\n\r\nThe selected path is added to the filesystem and asset protocol allowlist scopes.\r\nWhen security is more important than the easy of use of this API,\r\nprefer writing a dedicated command instead.\r\n\r\nNote that the allowlist scope change is not persisted, so the values are cleared when the application is restarted.\r\nYou can save it to the filesystem using [tauri-plugin-persisted-scope](https://github.com/tauri-apps/tauri-plugin-persisted-scope)."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { save } from '@tauri-apps/api/dialog';\r\nconst filePath = await save({\r\n filters: [{\r\n name: 'Image',\r\n extensions: ['png', 'jpeg']\r\n }]\r\n});\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to the selected path."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"dialog.ts","line":207,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L207"}],"parameters":[{"id":59,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"name":"SaveDialogOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Interfaces","children":[49,31,45,34,41]},{"title":"Functions","children":[64,68,60,54,57]}],"sources":[{"fileName":"dialog.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/dialog.ts#L1"}]},{"id":72,"name":"event","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The event system allows you to emit events to the backend and listen to events from it.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.event`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":74,"name":"TauriEvent","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":88,"name":"CHECK_UPDATE","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":34,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L34"}],"type":{"type":"literal","value":"tauri://update"}},{"id":92,"name":"DOWNLOAD_PROGRESS","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L38"}],"type":{"type":"literal","value":"tauri://update-download-progress"}},{"id":90,"name":"INSTALL_UPDATE","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L36"}],"type":{"type":"literal","value":"tauri://update-install"}},{"id":87,"name":"MENU","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":33,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L33"}],"type":{"type":"literal","value":"tauri://menu"}},{"id":91,"name":"STATUS_UPDATE","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":37,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L37"}],"type":{"type":"literal","value":"tauri://update-status"}},{"id":89,"name":"UPDATE_AVAILABLE","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L35"}],"type":{"type":"literal","value":"tauri://update-available"}},{"id":81,"name":"WINDOW_BLUR","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L27"}],"type":{"type":"literal","value":"tauri://blur"}},{"id":77,"name":"WINDOW_CLOSE_REQUESTED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":23,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L23"}],"type":{"type":"literal","value":"tauri://close-requested"}},{"id":78,"name":"WINDOW_CREATED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":24,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L24"}],"type":{"type":"literal","value":"tauri://window-created"}},{"id":79,"name":"WINDOW_DESTROYED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L25"}],"type":{"type":"literal","value":"tauri://destroyed"}},{"id":84,"name":"WINDOW_FILE_DROP","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":30,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L30"}],"type":{"type":"literal","value":"tauri://file-drop"}},{"id":86,"name":"WINDOW_FILE_DROP_CANCELLED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":32,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L32"}],"type":{"type":"literal","value":"tauri://file-drop-cancelled"}},{"id":85,"name":"WINDOW_FILE_DROP_HOVER","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L31"}],"type":{"type":"literal","value":"tauri://file-drop-hover"}},{"id":80,"name":"WINDOW_FOCUS","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":26,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L26"}],"type":{"type":"literal","value":"tauri://focus"}},{"id":76,"name":"WINDOW_MOVED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":22,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L22"}],"type":{"type":"literal","value":"tauri://move"}},{"id":75,"name":"WINDOW_RESIZED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":21,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L21"}],"type":{"type":"literal","value":"tauri://resize"}},{"id":82,"name":"WINDOW_SCALE_FACTOR_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L28"}],"type":{"type":"literal","value":"tauri://scale-change"}},{"id":83,"name":"WINDOW_THEME_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":29,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L29"}],"type":{"type":"literal","value":"tauri://theme-changed"}}],"groups":[{"title":"Enumeration Members","children":[88,92,90,87,91,89,81,77,78,79,84,86,85,80,76,75,82,83]}],"sources":[{"fileName":"event.ts","line":20,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L20"}]},{"id":1119,"name":"Event","variant":"declaration","kind":256,"flags":{},"children":[{"id":1120,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"helpers/event.ts","line":12,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L12"}],"type":{"type":"reference","target":73,"name":"EventName","package":"@tauri-apps/api"}},{"id":1122,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"helpers/event.ts","line":16,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L16"}],"type":{"type":"intrinsic","name":"number"}},{"id":1123,"name":"payload","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event payload"}]},"sources":[{"fileName":"helpers/event.ts","line":18,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L18"}],"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}},{"id":1121,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"helpers/event.ts","line":14,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L14"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[1120,1122,1123,1121]}],"sources":[{"fileName":"helpers/event.ts","line":10,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L10"}],"typeParameters":[{"id":1124,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":1125,"name":"EventCallback","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"helpers/event.ts","line":21,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L21"}],"typeParameters":[{"id":1129,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"type":{"type":"reflection","declaration":{"id":1126,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"helpers/event.ts","line":21,"character":31,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L21"}],"signatures":[{"id":1127,"name":"__type","variant":"signature","kind":4096,"flags":{},"parameters":[{"id":1128,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1119,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":73,"name":"EventName","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":15,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L15"}],"type":{"type":"union","types":[{"type":"templateLiteral","head":"","tail":[[{"type":"reference","target":74,"name":"TauriEvent","package":"@tauri-apps/api"},""]]},{"type":"intersection","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"never"},{"type":"intrinsic","name":"never"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}]}]}},{"id":1130,"name":"UnlistenFn","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"helpers/event.ts","line":23,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L23"}],"type":{"type":"reflection","declaration":{"id":1131,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"helpers/event.ts","line":23,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/helpers/event.ts#L23"}],"signatures":[{"id":1132,"name":"__type","variant":"signature","kind":4096,"flags":{},"type":{"type":"intrinsic","name":"void"}}]}}},{"id":103,"name":"emit","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":112,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L112"}],"signatures":[{"id":104,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { emit } from '@tauri-apps/api/event';\r\nawait emit('frontend-loaded', { loggedIn: true, token: 'authToken' });\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":112,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L112"}],"parameters":[{"id":105,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":106,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":93,"name":"listen","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":62,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L62"}],"signatures":[{"id":94,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event from the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { listen } from '@tauri-apps/api/event';\r\nconst unlisten = await listen<string>('error', (event) => {\r\n console.log(`Got error in window ${event.windowLabel}, payload: ${event.payload}`);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":62,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L62"}],"typeParameter":[{"id":95,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":96,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":73,"name":"EventName","package":"@tauri-apps/api"}},{"id":97,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler callback."}]},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":98,"name":"once","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":93,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L93"}],"signatures":[{"id":99,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event from the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { once } from '@tauri-apps/api/event';\r\ninterface LoadedPayload {\r\n loggedIn: boolean,\r\n token: string\r\n}\r\nconst unlisten = await once<LoadedPayload>('loaded', (event) => {\r\n console.log(`App is loaded, loggedIn: ${event.payload.loggedIn}, token: ${event.payload.token}`);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":93,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L93"}],"typeParameter":[{"id":100,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":101,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":73,"name":"EventName","package":"@tauri-apps/api"}},{"id":102,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[74]},{"title":"Interfaces","children":[1119]},{"title":"Type Aliases","children":[1125,73,1130]},{"title":"Functions","children":[103,93,98]}],"sources":[{"fileName":"event.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/event.ts#L1"}]},{"id":107,"name":"fs","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Access the file system.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.fs`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.fs`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.fs) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"fs\": {\r\n \"all\": true, // enable all FS APIs\r\n \"readFile\": true,\r\n \"writeFile\": true,\r\n \"readDir\": true,\r\n \"copyFile\": true,\r\n \"createDir\": true,\r\n \"removeDir\": true,\r\n \"removeFile\": true,\r\n \"renameFile\": true,\r\n \"exists\": true\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security.\r\n\r\n## Security\r\n\r\nThis module prevents path traversal, not allowing absolute paths or parent dir components\r\n(i.e. \"/usr/path/to/file\" or \"../path/to/file\" paths are not allowed).\r\nPaths accessed with this API must be relative to one of the "},{"kind":"inline-tag","tag":"@link","text":"base directories","target":108},{"kind":"text","text":"\r\nso if you need access to arbitrary filesystem paths, you must write such logic on the core layer instead.\r\n\r\nThe API has a scope configuration that forces you to restrict the paths that can be accessed using glob patterns.\r\n\r\nThe scope configuration is an array of glob patterns describing folder paths that are allowed.\r\nFor instance, this scope configuration only allows accessing files on the\r\n*databases* folder of the "},{"kind":"inline-tag","tag":"@link","text":"$APPDATA directory","target":379},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"fs\": {\r\n \"scope\": [\"$APPDATA/databases/*\"]\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\n\r\nNotice the use of the "},{"kind":"code","text":"`$APPDATA`"},{"kind":"text","text":" variable. The value is injected at runtime, resolving to the "},{"kind":"inline-tag","tag":"@link","text":"app data directory","target":379},{"kind":"text","text":".\r\nThe available variables are:\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$APPCONFIG`","target":377},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$APPDATA`","target":379},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$APPLOCALDATA`","target":381},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$APPCACHE`","target":383},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$APPLOG`","target":385},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$AUDIO`","target":387},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$CACHE`","target":389},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$CONFIG`","target":391},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$DATA`","target":393},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$LOCALDATA`","target":407},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$DESKTOP`","target":395},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$DOCUMENT`","target":397},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$DOWNLOAD`","target":399},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$EXE`","target":401},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$FONT`","target":403},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$HOME`","target":405},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$PICTURE`","target":409},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$PUBLIC`","target":411},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$RUNTIME`","target":418},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$TEMPLATE`","target":420},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$VIDEO`","target":422},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$RESOURCE`","target":413},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$APP`","target":375},{"kind":"text","text":",\r\n"},{"kind":"inline-tag","tag":"@link","text":"`$LOG`","target":424},{"kind":"text","text":", "},{"kind":"inline-tag","tag":"@link","text":"`$TEMP`","target":369},{"kind":"text","text":".\r\n\r\nTrying to execute any API with a URL not configured on the scope results in a promise rejection due to denied access.\r\n\r\nNote that this scope applies to **all** APIs on this module."}]},"children":[{"id":150,"name":"Dir","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"fs.ts","line":593,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L593"}],"target":108},{"id":167,"name":"writeFile","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"fs.ts","line":597,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L597"}],"target":159},{"id":108,"name":"BaseDirectory","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":126,"name":"App","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":98,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L98"}],"type":{"type":"literal","value":18}},{"id":132,"name":"AppCache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":104,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L104"}],"type":{"type":"literal","value":24}},{"id":129,"name":"AppConfig","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L101"}],"type":{"type":"literal","value":21}},{"id":130,"name":"AppData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":102,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L102"}],"type":{"type":"literal","value":22}},{"id":131,"name":"AppLocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":103,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L103"}],"type":{"type":"literal","value":23}},{"id":133,"name":"AppLog","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L105"}],"type":{"type":"literal","value":25}},{"id":109,"name":"Audio","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":81,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L81"}],"type":{"type":"literal","value":1}},{"id":110,"name":"Cache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":82,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L82"}],"type":{"type":"literal","value":2}},{"id":111,"name":"Config","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":83,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L83"}],"type":{"type":"literal","value":3}},{"id":112,"name":"Data","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":84,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L84"}],"type":{"type":"literal","value":4}},{"id":114,"name":"Desktop","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":86,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L86"}],"type":{"type":"literal","value":6}},{"id":115,"name":"Document","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":87,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L87"}],"type":{"type":"literal","value":7}},{"id":116,"name":"Download","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":88,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L88"}],"type":{"type":"literal","value":8}},{"id":117,"name":"Executable","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":89,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L89"}],"type":{"type":"literal","value":9}},{"id":118,"name":"Font","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":90,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L90"}],"type":{"type":"literal","value":10}},{"id":119,"name":"Home","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":91,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L91"}],"type":{"type":"literal","value":11}},{"id":113,"name":"LocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":85,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L85"}],"type":{"type":"literal","value":5}},{"id":127,"name":"Log","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":99,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L99"}],"type":{"type":"literal","value":19}},{"id":120,"name":"Picture","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":92,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L92"}],"type":{"type":"literal","value":12}},{"id":121,"name":"Public","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":93,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L93"}],"type":{"type":"literal","value":13}},{"id":125,"name":"Resource","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":97,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L97"}],"type":{"type":"literal","value":17}},{"id":122,"name":"Runtime","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L94"}],"type":{"type":"literal","value":14}},{"id":128,"name":"Temp","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":100,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L100"}],"type":{"type":"literal","value":20}},{"id":123,"name":"Template","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L95"}],"type":{"type":"literal","value":15}},{"id":124,"name":"Video","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"fs.ts","line":96,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L96"}],"type":{"type":"literal","value":16}}],"groups":[{"title":"Enumeration Members","children":[126,132,129,130,131,133,109,110,111,112,114,115,116,117,118,119,113,127,120,121,125,122,128,123,124]}],"sources":[{"fileName":"fs.ts","line":80,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L80"}]},{"id":146,"name":"FileEntry","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":149,"name":"children","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Children of this entry if it's a directory; null otherwise"}]},"sources":[{"fileName":"fs.ts","line":161,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L161"}],"type":{"type":"array","elementType":{"type":"reference","target":146,"name":"FileEntry","package":"@tauri-apps/api"}}},{"id":148,"name":"name","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Name of the directory/file\r\ncan be null if the path terminates with "},{"kind":"code","text":"`..`"}]},"sources":[{"fileName":"fs.ts","line":159,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L159"}],"type":{"type":"intrinsic","name":"string"}},{"id":147,"name":"path","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"fs.ts","line":154,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L154"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[149,148,147]}],"sources":[{"fileName":"fs.ts","line":153,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L153"}]},{"id":143,"name":"FsBinaryFileOption","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options object used to write a binary data to a file."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":145,"name":"contents","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The byte array contents."}]},"sources":[{"fileName":"fs.ts","line":147,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L147"}],"type":{"type":"reference","target":142,"name":"BinaryFileContents","package":"@tauri-apps/api"}},{"id":144,"name":"path","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Path to the file to write."}]},"sources":[{"fileName":"fs.ts","line":145,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L145"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[145,144]}],"sources":[{"fileName":"fs.ts","line":143,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L143"}]},{"id":136,"name":"FsDirOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":137,"name":"dir","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"fs.ts","line":120,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L120"}],"type":{"type":"reference","target":108,"name":"BaseDirectory","package":"@tauri-apps/api"}},{"id":138,"name":"recursive","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"fs.ts","line":121,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L121"}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","children":[137,138]}],"sources":[{"fileName":"fs.ts","line":119,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L119"}]},{"id":134,"name":"FsOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":135,"name":"dir","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"fs.ts","line":112,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L112"}],"type":{"type":"reference","target":108,"name":"BaseDirectory","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[135]}],"sources":[{"fileName":"fs.ts","line":111,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L111"}]},{"id":139,"name":"FsTextFileOption","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options object used to write a UTF-8 string to a file."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":141,"name":"contents","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The UTF-8 string to write to the file."}]},"sources":[{"fileName":"fs.ts","line":133,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L133"}],"type":{"type":"intrinsic","name":"string"}},{"id":140,"name":"path","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Path to the file to write."}]},"sources":[{"fileName":"fs.ts","line":131,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L131"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[141,140]}],"sources":[{"fileName":"fs.ts","line":129,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L129"}]},{"id":142,"name":"BinaryFileContents","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"fs.ts","line":136,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L136"}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es2015.iterable.d.ts","qualifiedName":"Iterable"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Iterable","package":"typescript"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayLike"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"ArrayLike","package":"typescript"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayBuffer"},"name":"ArrayBuffer","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"}]}},{"id":188,"name":"copyFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":489,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L489"}],"signatures":[{"id":189,"name":"copyFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Copies a file to a destination."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { copyFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Copy the `$APPCONFIG/app.conf` file to `$APPCONFIG/app.conf.bk`\r\nawait copyFile('app.conf', 'app.conf.bk', { dir: BaseDirectory.AppConfig });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":489,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L489"}],"parameters":[{"id":190,"name":"source","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":191,"name":"destination","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":192,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":180,"name":"createDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":434,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L434"}],"signatures":[{"id":181,"name":"createDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a directory.\r\nIf one of the path's parent components doesn't exist\r\nand the "},{"kind":"code","text":"`recursive`"},{"kind":"text","text":" option isn't set to true, the promise will be rejected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { createDir, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Create the `$APPDATA/users` directory\r\nawait createDir('users', { dir: BaseDirectory.AppData, recursive: true });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":434,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L434"}],"parameters":[{"id":182,"name":"dir","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":183,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":136,"name":"FsDirOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":202,"name":"exists","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":572,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L572"}],"signatures":[{"id":203,"name":"exists","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Check if a path exists."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { exists, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Check if the `$APPDATA/avatar.png` file exists\r\nawait exists('avatar.png', { dir: BaseDirectory.AppData });\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"fs.ts","line":572,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L572"}],"parameters":[{"id":204,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":205,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":155,"name":"readBinaryFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":200,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L200"}],"signatures":[{"id":156,"name":"readBinaryFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Reads a file as byte array."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { readBinaryFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Read the image file in the `$RESOURCEDIR/avatar.png` path\r\nconst contents = await readBinaryFile('avatar.png', { dir: BaseDirectory.Resource });\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":200,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L200"}],"parameters":[{"id":157,"name":"filePath","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":158,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":176,"name":"readDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":405,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L405"}],"signatures":[{"id":177,"name":"readDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"List directory files."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { readDir, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Reads the `$APPDATA/users` directory recursively\r\nconst entries = await readDir('users', { dir: BaseDirectory.AppData, recursive: true });\r\n\r\nfunction processEntries(entries) {\r\n for (const entry of entries) {\r\n console.log(`Entry: ${entry.path}`);\r\n if (entry.children) {\r\n processEntries(entry.children)\r\n }\r\n }\r\n}\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":405,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L405"}],"parameters":[{"id":178,"name":"dir","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":179,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":136,"name":"FsDirOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"array","elementType":{"type":"reference","target":146,"name":"FileEntry","package":"@tauri-apps/api"}}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":151,"name":"readTextFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":175,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L175"}],"signatures":[{"id":152,"name":"readTextFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Reads a file as an UTF-8 encoded string."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { readTextFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Read the text file in the `$APPCONFIG/app.conf` path\r\nconst contents = await readTextFile('app.conf', { dir: BaseDirectory.AppConfig });\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":175,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L175"}],"parameters":[{"id":153,"name":"filePath","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":154,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":184,"name":"removeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":462,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L462"}],"signatures":[{"id":185,"name":"removeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes a directory.\r\nIf the directory is not empty and the "},{"kind":"code","text":"`recursive`"},{"kind":"text","text":" option isn't set to true, the promise will be rejected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { removeDir, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Remove the directory `$APPDATA/users`\r\nawait removeDir('users', { dir: BaseDirectory.AppData });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":462,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L462"}],"parameters":[{"id":186,"name":"dir","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":187,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":136,"name":"FsDirOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":193,"name":"removeFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":518,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L518"}],"signatures":[{"id":194,"name":"removeFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes a file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { removeFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Remove the `$APPConfig/app.conf` file\r\nawait removeFile('app.conf', { dir: BaseDirectory.AppConfig });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":518,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L518"}],"parameters":[{"id":195,"name":"file","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":196,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":197,"name":"renameFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":545,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L545"}],"signatures":[{"id":198,"name":"renameFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Renames a file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { renameFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Rename the `$APPDATA/avatar.png` file\r\nawait renameFile('avatar.png', 'deleted.png', { dir: BaseDirectory.AppData });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":545,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L545"}],"parameters":[{"id":199,"name":"oldPath","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":200,"name":"newPath","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":201,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":168,"name":"writeBinaryFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":309,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L309"},{"fileName":"fs.ts","line":330,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L330"},{"fileName":"fs.ts","line":342,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L342"}],"signatures":[{"id":169,"name":"writeBinaryFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes a byte array content to a file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { writeBinaryFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Write a binary file to the `$APPDATA/avatar.png` path\r\nawait writeBinaryFile('avatar.png', new Uint8Array([]), { dir: BaseDirectory.AppData });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":309,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L309"}],"parameters":[{"id":170,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":171,"name":"contents","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":142,"name":"BinaryFileContents","package":"@tauri-apps/api"}},{"id":172,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Configuration object."}]},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}},{"id":173,"name":"writeBinaryFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes a byte array content to a file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { writeBinaryFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Write a binary file to the `$APPDATA/avatar.png` path\r\nawait writeBinaryFile({ path: 'avatar.png', contents: new Uint8Array([]) }, { dir: BaseDirectory.AppData });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":330,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L330"}],"parameters":[{"id":174,"name":"file","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The object containing the file path and contents."}]},"type":{"type":"reference","target":143,"name":"FsBinaryFileOption","package":"@tauri-apps/api"}},{"id":175,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Configuration object."}]},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":159,"name":"writeTextFile","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"fs.ts","line":227,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L227"},{"fileName":"fs.ts","line":245,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L245"},{"fileName":"fs.ts","line":257,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L257"}],"signatures":[{"id":160,"name":"writeTextFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes a UTF-8 text file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { writeTextFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Write a text file to the `$APPCONFIG/app.conf` path\r\nawait writeTextFile('app.conf', 'file contents', { dir: BaseDirectory.AppConfig });\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":227,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L227"}],"parameters":[{"id":161,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":162,"name":"contents","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":163,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}},{"id":164,"name":"writeTextFile","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes a UTF-8 text file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { writeTextFile, BaseDirectory } from '@tauri-apps/api/fs';\r\n// Write a text file to the `$APPCONFIG/app.conf` path\r\nawait writeTextFile({ path: 'app.conf', contents: 'file contents' }, { dir: BaseDirectory.AppConfig });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"fs.ts","line":245,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L245"}],"parameters":[{"id":165,"name":"file","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":139,"name":"FsTextFileOption","package":"@tauri-apps/api"}},{"id":166,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":134,"name":"FsOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"References","children":[150,167]},{"title":"Enumerations","children":[108]},{"title":"Interfaces","children":[146,143,136,134,139]},{"title":"Type Aliases","children":[142]},{"title":"Functions","children":[188,180,202,155,176,151,184,193,197,168,159]}],"sources":[{"fileName":"fs.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/fs.ts#L1"}]},{"id":206,"name":"globalShortcut","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Register global shortcuts.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.globalShortcut`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.globalShortcut`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.globalshortcut) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"globalShortcut\": {\r\n \"all\": true // enable all global shortcut APIs\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":207,"name":"ShortcutHandler","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":29,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L29"}],"type":{"type":"reflection","declaration":{"id":208,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":29,"character":30,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L29"}],"signatures":[{"id":209,"name":"__type","variant":"signature","kind":4096,"flags":{},"parameters":[{"id":210,"name":"shortcut","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":219,"name":"isRegistered","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":101,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L101"}],"signatures":[{"id":220,"name":"isRegistered","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Determines whether the given shortcut is registered by this application or not."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { isRegistered } from '@tauri-apps/api/globalShortcut';\r\nconst isRegistered = await isRegistered('CommandOrControl+P');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"globalShortcut.ts","line":101,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L101"}],"parameters":[{"id":221,"name":"shortcut","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Array of shortcut definitions, modifiers and key separated by \"+\" e.g. CmdOrControl+Q"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":211,"name":"register","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":46,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L46"}],"signatures":[{"id":212,"name":"register","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Register a global shortcut."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { register } from '@tauri-apps/api/globalShortcut';\r\nawait register('CommandOrControl+Shift+C', () => {\r\n console.log('Shortcut triggered');\r\n});\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"globalShortcut.ts","line":46,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L46"}],"parameters":[{"id":213,"name":"shortcut","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shortcut definition, modifiers and key separated by \"+\" e.g. CmdOrControl+Q"}]},"type":{"type":"intrinsic","name":"string"}},{"id":214,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shortcut handler callback - takes the triggered shortcut as argument"}]},"type":{"type":"reference","target":207,"name":"ShortcutHandler","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":215,"name":"registerAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":75,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L75"}],"signatures":[{"id":216,"name":"registerAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Register a collection of global shortcuts."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { registerAll } from '@tauri-apps/api/globalShortcut';\r\nawait registerAll(['CommandOrControl+Shift+C', 'Ctrl+Alt+F12'], (shortcut) => {\r\n console.log(`Shortcut ${shortcut} triggered`);\r\n});\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"globalShortcut.ts","line":75,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L75"}],"parameters":[{"id":217,"name":"shortcuts","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Array of shortcut definitions, modifiers and key separated by \"+\" e.g. CmdOrControl+Q"}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":218,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shortcut handler callback - takes the triggered shortcut as argument"}]},"type":{"type":"reference","target":207,"name":"ShortcutHandler","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":222,"name":"unregister","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":123,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L123"}],"signatures":[{"id":223,"name":"unregister","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unregister a global shortcut."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { unregister } from '@tauri-apps/api/globalShortcut';\r\nawait unregister('CmdOrControl+Space');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"globalShortcut.ts","line":123,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L123"}],"parameters":[{"id":224,"name":"shortcut","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"shortcut definition, modifiers and key separated by \"+\" e.g. CmdOrControl+Q"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":225,"name":"unregisterAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"globalShortcut.ts","line":143,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L143"}],"signatures":[{"id":226,"name":"unregisterAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unregisters all shortcuts registered by the application."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { unregisterAll } from '@tauri-apps/api/globalShortcut';\r\nawait unregisterAll();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"globalShortcut.ts","line":143,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L143"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Type Aliases","children":[207]},{"title":"Functions","children":[219,211,215,222,225]}],"sources":[{"fileName":"globalShortcut.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/globalShortcut.ts#L1"}]},{"id":227,"name":"http","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Access the HTTP client written in Rust.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.http`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be allowlisted on "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"http\": {\r\n \"all\": true, // enable all http APIs\r\n \"request\": true // enable HTTP request API\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security.\r\n\r\n## Security\r\n\r\nThis API has a scope configuration that forces you to restrict the URLs and paths that can be accessed using glob patterns.\r\n\r\nFor instance, this scope configuration only allows making HTTP requests to the GitHub API for the "},{"kind":"code","text":"`tauri-apps`"},{"kind":"text","text":" organization:\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"http\": {\r\n \"scope\": [\"https://api.github.com/repos/tauri-apps/*\"]\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nTrying to execute any API with a URL not configured on the scope results in a promise rejection due to denied access."}]},"children":[{"id":323,"name":"ResponseType","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":326,"name":"Binary","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"http.ts","line":74,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L74"}],"type":{"type":"literal","value":3}},{"id":324,"name":"JSON","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"http.ts","line":72,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L72"}],"type":{"type":"literal","value":1}},{"id":325,"name":"Text","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"http.ts","line":73,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L73"}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[326,324,325]}],"sources":[{"fileName":"http.ts","line":71,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L71"}]},{"id":254,"name":"Body","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"The body object to be used on POST and PUT requests."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":272,"name":"payload","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L95"}],"type":{"type":"intrinsic","name":"unknown"}},{"id":271,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L94"}],"type":{"type":"intrinsic","name":"string"}},{"id":264,"name":"bytes","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"http.ts","line":217,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L217"}],"signatures":[{"id":265,"name":"bytes","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new byte array body."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Body } from \"@tauri-apps/api/http\"\r\nBody.bytes(new Uint8Array([1, 2, 3]));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The body object ready to be used on the POST and PUT requests."}]}]},"sources":[{"fileName":"http.ts","line":217,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L217"}],"parameters":[{"id":266,"name":"bytes","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The body byte array."}]},"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es2015.iterable.d.ts","qualifiedName":"Iterable"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Iterable","package":"typescript"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayBuffer"},"name":"ArrayBuffer","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayLike"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"ArrayLike","package":"typescript"}]}}],"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}}]},{"id":255,"name":"form","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"http.ts","line":134,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L134"}],"signatures":[{"id":256,"name":"form","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new form data body. The form data is an object where each key is the entry name,\r\nand the value is either a string or a file object.\r\n\r\nBy default it sets the "},{"kind":"code","text":"`application/x-www-form-urlencoded`"},{"kind":"text","text":" Content-Type header,\r\nbut you can set it to "},{"kind":"code","text":"`multipart/form-data`"},{"kind":"text","text":" if the Cargo feature "},{"kind":"code","text":"`http-multipart`"},{"kind":"text","text":" is enabled.\r\n\r\nNote that a file path must be allowed in the "},{"kind":"code","text":"`fs`"},{"kind":"text","text":" allowlist scope."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Body } from \"@tauri-apps/api/http\"\r\nconst body = Body.form({\r\n key: 'value',\r\n image: {\r\n file: '/path/to/file', // either a path or an array buffer of the file contents\r\n mime: 'image/jpeg', // optional\r\n fileName: 'image.jpg' // optional\r\n }\r\n});\r\n\r\n// alternatively, use a FormData:\r\nconst form = new FormData();\r\nform.append('key', 'value');\r\nform.append('image', file, 'image.png');\r\nconst formBody = Body.form(form);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The body object ready to be used on the POST and PUT requests."}]}]},"sources":[{"fileName":"http.ts","line":134,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L134"}],"parameters":[{"id":257,"name":"data","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The body data."}]},"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"reference","target":234,"name":"Part","package":"@tauri-apps/api"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.dom.d.ts","qualifiedName":"FormData"},"name":"FormData","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/API/FormData"}]}}],"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}}]},{"id":258,"name":"json","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"http.ts","line":185,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L185"}],"signatures":[{"id":259,"name":"json","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new JSON body."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Body } from \"@tauri-apps/api/http\"\r\nBody.json({\r\n registered: true,\r\n name: 'tauri'\r\n});\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The body object ready to be used on the POST and PUT requests."}]}]},"sources":[{"fileName":"http.ts","line":185,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L185"}],"parameters":[{"id":260,"name":"data","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The body JSON object."}]},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}}]},{"id":261,"name":"text","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"http.ts","line":201,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L201"}],"signatures":[{"id":262,"name":"text","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new UTF-8 string body."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Body } from \"@tauri-apps/api/http\"\r\nBody.text('The body content as a string');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The body object ready to be used on the POST and PUT requests."}]}]},"sources":[{"fileName":"http.ts","line":201,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L201"}],"parameters":[{"id":263,"name":"value","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The body string."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Properties","children":[272,271]},{"title":"Methods","children":[264,255,258,261]}],"sources":[{"fileName":"http.ts","line":93,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L93"}]},{"id":273,"name":"Client","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":277,"name":"id","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":303,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L303"}],"type":{"type":"intrinsic","name":"number"}},{"id":306,"name":"delete","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":484,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L484"}],"signatures":[{"id":307,"name":"delete","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes a DELETE request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.delete('http://localhost:3003/users/1');\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":484,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L484"}],"typeParameter":[{"id":308,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":309,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":310,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":244,"name":"RequestOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":278,"name":"drop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":318,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L318"}],"signatures":[{"id":279,"name":"drop","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Drops the client instance."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nawait client.drop();\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":318,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L318"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":284,"name":"get","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":389,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L389"}],"signatures":[{"id":285,"name":"get","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes a GET request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient, ResponseType } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.get('http://localhost:3003/users', {\r\n timeout: 30,\r\n // the expected response type\r\n responseType: ResponseType.JSON\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":389,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L389"}],"typeParameter":[{"id":286,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":287,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":288,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":244,"name":"RequestOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":301,"name":"patch","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":467,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L467"}],"signatures":[{"id":302,"name":"patch","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes a PATCH request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient, Body } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.patch('http://localhost:3003/users/1', {\r\n body: Body.json({ email: 'contact@tauri.app' })\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":467,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L467"}],"typeParameter":[{"id":303,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":304,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":305,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":244,"name":"RequestOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":289,"name":"post","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":413,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L413"}],"signatures":[{"id":290,"name":"post","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes a POST request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient, Body, ResponseType } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.post('http://localhost:3003/users', {\r\n body: Body.json({\r\n name: 'tauri',\r\n password: 'awesome'\r\n }),\r\n // in this case the server returns a simple string\r\n responseType: ResponseType.Text,\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":413,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L413"}],"typeParameter":[{"id":291,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":292,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":293,"name":"body","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}},{"id":294,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":244,"name":"RequestOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":295,"name":"put","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":443,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L443"}],"signatures":[{"id":296,"name":"put","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes a PUT request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient, Body } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.put('http://localhost:3003/users/1', {\r\n body: Body.form({\r\n file: {\r\n file: '/home/tauri/avatar.png',\r\n mime: 'image/png',\r\n fileName: 'avatar.png'\r\n }\r\n })\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":443,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L443"}],"typeParameter":[{"id":297,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":298,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":299,"name":"body","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}},{"id":300,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":244,"name":"RequestOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":280,"name":"request","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"http.ts","line":340,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L340"}],"signatures":[{"id":281,"name":"request","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Makes an HTTP request."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\nconst response = await client.request({\r\n method: 'GET',\r\n url: 'http://localhost:3003/users',\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":340,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L340"}],"typeParameter":[{"id":282,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":283,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":236,"name":"HttpOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Properties","children":[277]},{"title":"Methods","children":[306,278,284,301,289,295,280]}],"sources":[{"fileName":"http.ts","line":302,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L302"}]},{"id":311,"name":"Response","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"Response object."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":321,"name":"data","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The response data."}]},"sources":[{"fileName":"http.ts","line":286,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L286"}],"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}},{"id":319,"name":"headers","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The response headers."}]},"sources":[{"fileName":"http.ts","line":282,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L282"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"string"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":318,"name":"ok","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"A boolean indicating whether the response was successful (status in the range 200299) or not."}]},"sources":[{"fileName":"http.ts","line":280,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L280"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":320,"name":"rawHeaders","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The response raw headers."}]},"sources":[{"fileName":"http.ts","line":284,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L284"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":317,"name":"status","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The response status code."}]},"sources":[{"fileName":"http.ts","line":278,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L278"}],"type":{"type":"intrinsic","name":"number"}},{"id":316,"name":"url","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The request URL."}]},"sources":[{"fileName":"http.ts","line":276,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L276"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[321,319,318,320,317,316]}],"sources":[{"fileName":"http.ts","line":274,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L274"}],"typeParameters":[{"id":322,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":231,"name":"ClientOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":233,"name":"connectTimeout","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":65,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L65"}],"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"reference","target":228,"name":"Duration","package":"@tauri-apps/api"}]}},{"id":232,"name":"maxRedirections","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Defines the maximum number of redirects the client should follow.\r\nIf set to 0, no redirects will be followed."}]},"sources":[{"fileName":"http.ts","line":64,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L64"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[233,232]}],"sources":[{"fileName":"http.ts","line":59,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L59"}]},{"id":228,"name":"Duration","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":230,"name":"nanos","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":53,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L53"}],"type":{"type":"intrinsic","name":"number"}},{"id":229,"name":"secs","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":52,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L52"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[230,229]}],"sources":[{"fileName":"http.ts","line":51,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L51"}]},{"id":327,"name":"FilePart","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":328,"name":"file","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":81,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L81"}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}]}},{"id":330,"name":"fileName","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":83,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L83"}],"type":{"type":"intrinsic","name":"string"}},{"id":329,"name":"mime","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":82,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L82"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[328,330,329]}],"sources":[{"fileName":"http.ts","line":80,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L80"}],"typeParameters":[{"id":331,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":236,"name":"HttpOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options object sent to the backend."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":241,"name":"body","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":250,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L250"}],"type":{"type":"reference","target":254,"name":"Body","package":"@tauri-apps/api"}},{"id":239,"name":"headers","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":248,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L248"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":237,"name":"method","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":246,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L246"}],"type":{"type":"reference","target":235,"name":"HttpVerb","package":"@tauri-apps/api"}},{"id":240,"name":"query","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":249,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L249"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"any"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":243,"name":"responseType","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":252,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L252"}],"type":{"type":"reference","target":323,"name":"ResponseType","package":"@tauri-apps/api"}},{"id":242,"name":"timeout","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"http.ts","line":251,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L251"}],"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"reference","target":228,"name":"Duration","package":"@tauri-apps/api"}]}},{"id":238,"name":"url","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"http.ts","line":247,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L247"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[241,239,237,240,243,242,238]}],"sources":[{"fileName":"http.ts","line":245,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L245"}]},{"id":245,"name":"FetchOptions","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options for the "},{"kind":"code","text":"`fetch`"},{"kind":"text","text":" API."}]},"sources":[{"fileName":"http.ts","line":258,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L258"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Omit"},"typeArguments":[{"type":"reference","target":236,"name":"HttpOptions","package":"@tauri-apps/api"},{"type":"literal","value":"url"}],"name":"Omit","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"}},{"id":235,"name":"HttpVerb","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"The request HTTP verb."}]},"sources":[{"fileName":"http.ts","line":229,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L229"}],"type":{"type":"union","types":[{"type":"literal","value":"GET"},{"type":"literal","value":"POST"},{"type":"literal","value":"PUT"},{"type":"literal","value":"DELETE"},{"type":"literal","value":"PATCH"},{"type":"literal","value":"HEAD"},{"type":"literal","value":"OPTIONS"},{"type":"literal","value":"CONNECT"},{"type":"literal","value":"TRACE"}]}},{"id":234,"name":"Part","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"http.ts","line":86,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L86"}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"},{"type":"reference","target":327,"typeArguments":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}],"name":"FilePart","package":"@tauri-apps/api"}]}},{"id":244,"name":"RequestOptions","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Request options."}]},"sources":[{"fileName":"http.ts","line":256,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L256"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Omit"},"typeArguments":[{"type":"reference","target":236,"name":"HttpOptions","package":"@tauri-apps/api"},{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"url"}]}],"name":"Omit","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"}},{"id":249,"name":"fetch","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"http.ts","line":531,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L531"}],"signatures":[{"id":250,"name":"fetch","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Perform an HTTP request using the default client."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { fetch } from '@tauri-apps/api/http';\r\nconst response = await fetch('http://localhost:3003/users/2', {\r\n method: 'GET',\r\n timeout: 30,\r\n});\r\n```"}]}]},"sources":[{"fileName":"http.ts","line":531,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L531"}],"typeParameter":[{"id":251,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":252,"name":"url","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":253,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":245,"name":"FetchOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":311,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Response","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":246,"name":"getClient","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"http.ts","line":507,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L507"}],"signatures":[{"id":247,"name":"getClient","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new client using the specified options."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { getClient } from '@tauri-apps/api/http';\r\nconst client = await getClient();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to the client instance."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"http.ts","line":507,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L507"}],"parameters":[{"id":248,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Client configuration."}]},"type":{"type":"reference","target":231,"name":"ClientOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":273,"name":"Client","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[323]},{"title":"Classes","children":[254,273,311]},{"title":"Interfaces","children":[231,228,327,236]},{"title":"Type Aliases","children":[245,235,234,244]},{"title":"Functions","children":[249,246]}],"sources":[{"fileName":"http.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/http.ts#L1"}]},{"id":332,"name":"mocks","variant":"declaration","kind":2,"flags":{},"children":[{"id":344,"name":"clearMocks","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":171,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L171"}],"signatures":[{"id":345,"name":"clearMocks","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clears mocked functions/data injected by the other functions in this module.\r\nWhen using a test runner that doesn't provide a fresh window object for each test, calling this function will reset tauri specific properties.\r\n\r\n# Example\r\n\r\n"},{"kind":"code","text":"```js\r\nimport { mockWindows, clearMocks } from \"@tauri-apps/api/mocks\"\r\n\r\nafterEach(() => {\r\n clearMocks()\r\n})\r\n\r\ntest(\"mocked windows\", () => {\r\n mockWindows(\"main\", \"second\", \"third\");\r\n\r\n expect(window).toHaveProperty(\"__TAURI_METADATA__\")\r\n})\r\n\r\ntest(\"no mocked windows\", () => {\r\n expect(window).not.toHaveProperty(\"__TAURI_METADATA__\")\r\n})\r\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":171,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L171"}],"type":{"type":"intrinsic","name":"void"}}]},{"id":333,"name":"mockIPC","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":65,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L65"}],"signatures":[{"id":334,"name":"mockIPC","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Intercepts all IPC requests with the given mock handler.\r\n\r\nThis function can be used when testing tauri frontend applications or when running the frontend in a Node.js context during static site generation.\r\n\r\n# Examples\r\n\r\nTesting setup using vitest:\r\n"},{"kind":"code","text":"```js\r\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\r\nimport { invoke } from \"@tauri-apps/api/tauri\"\r\n\r\nafterEach(() => {\r\n clearMocks()\r\n})\r\n\r\ntest(\"mocked command\", () => {\r\n mockIPC((cmd, args) => {\r\n switch (cmd) {\r\n case \"add\":\r\n return (args.a as number) + (args.b as number);\r\n default:\r\n break;\r\n }\r\n });\r\n\r\n expect(invoke('add', { a: 12, b: 15 })).resolves.toBe(27);\r\n})\r\n```"},{"kind":"text","text":"\r\n\r\nThe callback function can also return a Promise:\r\n"},{"kind":"code","text":"```js\r\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\r\nimport { invoke } from \"@tauri-apps/api/tauri\"\r\n\r\nafterEach(() => {\r\n clearMocks()\r\n})\r\n\r\ntest(\"mocked command\", () => {\r\n mockIPC((cmd, args) => {\r\n if(cmd === \"get_data\") {\r\n return fetch(\"https://example.com/data.json\")\r\n .then((response) => response.json())\r\n }\r\n });\r\n\r\n expect(invoke('get_data')).resolves.toBe({ foo: 'bar' });\r\n})\r\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":65,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L65"}],"parameters":[{"id":335,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":336,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L66"}],"signatures":[{"id":337,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L66"}],"parameters":[{"id":338,"name":"cmd","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":339,"name":"args","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"type":{"type":"intrinsic","name":"any"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":340,"name":"mockWindows","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":135,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L135"}],"signatures":[{"id":341,"name":"mockWindows","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Mocks one or many window labels.\r\nIn non-tauri context it is required to call this function *before* using the "},{"kind":"code","text":"`@tauri-apps/api/window`"},{"kind":"text","text":" module.\r\n\r\nThis function only mocks the *presence* of windows,\r\nwindow properties (e.g. width and height) can be mocked like regular IPC calls using the "},{"kind":"code","text":"`mockIPC`"},{"kind":"text","text":" function.\r\n\r\n# Examples\r\n\r\n"},{"kind":"code","text":"```js\r\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\r\nimport { getCurrent } from \"@tauri-apps/api/window\";\r\n\r\nmockWindows(\"main\", \"second\", \"third\");\r\n\r\nconst win = getCurrent();\r\n\r\nwin.label // \"main\"\r\n```"},{"kind":"text","text":"\r\n\r\n"},{"kind":"code","text":"```js\r\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\r\n\r\nmockWindows(\"main\", \"second\", \"third\");\r\n\r\nmockIPC((cmd, args) => {\r\n if (cmd === \"tauri\") {\r\n if (\r\n args?.__tauriModule === \"Window\" &&\r\n args?.message?.cmd === \"manage\" &&\r\n args?.message?.data?.cmd?.type === \"close\"\r\n ) {\r\n console.log('closing window!');\r\n }\r\n }\r\n});\r\n\r\nconst { getCurrent } = await import(\"@tauri-apps/api/window\");\r\n\r\nconst win = getCurrent();\r\nawait win.close(); // this will cause the mocked IPC handler to log to the console.\r\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":135,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L135"}],"parameters":[{"id":342,"name":"current","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Label of window this JavaScript context is running in."}]},"type":{"type":"intrinsic","name":"string"}},{"id":343,"name":"additionalWindows","variant":"param","kind":32768,"flags":{"isRest":true},"comment":{"summary":[{"kind":"text","text":"Label of additional windows the app has."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Functions","children":[344,333,340]}],"sources":[{"fileName":"mocks.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/mocks.ts#L1"}]},{"id":346,"name":"notification","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Send toast notifications (brief auto-expiring OS window element) to your user.\r\nCan also be used with the Notification Web API.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.notification`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.notification`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.notification) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"notification\": {\r\n \"all\": true // enable all notification APIs\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":347,"name":"Options","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options to send a notification."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":349,"name":"body","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Optional notification body."}]},"sources":[{"fileName":"notification.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L38"}],"type":{"type":"intrinsic","name":"string"}},{"id":350,"name":"icon","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Optional notification icon."}]},"sources":[{"fileName":"notification.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L40"}],"type":{"type":"intrinsic","name":"string"}},{"id":348,"name":"title","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Notification title."}]},"sources":[{"fileName":"notification.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L36"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[349,350,348]}],"sources":[{"fileName":"notification.ts","line":34,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L34"}]},{"id":351,"name":"Permission","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Possible permission values."}]},"sources":[{"fileName":"notification.ts","line":44,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L44"}],"type":{"type":"union","types":[{"type":"literal","value":"granted"},{"type":"literal","value":"denied"},{"type":"literal","value":"default"}]}},{"id":357,"name":"isPermissionGranted","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"notification.ts","line":56,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L56"}],"signatures":[{"id":358,"name":"isPermissionGranted","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Checks if the permission to send notifications is granted."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { isPermissionGranted } from '@tauri-apps/api/notification';\r\nconst permissionGranted = await isPermissionGranted();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"notification.ts","line":56,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L56"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":355,"name":"requestPermission","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"notification.ts","line":84,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L84"}],"signatures":[{"id":356,"name":"requestPermission","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Requests the permission to send notifications."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { isPermissionGranted, requestPermission } from '@tauri-apps/api/notification';\r\nlet permissionGranted = await isPermissionGranted();\r\nif (!permissionGranted) {\r\n const permission = await requestPermission();\r\n permissionGranted = permission === 'granted';\r\n}\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to whether the user granted the permission or not."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"notification.ts","line":84,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L84"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":351,"name":"Permission","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":352,"name":"sendNotification","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"notification.ts","line":106,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L106"}],"signatures":[{"id":353,"name":"sendNotification","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sends a notification to the user."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { isPermissionGranted, requestPermission, sendNotification } from '@tauri-apps/api/notification';\r\nlet permissionGranted = await isPermissionGranted();\r\nif (!permissionGranted) {\r\n const permission = await requestPermission();\r\n permissionGranted = permission === 'granted';\r\n}\r\nif (permissionGranted) {\r\n sendNotification('Tauri is awesome!');\r\n sendNotification({ title: 'TAURI', body: 'Tauri is awesome!' });\r\n}\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"notification.ts","line":106,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L106"}],"parameters":[{"id":354,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":347,"name":"Options","package":"@tauri-apps/api"}]}}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Interfaces","children":[347]},{"title":"Type Aliases","children":[351]},{"title":"Functions","children":[357,355,352]}],"sources":[{"fileName":"notification.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/notification.ts#L1"}]},{"id":359,"name":"os","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Provides operating system-related utility methods and properties.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.os`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.os`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.os) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"os\": {\r\n \"all\": true, // enable all Os APIs\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":373,"name":"Arch","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"os.ts","line":43,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L43"}],"type":{"type":"union","types":[{"type":"literal","value":"x86"},{"type":"literal","value":"x86_64"},{"type":"literal","value":"arm"},{"type":"literal","value":"aarch64"},{"type":"literal","value":"mips"},{"type":"literal","value":"mips64"},{"type":"literal","value":"powerpc"},{"type":"literal","value":"powerpc64"},{"type":"literal","value":"riscv64"},{"type":"literal","value":"s390x"},{"type":"literal","value":"sparc64"}]}},{"id":372,"name":"OsType","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"os.ts","line":41,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L41"}],"type":{"type":"union","types":[{"type":"literal","value":"Linux"},{"type":"literal","value":"Darwin"},{"type":"literal","value":"Windows_NT"}]}},{"id":371,"name":"Platform","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"os.ts","line":29,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L29"}],"type":{"type":"union","types":[{"type":"literal","value":"linux"},{"type":"literal","value":"darwin"},{"type":"literal","value":"ios"},{"type":"literal","value":"freebsd"},{"type":"literal","value":"dragonfly"},{"type":"literal","value":"netbsd"},{"type":"literal","value":"openbsd"},{"type":"literal","value":"solaris"},{"type":"literal","value":"android"},{"type":"literal","value":"win32"}]}},{"id":360,"name":"EOL","variant":"declaration","kind":32,"flags":{"isConst":true},"comment":{"summary":[{"kind":"text","text":"The operating system-specific end-of-line marker.\r\n- "},{"kind":"code","text":"`\\n`"},{"kind":"text","text":" on POSIX\r\n- "},{"kind":"code","text":"`\\r\\n`"},{"kind":"text","text":" on Windows"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":63,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L63"}],"type":{"type":"union","types":[{"type":"literal","value":"\n"},{"type":"literal","value":"\r\n"}]},"defaultValue":"..."},{"id":367,"name":"arch","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"os.ts","line":135,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L135"}],"signatures":[{"id":368,"name":"arch","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the operating system CPU architecture for which the tauri app was compiled.\r\nPossible values are "},{"kind":"code","text":"`'x86'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'x86_64'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'arm'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'aarch64'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'mips'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'mips64'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'powerpc'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'powerpc64'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'riscv64'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'s390x'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'sparc64'`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { arch } from '@tauri-apps/api/os';\r\nconst archName = await arch();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":135,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L135"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":373,"name":"Arch","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":361,"name":"platform","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"os.ts","line":77,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L77"}],"signatures":[{"id":362,"name":"platform","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns a string identifying the operating system platform.\r\nThe value is set at compile time. Possible values are "},{"kind":"code","text":"`'linux'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'darwin'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'ios'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'freebsd'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'dragonfly'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'netbsd'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'openbsd'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'solaris'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'android'`"},{"kind":"text","text":", "},{"kind":"code","text":"`'win32'`"}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { platform } from '@tauri-apps/api/os';\r\nconst platformName = await platform();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":77,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L77"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":371,"name":"Platform","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":369,"name":"tempdir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"os.ts","line":154,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L154"}],"signatures":[{"id":370,"name":"tempdir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the operating system's default directory for temporary files as a string."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { tempdir } from '@tauri-apps/api/os';\r\nconst tempdirPath = await tempdir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":154,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L154"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":365,"name":"type","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"os.ts","line":115,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L115"}],"signatures":[{"id":366,"name":"type","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns "},{"kind":"code","text":"`'Linux'`"},{"kind":"text","text":" on Linux, "},{"kind":"code","text":"`'Darwin'`"},{"kind":"text","text":" on macOS, and "},{"kind":"code","text":"`'Windows_NT'`"},{"kind":"text","text":" on Windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { type } from '@tauri-apps/api/os';\r\nconst osType = await type();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":115,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L115"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":372,"name":"OsType","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":363,"name":"version","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"os.ts","line":96,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L96"}],"signatures":[{"id":364,"name":"version","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns a string identifying the kernel version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { version } from '@tauri-apps/api/os';\r\nconst osVersion = await version();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"os.ts","line":96,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L96"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Type Aliases","children":[373,372,371]},{"title":"Variables","children":[360]},{"title":"Functions","children":[367,361,369,365,363]}],"sources":[{"fileName":"os.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/os.ts#L1"}]},{"id":374,"name":"path","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path module provides utilities for working with file and directory paths.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.path`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.path`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.path) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"path\": {\r\n \"all\": true, // enable all Path APIs\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":1133,"name":"BaseDirectory","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"path.ts","line":839,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L839"}],"target":108},{"id":427,"name":"delimiter","variant":"declaration","kind":32,"flags":{"isConst":true},"comment":{"summary":[{"kind":"text","text":"Provides the platform-specific path segment delimiter:\r\n- "},{"kind":"code","text":"`;`"},{"kind":"text","text":" on Windows\r\n- "},{"kind":"code","text":"`:`"},{"kind":"text","text":" on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":660,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L660"}],"type":{"type":"union","types":[{"type":"literal","value":";"},{"type":"literal","value":":"}]},"defaultValue":"..."},{"id":426,"name":"sep","variant":"declaration","kind":32,"flags":{"isConst":true},"comment":{"summary":[{"kind":"text","text":"Provides the platform-specific path segment separator:\r\n- "},{"kind":"code","text":"`\\` on Windows\r\n- `"},{"kind":"text","text":"/` on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":651,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L651"}],"type":{"type":"union","types":[{"type":"literal","value":"\\"},{"type":"literal","value":"/"}]},"defaultValue":"..."},{"id":383,"name":"appCacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":117,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L117"}],"signatures":[{"id":384,"name":"appCacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's cache files.\r\nResolves to "},{"kind":"code","text":"`${cacheDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appCacheDir } from '@tauri-apps/api/path';\r\nconst appCacheDirPath = await appCacheDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":117,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L117"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":377,"name":"appConfigDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":51,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L51"}],"signatures":[{"id":378,"name":"appConfigDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's config files.\r\nResolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appConfigDir } from '@tauri-apps/api/path';\r\nconst appConfigDirPath = await appConfigDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":51,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L51"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":379,"name":"appDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":73,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L73"}],"signatures":[{"id":380,"name":"appDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's data files.\r\nResolves to "},{"kind":"code","text":"`${dataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appDataDir } from '@tauri-apps/api/path';\r\nconst appDataDirPath = await appDataDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":73,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L73"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":375,"name":"appDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":36,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L36"}],"signatures":[{"id":376,"name":"appDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app config files."}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since 1.2.0: Will be removed in 2.0.0. Use "},{"kind":"inline-tag","tag":"@link","text":"appConfigDir","target":377,"tsLinkText":""},{"kind":"text","text":" or "},{"kind":"inline-tag","tag":"@link","text":"appDataDir","target":379,"tsLinkText":""},{"kind":"text","text":" instead."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":36,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L36"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":381,"name":"appLocalDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":95,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L95"}],"signatures":[{"id":382,"name":"appLocalDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's local data files.\r\nResolves to "},{"kind":"code","text":"`${localDataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appLocalDataDir } from '@tauri-apps/api/path';\r\nconst appLocalDataDirPath = await appLocalDataDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":95,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L95"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":385,"name":"appLogDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":633,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L633"}],"signatures":[{"id":386,"name":"appLogDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's log files.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`${homeDir}/Library/Logs/{bundleIdentifier}`"},{"kind":"text","text":"\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appLogDir } from '@tauri-apps/api/path';\r\nconst appLogDirPath = await appLogDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":633,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L633"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":387,"name":"audioDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":144,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L144"}],"signatures":[{"id":388,"name":"audioDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's audio directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_MUSIC_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Music`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Music}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { audioDir } from '@tauri-apps/api/path';\r\nconst audioDirPath = await audioDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":144,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L144"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":443,"name":"basename","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":782,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L782"}],"signatures":[{"id":444,"name":"basename","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the last portion of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { basename, resolveResource } from '@tauri-apps/api/path';\r\nconst resourcePath = await resolveResource('app.conf');\r\nconst base = await basename(resourcePath);\r\nassert(base === 'app.conf');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":782,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L782"}],"parameters":[{"id":445,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":446,"name":"ext","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional file extension to be removed from the returned path."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":389,"name":"cacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":171,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L171"}],"signatures":[{"id":390,"name":"cacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's cache directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CACHE_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.cache`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Caches`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { cacheDir } from '@tauri-apps/api/path';\r\nconst cacheDirPath = await cacheDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":171,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L171"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":391,"name":"configDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":198,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L198"}],"signatures":[{"id":392,"name":"configDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's config directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CONFIG_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.config`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { configDir } from '@tauri-apps/api/path';\r\nconst configDirPath = await configDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":198,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L198"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":393,"name":"dataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":225,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L225"}],"signatures":[{"id":394,"name":"dataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's data directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { dataDir } from '@tauri-apps/api/path';\r\nconst dataDirPath = await dataDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":225,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L225"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":395,"name":"desktopDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":252,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L252"}],"signatures":[{"id":396,"name":"desktopDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's desktop directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DESKTOP_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Desktop`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Desktop}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { desktopDir } from '@tauri-apps/api/path';\r\nconst desktopPath = await desktopDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":252,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L252"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":437,"name":"dirname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":736,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L736"}],"signatures":[{"id":438,"name":"dirname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the directory name of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { dirname, appDataDir } from '@tauri-apps/api/path';\r\nconst appDataDirPath = await appDataDir();\r\nconst dir = await dirname(appDataDirPath);\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":736,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L736"}],"parameters":[{"id":439,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":397,"name":"documentDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":279,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L279"}],"signatures":[{"id":398,"name":"documentDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's document directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { documentDir } from '@tauri-apps/api/path';\r\nconst documentDirPath = await documentDir();\r\n```"},{"kind":"text","text":"\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOCUMENTS_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Documents`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Documents}`"},{"kind":"text","text":"."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":279,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L279"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":399,"name":"downloadDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":306,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L306"}],"signatures":[{"id":400,"name":"downloadDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's download directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux**: Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOWNLOAD_DIR`"},{"kind":"text","text":".\r\n- **macOS**: Resolves to "},{"kind":"code","text":"`$HOME/Downloads`"},{"kind":"text","text":".\r\n- **Windows**: Resolves to "},{"kind":"code","text":"`{FOLDERID_Downloads}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { downloadDir } from '@tauri-apps/api/path';\r\nconst downloadDirPath = await downloadDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":306,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L306"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":401,"name":"executableDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":333,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L333"}],"signatures":[{"id":402,"name":"executableDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's executable directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_BIN_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$XDG_DATA_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/bin`"},{"kind":"text","text":".\r\n- **macOS:** Not supported.\r\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { executableDir } from '@tauri-apps/api/path';\r\nconst executableDirPath = await executableDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":333,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L333"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":440,"name":"extname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":758,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L758"}],"signatures":[{"id":441,"name":"extname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the extension of the "},{"kind":"code","text":"`path`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { extname, resolveResource } from '@tauri-apps/api/path';\r\nconst resourcePath = await resolveResource('app.conf');\r\nconst ext = await extname(resourcePath);\r\nassert(ext === 'conf');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":758,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L758"}],"parameters":[{"id":442,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":403,"name":"fontDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":360,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L360"}],"signatures":[{"id":404,"name":"fontDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's font directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME/fonts`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share/fonts`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Fonts`"},{"kind":"text","text":".\r\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { fontDir } from '@tauri-apps/api/path';\r\nconst fontDirPath = await fontDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":360,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L360"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":405,"name":"homeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":387,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L387"}],"signatures":[{"id":406,"name":"homeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's home directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Profile}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { homeDir } from '@tauri-apps/api/path';\r\nconst homeDirPath = await homeDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":387,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L387"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":447,"name":"isAbsolute","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":803,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L803"}],"signatures":[{"id":448,"name":"isAbsolute","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns whether the path is absolute or not."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { isAbsolute } from '@tauri-apps/api/path';\r\nassert(await isAbsolute('/home/tauri'));\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":803,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L803"}],"parameters":[{"id":449,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":434,"name":"join","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":715,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L715"}],"signatures":[{"id":435,"name":"join","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Joins all given "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments together using the platform-specific separator as a delimiter, then normalizes the resulting path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { join, appDataDir } from '@tauri-apps/api/path';\r\nconst appDataDirPath = await appDataDir();\r\nconst path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":715,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L715"}],"parameters":[{"id":436,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":407,"name":"localDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":414,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L414"}],"signatures":[{"id":408,"name":"localDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's local data directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { localDataDir } from '@tauri-apps/api/path';\r\nconst localDataDirPath = await localDataDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":414,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L414"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":424,"name":"logDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":613,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L613"}],"signatures":[{"id":425,"name":"logDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested log directory."}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since 1.2.0: Will be removed in 2.0.0. Use "},{"kind":"inline-tag","tag":"@link","text":"appLogDir","target":385,"tsLinkText":""},{"kind":"text","text":" instead."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":613,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L613"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":431,"name":"normalize","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":694,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L694"}],"signatures":[{"id":432,"name":"normalize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normalizes the given "},{"kind":"code","text":"`path`"},{"kind":"text","text":", resolving "},{"kind":"code","text":"`'..'`"},{"kind":"text","text":" and "},{"kind":"code","text":"`'.'`"},{"kind":"text","text":" segments and resolve symbolic links."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { normalize, appDataDir } from '@tauri-apps/api/path';\r\nconst appDataDirPath = await appDataDir();\r\nconst path = await normalize(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":694,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L694"}],"parameters":[{"id":433,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":409,"name":"pictureDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":441,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L441"}],"signatures":[{"id":410,"name":"pictureDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's picture directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PICTURES_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Pictures`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Pictures}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { pictureDir } from '@tauri-apps/api/path';\r\nconst pictureDirPath = await pictureDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":441,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L441"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":411,"name":"publicDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":468,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L468"}],"signatures":[{"id":412,"name":"publicDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's public directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PUBLICSHARE_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Public`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Public}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { publicDir } from '@tauri-apps/api/path';\r\nconst publicDirPath = await publicDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":468,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L468"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":428,"name":"resolve","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":673,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L673"}],"signatures":[{"id":429,"name":"resolve","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolves a sequence of "},{"kind":"code","text":"`paths`"},{"kind":"text","text":" or "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments into an absolute path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { resolve, appDataDir } from '@tauri-apps/api/path';\r\nconst appDataDirPath = await appDataDir();\r\nconst path = await resolve(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":673,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L673"}],"parameters":[{"id":430,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":415,"name":"resolveResource","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":515,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L515"}],"signatures":[{"id":416,"name":"resolveResource","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolve the path to a resource file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { resolveResource } from '@tauri-apps/api/path';\r\nconst resourcePath = await resolveResource('script.sh');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The full path to the resource."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":515,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L515"}],"parameters":[{"id":417,"name":"resourcePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path to the resource.\r\nMust follow the same syntax as defined in "},{"kind":"code","text":"`tauri.conf.json > tauri > bundle > resources`"},{"kind":"text","text":", i.e. keeping subfolders and parent dir components ("},{"kind":"code","text":"`../`"},{"kind":"text","text":")."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":413,"name":"resourceDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":490,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L490"}],"signatures":[{"id":414,"name":"resourceDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the application's resource directory.\r\nTo resolve a resource path, see the [[resolveResource | "},{"kind":"code","text":"`resolveResource API`"},{"kind":"text","text":"]]."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { resourceDir } from '@tauri-apps/api/path';\r\nconst resourceDirPath = await resourceDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":490,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L490"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":418,"name":"runtimeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":542,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L542"}],"signatures":[{"id":419,"name":"runtimeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's runtime directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_RUNTIME_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Not supported.\r\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { runtimeDir } from '@tauri-apps/api/path';\r\nconst runtimeDirPath = await runtimeDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":542,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L542"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":420,"name":"templateDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":569,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L569"}],"signatures":[{"id":421,"name":"templateDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's template directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_TEMPLATES_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Not supported.\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Templates}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { templateDir } from '@tauri-apps/api/path';\r\nconst templateDirPath = await templateDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":569,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L569"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":422,"name":"videoDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":596,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L596"}],"signatures":[{"id":423,"name":"videoDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's video directory.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_VIDEOS_DIR`"},{"kind":"text","text":".\r\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Movies`"},{"kind":"text","text":".\r\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Videos}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { videoDir } from '@tauri-apps/api/path';\r\nconst videoDirPath = await videoDir();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":596,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L596"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"References","children":[1133]},{"title":"Variables","children":[427,426]},{"title":"Functions","children":[383,377,379,375,381,385,387,443,389,391,393,395,437,397,399,401,440,403,405,447,434,407,424,431,409,411,428,415,413,418,420,422]}],"sources":[{"fileName":"path.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/path.ts#L1"}]},{"id":450,"name":"process","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Perform operations on the current process.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.process`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":451,"name":"exit","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"process.ts","line":27,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/process.ts#L27"}],"signatures":[{"id":452,"name":"exit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Exits immediately with the given "},{"kind":"code","text":"`exitCode`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { exit } from '@tauri-apps/api/process';\r\nawait exit(1);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"process.ts","line":27,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/process.ts#L27"}],"parameters":[{"id":453,"name":"exitCode","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The exit code to use."}]},"type":{"type":"intrinsic","name":"number"},"defaultValue":"0"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":454,"name":"relaunch","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"process.ts","line":49,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/process.ts#L49"}],"signatures":[{"id":455,"name":"relaunch","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Exits the current instance of the app then relaunches it."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { relaunch } from '@tauri-apps/api/process';\r\nawait relaunch();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"process.ts","line":49,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/process.ts#L49"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[451,454]}],"sources":[{"fileName":"process.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/process.ts#L1"}]},{"id":456,"name":"shell","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Access the system shell.\r\nAllows you to spawn child processes and manage files and URLs using their default application.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.shell`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.shell`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.shell) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"shell\": {\r\n \"all\": true, // enable all shell APIs\r\n \"execute\": true, // enable process spawn APIs\r\n \"sidecar\": true, // enable spawning sidecars\r\n \"open\": true // enable opening files/URLs using the default program\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security.\r\n\r\n## Security\r\n\r\nThis API has a scope configuration that forces you to restrict the programs and arguments that can be used.\r\n\r\n### Restricting access to the "},{"kind":"inline-tag","tag":"@link","text":"`open`","target":614},{"kind":"text","text":" API\r\n\r\nOn the allowlist, "},{"kind":"code","text":"`open: true`"},{"kind":"text","text":" means that the "},{"kind":"inline-tag","tag":"@link","text":"open","target":614},{"kind":"text","text":" API can be used with any URL,\r\nas the argument is validated with the "},{"kind":"code","text":"`^((mailto:\\w+)|(tel:\\w+)|(https?://\\w+)).+`"},{"kind":"text","text":" regex.\r\nYou can change that regex by changing the boolean value to a string, e.g. "},{"kind":"code","text":"`open: ^https://github.com/`"},{"kind":"text","text":".\r\n\r\n### Restricting access to the "},{"kind":"inline-tag","tag":"@link","text":"`Command`","target":457},{"kind":"text","text":" APIs\r\n\r\nThe "},{"kind":"code","text":"`shell`"},{"kind":"text","text":" allowlist object has a "},{"kind":"code","text":"`scope`"},{"kind":"text","text":" field that defines an array of CLIs that can be used.\r\nEach CLI is a configuration object "},{"kind":"code","text":"`{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`"},{"kind":"text","text":".\r\n\r\n- "},{"kind":"code","text":"`name`"},{"kind":"text","text":": the unique identifier of the command, passed to the "},{"kind":"inline-tag","tag":"@link","text":"Command constructor","target":463},{"kind":"text","text":".\r\nIf it's a sidecar, this must be the value defined on "},{"kind":"code","text":"`tauri.conf.json > tauri > bundle > externalBin`"},{"kind":"text","text":".\r\n- "},{"kind":"code","text":"`cmd`"},{"kind":"text","text":": the program that is executed on this configuration. If it's a sidecar, this value is ignored.\r\n- "},{"kind":"code","text":"`sidecar`"},{"kind":"text","text":": whether the object configures a sidecar or a system program.\r\n- "},{"kind":"code","text":"`args`"},{"kind":"text","text":": the arguments that can be passed to the program. By default no arguments are allowed.\r\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" means that any argument list is allowed.\r\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" means that no arguments are allowed.\r\n - otherwise an array can be configured. Each item is either a string representing the fixed argument value\r\n or a "},{"kind":"code","text":"`{ validator: string }`"},{"kind":"text","text":" that defines a regex validating the argument value.\r\n\r\n#### Example scope configuration\r\n\r\nCLI: "},{"kind":"code","text":"`git commit -m \"the commit message\"`"},{"kind":"text","text":"\r\n\r\nConfiguration:\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"scope\": [\r\n {\r\n \"name\": \"run-git-commit\",\r\n \"cmd\": \"git\",\r\n \"args\": [\"commit\", \"-m\", { \"validator\": \"\\\\S+\" }]\r\n }\r\n ]\r\n}\r\n```"},{"kind":"text","text":"\r\nUsage:\r\n"},{"kind":"code","text":"```typescript\r\nimport { Command } from '@tauri-apps/api/shell'\r\nnew Command('run-git-commit', ['commit', '-m', 'the commit message'])\r\n```"},{"kind":"text","text":"\r\n\r\nTrying to execute any API with a program not configured on the scope results in a promise rejection due to denied access."}]},"children":[{"id":536,"name":"Child","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":537,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"shell.ts","line":325,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L325"}],"signatures":[{"id":538,"name":"new Child","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"shell.ts","line":325,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L325"}],"parameters":[{"id":539,"name":"pid","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":536,"name":"Child","package":"@tauri-apps/api"}}]},{"id":540,"name":"pid","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The child process "},{"kind":"code","text":"`pid`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"shell.ts","line":323,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L323"}],"type":{"type":"intrinsic","name":"number"}},{"id":544,"name":"kill","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":361,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L361"}],"signatures":[{"id":545,"name":"kill","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Kills the child process."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"shell.ts","line":361,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L361"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":541,"name":"write","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":344,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L344"}],"signatures":[{"id":542,"name":"write","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Writes "},{"kind":"code","text":"`data`"},{"kind":"text","text":" to the "},{"kind":"code","text":"`stdin`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Command } from '@tauri-apps/api/shell';\r\nconst command = new Command('node');\r\nconst child = await command.spawn();\r\nawait child.write('message');\r\nawait child.write([0, 1, 2, 3, 4, 5]);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"shell.ts","line":344,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L344"}],"parameters":[{"id":543,"name":"data","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The message to write, either a string or a byte array."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[537]},{"title":"Properties","children":[540]},{"title":"Methods","children":[544,541]}],"sources":[{"fileName":"shell.ts","line":321,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L321"}]},{"id":457,"name":"Command","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"The entry point for spawning child processes.\r\nIt emits the "},{"kind":"code","text":"`close`"},{"kind":"text","text":" and "},{"kind":"code","text":"`error`"},{"kind":"text","text":" events."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Command } from '@tauri-apps/api/shell';\r\nconst command = new Command('node');\r\ncommand.on('close', data => {\r\n console.log(`command finished with code ${data.code} and signal ${data.signal}`)\r\n});\r\ncommand.on('error', error => console.error(`command error: \"${error}\"`));\r\ncommand.stdout.on('data', line => console.log(`command stdout: \"${line}\"`));\r\ncommand.stderr.on('data', line => console.log(`command stderr: \"${line}\"`));\r\n\r\nconst child = await command.spawn();\r\nconsole.log('pid:', child.pid);\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":463,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"shell.ts","line":413,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L413"}],"signatures":[{"id":464,"name":"new Command","variant":"signature","kind":16384,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new "},{"kind":"code","text":"`Command`"},{"kind":"text","text":" instance."}]},"sources":[{"fileName":"shell.ts","line":413,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L413"}],"parameters":[{"id":465,"name":"program","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The program name to execute.\r\nIt must be configured on "},{"kind":"code","text":"`tauri.conf.json > tauri > allowlist > shell > scope`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":466,"name":"args","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Program arguments."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]},"defaultValue":"[]"},{"id":467,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Spawn options."}]},"type":{"type":"reference","target":623,"name":"SpawnOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"overwrites":{"type":"reference","target":548,"name":"EventEmitter.constructor"}}],"overwrites":{"type":"reference","target":547,"name":"EventEmitter.constructor"}},{"id":472,"name":"stderr","variant":"declaration","kind":1024,"flags":{"isReadonly":true},"comment":{"summary":[{"kind":"text","text":"Event emitter for the "},{"kind":"code","text":"`stderr`"},{"kind":"text","text":". Emits the "},{"kind":"code","text":"`data`"},{"kind":"text","text":" event."}]},"sources":[{"fileName":"shell.ts","line":403,"character":11,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L403"}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"literal","value":"data"}],"name":"EventEmitter","package":"@tauri-apps/api"},"defaultValue":"..."},{"id":471,"name":"stdout","variant":"declaration","kind":1024,"flags":{"isReadonly":true},"comment":{"summary":[{"kind":"text","text":"Event emitter for the "},{"kind":"code","text":"`stdout`"},{"kind":"text","text":". Emits the "},{"kind":"code","text":"`data`"},{"kind":"text","text":" event."}]},"sources":[{"fileName":"shell.ts","line":401,"character":11,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L401"}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"literal","value":"data"}],"name":"EventEmitter","package":"@tauri-apps/api"},"defaultValue":"..."},{"id":477,"name":"addListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"signatures":[{"id":478,"name":"addListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Alias for "},{"kind":"code","text":"`emitter.on(eventName, listener)`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":164,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"parameters":[{"id":479,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":480,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":481,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":38,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"signatures":[{"id":482,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":38,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"parameters":[{"id":483,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":555,"name":"EventEmitter.addListener"}}],"inheritedFrom":{"type":"reference","target":554,"name":"EventEmitter.addListener"}},{"id":475,"name":"execute","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":489,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L489"}],"signatures":[{"id":476,"name":"execute","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Executes the command as a child process, waiting for it to finish and collecting all of its output."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Command } from '@tauri-apps/api/shell';\r\nconst output = await new Command('echo', 'message').execute();\r\nassert(output.code === 0);\r\nassert(output.signal === null);\r\nassert(output.stdout === 'message');\r\nassert(output.stderr === '');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to the child process output."}]}]},"sources":[{"fileName":"shell.ts","line":489,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L489"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":618,"name":"ChildProcess","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":519,"name":"listenerCount","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":272,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L272"}],"signatures":[{"id":520,"name":"listenerCount","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the number of listeners listening to the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":272,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L272"}],"parameters":[{"id":521,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}}],"type":{"type":"intrinsic","name":"number"},"inheritedFrom":{"type":"reference","target":597,"name":"EventEmitter.listenerCount"}}],"inheritedFrom":{"type":"reference","target":596,"name":"EventEmitter.listenerCount"}},{"id":505,"name":"off","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"signatures":[{"id":506,"name":"off","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes the all specified listener from the listener array for the event eventName\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":221,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"parameters":[{"id":507,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":508,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":509,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":30,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"signatures":[{"id":510,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":30,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"parameters":[{"id":511,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":583,"name":"EventEmitter.off"}}],"inheritedFrom":{"type":"reference","target":582,"name":"EventEmitter.off"}},{"id":491,"name":"on","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"signatures":[{"id":492,"name":"on","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function to the end of the listeners array for the\r\nevent named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". No checks are made to see if the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" has\r\nalready been added. Multiple calls passing the same combination of "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"and "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" will result in the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" being added, and called, multiple\r\ntimes.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"shell.ts","line":187,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"parameters":[{"id":493,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":494,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":495,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":29,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"signatures":[{"id":496,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":29,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"parameters":[{"id":497,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":569,"name":"EventEmitter.on"}}],"inheritedFrom":{"type":"reference","target":568,"name":"EventEmitter.on"}},{"id":498,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"signatures":[{"id":499,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a **one-time**"},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function for the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". The\r\nnext time "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" is triggered, this listener is removed and then invoked.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":206,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"parameters":[{"id":500,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":501,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":502,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":31,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"signatures":[{"id":503,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":31,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"parameters":[{"id":504,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":576,"name":"EventEmitter.once"}}],"inheritedFrom":{"type":"reference","target":575,"name":"EventEmitter.once"}},{"id":522,"name":"prependListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"signatures":[{"id":523,"name":"prependListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function to the _beginning_ of the listeners array for the\r\nevent named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". No checks are made to see if the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" has\r\nalready been added. Multiple calls passing the same combination of "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"and "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" will result in the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" being added, and called, multiple\r\ntimes.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":289,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"parameters":[{"id":524,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":525,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":526,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":42,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"signatures":[{"id":527,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":42,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"parameters":[{"id":528,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":600,"name":"EventEmitter.prependListener"}}],"inheritedFrom":{"type":"reference","target":599,"name":"EventEmitter.prependListener"}},{"id":529,"name":"prependOnceListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"signatures":[{"id":530,"name":"prependOnceListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a **one-time**"},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function for the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" to the_beginning_ of the listeners array. The next time "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" is triggered, this\r\nlistener is removed, and then invoked.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":308,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"parameters":[{"id":531,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":532,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":533,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":46,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"signatures":[{"id":534,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":46,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"parameters":[{"id":535,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":607,"name":"EventEmitter.prependOnceListener"}}],"inheritedFrom":{"type":"reference","target":606,"name":"EventEmitter.prependOnceListener"}},{"id":512,"name":"removeAllListeners","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":238,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L238"}],"signatures":[{"id":513,"name":"removeAllListeners","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes all listeners, or those of the specified eventName.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":238,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L238"}],"parameters":[{"id":514,"name":"event","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":590,"name":"EventEmitter.removeAllListeners"}}],"inheritedFrom":{"type":"reference","target":589,"name":"EventEmitter.removeAllListeners"}},{"id":484,"name":"removeListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"signatures":[{"id":485,"name":"removeListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Alias for "},{"kind":"code","text":"`emitter.off(eventName, listener)`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":173,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"parameters":[{"id":486,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"error"},{"type":"literal","value":"close"}]}},{"id":487,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":488,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":41,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"signatures":[{"id":489,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":41,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"parameters":[{"id":490,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"},"inheritedFrom":{"type":"reference","target":562,"name":"EventEmitter.removeListener"}}],"inheritedFrom":{"type":"reference","target":561,"name":"EventEmitter.removeListener"}},{"id":473,"name":"spawn","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":451,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L451"}],"signatures":[{"id":474,"name":"spawn","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Executes the command as a child process, returning a handle to it."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to the child process handle."}]}]},"sources":[{"fileName":"shell.ts","line":451,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L451"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":536,"name":"Child","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":458,"name":"sidecar","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"shell.ts","line":436,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L436"}],"signatures":[{"id":459,"name":"sidecar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a command to execute the given sidecar program."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { Command } from '@tauri-apps/api/shell';\r\nconst command = Command.sidecar('my-sidecar');\r\nconst output = await command.execute();\r\n```"}]}]},"sources":[{"fileName":"shell.ts","line":436,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L436"}],"parameters":[{"id":460,"name":"program","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The program to execute.\r\nIt must be configured on "},{"kind":"code","text":"`tauri.conf.json > tauri > allowlist > shell > scope`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":461,"name":"args","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"intrinsic","name":"string"}}]},"defaultValue":"[]"},{"id":462,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":623,"name":"SpawnOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":457,"name":"Command","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[463]},{"title":"Properties","children":[472,471]},{"title":"Methods","children":[477,475,519,505,491,498,522,529,512,484,473,458]}],"sources":[{"fileName":"shell.ts","line":393,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L393"}],"extendedTypes":[{"type":"reference","target":546,"typeArguments":[{"type":"union","types":[{"type":"literal","value":"close"},{"type":"literal","value":"error"}]}],"name":"EventEmitter","package":"@tauri-apps/api"}]},{"id":546,"name":"EventEmitter","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":547,"name":"constructor","variant":"declaration","kind":512,"flags":{},"signatures":[{"id":548,"name":"new EventEmitter","variant":"signature","kind":16384,"flags":{},"typeParameter":[{"id":549,"name":"E","variant":"typeParam","kind":131072,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":554,"name":"addListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"signatures":[{"id":555,"name":"addListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Alias for "},{"kind":"code","text":"`emitter.on(eventName, listener)`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":164,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"parameters":[{"id":556,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":557,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":558,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":38,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"signatures":[{"id":559,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":164,"character":38,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L164"}],"parameters":[{"id":560,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":596,"name":"listenerCount","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":272,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L272"}],"signatures":[{"id":597,"name":"listenerCount","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the number of listeners listening to the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":272,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L272"}],"parameters":[{"id":598,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"number"}}]},{"id":582,"name":"off","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"signatures":[{"id":583,"name":"off","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes the all specified listener from the listener array for the event eventName\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":221,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"parameters":[{"id":584,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":585,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":586,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":30,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"signatures":[{"id":587,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":221,"character":30,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L221"}],"parameters":[{"id":588,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":568,"name":"on","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"signatures":[{"id":569,"name":"on","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function to the end of the listeners array for the\r\nevent named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". No checks are made to see if the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" has\r\nalready been added. Multiple calls passing the same combination of "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"and "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" will result in the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" being added, and called, multiple\r\ntimes.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"shell.ts","line":187,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"parameters":[{"id":570,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":571,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":572,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":29,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"signatures":[{"id":573,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":187,"character":29,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L187"}],"parameters":[{"id":574,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":575,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"signatures":[{"id":576,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a **one-time**"},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function for the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". The\r\nnext time "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" is triggered, this listener is removed and then invoked.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":206,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"parameters":[{"id":577,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":578,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":579,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":31,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"signatures":[{"id":580,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":206,"character":31,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L206"}],"parameters":[{"id":581,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":599,"name":"prependListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"signatures":[{"id":600,"name":"prependListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function to the _beginning_ of the listeners array for the\r\nevent named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":". No checks are made to see if the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" has\r\nalready been added. Multiple calls passing the same combination of "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":"and "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" will result in the "},{"kind":"code","text":"`listener`"},{"kind":"text","text":" being added, and called, multiple\r\ntimes.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":289,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"parameters":[{"id":601,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":602,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":603,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":42,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"signatures":[{"id":604,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":289,"character":42,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L289"}],"parameters":[{"id":605,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":606,"name":"prependOnceListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"signatures":[{"id":607,"name":"prependOnceListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a **one-time**"},{"kind":"code","text":"`listener`"},{"kind":"text","text":" function for the event named "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" to the_beginning_ of the listeners array. The next time "},{"kind":"code","text":"`eventName`"},{"kind":"text","text":" is triggered, this\r\nlistener is removed, and then invoked.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":308,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"parameters":[{"id":608,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":609,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":610,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":46,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"signatures":[{"id":611,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":308,"character":46,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L308"}],"parameters":[{"id":612,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":589,"name":"removeAllListeners","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":238,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L238"}],"signatures":[{"id":590,"name":"removeAllListeners","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Removes all listeners, or those of the specified eventName.\r\n\r\nReturns a reference to the "},{"kind":"code","text":"`EventEmitter`"},{"kind":"text","text":", so that calls can be chained."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":238,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L238"}],"parameters":[{"id":591,"name":"event","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]},{"id":561,"name":"removeListener","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"signatures":[{"id":562,"name":"removeListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Alias for "},{"kind":"code","text":"`emitter.off(eventName, listener)`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":173,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"parameters":[{"id":563,"name":"eventName","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}},{"id":564,"name":"listener","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":565,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":41,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"signatures":[{"id":566,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"shell.ts","line":173,"character":41,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L173"}],"parameters":[{"id":567,"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":546,"typeArguments":[{"type":"reference","target":-1,"name":"E","refersToTypeParameter":true}],"name":"EventEmitter","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[547]},{"title":"Methods","children":[554,596,582,568,575,599,606,589,561]}],"sources":[{"fileName":"shell.ts","line":153,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L153"}],"typeParameters":[{"id":613,"name":"E","variant":"typeParam","kind":131072,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"extendedBy":[{"type":"reference","target":457,"name":"Command"}]},{"id":618,"name":"ChildProcess","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":619,"name":"code","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Exit code of the process. "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if the process was terminated by a signal on Unix."}]},"sources":[{"fileName":"shell.ts","line":109,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L109"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"number"}]}},{"id":620,"name":"signal","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"If the process was terminated by a signal, represents that signal."}]},"sources":[{"fileName":"shell.ts","line":111,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L111"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"number"}]}},{"id":622,"name":"stderr","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The data that the process wrote to "},{"kind":"code","text":"`stderr`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"shell.ts","line":115,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L115"}],"type":{"type":"intrinsic","name":"string"}},{"id":621,"name":"stdout","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The data that the process wrote to "},{"kind":"code","text":"`stdout`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"shell.ts","line":113,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L113"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[619,620,622,621]}],"sources":[{"fileName":"shell.ts","line":107,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L107"}]},{"id":623,"name":"SpawnOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":624,"name":"cwd","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Current working directory."}]},"sources":[{"fileName":"shell.ts","line":88,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L88"}],"type":{"type":"intrinsic","name":"string"}},{"id":626,"name":"encoding","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Character encoding for stdout/stderr"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"sources":[{"fileName":"shell.ts","line":96,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L96"}],"type":{"type":"intrinsic","name":"string"}},{"id":625,"name":"env","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Environment variables. set to "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to clear the process env."}]},"sources":[{"fileName":"shell.ts","line":90,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L90"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"string"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"groups":[{"title":"Properties","children":[624,626,625]}],"sources":[{"fileName":"shell.ts","line":86,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L86"}]},{"id":614,"name":"open","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"shell.ts","line":564,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L564"}],"signatures":[{"id":615,"name":"open","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Opens a path or URL with the system's default app,\r\nor the one specified with "},{"kind":"code","text":"`openWith`"},{"kind":"text","text":".\r\n\r\nThe "},{"kind":"code","text":"`openWith`"},{"kind":"text","text":" value must be one of "},{"kind":"code","text":"`firefox`"},{"kind":"text","text":", "},{"kind":"code","text":"`google chrome`"},{"kind":"text","text":", "},{"kind":"code","text":"`chromium`"},{"kind":"text","text":" "},{"kind":"code","text":"`safari`"},{"kind":"text","text":",\r\n"},{"kind":"code","text":"`open`"},{"kind":"text","text":", "},{"kind":"code","text":"`start`"},{"kind":"text","text":", "},{"kind":"code","text":"`xdg-open`"},{"kind":"text","text":", "},{"kind":"code","text":"`gio`"},{"kind":"text","text":", "},{"kind":"code","text":"`gnome-open`"},{"kind":"text","text":", "},{"kind":"code","text":"`kde-open`"},{"kind":"text","text":" or "},{"kind":"code","text":"`wslview`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { open } from '@tauri-apps/api/shell';\r\n// opens the given URL on the default browser:\r\nawait open('https://github.com/tauri-apps/tauri');\r\n// opens the given URL using `firefox`:\r\nawait open('https://github.com/tauri-apps/tauri', 'firefox');\r\n// opens a file using the default program:\r\nawait open('/path/to/file');\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"shell.ts","line":564,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L564"}],"parameters":[{"id":616,"name":"path","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path or URL to open.\r\nThis value is matched against the string regex defined on "},{"kind":"code","text":"`tauri.conf.json > tauri > allowlist > shell > open`"},{"kind":"text","text":",\r\nwhich defaults to "},{"kind":"code","text":"`^((mailto:\\w+)|(tel:\\w+)|(https?://\\w+)).+`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":617,"name":"openWith","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The app to open the file or URL with.\r\nDefaults to the system default application for the specified path type."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Classes","children":[536,457,546]},{"title":"Interfaces","children":[618,623]},{"title":"Functions","children":[614]}],"sources":[{"fileName":"shell.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/shell.ts#L1"}]},{"id":627,"name":"tauri","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Invoke your custom commands.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.tauri`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":628,"name":"InvokeArgs","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Command arguments."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"tauri.ts","line":63,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L63"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":641,"name":"convertFileSrc","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"tauri.ts","line":129,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L129"}],"signatures":[{"id":642,"name":"convertFileSrc","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Convert a device file path to an URL that can be loaded by the webview.\r\nNote that "},{"kind":"code","text":"`asset:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`https://asset.localhost`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.security.csp`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#securityconfig.csp) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":".\r\nExample CSP value: "},{"kind":"code","text":"`\"csp\": \"default-src 'self'; img-src 'self' asset: https://asset.localhost\"`"},{"kind":"text","text":" to use the asset protocol on image sources.\r\n\r\nAdditionally, "},{"kind":"code","text":"`asset`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.allowlist.protocol`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.protocol)\r\nin "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" and its access scope must be defined on the "},{"kind":"code","text":"`assetScope`"},{"kind":"text","text":" array on the same "},{"kind":"code","text":"`protocol`"},{"kind":"text","text":" object."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appDataDir, join } from '@tauri-apps/api/path';\r\nimport { convertFileSrc } from '@tauri-apps/api/tauri';\r\nconst appDataDirPath = await appDataDir();\r\nconst filePath = await join(appDataDirPath, 'assets/video.mp4');\r\nconst assetUrl = convertFileSrc(filePath);\r\n\r\nconst video = document.getElementById('my-video');\r\nconst source = document.createElement('source');\r\nsource.type = 'video/mp4';\r\nsource.src = assetUrl;\r\nvideo.appendChild(source);\r\nvideo.load();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"the URL that can be used as source on the webview."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"tauri.ts","line":129,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L129"}],"parameters":[{"id":643,"name":"filePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file path."}]},"type":{"type":"intrinsic","name":"string"}},{"id":644,"name":"protocol","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The protocol to use. Defaults to "},{"kind":"code","text":"`asset`"},{"kind":"text","text":". You only need to set this when using a custom protocol."}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"'asset'"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":636,"name":"invoke","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"tauri.ts","line":79,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L79"}],"signatures":[{"id":637,"name":"invoke","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sends a message to the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { invoke } from '@tauri-apps/api/tauri';\r\nawait invoke('login', { user: 'tauri', password: 'poiwe3h4r5ip3yrhtew9ty' });\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving or rejecting to the backend response."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"tauri.ts","line":79,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L79"}],"typeParameter":[{"id":638,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":639,"name":"cmd","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The command name."}]},"type":{"type":"intrinsic","name":"string"}},{"id":640,"name":"args","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The optional arguments to pass to the command."}]},"type":{"type":"reference","target":628,"name":"InvokeArgs","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":629,"name":"transformCallback","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"tauri.ts","line":36,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L36"}],"signatures":[{"id":630,"name":"transformCallback","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Transforms a callback function to a string identifier that can be passed to the backend.\r\nThe backend uses the identifier to "},{"kind":"code","text":"`eval()`"},{"kind":"text","text":" the callback."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A unique identifier associated with the callback function."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"tauri.ts","line":36,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L36"}],"parameters":[{"id":631,"name":"callback","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":632,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"tauri.ts","line":37,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L37"}],"signatures":[{"id":633,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"tauri.ts","line":37,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L37"}],"parameters":[{"id":634,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":635,"name":"once","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"}],"type":{"type":"intrinsic","name":"number"}}]}],"groups":[{"title":"Type Aliases","children":[628]},{"title":"Functions","children":[641,636,629]}],"sources":[{"fileName":"tauri.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/tauri.ts#L1"}]},{"id":645,"name":"updater","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Customize the auto updater flow.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.updater`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":650,"name":"UpdateManifest","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":653,"name":"body","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"updater.ts","line":34,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L34"}],"type":{"type":"intrinsic","name":"string"}},{"id":652,"name":"date","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"updater.ts","line":33,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L33"}],"type":{"type":"intrinsic","name":"string"}},{"id":651,"name":"version","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"updater.ts","line":32,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L32"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[653,652,651]}],"sources":[{"fileName":"updater.ts","line":31,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L31"}]},{"id":654,"name":"UpdateResult","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":655,"name":"manifest","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"updater.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L41"}],"type":{"type":"reference","target":650,"name":"UpdateManifest","package":"@tauri-apps/api"}},{"id":656,"name":"shouldUpdate","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"updater.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L42"}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","children":[655,656]}],"sources":[{"fileName":"updater.ts","line":40,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L40"}]},{"id":647,"name":"UpdateStatusResult","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":648,"name":"error","variant":"declaration","kind":1024,"flags":{"isOptional":true},"sources":[{"fileName":"updater.ts","line":24,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L24"}],"type":{"type":"intrinsic","name":"string"}},{"id":649,"name":"status","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"updater.ts","line":25,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L25"}],"type":{"type":"reference","target":646,"name":"UpdateStatus","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[648,649]}],"sources":[{"fileName":"updater.ts","line":23,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L23"}]},{"id":646,"name":"UpdateStatus","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"updater.ts","line":18,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L18"}],"type":{"type":"union","types":[{"type":"literal","value":"PENDING"},{"type":"literal","value":"ERROR"},{"type":"literal","value":"DONE"},{"type":"literal","value":"UPTODATE"}]}},{"id":665,"name":"checkUpdate","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"updater.ts","line":146,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L146"}],"signatures":[{"id":666,"name":"checkUpdate","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Checks if an update is available."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { checkUpdate } from '@tauri-apps/api/updater';\r\nconst update = await checkUpdate();\r\n// now run installUpdate() if needed\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Promise resolving to the update status."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"updater.ts","line":146,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L146"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":654,"name":"UpdateResult","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":663,"name":"installUpdate","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"updater.ts","line":87,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L87"}],"signatures":[{"id":664,"name":"installUpdate","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Install the update if there's one available."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { checkUpdate, installUpdate } from '@tauri-apps/api/updater';\r\nconst update = await checkUpdate();\r\nif (update.shouldUpdate) {\r\n console.log(`Installing update ${update.manifest?.version}, ${update.manifest?.date}, ${update.manifest.body}`);\r\n await installUpdate();\r\n}\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"updater.ts","line":87,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L87"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":657,"name":"onUpdaterEvent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"updater.ts","line":63,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L63"}],"signatures":[{"id":658,"name":"onUpdaterEvent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an updater event."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { onUpdaterEvent } from \"@tauri-apps/api/updater\";\r\nconst unlisten = await onUpdaterEvent(({ error, status }) => {\r\n console.log('Updater event', error, status);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"updater.ts","line":63,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L63"}],"parameters":[{"id":659,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":660,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"updater.ts","line":64,"character":11,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L64"}],"signatures":[{"id":661,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"updater.ts","line":64,"character":11,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L64"}],"parameters":[{"id":662,"name":"status","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":647,"name":"UpdateStatusResult","package":"@tauri-apps/api"}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Interfaces","children":[650,654,647]},{"title":"Type Aliases","children":[646]},{"title":"Functions","children":[665,663,657]}],"sources":[{"fileName":"updater.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/updater.ts#L1"}]},{"id":667,"name":"window","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Provides APIs to create windows, communicate with other windows and manipulate the current window.\r\n\r\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.window`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\r\n\r\nThe APIs must be added to ["},{"kind":"code","text":"`tauri.allowlist.window`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.window) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```json\r\n{\r\n \"tauri\": {\r\n \"allowlist\": {\r\n \"window\": {\r\n \"all\": true, // enable all window APIs\r\n \"create\": true, // enable window creation\r\n \"center\": true,\r\n \"requestUserAttention\": true,\r\n \"setResizable\": true,\r\n \"setTitle\": true,\r\n \"maximize\": true,\r\n \"unmaximize\": true,\r\n \"minimize\": true,\r\n \"unminimize\": true,\r\n \"show\": true,\r\n \"hide\": true,\r\n \"close\": true,\r\n \"setDecorations\": true,\r\n \"setAlwaysOnTop\": true,\r\n \"setContentProtected\": true,\r\n \"setSize\": true,\r\n \"setMinSize\": true,\r\n \"setMaxSize\": true,\r\n \"setPosition\": true,\r\n \"setFullscreen\": true,\r\n \"setFocus\": true,\r\n \"setIcon\": true,\r\n \"setSkipTaskbar\": true,\r\n \"setCursorGrab\": true,\r\n \"setCursorVisible\": true,\r\n \"setCursorIcon\": true,\r\n \"setCursorPosition\": true,\r\n \"setIgnoreCursorEvents\": true,\r\n \"startDragging\": true,\r\n \"print\": true\r\n }\r\n }\r\n }\r\n}\r\n```"},{"kind":"text","text":"\r\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security.\r\n\r\n## Window events\r\n\r\nEvents can be listened to using "},{"kind":"code","text":"`appWindow.listen`"},{"kind":"text","text":":\r\n"},{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nappWindow.listen(\"my-window-event\", ({ event, payload }) => { });\r\n```"}]},"children":[{"id":1062,"name":"UserAttentionType","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Attention type to request on a window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1063,"name":"Critical","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\r\n- **macOS:** Bounces the dock icon until the application is in focus.\r\n- **Windows:** Flashes both the window and the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":225,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L225"}],"type":{"type":"literal","value":1}},{"id":1064,"name":"Informational","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\r\n- **macOS:** Bounces the dock icon once.\r\n- **Windows:** Flashes the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":231,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L231"}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[1063,1064]}],"sources":[{"fileName":"window.ts","line":219,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L219"}]},{"id":1007,"name":"CloseRequestedEvent","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":1008,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":1933,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1933"}],"signatures":[{"id":1009,"name":"new CloseRequestedEvent","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":1933,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1933"}],"parameters":[{"id":1010,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1119,"typeArguments":[{"type":"literal","value":null}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":1007,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}]},{"id":1014,"name":"_preventDefault","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"window.ts","line":1931,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1931"}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":1011,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"window.ts","line":1926,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1926"}],"type":{"type":"reference","target":73,"name":"EventName","package":"@tauri-apps/api"}},{"id":1013,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"window.ts","line":1930,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1930"}],"type":{"type":"intrinsic","name":"number"}},{"id":1012,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"window.ts","line":1928,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1928"}],"type":{"type":"intrinsic","name":"string"}},{"id":1017,"name":"isPreventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1943,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1943"}],"signatures":[{"id":1018,"name":"isPreventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1943,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1943"}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":1015,"name":"preventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1939,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1939"}],"signatures":[{"id":1016,"name":"preventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1939,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1939"}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Constructors","children":[1008]},{"title":"Properties","children":[1014,1011,1013,1012]},{"title":"Methods","children":[1017,1015]}],"sources":[{"fileName":"window.ts","line":1924,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1924"}]},{"id":1043,"name":"LogicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1044,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":163,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L163"}],"signatures":[{"id":1045,"name":"new LogicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":163,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L163"}],"parameters":[{"id":1046,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":1047,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1043,"name":"LogicalPosition","package":"@tauri-apps/api"}}]},{"id":1048,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":159,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L159"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":1049,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":160,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L160"}],"type":{"type":"intrinsic","name":"number"}},{"id":1050,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":161,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L161"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[1044]},{"title":"Properties","children":[1048,1049,1050]}],"sources":[{"fileName":"window.ts","line":158,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L158"}]},{"id":1024,"name":"LogicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1025,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":117,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L117"}],"signatures":[{"id":1026,"name":"new LogicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":117,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L117"}],"parameters":[{"id":1027,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":1028,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1024,"name":"LogicalSize","package":"@tauri-apps/api"}}]},{"id":1031,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":115,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L115"}],"type":{"type":"intrinsic","name":"number"}},{"id":1029,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":113,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L113"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":1030,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":114,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L114"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[1025]},{"title":"Properties","children":[1031,1029,1030]}],"sources":[{"fileName":"window.ts","line":112,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L112"}]},{"id":1051,"name":"PhysicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1052,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":179,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L179"}],"signatures":[{"id":1053,"name":"new PhysicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":179,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L179"}],"parameters":[{"id":1054,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":1055,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"}}]},{"id":1056,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":175,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L175"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":1057,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":176,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L176"}],"type":{"type":"intrinsic","name":"number"}},{"id":1058,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":177,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L177"}],"type":{"type":"intrinsic","name":"number"}},{"id":1059,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":194,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L194"}],"signatures":[{"id":1060,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical position to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst factor = await appWindow.scaleFactor();\r\nconst position = await appWindow.innerPosition();\r\nconst logical = position.toLogical(factor);\r\n```"}]}]},"sources":[{"fileName":"window.ts","line":194,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L194"}],"parameters":[{"id":1061,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1043,"name":"LogicalPosition","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[1052]},{"title":"Properties","children":[1056,1057,1058]},{"title":"Methods","children":[1059]}],"sources":[{"fileName":"window.ts","line":174,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L174"}]},{"id":1032,"name":"PhysicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1033,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":133,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L133"}],"signatures":[{"id":1034,"name":"new PhysicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":133,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L133"}],"parameters":[{"id":1035,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":1036,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}}]},{"id":1039,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":131,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L131"}],"type":{"type":"intrinsic","name":"number"}},{"id":1037,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":129,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L129"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":1038,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":130,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L130"}],"type":{"type":"intrinsic","name":"number"}},{"id":1040,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":148,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L148"}],"signatures":[{"id":1041,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical size to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst factor = await appWindow.scaleFactor();\r\nconst size = await appWindow.innerSize();\r\nconst logical = size.toLogical(factor);\r\n```"}]}]},"sources":[{"fileName":"window.ts","line":148,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L148"}],"parameters":[{"id":1042,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":1024,"name":"LogicalSize","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[1033]},{"title":"Properties","children":[1039,1037,1038]},{"title":"Methods","children":[1040]}],"sources":[{"fileName":"window.ts","line":128,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L128"}]},{"id":670,"name":"WebviewWindow","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"Create new webview windows and get a handle to existing ones.\r\n\r\nWindows are identified by a *label* a unique identifier that can be used to reference it later.\r\nIt may only contain alphanumeric characters "},{"kind":"code","text":"`a-zA-Z`"},{"kind":"text","text":" plus the following special characters "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\n// loading embedded asset:\r\nconst webview = new WebviewWindow('theUniqueLabel', {\r\n url: 'path/to/page.html'\r\n});\r\n// alternatively, load a remote URL:\r\nconst webview = new WebviewWindow('theUniqueLabel', {\r\n url: 'https://github.com/tauri-apps/tauri'\r\n});\r\n\r\nwebview.once('tauri://created', function () {\r\n // webview window successfully created\r\n});\r\nwebview.once('tauri://error', function (e) {\r\n // an error happened creating the webview window\r\n});\r\n\r\n// emit an event to the backend\r\nawait webview.emit(\"some event\", \"data\");\r\n// listen to an event from the backend\r\nconst unlisten = await webview.listen(\"event name\", e => {});\r\nunlisten();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":674,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":2001,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2001"}],"signatures":[{"id":675,"name":"new WebviewWindow","variant":"signature","kind":16384,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new WebviewWindow."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { WebviewWindow } from '@tauri-apps/api/window';\r\nconst webview = new WebviewWindow('my-label', {\r\n url: 'https://github.com/tauri-apps/tauri'\r\n});\r\nwebview.once('tauri://created', function () {\r\n // webview window successfully created\r\n});\r\nwebview.once('tauri://error', function (e) {\r\n // an error happened creating the webview window\r\n});\r\n```"},{"kind":"text","text":"\r\n\r\n*"}]},{"tag":"@returns","content":[{"kind":"text","text":"The WebviewWindow instance to communicate with the webview."}]}]},"sources":[{"fileName":"window.ts","line":2001,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2001"}],"parameters":[{"id":676,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The unique webview window label. Must be alphanumeric: "},{"kind":"code","text":"`a-zA-Z-/:_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":677,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1090,"name":"WindowOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":670,"name":"WebviewWindow","package":"@tauri-apps/api"},"overwrites":{"type":"reference","target":-1,"name":"WindowManager.constructor"}}],"overwrites":{"type":"reference","target":-1,"name":"WindowManager.constructor"}},{"id":807,"name":"label","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window label. It is a unique identifier for the window, can be used to reference it later."}]},"sources":[{"fileName":"window.ts","line":315,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L315"}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.label"}},{"id":808,"name":"listeners","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Local event listeners."}]},"sources":[{"fileName":"window.ts","line":317,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L317"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","target":1125,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.listeners"}},{"id":704,"name":"center","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":779,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L779"}],"signatures":[{"id":705,"name":"center","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Centers the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.center();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":779,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L779"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.center"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.center"}},{"id":729,"name":"close","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1080,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1080"}],"signatures":[{"id":730,"name":"close","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.close();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1080,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1080"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.close"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.close"}},{"id":819,"name":"emit","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":399,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L399"}],"signatures":[{"id":820,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend, tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.emit('window-loaded', { loggedIn: true, token: 'authToken' });\r\n```"}]}]},"sources":[{"fileName":"window.ts","line":399,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L399"}],"parameters":[{"id":821,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":822,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Event payload."}]},"type":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.emit"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.emit"}},{"id":727,"name":"hide","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1055,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1055"}],"signatures":[{"id":728,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to false."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.hide();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1055,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1055"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.hide"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.hide"}},{"id":680,"name":"innerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":469,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L469"}],"signatures":[{"id":681,"name":"innerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window's client area relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst position = await appWindow.innerPosition();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner position."}]}]},"sources":[{"fileName":"window.ts","line":469,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L469"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.innerPosition"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.innerPosition"}},{"id":684,"name":"innerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":520,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L520"}],"signatures":[{"id":685,"name":"innerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the window's client area.\r\nThe client area is the content of the window, excluding the title bar and borders."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst size = await appWindow.innerSize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner size."}]}]},"sources":[{"fileName":"window.ts","line":520,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L520"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.innerSize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.innerSize"}},{"id":694,"name":"isDecorated","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":646,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L646"}],"signatures":[{"id":695,"name":"isDecorated","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current decorated state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst decorated = await appWindow.isDecorated();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is decorated or not."}]}]},"sources":[{"fileName":"window.ts","line":646,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L646"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isDecorated"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isDecorated"}},{"id":688,"name":"isFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":571,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L571"}],"signatures":[{"id":689,"name":"isFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst fullscreen = await appWindow.isFullscreen();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]}]},"sources":[{"fileName":"window.ts","line":571,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L571"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isFullscreen"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isFullscreen"}},{"id":692,"name":"isMaximized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":621,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L621"}],"signatures":[{"id":693,"name":"isMaximized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst maximized = await appWindow.isMaximized();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is maximized or not."}]}]},"sources":[{"fileName":"window.ts","line":621,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L621"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isMaximized"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isMaximized"}},{"id":690,"name":"isMinimized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":596,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L596"}],"signatures":[{"id":691,"name":"isMinimized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current minimized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst minimized = await appWindow.isMinimized();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.3.0"}]}]},"sources":[{"fileName":"window.ts","line":596,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L596"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isMinimized"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isMinimized"}},{"id":696,"name":"isResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":671,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L671"}],"signatures":[{"id":697,"name":"isResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current resizable state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst resizable = await appWindow.isResizable();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is resizable or not."}]}]},"sources":[{"fileName":"window.ts","line":671,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L671"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isResizable"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isResizable"}},{"id":698,"name":"isVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":696,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L696"}],"signatures":[{"id":699,"name":"isVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current visible state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst visible = await appWindow.isVisible();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is visible or not."}]}]},"sources":[{"fileName":"window.ts","line":696,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L696"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isVisible"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.isVisible"}},{"id":809,"name":"listen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":344,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L344"}],"signatures":[{"id":810,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst unlisten = await appWindow.listen<string>('state-changed', (event) => {\r\n console.log(`Got error: ${payload}`);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":344,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L344"}],"typeParameter":[{"id":811,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":812,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":73,"name":"EventName","package":"@tauri-apps/api"}},{"id":813,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.listen"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.listen"}},{"id":715,"name":"maximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":905,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L905"}],"signatures":[{"id":716,"name":"maximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Maximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.maximize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":905,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L905"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.maximize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.maximize"}},{"id":721,"name":"minimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":980,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L980"}],"signatures":[{"id":722,"name":"minimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Minimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.minimize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":980,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L980"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.minimize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.minimize"}},{"id":786,"name":"onCloseRequested","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1732,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1732"}],"signatures":[{"id":787,"name":"onCloseRequested","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window close requested. Emitted when the user requests to closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nimport { confirm } from '@tauri-apps/api/dialog';\r\nconst unlisten = await appWindow.onCloseRequested(async (event) => {\r\n const confirmed = await confirm('Are you sure?');\r\n if (!confirmed) {\r\n // user did not confirm closing the window; let's prevent it\r\n event.preventDefault();\r\n }\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1732,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1732"}],"parameters":[{"id":788,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":789,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"window.ts","line":1733,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1733"}],"signatures":[{"id":790,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1733,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1733"}],"parameters":[{"id":791,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1007,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}]}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onCloseRequested"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onCloseRequested"}},{"id":801,"name":"onFileDropEvent","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1866,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1866"}],"signatures":[{"id":802,"name":"onFileDropEvent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to a file drop event.\r\nThe listener is triggered when the user hovers the selected files on the window,\r\ndrops the files or cancels the operation."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onFileDropEvent((event) => {\r\n if (event.payload.type === 'hover') {\r\n console.log('User hovering', event.payload.paths);\r\n } else if (event.payload.type === 'drop') {\r\n console.log('User dropped', event.payload.paths);\r\n } else {\r\n console.log('File drop cancelled');\r\n }\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1866,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1866"}],"parameters":[{"id":803,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":1081,"name":"FileDropEvent","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onFileDropEvent"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onFileDropEvent"}},{"id":792,"name":"onFocusChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1765,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1765"}],"signatures":[{"id":793,"name":"onFocusChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window focus change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onFocusChanged(({ payload: focused }) => {\r\n console.log('Focus changed, window is focused? ' + focused);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1765,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1765"}],"parameters":[{"id":794,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onFocusChanged"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onFocusChanged"}},{"id":798,"name":"onMenuClicked","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1835,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1835"}],"signatures":[{"id":799,"name":"onMenuClicked","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the window menu item click. The payload is the item id."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onMenuClicked(({ payload: menuId }) => {\r\n console.log('Menu clicked: ' + menuId);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1835,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1835"}],"parameters":[{"id":800,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onMenuClicked"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onMenuClicked"}},{"id":783,"name":"onMoved","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1700,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1700"}],"signatures":[{"id":784,"name":"onMoved","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window move."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onMoved(({ payload: position }) => {\r\n console.log('Window moved', position);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1700,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1700"}],"parameters":[{"id":785,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onMoved"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onMoved"}},{"id":780,"name":"onResized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1674,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1674"}],"signatures":[{"id":781,"name":"onResized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window resize."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onResized(({ payload: size }) => {\r\n console.log('Window resized', size);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1674,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1674"}],"parameters":[{"id":782,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onResized"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onResized"}},{"id":795,"name":"onScaleChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1807,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1807"}],"signatures":[{"id":796,"name":"onScaleChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window scale change. Emitted when the window's scale factor has changed.\r\nThe following user actions can cause DPI changes:\r\n- Changing the display's resolution.\r\n- Changing the display's scale factor (e.g. in Control Panel on Windows).\r\n- Moving the window to a display with a different scale factor."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onScaleChanged(({ payload }) => {\r\n console.log('Scale changed', payload.scaleFactor, payload.size);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1807,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1807"}],"parameters":[{"id":797,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":1078,"name":"ScaleFactorChanged","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onScaleChanged"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onScaleChanged"}},{"id":804,"name":"onThemeChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1916,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1916"}],"signatures":[{"id":805,"name":"onThemeChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the system theme change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from \"@tauri-apps/api/window\";\r\nconst unlisten = await appWindow.onThemeChanged(({ payload: theme }) => {\r\n console.log('New theme: ' + theme);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"sources":[{"fileName":"window.ts","line":1916,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1916"}],"parameters":[{"id":806,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":1071,"name":"Theme","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onThemeChanged"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.onThemeChanged"}},{"id":814,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":377,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L377"}],"signatures":[{"id":815,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst unlisten = await appWindow.once<null>('initialized', (event) => {\r\n console.log(`Window initialized!`);\r\n});\r\n\r\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\r\nunlisten();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\r\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":377,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L377"}],"typeParameter":[{"id":816,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":817,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":818,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":1125,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1130,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.once"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.once"}},{"id":682,"name":"outerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":494,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L494"}],"signatures":[{"id":683,"name":"outerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst position = await appWindow.outerPosition();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer position."}]}]},"sources":[{"fileName":"window.ts","line":494,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L494"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.outerPosition"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.outerPosition"}},{"id":686,"name":"outerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":546,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L546"}],"signatures":[{"id":687,"name":"outerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the entire window.\r\nThese dimensions include the title bar and borders. If you don't want that (and you usually don't), use inner_size instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst size = await appWindow.outerSize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer size."}]}]},"sources":[{"fileName":"window.ts","line":546,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L546"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.outerSize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.outerSize"}},{"id":706,"name":"requestUserAttention","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":815,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L815"}],"signatures":[{"id":707,"name":"requestUserAttention","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Requests user attention to the window, this has no effect if the application\r\nis already focused. How requesting for user attention manifests is platform dependent,\r\nsee "},{"kind":"code","text":"`UserAttentionType`"},{"kind":"text","text":" for details.\r\n\r\nProviding "},{"kind":"code","text":"`null`"},{"kind":"text","text":" will unset the request for user attention. Unsetting the request for\r\nuser attention might not be done automatically by the WM when the window receives input.\r\n\r\n#### Platform-specific\r\n\r\n- **macOS:** "},{"kind":"code","text":"`null`"},{"kind":"text","text":" has no effect.\r\n- **Linux:** Urgency levels have the same effect."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.requestUserAttention();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":815,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L815"}],"parameters":[{"id":708,"name":"requestType","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":1062,"name":"UserAttentionType","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.requestUserAttention"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.requestUserAttention"}},{"id":678,"name":"scaleFactor","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":444,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L444"}],"signatures":[{"id":679,"name":"scaleFactor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst factor = await appWindow.scaleFactor();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's monitor scale factor."}]}]},"sources":[{"fileName":"window.ts","line":444,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L444"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.scaleFactor"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.scaleFactor"}},{"id":734,"name":"setAlwaysOnTop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1133,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1133"}],"signatures":[{"id":735,"name":"setAlwaysOnTop","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setAlwaysOnTop(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1133,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1133"}],"parameters":[{"id":736,"name":"alwaysOnTop","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setAlwaysOnTop"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setAlwaysOnTop"}},{"id":737,"name":"setContentProtected","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1161,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1161"}],"signatures":[{"id":738,"name":"setContentProtected","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setContentProtected(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"window.ts","line":1161,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1161"}],"parameters":[{"id":739,"name":"protected_","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setContentProtected"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setContentProtected"}},{"id":763,"name":"setCursorGrab","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1481,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1481"}],"signatures":[{"id":764,"name":"setCursorGrab","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Grabs the cursor, preventing it from leaving the window.\r\n\r\nThere's no guarantee that the cursor will be hidden. You should\r\nhide it by yourself if you want so.\r\n\r\n#### Platform-specific\r\n\r\n- **Linux:** Unsupported.\r\n- **macOS:** This locks the cursor in a fixed location, which looks visually awkward."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setCursorGrab(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1481,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1481"}],"parameters":[{"id":765,"name":"grab","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to grab the cursor icon, "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to release it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorGrab"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorGrab"}},{"id":769,"name":"setCursorIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1541,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1541"}],"signatures":[{"id":770,"name":"setCursorIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor icon of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setCursorIcon('help');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1541,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1541"}],"parameters":[{"id":771,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor icon."}]},"type":{"type":"reference","target":668,"name":"CursorIcon","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorIcon"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorIcon"}},{"id":772,"name":"setCursorPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1568,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1568"}],"signatures":[{"id":773,"name":"setCursorPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the position of the cursor in window coordinates."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow, LogicalPosition } from '@tauri-apps/api/window';\r\nawait appWindow.setCursorPosition(new LogicalPosition(600, 300));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1568,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1568"}],"parameters":[{"id":774,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor position."}]},"type":{"type":"union","types":[{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":1043,"name":"LogicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorPosition"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorPosition"}},{"id":766,"name":"setCursorVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1514,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1514"}],"signatures":[{"id":767,"name":"setCursorVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor's visibility.\r\n\r\n#### Platform-specific\r\n\r\n- **Windows:** The cursor is only hidden within the confines of the window.\r\n- **macOS:** The cursor is hidden as long as the window has input focus, even if the cursor is\r\n outside of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setCursorVisible(false);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1514,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1514"}],"parameters":[{"id":768,"name":"visible","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`false`"},{"kind":"text","text":", this will hide the cursor. If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", this will show the cursor."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorVisible"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setCursorVisible"}},{"id":731,"name":"setDecorations","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1106,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1106"}],"signatures":[{"id":732,"name":"setDecorations","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setDecorations(false);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1106,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1106"}],"parameters":[{"id":733,"name":"decorations","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setDecorations"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setDecorations"}},{"id":755,"name":"setFocus","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1379,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1379"}],"signatures":[{"id":756,"name":"setFocus","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Bring the window to front and focus."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setFocus();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1379,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1379"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setFocus"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setFocus"}},{"id":752,"name":"setFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1353,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1353"}],"signatures":[{"id":753,"name":"setFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setFullscreen(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1353,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1353"}],"parameters":[{"id":754,"name":"fullscreen","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should go to fullscreen or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setFullscreen"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setFullscreen"}},{"id":757,"name":"setIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1412,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1412"}],"signatures":[{"id":758,"name":"setIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window icon."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setIcon('/tauri/awesome.png');\r\n```"},{"kind":"text","text":"\r\n\r\nNote that you need the "},{"kind":"code","text":"`icon-ico`"},{"kind":"text","text":" or "},{"kind":"code","text":"`icon-png`"},{"kind":"text","text":" Cargo features to use this API.\r\nTo enable it, change your Cargo.toml file:\r\n"},{"kind":"code","text":"```toml\r\n[dependencies]\r\ntauri = { version = \"...\", features = [\"...\", \"icon-png\"] }\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1412,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1412"}],"parameters":[{"id":759,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Icon bytes or path to the icon file."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setIcon"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setIcon"}},{"id":775,"name":"setIgnoreCursorEvents","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1612,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1612"}],"signatures":[{"id":776,"name":"setIgnoreCursorEvents","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the cursor events behavior."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setIgnoreCursorEvents(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1612,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1612"}],"parameters":[{"id":777,"name":"ignore","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to ignore the cursor events; "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to process them as usual."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setIgnoreCursorEvents"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setIgnoreCursorEvents"}},{"id":746,"name":"setMaxSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1268,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1268"}],"signatures":[{"id":747,"name":"setMaxSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window maximum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is undefined, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow, LogicalSize } from '@tauri-apps/api/window';\r\nawait appWindow.setMaxSize(new LogicalSize(600, 500));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1268,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1268"}],"parameters":[{"id":748,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"},{"type":"reference","target":1024,"name":"LogicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setMaxSize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setMaxSize"}},{"id":743,"name":"setMinSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1226,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1226"}],"signatures":[{"id":744,"name":"setMinSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window minimum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is not provided, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow, PhysicalSize } from '@tauri-apps/api/window';\r\nawait appWindow.setMinSize(new PhysicalSize(600, 500));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1226,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1226"}],"parameters":[{"id":745,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"},{"type":"reference","target":1024,"name":"LogicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setMinSize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setMinSize"}},{"id":749,"name":"setPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1310,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1310"}],"signatures":[{"id":750,"name":"setPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window outer position."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow, LogicalPosition } from '@tauri-apps/api/window';\r\nawait appWindow.setPosition(new LogicalPosition(600, 500));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1310,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1310"}],"parameters":[{"id":751,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new position, in logical or physical pixels."}]},"type":{"type":"union","types":[{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":1043,"name":"LogicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setPosition"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setPosition"}},{"id":709,"name":"setResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":852,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L852"}],"signatures":[{"id":710,"name":"setResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Updates the window resizable flag."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setResizable(false);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":852,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L852"}],"parameters":[{"id":711,"name":"resizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setResizable"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setResizable"}},{"id":740,"name":"setSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1188,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1188"}],"signatures":[{"id":741,"name":"setSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resizes the window with a new inner size."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow, LogicalSize } from '@tauri-apps/api/window';\r\nawait appWindow.setSize(new LogicalSize(600, 500));\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1188,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1188"}],"parameters":[{"id":742,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size."}]},"type":{"type":"union","types":[{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"},{"type":"reference","target":1024,"name":"LogicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setSize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setSize"}},{"id":760,"name":"setSkipTaskbar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1446,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1446"}],"signatures":[{"id":761,"name":"setSkipTaskbar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window icon should be hidden from the taskbar or not.\r\n\r\n#### Platform-specific\r\n\r\n- **macOS:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setSkipTaskbar(true);\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1446,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1446"}],"parameters":[{"id":762,"name":"skip","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"true to hide window icon, false to show it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setSkipTaskbar"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setSkipTaskbar"}},{"id":712,"name":"setTitle","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":879,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L879"}],"signatures":[{"id":713,"name":"setTitle","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.setTitle('Tauri');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":879,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L879"}],"parameters":[{"id":714,"name":"title","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new title"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setTitle"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.setTitle"}},{"id":725,"name":"show","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1030,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1030"}],"signatures":[{"id":726,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to true."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.show();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1030,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1030"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.show"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.show"}},{"id":778,"name":"startDragging","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1638,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1638"}],"signatures":[{"id":779,"name":"startDragging","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Starts dragging the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.startDragging();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1638,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1638"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.startDragging"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.startDragging"}},{"id":702,"name":"theme","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":751,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L751"}],"signatures":[{"id":703,"name":"theme","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current theme.\r\n\r\n#### Platform-specific\r\n\r\n- **macOS:** Theme was introduced on macOS 10.14. Returns "},{"kind":"code","text":"`light`"},{"kind":"text","text":" on macOS 10.13 and below."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst theme = await appWindow.theme();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window theme."}]}]},"sources":[{"fileName":"window.ts","line":751,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L751"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":1071,"name":"Theme","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.theme"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.theme"}},{"id":700,"name":"title","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":721,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L721"}],"signatures":[{"id":701,"name":"title","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nconst title = await appWindow.title();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.3.0"}]}]},"sources":[{"fileName":"window.ts","line":721,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L721"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.title"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.title"}},{"id":719,"name":"toggleMaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":955,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L955"}],"signatures":[{"id":720,"name":"toggleMaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Toggles the window maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.toggleMaximize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":955,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L955"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.toggleMaximize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.toggleMaximize"}},{"id":717,"name":"unmaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":930,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L930"}],"signatures":[{"id":718,"name":"unmaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unmaximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.unmaximize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":930,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L930"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.unmaximize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.unmaximize"}},{"id":723,"name":"unminimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1005,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1005"}],"signatures":[{"id":724,"name":"unminimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unminimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { appWindow } from '@tauri-apps/api/window';\r\nawait appWindow.unminimize();\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1005,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1005"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"},"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.unminimize"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"WindowManager.unminimize"}},{"id":671,"name":"getByLabel","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":2033,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2033"}],"signatures":[{"id":672,"name":"getByLabel","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the WebviewWindow for the webview associated with the given label."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { WebviewWindow } from '@tauri-apps/api/window';\r\nconst mainWindow = WebviewWindow.getByLabel('main');\r\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The WebviewWindow instance to communicate with the webview or null if the webview doesn't exist."}]}]},"sources":[{"fileName":"window.ts","line":2033,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2033"}],"parameters":[{"id":673,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The webview window label."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":670,"name":"WebviewWindow","package":"@tauri-apps/api"}]}}]}],"groups":[{"title":"Constructors","children":[674]},{"title":"Properties","children":[807,808]},{"title":"Methods","children":[704,729,819,727,680,684,694,688,692,690,696,698,809,715,721,786,801,792,798,783,780,795,804,814,682,686,706,678,734,737,763,769,772,766,731,755,752,757,775,746,743,749,709,740,760,712,725,778,702,700,719,717,723,671]}],"sources":[{"fileName":"window.ts","line":1981,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1981"}],"extendedTypes":[{"type":"reference","target":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager"},"name":"WindowManager","package":"@tauri-apps/api"}]},{"id":1073,"name":"Monitor","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Allows you to retrieve information about a given monitor."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1074,"name":"name","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Human-readable name of the monitor"}]},"sources":[{"fileName":"window.ts","line":80,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L80"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]}},{"id":1076,"name":"position","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"the Top-left corner position of the monitor relative to the larger full screen area."}]},"sources":[{"fileName":"window.ts","line":84,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L84"}],"type":{"type":"reference","target":1051,"name":"PhysicalPosition","package":"@tauri-apps/api"}},{"id":1077,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}]},"sources":[{"fileName":"window.ts","line":86,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L86"}],"type":{"type":"intrinsic","name":"number"}},{"id":1075,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The monitor's resolution."}]},"sources":[{"fileName":"window.ts","line":82,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L82"}],"type":{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[1074,1076,1077,1075]}],"sources":[{"fileName":"window.ts","line":78,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L78"}]},{"id":1078,"name":"ScaleFactorChanged","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The payload for the "},{"kind":"code","text":"`scaleChange`"},{"kind":"text","text":" event."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":1079,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window scale factor."}]},"sources":[{"fileName":"window.ts","line":96,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L96"}],"type":{"type":"intrinsic","name":"number"}},{"id":1080,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window size"}]},"sources":[{"fileName":"window.ts","line":98,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L98"}],"type":{"type":"reference","target":1032,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[1079,1080]}],"sources":[{"fileName":"window.ts","line":94,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L94"}]},{"id":1090,"name":"WindowOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Configuration for the window to create."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":1116,"name":"acceptFirstMouse","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether clicking an inactive window also clicks through to the webview on macOS."}]},"sources":[{"fileName":"window.ts","line":2143,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2143"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1109,"name":"alwaysOnTop","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"sources":[{"fileName":"window.ts","line":2115,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2115"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1092,"name":"center","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Show window in the center of the screen.."}]},"sources":[{"fileName":"window.ts","line":2077,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2077"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1110,"name":"contentProtected","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}]},"sources":[{"fileName":"window.ts","line":2117,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2117"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1108,"name":"decorations","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars or not."}]},"sources":[{"fileName":"window.ts","line":2113,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2113"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1112,"name":"fileDropEnabled","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the file drop is enabled or not on the webview. By default it is enabled.\r\n\r\nDisabling it is required to use drag and drop on the frontend on Windows."}]},"sources":[{"fileName":"window.ts","line":2125,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2125"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1104,"name":"focus","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window will be initially focused or not."}]},"sources":[{"fileName":"window.ts","line":2101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2101"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1103,"name":"fullscreen","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]},"sources":[{"fileName":"window.ts","line":2099,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2099"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1096,"name":"height","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial height."}]},"sources":[{"fileName":"window.ts","line":2085,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2085"}],"type":{"type":"intrinsic","name":"number"}},{"id":1115,"name":"hiddenTitle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", sets the window title to be hidden on macOS."}]},"sources":[{"fileName":"window.ts","line":2139,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2139"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1100,"name":"maxHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum height. Only applies if "},{"kind":"code","text":"`maxWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2093,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2093"}],"type":{"type":"intrinsic","name":"number"}},{"id":1099,"name":"maxWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum width. Only applies if "},{"kind":"code","text":"`maxHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2091,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2091"}],"type":{"type":"intrinsic","name":"number"}},{"id":1106,"name":"maximized","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be maximized upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2109,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2109"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1098,"name":"minHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum height. Only applies if "},{"kind":"code","text":"`minWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2089,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2089"}],"type":{"type":"intrinsic","name":"number"}},{"id":1097,"name":"minWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum width. Only applies if "},{"kind":"code","text":"`minHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2087,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2087"}],"type":{"type":"intrinsic","name":"number"}},{"id":1101,"name":"resizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is resizable or not."}]},"sources":[{"fileName":"window.ts","line":2095,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2095"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1111,"name":"skipTaskbar","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window icon should be added to the taskbar."}]},"sources":[{"fileName":"window.ts","line":2119,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2119"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1117,"name":"tabbingIdentifier","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Defines the window [tabbing identifier](https://developer.apple.com/documentation/appkit/nswindow/1644704-tabbingidentifier) on macOS.\r\n\r\nWindows with the same tabbing identifier will be grouped together.\r\nIf the tabbing identifier is not set, automatic tabbing will be disabled."}]},"sources":[{"fileName":"window.ts","line":2150,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2150"}],"type":{"type":"intrinsic","name":"string"}},{"id":1113,"name":"theme","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial window theme. Defaults to the system theme.\r\n\r\nOnly implemented on Windows and macOS 10.14+."}]},"sources":[{"fileName":"window.ts","line":2131,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2131"}],"type":{"type":"reference","target":1071,"name":"Theme","package":"@tauri-apps/api"}},{"id":1102,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window title."}]},"sources":[{"fileName":"window.ts","line":2097,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2097"}],"type":{"type":"intrinsic","name":"string"}},{"id":1114,"name":"titleBarStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The style of the macOS title bar."}]},"sources":[{"fileName":"window.ts","line":2135,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2135"}],"type":{"type":"reference","target":1072,"name":"TitleBarStyle","package":"@tauri-apps/api"}},{"id":1105,"name":"transparent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is transparent or not.\r\nNote that on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" this requires the "},{"kind":"code","text":"`macos-private-api`"},{"kind":"text","text":" feature flag, enabled under "},{"kind":"code","text":"`tauri.conf.json > tauri > macOSPrivateApi`"},{"kind":"text","text":".\r\nWARNING: Using private APIs on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" prevents your application from being accepted to the "},{"kind":"code","text":"`App Store`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2107,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2107"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1091,"name":"url","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Remote URL or local file path to open.\r\n\r\n- URL such as "},{"kind":"code","text":"`https://github.com/tauri-apps`"},{"kind":"text","text":" is opened directly on a Tauri window.\r\n- data: URL such as "},{"kind":"code","text":"`data:text/html,<html>...`"},{"kind":"text","text":" is only supported with the "},{"kind":"code","text":"`window-data-url`"},{"kind":"text","text":" Cargo feature for the "},{"kind":"code","text":"`tauri`"},{"kind":"text","text":" dependency.\r\n- local file path or route such as "},{"kind":"code","text":"`/path/to/page.html`"},{"kind":"text","text":" or "},{"kind":"code","text":"`/users`"},{"kind":"text","text":" is appended to the application URL (the devServer URL on development, or "},{"kind":"code","text":"`tauri://localhost/`"},{"kind":"text","text":" and "},{"kind":"code","text":"`https://tauri.localhost/`"},{"kind":"text","text":" on production)."}]},"sources":[{"fileName":"window.ts","line":2075,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2075"}],"type":{"type":"intrinsic","name":"string"}},{"id":1118,"name":"userAgent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The user agent for the webview."}]},"sources":[{"fileName":"window.ts","line":2154,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2154"}],"type":{"type":"intrinsic","name":"string"}},{"id":1107,"name":"visible","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be immediately visible upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2111,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2111"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":1095,"name":"width","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial width."}]},"sources":[{"fileName":"window.ts","line":2083,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2083"}],"type":{"type":"intrinsic","name":"number"}},{"id":1093,"name":"x","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial vertical position. Only applies if "},{"kind":"code","text":"`y`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2079,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2079"}],"type":{"type":"intrinsic","name":"number"}},{"id":1094,"name":"y","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial horizontal position. Only applies if "},{"kind":"code","text":"`x`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":2081,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2081"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[1116,1109,1092,1110,1108,1112,1104,1103,1096,1115,1100,1099,1106,1098,1097,1101,1111,1117,1113,1102,1114,1105,1091,1118,1107,1095,1093,1094]}],"sources":[{"fileName":"window.ts","line":2067,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2067"}]},{"id":668,"name":"CursorIcon","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":234,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L234"}],"type":{"type":"union","types":[{"type":"literal","value":"default"},{"type":"literal","value":"crosshair"},{"type":"literal","value":"hand"},{"type":"literal","value":"arrow"},{"type":"literal","value":"move"},{"type":"literal","value":"text"},{"type":"literal","value":"wait"},{"type":"literal","value":"help"},{"type":"literal","value":"progress"},{"type":"literal","value":"notAllowed"},{"type":"literal","value":"contextMenu"},{"type":"literal","value":"cell"},{"type":"literal","value":"verticalText"},{"type":"literal","value":"alias"},{"type":"literal","value":"copy"},{"type":"literal","value":"noDrop"},{"type":"literal","value":"grab"},{"type":"literal","value":"grabbing"},{"type":"literal","value":"allScroll"},{"type":"literal","value":"zoomIn"},{"type":"literal","value":"zoomOut"},{"type":"literal","value":"eResize"},{"type":"literal","value":"nResize"},{"type":"literal","value":"neResize"},{"type":"literal","value":"nwResize"},{"type":"literal","value":"sResize"},{"type":"literal","value":"seResize"},{"type":"literal","value":"swResize"},{"type":"literal","value":"wResize"},{"type":"literal","value":"ewResize"},{"type":"literal","value":"nsResize"},{"type":"literal","value":"neswResize"},{"type":"literal","value":"nwseResize"},{"type":"literal","value":"colResize"},{"type":"literal","value":"rowResize"}]}},{"id":1081,"name":"FileDropEvent","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file drop event types."}]},"sources":[{"fileName":"window.ts","line":102,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L102"}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":1082,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":1084,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":103,"character":21,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L103"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":1083,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":103,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L103"}],"type":{"type":"literal","value":"hover"}}],"groups":[{"title":"Properties","children":[1084,1083]}],"sources":[{"fileName":"window.ts","line":103,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L103"}]}},{"type":"reflection","declaration":{"id":1085,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":1087,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":104,"character":20,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L104"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":1086,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":104,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L104"}],"type":{"type":"literal","value":"drop"}}],"groups":[{"title":"Properties","children":[1087,1086]}],"sources":[{"fileName":"window.ts","line":104,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L104"}]}},{"type":"reflection","declaration":{"id":1088,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":1089,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L105"}],"type":{"type":"literal","value":"cancel"}}],"groups":[{"title":"Properties","children":[1089]}],"sources":[{"fileName":"window.ts","line":105,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L105"}]}}]}},{"id":1071,"name":"Theme","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":70,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L70"}],"type":{"type":"union","types":[{"type":"literal","value":"light"},{"type":"literal","value":"dark"}]}},{"id":1072,"name":"TitleBarStyle","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":71,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L71"}],"type":{"type":"union","types":[{"type":"literal","value":"visible"},{"type":"literal","value":"transparent"},{"type":"literal","value":"overlay"}]}},{"id":1023,"name":"appWindow","variant":"declaration","kind":32,"flags":{},"comment":{"summary":[{"kind":"text","text":"The WebviewWindow for the current window."}]},"sources":[{"fileName":"window.ts","line":2043,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2043"}],"type":{"type":"reference","target":670,"name":"WebviewWindow","package":"@tauri-apps/api"}},{"id":1069,"name":"availableMonitors","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2236,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2236"}],"signatures":[{"id":1070,"name":"availableMonitors","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the list of all the monitors available on the system."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { availableMonitors } from '@tauri-apps/api/window';\r\nconst monitors = availableMonitors();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2236,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2236"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"array","elementType":{"type":"reference","target":1073,"name":"Monitor","package":"@tauri-apps/api"}}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":1065,"name":"currentMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2187,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2187"}],"signatures":[{"id":1066,"name":"currentMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the monitor on which the window currently resides.\r\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if current monitor can't be detected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { currentMonitor } from '@tauri-apps/api/window';\r\nconst monitor = currentMonitor();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2187,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2187"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":1073,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":1021,"name":"getAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":292,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L292"}],"signatures":[{"id":1022,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`WebviewWindow`"},{"kind":"text","text":" for all available webview windows."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":292,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L292"}],"type":{"type":"array","elementType":{"type":"reference","target":670,"name":"WebviewWindow","package":"@tauri-apps/api"}}}]},{"id":1019,"name":"getCurrent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":280,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L280"}],"signatures":[{"id":1020,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`WebviewWindow`"},{"kind":"text","text":" for the current webview window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":280,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L280"}],"type":{"type":"reference","target":670,"name":"WebviewWindow","package":"@tauri-apps/api"}}]},{"id":1067,"name":"primaryMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2212,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2212"}],"signatures":[{"id":1068,"name":"primaryMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the primary monitor of the system.\r\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if it can't identify any monitor as a primary one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\r\nimport { primaryMonitor } from '@tauri-apps/api/window';\r\nconst monitor = primaryMonitor();\r\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2212,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L2212"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":1073,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[1062]},{"title":"Classes","children":[1007,1043,1024,1051,1032,670]},{"title":"Interfaces","children":[1073,1078,1090]},{"title":"Type Aliases","children":[668,1081,1071,1072]},{"title":"Variables","children":[1023]},{"title":"Functions","children":[1069,1065,1021,1019,1067]}],"sources":[{"fileName":"window.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/b257bebf/tooling/api/src/window.ts#L1"}]}],"groups":[{"title":"Modules","children":[1,12,24,30,72,107,206,227,332,346,359,374,450,456,627,645,667]}],"packageName":"@tauri-apps/api","symbolIdMap":{"1":{"sourceFileName":"src/app.ts","qualifiedName":""},"2":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"3":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"4":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"5":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"6":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"7":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"8":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"9":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"10":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"11":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"12":{"sourceFileName":"src/cli.ts","qualifiedName":""},"13":{"sourceFileName":"src/cli.ts","qualifiedName":"ArgMatch"},"14":{"sourceFileName":"src/cli.ts","qualifiedName":"ArgMatch.value"},"15":{"sourceFileName":"src/cli.ts","qualifiedName":"ArgMatch.occurrences"},"16":{"sourceFileName":"src/cli.ts","qualifiedName":"SubcommandMatch"},"17":{"sourceFileName":"src/cli.ts","qualifiedName":"SubcommandMatch.name"},"18":{"sourceFileName":"src/cli.ts","qualifiedName":"SubcommandMatch.matches"},"19":{"sourceFileName":"src/cli.ts","qualifiedName":"CliMatches"},"20":{"sourceFileName":"src/cli.ts","qualifiedName":"CliMatches.args"},"21":{"sourceFileName":"src/cli.ts","qualifiedName":"CliMatches.subcommand"},"22":{"sourceFileName":"src/cli.ts","qualifiedName":"getMatches"},"23":{"sourceFileName":"src/cli.ts","qualifiedName":"getMatches"},"24":{"sourceFileName":"src/clipboard.ts","qualifiedName":""},"25":{"sourceFileName":"src/clipboard.ts","qualifiedName":"writeText"},"26":{"sourceFileName":"src/clipboard.ts","qualifiedName":"writeText"},"27":{"sourceFileName":"src/clipboard.ts","qualifiedName":"text"},"28":{"sourceFileName":"src/clipboard.ts","qualifiedName":"readText"},"29":{"sourceFileName":"src/clipboard.ts","qualifiedName":"readText"},"30":{"sourceFileName":"src/dialog.ts","qualifiedName":""},"31":{"sourceFileName":"src/dialog.ts","qualifiedName":"DialogFilter"},"32":{"sourceFileName":"src/dialog.ts","qualifiedName":"DialogFilter.name"},"33":{"sourceFileName":"src/dialog.ts","qualifiedName":"DialogFilter.extensions"},"34":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions"},"35":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.title"},"36":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.filters"},"37":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.defaultPath"},"38":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.multiple"},"39":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.directory"},"40":{"sourceFileName":"src/dialog.ts","qualifiedName":"OpenDialogOptions.recursive"},"41":{"sourceFileName":"src/dialog.ts","qualifiedName":"SaveDialogOptions"},"42":{"sourceFileName":"src/dialog.ts","qualifiedName":"SaveDialogOptions.title"},"43":{"sourceFileName":"src/dialog.ts","qualifiedName":"SaveDialogOptions.filters"},"44":{"sourceFileName":"src/dialog.ts","qualifiedName":"SaveDialogOptions.defaultPath"},"45":{"sourceFileName":"src/dialog.ts","qualifiedName":"MessageDialogOptions"},"46":{"sourceFileName":"src/dialog.ts","qualifiedName":"MessageDialogOptions.title"},"47":{"sourceFileName":"src/dialog.ts","qualifiedName":"MessageDialogOptions.type"},"48":{"sourceFileName":"src/dialog.ts","qualifiedName":"MessageDialogOptions.okLabel"},"49":{"sourceFileName":"src/dialog.ts","qualifiedName":"ConfirmDialogOptions"},"50":{"sourceFileName":"src/dialog.ts","qualifiedName":"ConfirmDialogOptions.title"},"51":{"sourceFileName":"src/dialog.ts","qualifiedName":"ConfirmDialogOptions.type"},"52":{"sourceFileName":"src/dialog.ts","qualifiedName":"ConfirmDialogOptions.okLabel"},"53":{"sourceFileName":"src/dialog.ts","qualifiedName":"ConfirmDialogOptions.cancelLabel"},"54":{"sourceFileName":"src/dialog.ts","qualifiedName":"open"},"55":{"sourceFileName":"src/dialog.ts","qualifiedName":"open"},"56":{"sourceFileName":"src/dialog.ts","qualifiedName":"options"},"57":{"sourceFileName":"src/dialog.ts","qualifiedName":"save"},"58":{"sourceFileName":"src/dialog.ts","qualifiedName":"save"},"59":{"sourceFileName":"src/dialog.ts","qualifiedName":"options"},"60":{"sourceFileName":"src/dialog.ts","qualifiedName":"message"},"61":{"sourceFileName":"src/dialog.ts","qualifiedName":"message"},"62":{"sourceFileName":"src/dialog.ts","qualifiedName":"message"},"63":{"sourceFileName":"src/dialog.ts","qualifiedName":"options"},"64":{"sourceFileName":"src/dialog.ts","qualifiedName":"ask"},"65":{"sourceFileName":"src/dialog.ts","qualifiedName":"ask"},"66":{"sourceFileName":"src/dialog.ts","qualifiedName":"message"},"67":{"sourceFileName":"src/dialog.ts","qualifiedName":"options"},"68":{"sourceFileName":"src/dialog.ts","qualifiedName":"confirm"},"69":{"sourceFileName":"src/dialog.ts","qualifiedName":"confirm"},"70":{"sourceFileName":"src/dialog.ts","qualifiedName":"message"},"71":{"sourceFileName":"src/dialog.ts","qualifiedName":"options"},"72":{"sourceFileName":"src/event.ts","qualifiedName":""},"73":{"sourceFileName":"src/event.ts","qualifiedName":"EventName"},"74":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent"},"75":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_RESIZED"},"76":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_MOVED"},"77":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CLOSE_REQUESTED"},"78":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CREATED"},"79":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_DESTROYED"},"80":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FOCUS"},"81":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_BLUR"},"82":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_SCALE_FACTOR_CHANGED"},"83":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_THEME_CHANGED"},"84":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP"},"85":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_HOVER"},"86":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_CANCELLED"},"87":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.MENU"},"88":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.CHECK_UPDATE"},"89":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.UPDATE_AVAILABLE"},"90":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.INSTALL_UPDATE"},"91":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.STATUS_UPDATE"},"92":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.DOWNLOAD_PROGRESS"},"93":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"94":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"95":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"96":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"97":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"98":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"99":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"100":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"101":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"102":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"103":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"104":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"105":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"106":{"sourceFileName":"src/event.ts","qualifiedName":"payload"},"107":{"sourceFileName":"src/fs.ts","qualifiedName":""},"108":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory"},"109":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Audio"},"110":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Cache"},"111":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Config"},"112":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Data"},"113":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.LocalData"},"114":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Desktop"},"115":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Document"},"116":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Download"},"117":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Executable"},"118":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Font"},"119":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Home"},"120":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Picture"},"121":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Public"},"122":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Runtime"},"123":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Template"},"124":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Video"},"125":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Resource"},"126":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.App"},"127":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Log"},"128":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.Temp"},"129":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.AppConfig"},"130":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.AppData"},"131":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.AppLocalData"},"132":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.AppCache"},"133":{"sourceFileName":"src/fs.ts","qualifiedName":"BaseDirectory.AppLog"},"134":{"sourceFileName":"src/fs.ts","qualifiedName":"FsOptions"},"135":{"sourceFileName":"src/fs.ts","qualifiedName":"FsOptions.dir"},"136":{"sourceFileName":"src/fs.ts","qualifiedName":"FsDirOptions"},"137":{"sourceFileName":"src/fs.ts","qualifiedName":"FsDirOptions.dir"},"138":{"sourceFileName":"src/fs.ts","qualifiedName":"FsDirOptions.recursive"},"139":{"sourceFileName":"src/fs.ts","qualifiedName":"FsTextFileOption"},"140":{"sourceFileName":"src/fs.ts","qualifiedName":"FsTextFileOption.path"},"141":{"sourceFileName":"src/fs.ts","qualifiedName":"FsTextFileOption.contents"},"142":{"sourceFileName":"src/fs.ts","qualifiedName":"BinaryFileContents"},"143":{"sourceFileName":"src/fs.ts","qualifiedName":"FsBinaryFileOption"},"144":{"sourceFileName":"src/fs.ts","qualifiedName":"FsBinaryFileOption.path"},"145":{"sourceFileName":"src/fs.ts","qualifiedName":"FsBinaryFileOption.contents"},"146":{"sourceFileName":"src/fs.ts","qualifiedName":"FileEntry"},"147":{"sourceFileName":"src/fs.ts","qualifiedName":"FileEntry.path"},"148":{"sourceFileName":"src/fs.ts","qualifiedName":"FileEntry.name"},"149":{"sourceFileName":"src/fs.ts","qualifiedName":"FileEntry.children"},"150":{"sourceFileName":"src/fs.ts","qualifiedName":"Dir"},"151":{"sourceFileName":"src/fs.ts","qualifiedName":"readTextFile"},"152":{"sourceFileName":"src/fs.ts","qualifiedName":"readTextFile"},"153":{"sourceFileName":"src/fs.ts","qualifiedName":"filePath"},"154":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"155":{"sourceFileName":"src/fs.ts","qualifiedName":"readBinaryFile"},"156":{"sourceFileName":"src/fs.ts","qualifiedName":"readBinaryFile"},"157":{"sourceFileName":"src/fs.ts","qualifiedName":"filePath"},"158":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"159":{"sourceFileName":"src/fs.ts","qualifiedName":"writeTextFile"},"160":{"sourceFileName":"src/fs.ts","qualifiedName":"writeTextFile"},"161":{"sourceFileName":"src/fs.ts","qualifiedName":"path"},"162":{"sourceFileName":"src/fs.ts","qualifiedName":"contents"},"163":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"164":{"sourceFileName":"src/fs.ts","qualifiedName":"writeTextFile"},"165":{"sourceFileName":"src/fs.ts","qualifiedName":"file"},"166":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"167":{"sourceFileName":"src/fs.ts","qualifiedName":"writeFile"},"168":{"sourceFileName":"src/fs.ts","qualifiedName":"writeBinaryFile"},"169":{"sourceFileName":"src/fs.ts","qualifiedName":"writeBinaryFile"},"170":{"sourceFileName":"src/fs.ts","qualifiedName":"path"},"171":{"sourceFileName":"src/fs.ts","qualifiedName":"contents"},"172":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"173":{"sourceFileName":"src/fs.ts","qualifiedName":"writeBinaryFile"},"174":{"sourceFileName":"src/fs.ts","qualifiedName":"file"},"175":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"176":{"sourceFileName":"src/fs.ts","qualifiedName":"readDir"},"177":{"sourceFileName":"src/fs.ts","qualifiedName":"readDir"},"178":{"sourceFileName":"src/fs.ts","qualifiedName":"dir"},"179":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"180":{"sourceFileName":"src/fs.ts","qualifiedName":"createDir"},"181":{"sourceFileName":"src/fs.ts","qualifiedName":"createDir"},"182":{"sourceFileName":"src/fs.ts","qualifiedName":"dir"},"183":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"184":{"sourceFileName":"src/fs.ts","qualifiedName":"removeDir"},"185":{"sourceFileName":"src/fs.ts","qualifiedName":"removeDir"},"186":{"sourceFileName":"src/fs.ts","qualifiedName":"dir"},"187":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"188":{"sourceFileName":"src/fs.ts","qualifiedName":"copyFile"},"189":{"sourceFileName":"src/fs.ts","qualifiedName":"copyFile"},"190":{"sourceFileName":"src/fs.ts","qualifiedName":"source"},"191":{"sourceFileName":"src/fs.ts","qualifiedName":"destination"},"192":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"193":{"sourceFileName":"src/fs.ts","qualifiedName":"removeFile"},"194":{"sourceFileName":"src/fs.ts","qualifiedName":"removeFile"},"195":{"sourceFileName":"src/fs.ts","qualifiedName":"file"},"196":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"197":{"sourceFileName":"src/fs.ts","qualifiedName":"renameFile"},"198":{"sourceFileName":"src/fs.ts","qualifiedName":"renameFile"},"199":{"sourceFileName":"src/fs.ts","qualifiedName":"oldPath"},"200":{"sourceFileName":"src/fs.ts","qualifiedName":"newPath"},"201":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"202":{"sourceFileName":"src/fs.ts","qualifiedName":"exists"},"203":{"sourceFileName":"src/fs.ts","qualifiedName":"exists"},"204":{"sourceFileName":"src/fs.ts","qualifiedName":"path"},"205":{"sourceFileName":"src/fs.ts","qualifiedName":"options"},"206":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":""},"207":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"ShortcutHandler"},"208":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"__type"},"209":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"__type"},"210":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"shortcut"},"211":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"register"},"212":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"register"},"213":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"shortcut"},"214":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"handler"},"215":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"registerAll"},"216":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"registerAll"},"217":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"shortcuts"},"218":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"handler"},"219":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"isRegistered"},"220":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"isRegistered"},"221":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"shortcut"},"222":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"unregister"},"223":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"unregister"},"224":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"shortcut"},"225":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"unregisterAll"},"226":{"sourceFileName":"src/globalShortcut.ts","qualifiedName":"unregisterAll"},"227":{"sourceFileName":"src/http.ts","qualifiedName":""},"228":{"sourceFileName":"src/http.ts","qualifiedName":"Duration"},"229":{"sourceFileName":"src/http.ts","qualifiedName":"Duration.secs"},"230":{"sourceFileName":"src/http.ts","qualifiedName":"Duration.nanos"},"231":{"sourceFileName":"src/http.ts","qualifiedName":"ClientOptions"},"232":{"sourceFileName":"src/http.ts","qualifiedName":"ClientOptions.maxRedirections"},"233":{"sourceFileName":"src/http.ts","qualifiedName":"ClientOptions.connectTimeout"},"234":{"sourceFileName":"src/http.ts","qualifiedName":"Part"},"235":{"sourceFileName":"src/http.ts","qualifiedName":"HttpVerb"},"236":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions"},"237":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.method"},"238":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.url"},"239":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.headers"},"240":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.query"},"241":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.body"},"242":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.timeout"},"243":{"sourceFileName":"src/http.ts","qualifiedName":"HttpOptions.responseType"},"244":{"sourceFileName":"src/http.ts","qualifiedName":"RequestOptions"},"245":{"sourceFileName":"src/http.ts","qualifiedName":"FetchOptions"},"246":{"sourceFileName":"src/http.ts","qualifiedName":"getClient"},"247":{"sourceFileName":"src/http.ts","qualifiedName":"getClient"},"248":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"249":{"sourceFileName":"src/http.ts","qualifiedName":"fetch"},"250":{"sourceFileName":"src/http.ts","qualifiedName":"fetch"},"251":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"252":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"253":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"254":{"sourceFileName":"src/http.ts","qualifiedName":"Body"},"255":{"sourceFileName":"src/http.ts","qualifiedName":"Body.form"},"256":{"sourceFileName":"src/http.ts","qualifiedName":"Body.form"},"257":{"sourceFileName":"src/http.ts","qualifiedName":"data"},"258":{"sourceFileName":"src/http.ts","qualifiedName":"Body.json"},"259":{"sourceFileName":"src/http.ts","qualifiedName":"Body.json"},"260":{"sourceFileName":"src/http.ts","qualifiedName":"data"},"261":{"sourceFileName":"src/http.ts","qualifiedName":"Body.text"},"262":{"sourceFileName":"src/http.ts","qualifiedName":"Body.text"},"263":{"sourceFileName":"src/http.ts","qualifiedName":"value"},"264":{"sourceFileName":"src/http.ts","qualifiedName":"Body.bytes"},"265":{"sourceFileName":"src/http.ts","qualifiedName":"Body.bytes"},"266":{"sourceFileName":"src/http.ts","qualifiedName":"bytes"},"271":{"sourceFileName":"src/http.ts","qualifiedName":"Body.type"},"272":{"sourceFileName":"src/http.ts","qualifiedName":"Body.payload"},"273":{"sourceFileName":"src/http.ts","qualifiedName":"Client"},"277":{"sourceFileName":"src/http.ts","qualifiedName":"Client.id"},"278":{"sourceFileName":"src/http.ts","qualifiedName":"Client.drop"},"279":{"sourceFileName":"src/http.ts","qualifiedName":"Client.drop"},"280":{"sourceFileName":"src/http.ts","qualifiedName":"Client.request"},"281":{"sourceFileName":"src/http.ts","qualifiedName":"Client.request"},"282":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"283":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"284":{"sourceFileName":"src/http.ts","qualifiedName":"Client.get"},"285":{"sourceFileName":"src/http.ts","qualifiedName":"Client.get"},"286":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"287":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"288":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"289":{"sourceFileName":"src/http.ts","qualifiedName":"Client.post"},"290":{"sourceFileName":"src/http.ts","qualifiedName":"Client.post"},"291":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"292":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"293":{"sourceFileName":"src/http.ts","qualifiedName":"body"},"294":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"295":{"sourceFileName":"src/http.ts","qualifiedName":"Client.put"},"296":{"sourceFileName":"src/http.ts","qualifiedName":"Client.put"},"297":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"298":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"299":{"sourceFileName":"src/http.ts","qualifiedName":"body"},"300":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"301":{"sourceFileName":"src/http.ts","qualifiedName":"Client.patch"},"302":{"sourceFileName":"src/http.ts","qualifiedName":"Client.patch"},"303":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"304":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"305":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"306":{"sourceFileName":"src/http.ts","qualifiedName":"Client.delete"},"307":{"sourceFileName":"src/http.ts","qualifiedName":"Client.delete"},"308":{"sourceFileName":"src/http.ts","qualifiedName":"T"},"309":{"sourceFileName":"src/http.ts","qualifiedName":"url"},"310":{"sourceFileName":"src/http.ts","qualifiedName":"options"},"311":{"sourceFileName":"src/http.ts","qualifiedName":"Response"},"316":{"sourceFileName":"src/http.ts","qualifiedName":"Response.url"},"317":{"sourceFileName":"src/http.ts","qualifiedName":"Response.status"},"318":{"sourceFileName":"src/http.ts","qualifiedName":"Response.ok"},"319":{"sourceFileName":"src/http.ts","qualifiedName":"Response.headers"},"320":{"sourceFileName":"src/http.ts","qualifiedName":"Response.rawHeaders"},"321":{"sourceFileName":"src/http.ts","qualifiedName":"Response.data"},"322":{"sourceFileName":"src/http.ts","qualifiedName":"Response.T"},"323":{"sourceFileName":"src/http.ts","qualifiedName":"ResponseType"},"324":{"sourceFileName":"src/http.ts","qualifiedName":"ResponseType.JSON"},"325":{"sourceFileName":"src/http.ts","qualifiedName":"ResponseType.Text"},"326":{"sourceFileName":"src/http.ts","qualifiedName":"ResponseType.Binary"},"327":{"sourceFileName":"src/http.ts","qualifiedName":"FilePart"},"328":{"sourceFileName":"src/http.ts","qualifiedName":"FilePart.file"},"329":{"sourceFileName":"src/http.ts","qualifiedName":"FilePart.mime"},"330":{"sourceFileName":"src/http.ts","qualifiedName":"FilePart.fileName"},"331":{"sourceFileName":"src/http.ts","qualifiedName":"FilePart.T"},"332":{"sourceFileName":"src/mocks.ts","qualifiedName":""},"333":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"334":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"335":{"sourceFileName":"src/mocks.ts","qualifiedName":"cb"},"336":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"337":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"338":{"sourceFileName":"src/mocks.ts","qualifiedName":"cmd"},"339":{"sourceFileName":"src/mocks.ts","qualifiedName":"args"},"340":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"341":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"342":{"sourceFileName":"src/mocks.ts","qualifiedName":"current"},"343":{"sourceFileName":"src/mocks.ts","qualifiedName":"additionalWindows"},"344":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"345":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"346":{"sourceFileName":"src/notification.ts","qualifiedName":""},"347":{"sourceFileName":"src/notification.ts","qualifiedName":"Options"},"348":{"sourceFileName":"src/notification.ts","qualifiedName":"Options.title"},"349":{"sourceFileName":"src/notification.ts","qualifiedName":"Options.body"},"350":{"sourceFileName":"src/notification.ts","qualifiedName":"Options.icon"},"351":{"sourceFileName":"src/notification.ts","qualifiedName":"Permission"},"352":{"sourceFileName":"src/notification.ts","qualifiedName":"sendNotification"},"353":{"sourceFileName":"src/notification.ts","qualifiedName":"sendNotification"},"354":{"sourceFileName":"src/notification.ts","qualifiedName":"options"},"355":{"sourceFileName":"src/notification.ts","qualifiedName":"requestPermission"},"356":{"sourceFileName":"src/notification.ts","qualifiedName":"requestPermission"},"357":{"sourceFileName":"src/notification.ts","qualifiedName":"isPermissionGranted"},"358":{"sourceFileName":"src/notification.ts","qualifiedName":"isPermissionGranted"},"359":{"sourceFileName":"src/os.ts","qualifiedName":""},"360":{"sourceFileName":"src/os.ts","qualifiedName":"EOL"},"361":{"sourceFileName":"src/os.ts","qualifiedName":"platform"},"362":{"sourceFileName":"src/os.ts","qualifiedName":"platform"},"363":{"sourceFileName":"src/os.ts","qualifiedName":"version"},"364":{"sourceFileName":"src/os.ts","qualifiedName":"version"},"365":{"sourceFileName":"src/os.ts","qualifiedName":"type"},"366":{"sourceFileName":"src/os.ts","qualifiedName":"type"},"367":{"sourceFileName":"src/os.ts","qualifiedName":"arch"},"368":{"sourceFileName":"src/os.ts","qualifiedName":"arch"},"369":{"sourceFileName":"src/os.ts","qualifiedName":"tempdir"},"370":{"sourceFileName":"src/os.ts","qualifiedName":"tempdir"},"371":{"sourceFileName":"src/os.ts","qualifiedName":"Platform"},"372":{"sourceFileName":"src/os.ts","qualifiedName":"OsType"},"373":{"sourceFileName":"src/os.ts","qualifiedName":"Arch"},"374":{"sourceFileName":"src/path.ts","qualifiedName":""},"375":{"sourceFileName":"src/path.ts","qualifiedName":"appDir"},"376":{"sourceFileName":"src/path.ts","qualifiedName":"appDir"},"377":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"378":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"379":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"380":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"381":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"382":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"383":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"384":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"385":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"386":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"387":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"388":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"389":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"390":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"391":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"392":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"393":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"394":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"395":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"396":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"397":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"398":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"399":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"400":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"401":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"402":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"403":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"404":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"405":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"406":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"407":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"408":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"409":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"410":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"411":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"412":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"413":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"414":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"415":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"416":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"417":{"sourceFileName":"src/path.ts","qualifiedName":"resourcePath"},"418":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"419":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"420":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"421":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"422":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"423":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"424":{"sourceFileName":"src/path.ts","qualifiedName":"logDir"},"425":{"sourceFileName":"src/path.ts","qualifiedName":"logDir"},"426":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"427":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"428":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"429":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"430":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"431":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"432":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"433":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"434":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"435":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"436":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"437":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"438":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"439":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"440":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"441":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"442":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"443":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"444":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"445":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"446":{"sourceFileName":"src/path.ts","qualifiedName":"ext"},"447":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"448":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"449":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"450":{"sourceFileName":"src/process.ts","qualifiedName":""},"451":{"sourceFileName":"src/process.ts","qualifiedName":"exit"},"452":{"sourceFileName":"src/process.ts","qualifiedName":"exit"},"453":{"sourceFileName":"src/process.ts","qualifiedName":"exitCode"},"454":{"sourceFileName":"src/process.ts","qualifiedName":"relaunch"},"455":{"sourceFileName":"src/process.ts","qualifiedName":"relaunch"},"456":{"sourceFileName":"src/shell.ts","qualifiedName":""},"457":{"sourceFileName":"src/shell.ts","qualifiedName":"Command"},"458":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.sidecar"},"459":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.sidecar"},"460":{"sourceFileName":"src/shell.ts","qualifiedName":"program"},"461":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"462":{"sourceFileName":"src/shell.ts","qualifiedName":"options"},"463":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.__constructor"},"464":{"sourceFileName":"src/shell.ts","qualifiedName":"Command"},"465":{"sourceFileName":"src/shell.ts","qualifiedName":"program"},"466":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"467":{"sourceFileName":"src/shell.ts","qualifiedName":"options"},"471":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.stdout"},"472":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.stderr"},"473":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.spawn"},"474":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.spawn"},"475":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.execute"},"476":{"sourceFileName":"src/shell.ts","qualifiedName":"Command.execute"},"477":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.addListener"},"478":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.addListener"},"479":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"480":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"481":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"482":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"483":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"484":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeListener"},"485":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeListener"},"486":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"487":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"488":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"489":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"490":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"491":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.on"},"492":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.on"},"493":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"494":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"495":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"496":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"497":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"498":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.once"},"499":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.once"},"500":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"501":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"502":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"503":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"504":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"505":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.off"},"506":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.off"},"507":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"508":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"509":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"510":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"511":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"512":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeAllListeners"},"513":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeAllListeners"},"514":{"sourceFileName":"src/shell.ts","qualifiedName":"event"},"519":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.listenerCount"},"520":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.listenerCount"},"521":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"522":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependListener"},"523":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependListener"},"524":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"525":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"526":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"527":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"528":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"529":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependOnceListener"},"530":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependOnceListener"},"531":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"532":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"533":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"534":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"535":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"536":{"sourceFileName":"src/shell.ts","qualifiedName":"Child"},"537":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.__constructor"},"538":{"sourceFileName":"src/shell.ts","qualifiedName":"Child"},"539":{"sourceFileName":"src/shell.ts","qualifiedName":"pid"},"540":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.pid"},"541":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.write"},"542":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.write"},"543":{"sourceFileName":"src/shell.ts","qualifiedName":"data"},"544":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.kill"},"545":{"sourceFileName":"src/shell.ts","qualifiedName":"Child.kill"},"546":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter"},"549":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.E"},"554":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.addListener"},"555":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.addListener"},"556":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"557":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"558":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"559":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"560":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"561":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeListener"},"562":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeListener"},"563":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"564":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"565":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"566":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"567":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"568":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.on"},"569":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.on"},"570":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"571":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"572":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"573":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"574":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"575":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.once"},"576":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.once"},"577":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"578":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"579":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"580":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"581":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"582":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.off"},"583":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.off"},"584":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"585":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"586":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"587":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"588":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"589":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeAllListeners"},"590":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.removeAllListeners"},"591":{"sourceFileName":"src/shell.ts","qualifiedName":"event"},"596":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.listenerCount"},"597":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.listenerCount"},"598":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"599":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependListener"},"600":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependListener"},"601":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"602":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"603":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"604":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"605":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"606":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependOnceListener"},"607":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.prependOnceListener"},"608":{"sourceFileName":"src/shell.ts","qualifiedName":"eventName"},"609":{"sourceFileName":"src/shell.ts","qualifiedName":"listener"},"610":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"611":{"sourceFileName":"src/shell.ts","qualifiedName":"__type"},"612":{"sourceFileName":"src/shell.ts","qualifiedName":"args"},"613":{"sourceFileName":"src/shell.ts","qualifiedName":"EventEmitter.E"},"614":{"sourceFileName":"src/shell.ts","qualifiedName":"open"},"615":{"sourceFileName":"src/shell.ts","qualifiedName":"open"},"616":{"sourceFileName":"src/shell.ts","qualifiedName":"path"},"617":{"sourceFileName":"src/shell.ts","qualifiedName":"openWith"},"618":{"sourceFileName":"src/shell.ts","qualifiedName":"ChildProcess"},"619":{"sourceFileName":"src/shell.ts","qualifiedName":"ChildProcess.code"},"620":{"sourceFileName":"src/shell.ts","qualifiedName":"ChildProcess.signal"},"621":{"sourceFileName":"src/shell.ts","qualifiedName":"ChildProcess.stdout"},"622":{"sourceFileName":"src/shell.ts","qualifiedName":"ChildProcess.stderr"},"623":{"sourceFileName":"src/shell.ts","qualifiedName":"SpawnOptions"},"624":{"sourceFileName":"src/shell.ts","qualifiedName":"SpawnOptions.cwd"},"625":{"sourceFileName":"src/shell.ts","qualifiedName":"SpawnOptions.env"},"626":{"sourceFileName":"src/shell.ts","qualifiedName":"SpawnOptions.encoding"},"627":{"sourceFileName":"src/tauri.ts","qualifiedName":""},"628":{"sourceFileName":"src/tauri.ts","qualifiedName":"InvokeArgs"},"629":{"sourceFileName":"src/tauri.ts","qualifiedName":"transformCallback"},"630":{"sourceFileName":"src/tauri.ts","qualifiedName":"transformCallback"},"631":{"sourceFileName":"src/tauri.ts","qualifiedName":"callback"},"632":{"sourceFileName":"src/tauri.ts","qualifiedName":"__type"},"633":{"sourceFileName":"src/tauri.ts","qualifiedName":"__type"},"634":{"sourceFileName":"src/tauri.ts","qualifiedName":"response"},"635":{"sourceFileName":"src/tauri.ts","qualifiedName":"once"},"636":{"sourceFileName":"src/tauri.ts","qualifiedName":"invoke"},"637":{"sourceFileName":"src/tauri.ts","qualifiedName":"invoke"},"638":{"sourceFileName":"src/tauri.ts","qualifiedName":"T"},"639":{"sourceFileName":"src/tauri.ts","qualifiedName":"cmd"},"640":{"sourceFileName":"src/tauri.ts","qualifiedName":"args"},"641":{"sourceFileName":"src/tauri.ts","qualifiedName":"convertFileSrc"},"642":{"sourceFileName":"src/tauri.ts","qualifiedName":"convertFileSrc"},"643":{"sourceFileName":"src/tauri.ts","qualifiedName":"filePath"},"644":{"sourceFileName":"src/tauri.ts","qualifiedName":"protocol"},"645":{"sourceFileName":"src/updater.ts","qualifiedName":""},"646":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateStatus"},"647":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateStatusResult"},"648":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateStatusResult.error"},"649":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateStatusResult.status"},"650":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateManifest"},"651":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateManifest.version"},"652":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateManifest.date"},"653":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateManifest.body"},"654":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateResult"},"655":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateResult.manifest"},"656":{"sourceFileName":"src/updater.ts","qualifiedName":"UpdateResult.shouldUpdate"},"657":{"sourceFileName":"src/updater.ts","qualifiedName":"onUpdaterEvent"},"658":{"sourceFileName":"src/updater.ts","qualifiedName":"onUpdaterEvent"},"659":{"sourceFileName":"src/updater.ts","qualifiedName":"handler"},"660":{"sourceFileName":"src/updater.ts","qualifiedName":"__type"},"661":{"sourceFileName":"src/updater.ts","qualifiedName":"__type"},"662":{"sourceFileName":"src/updater.ts","qualifiedName":"status"},"663":{"sourceFileName":"src/updater.ts","qualifiedName":"installUpdate"},"664":{"sourceFileName":"src/updater.ts","qualifiedName":"installUpdate"},"665":{"sourceFileName":"src/updater.ts","qualifiedName":"checkUpdate"},"666":{"sourceFileName":"src/updater.ts","qualifiedName":"checkUpdate"},"667":{"sourceFileName":"src/window.ts","qualifiedName":""},"668":{"sourceFileName":"src/window.ts","qualifiedName":"CursorIcon"},"670":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindow"},"671":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindow.getByLabel"},"672":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindow.getByLabel"},"673":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"674":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindow.__constructor"},"675":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindow"},"676":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"677":{"sourceFileName":"src/window.ts","qualifiedName":"options"},"678":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.scaleFactor"},"679":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.scaleFactor"},"680":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.innerPosition"},"681":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.innerPosition"},"682":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.outerPosition"},"683":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.outerPosition"},"684":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.innerSize"},"685":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.innerSize"},"686":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.outerSize"},"687":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.outerSize"},"688":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isFullscreen"},"689":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isFullscreen"},"690":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isMinimized"},"691":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isMinimized"},"692":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isMaximized"},"693":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isMaximized"},"694":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isDecorated"},"695":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isDecorated"},"696":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isResizable"},"697":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isResizable"},"698":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isVisible"},"699":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.isVisible"},"700":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.title"},"701":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.title"},"702":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.theme"},"703":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.theme"},"704":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.center"},"705":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.center"},"706":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.requestUserAttention"},"707":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.requestUserAttention"},"708":{"sourceFileName":"src/window.ts","qualifiedName":"requestType"},"709":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setResizable"},"710":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setResizable"},"711":{"sourceFileName":"src/window.ts","qualifiedName":"resizable"},"712":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setTitle"},"713":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setTitle"},"714":{"sourceFileName":"src/window.ts","qualifiedName":"title"},"715":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.maximize"},"716":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.maximize"},"717":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.unmaximize"},"718":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.unmaximize"},"719":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.toggleMaximize"},"720":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.toggleMaximize"},"721":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.minimize"},"722":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.minimize"},"723":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.unminimize"},"724":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.unminimize"},"725":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.show"},"726":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.show"},"727":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.hide"},"728":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.hide"},"729":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.close"},"730":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.close"},"731":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setDecorations"},"732":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setDecorations"},"733":{"sourceFileName":"src/window.ts","qualifiedName":"decorations"},"734":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setAlwaysOnTop"},"735":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setAlwaysOnTop"},"736":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnTop"},"737":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setContentProtected"},"738":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setContentProtected"},"739":{"sourceFileName":"src/window.ts","qualifiedName":"protected_"},"740":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setSize"},"741":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setSize"},"742":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"743":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setMinSize"},"744":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setMinSize"},"745":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"746":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setMaxSize"},"747":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setMaxSize"},"748":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"749":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setPosition"},"750":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setPosition"},"751":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"752":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setFullscreen"},"753":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setFullscreen"},"754":{"sourceFileName":"src/window.ts","qualifiedName":"fullscreen"},"755":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setFocus"},"756":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setFocus"},"757":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setIcon"},"758":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setIcon"},"759":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"760":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setSkipTaskbar"},"761":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setSkipTaskbar"},"762":{"sourceFileName":"src/window.ts","qualifiedName":"skip"},"763":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorGrab"},"764":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorGrab"},"765":{"sourceFileName":"src/window.ts","qualifiedName":"grab"},"766":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorVisible"},"767":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorVisible"},"768":{"sourceFileName":"src/window.ts","qualifiedName":"visible"},"769":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorIcon"},"770":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorIcon"},"771":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"772":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorPosition"},"773":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setCursorPosition"},"774":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"775":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setIgnoreCursorEvents"},"776":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.setIgnoreCursorEvents"},"777":{"sourceFileName":"src/window.ts","qualifiedName":"ignore"},"778":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.startDragging"},"779":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.startDragging"},"780":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onResized"},"781":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onResized"},"782":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"783":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onMoved"},"784":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onMoved"},"785":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"786":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onCloseRequested"},"787":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onCloseRequested"},"788":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"789":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"790":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"791":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"792":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onFocusChanged"},"793":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onFocusChanged"},"794":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"795":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onScaleChanged"},"796":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onScaleChanged"},"797":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"798":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onMenuClicked"},"799":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onMenuClicked"},"800":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"801":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onFileDropEvent"},"802":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onFileDropEvent"},"803":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"804":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onThemeChanged"},"805":{"sourceFileName":"src/window.ts","qualifiedName":"WindowManager.onThemeChanged"},"806":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"807":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.label"},"808":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.listeners"},"809":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.listen"},"810":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.listen"},"811":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"812":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"813":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"814":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.once"},"815":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.once"},"816":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"817":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"818":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"819":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.emit"},"820":{"sourceFileName":"src/window.ts","qualifiedName":"WebviewWindowHandle.emit"},"821":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"822":{"sourceFileName":"src/window.ts","qualifiedName":"payload"},"1007":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"1008":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.__constructor"},"1009":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"1010":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"1011":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.event"},"1012":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.windowLabel"},"1013":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.id"},"1014":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent._preventDefault"},"1015":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"1016":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"1017":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"1018":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"1019":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"1020":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"1021":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"1022":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"1023":{"sourceFileName":"src/window.ts","qualifiedName":"appWindow"},"1024":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"1025":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize.__constructor"},"1026":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"1027":{"sourceFileName":"src/window.ts","qualifiedName":"width"},"1028":{"sourceFileName":"src/window.ts","qualifiedName":"height"},"1029":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize.type"},"1030":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize.width"},"1031":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize.height"},"1032":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"1033":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.__constructor"},"1034":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"1035":{"sourceFileName":"src/window.ts","qualifiedName":"width"},"1036":{"sourceFileName":"src/window.ts","qualifiedName":"height"},"1037":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.type"},"1038":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.width"},"1039":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.height"},"1040":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.toLogical"},"1041":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize.toLogical"},"1042":{"sourceFileName":"src/window.ts","qualifiedName":"scaleFactor"},"1043":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"1044":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition.__constructor"},"1045":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"1046":{"sourceFileName":"src/window.ts","qualifiedName":"x"},"1047":{"sourceFileName":"src/window.ts","qualifiedName":"y"},"1048":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition.type"},"1049":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition.x"},"1050":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition.y"},"1051":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition"},"1052":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.__constructor"},"1053":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition"},"1054":{"sourceFileName":"src/window.ts","qualifiedName":"x"},"1055":{"sourceFileName":"src/window.ts","qualifiedName":"y"},"1056":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.type"},"1057":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.x"},"1058":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.y"},"1059":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.toLogical"},"1060":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition.toLogical"},"1061":{"sourceFileName":"src/window.ts","qualifiedName":"scaleFactor"},"1062":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType"},"1063":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Critical"},"1064":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Informational"},"1065":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"1066":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"1067":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"1068":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"1069":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"1070":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"1071":{"sourceFileName":"src/window.ts","qualifiedName":"Theme"},"1072":{"sourceFileName":"src/window.ts","qualifiedName":"TitleBarStyle"},"1073":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor"},"1074":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.name"},"1075":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.size"},"1076":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.position"},"1077":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.scaleFactor"},"1078":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged"},"1079":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.scaleFactor"},"1080":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.size"},"1081":{"sourceFileName":"src/window.ts","qualifiedName":"FileDropEvent"},"1082":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"1083":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"1084":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"1085":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"1086":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"1087":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"1088":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"1089":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"1090":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions"},"1091":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.url"},"1092":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.center"},"1093":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.x"},"1094":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.y"},"1095":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.width"},"1096":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.height"},"1097":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minWidth"},"1098":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minHeight"},"1099":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxWidth"},"1100":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxHeight"},"1101":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.resizable"},"1102":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.title"},"1103":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fullscreen"},"1104":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.focus"},"1105":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.transparent"},"1106":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximized"},"1107":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.visible"},"1108":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.decorations"},"1109":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnTop"},"1110":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.contentProtected"},"1111":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.skipTaskbar"},"1112":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fileDropEnabled"},"1113":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.theme"},"1114":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.titleBarStyle"},"1115":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.hiddenTitle"},"1116":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.acceptFirstMouse"},"1117":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.tabbingIdentifier"},"1118":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.userAgent"},"1119":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event"},"1120":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event.event"},"1121":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event.windowLabel"},"1122":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event.id"},"1123":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event.payload"},"1124":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"Event.T"},"1125":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"EventCallback"},"1126":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"__type"},"1127":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"__type"},"1128":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"event"},"1129":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"T"},"1130":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"UnlistenFn"},"1131":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"__type"},"1132":{"sourceFileName":"src/helpers/event.ts","qualifiedName":"__type"},"1133":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory"}}}