@tauri-apps/cli 2.0.0-beta.1 → 2.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +148 -0
- package/Cargo.toml +3 -3
- package/build.rs +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/jest.config.js +1 -1
- package/main.d.ts +1 -1
- package/main.js +1 -1
- package/package.json +11 -11
- package/schema.json +277 -0
- package/src/lib.rs +1 -1
- package/tauri.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,131 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## \[2.0.0-beta.10]
|
|
4
|
+
|
|
5
|
+
### New Features
|
|
6
|
+
|
|
7
|
+
- [`7213b9e47`](https://www.github.com/tauri-apps/tauri/commit/7213b9e47242bef814aa7257e0bf84631bf5fe7e)([#9124](https://www.github.com/tauri-apps/tauri/pull/9124)) Add default permission for a plugin to capabilities when using `tauri add <plugin>`.
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
- Upgraded to `tauri-cli@2.0.0-beta.10`
|
|
12
|
+
|
|
13
|
+
## \[2.0.0-beta.9]
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- [`c3ea3a2b7`](https://www.github.com/tauri-apps/tauri/commit/c3ea3a2b7d2fe3085f05b63dd1feb962beb4b7b3)([#9126](https://www.github.com/tauri-apps/tauri/pull/9126)) Fix bundling when `plugins > updater > windows > installerArgs` are set in `tauri.conf.json`
|
|
18
|
+
|
|
19
|
+
### Dependencies
|
|
20
|
+
|
|
21
|
+
- Upgraded to `tauri-cli@2.0.0-beta.9`
|
|
22
|
+
|
|
23
|
+
## \[2.0.0-beta.8]
|
|
24
|
+
|
|
25
|
+
### Enhancements
|
|
26
|
+
|
|
27
|
+
- [`3e472d0af`](https://www.github.com/tauri-apps/tauri/commit/3e472d0afcd67545dd6d9f18d304580a3b2759a8)([#9115](https://www.github.com/tauri-apps/tauri/pull/9115)) Changed the permission and capability platforms to be optional.
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
- Upgraded to `tauri-cli@2.0.0-beta.8`
|
|
32
|
+
|
|
33
|
+
## \[2.0.0-beta.7]
|
|
34
|
+
|
|
35
|
+
### Enhancements
|
|
36
|
+
|
|
37
|
+
- [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
- Upgraded to `tauri-cli@2.0.0-beta.7`
|
|
42
|
+
|
|
43
|
+
## \[2.0.0-beta.6]
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
- [`f5f3ed5f`](https://www.github.com/tauri-apps/tauri/commit/f5f3ed5f6faa0b51e83244acc15e9006299a03ba)([#9009](https://www.github.com/tauri-apps/tauri/pull/9009)) Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.
|
|
48
|
+
- [`d7d03c71`](https://www.github.com/tauri-apps/tauri/commit/d7d03c7197212f3a5bebe08c929417d60927eb89)([#9017](https://www.github.com/tauri-apps/tauri/pull/9017)) Fixes dev watcher on mobile dev.
|
|
49
|
+
- [`b658ded6`](https://www.github.com/tauri-apps/tauri/commit/b658ded614cfc169228cb22ad5bfc64478dfe161)([#9015](https://www.github.com/tauri-apps/tauri/pull/9015)) Fixes truncation of existing BuildTask.kt when running `tauri android init`.
|
|
50
|
+
|
|
51
|
+
### What's Changed
|
|
52
|
+
|
|
53
|
+
- [`3657ad82`](https://www.github.com/tauri-apps/tauri/commit/3657ad82f88ce528551d032d521c52eed3f396b4)([#9008](https://www.github.com/tauri-apps/tauri/pull/9008)) Updates to new ACL manifest path.
|
|
54
|
+
|
|
55
|
+
### Dependencies
|
|
56
|
+
|
|
57
|
+
- Upgraded to `tauri-cli@2.0.0-beta.6`
|
|
58
|
+
|
|
59
|
+
## \[2.0.0-beta.5]
|
|
60
|
+
|
|
61
|
+
### New Features
|
|
62
|
+
|
|
63
|
+
- [`06d63d67`](https://www.github.com/tauri-apps/tauri/commit/06d63d67a061459dd533ddcae755922427a6dfc5)([#8827](https://www.github.com/tauri-apps/tauri/pull/8827)) Add new subcommands for managing permissions and cababilities:
|
|
64
|
+
|
|
65
|
+
- `tauri permission new`
|
|
66
|
+
- `tauri permission add`
|
|
67
|
+
- `tauri permission rm`
|
|
68
|
+
- `tauri permission ls`
|
|
69
|
+
- `tauri capability new`
|
|
70
|
+
|
|
71
|
+
### Breaking Changes
|
|
72
|
+
|
|
73
|
+
- [`b9e6a018`](https://www.github.com/tauri-apps/tauri/commit/b9e6a01879d9233040f3d3fab11c59e70563da7e)([#8937](https://www.github.com/tauri-apps/tauri/pull/8937)) The `custom-protocol` Cargo feature is no longer required on your application and is now ignored. To check if running on production, use `#[cfg(not(dev))]` instead of `#[cfg(feature = "custom-protocol")]`.
|
|
74
|
+
|
|
75
|
+
### Enhancements
|
|
76
|
+
|
|
77
|
+
- [`9be314f0`](https://www.github.com/tauri-apps/tauri/commit/9be314f07a4ca5d14433d41919492f3e91b5536a)([#8951](https://www.github.com/tauri-apps/tauri/pull/8951)) Add plugins to `Cargo.toml` when using `tauri migrate`
|
|
78
|
+
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- [`cbd9755e`](https://www.github.com/tauri-apps/tauri/commit/cbd9755e0926a7e47e59deb50f4bb93d621791a5)([#8977](https://www.github.com/tauri-apps/tauri/pull/8977)) Fixes process logs not showing on `ios dev`.
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
- Upgraded to `tauri-cli@2.0.0-beta.5`
|
|
86
|
+
|
|
87
|
+
## \[2.0.0-beta.4]
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
- [`e538ba58`](https://www.github.com/tauri-apps/tauri/commit/e538ba586c5b8b50955586c8ef2704adb5d7cc43)([#8949](https://www.github.com/tauri-apps/tauri/pull/8949)) Fixes android and iOS process spawning not working on Node.js.
|
|
92
|
+
|
|
93
|
+
### Dependencies
|
|
94
|
+
|
|
95
|
+
- Upgraded to `tauri-cli@2.0.0-beta.4`
|
|
96
|
+
|
|
97
|
+
### Breaking Changes
|
|
98
|
+
|
|
99
|
+
- [`a76fb118`](https://www.github.com/tauri-apps/tauri/commit/a76fb118ce2de22e1bdb4216bf0ac01dfc3e5799)([#8950](https://www.github.com/tauri-apps/tauri/pull/8950)) Changed the capability format to allow configuring both `remote: { urls: Vec<String> }` and `local: bool (default: true)` instead of choosing one on the `context` field.
|
|
100
|
+
|
|
101
|
+
## \[2.0.0-beta.3]
|
|
102
|
+
|
|
103
|
+
### Enhancements
|
|
104
|
+
|
|
105
|
+
- [`a029b9f7`](https://www.github.com/tauri-apps/tauri/commit/a029b9f77e432533a403c292940fa3efba68692c)([#8910](https://www.github.com/tauri-apps/tauri/pull/8910)) Setting up code signing is no longer required on iOS when using the simulator.
|
|
106
|
+
|
|
107
|
+
### Dependencies
|
|
108
|
+
|
|
109
|
+
- Upgraded to `tauri-cli@2.0.0-beta.3`
|
|
110
|
+
|
|
111
|
+
## \[2.0.0-beta.2]
|
|
112
|
+
|
|
113
|
+
### Enhancements
|
|
114
|
+
|
|
115
|
+
- [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Update app template following capabilities configuration change.
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
- [`aa06a053`](https://www.github.com/tauri-apps/tauri/commit/aa06a0534cf224038866e0ddd6910ea873b2574d)([#8810](https://www.github.com/tauri-apps/tauri/pull/8810)) Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
|
|
120
|
+
- [`3cee26a5`](https://www.github.com/tauri-apps/tauri/commit/3cee26a58ab44639a12c7816f4096655daa327a4)([#8865](https://www.github.com/tauri-apps/tauri/pull/8865)) On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.
|
|
121
|
+
- [`052e8b43`](https://www.github.com/tauri-apps/tauri/commit/052e8b4311d9f0f963a2866163be27bfd8f70c60)([#8838](https://www.github.com/tauri-apps/tauri/pull/8838)) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
|
|
122
|
+
- [`fb0d9971`](https://www.github.com/tauri-apps/tauri/commit/fb0d997117367e3387896bcd0fba004579475c40)([#8783](https://www.github.com/tauri-apps/tauri/pull/8783)) Fixes a regression on the `--config` argument not accepting file paths.
|
|
123
|
+
- [`baca704d`](https://www.github.com/tauri-apps/tauri/commit/baca704d4b5fae239fc320d10140f35bd705bfbb)([#8768](https://www.github.com/tauri-apps/tauri/pull/8768)) Do not migrate updater configuration if the active flag is set to false.
|
|
124
|
+
|
|
125
|
+
### Dependencies
|
|
126
|
+
|
|
127
|
+
- Upgraded to `tauri-cli@2.0.0-beta.2`
|
|
128
|
+
|
|
3
129
|
## \[2.0.0-beta.1]
|
|
4
130
|
|
|
5
131
|
### Enhancements
|
|
@@ -366,6 +492,28 @@
|
|
|
366
492
|
- First mobile alpha release!
|
|
367
493
|
- [fa3a1098](https://www.github.com/tauri-apps/tauri/commit/fa3a10988a03aed1b66fb17d893b1a9adb90f7cd) feat(ci): prepare 2.0.0-alpha.0 ([#5786](https://www.github.com/tauri-apps/tauri/pull/5786)) on 2022-12-08
|
|
368
494
|
|
|
495
|
+
## \[1.5.10]
|
|
496
|
+
|
|
497
|
+
### Bug Fixes
|
|
498
|
+
|
|
499
|
+
- [`b0f27814`](https://www.github.com/tauri-apps/tauri/commit/b0f27814b90ded2f1ed44b7852080eedbff0d9e4)([#8776](https://www.github.com/tauri-apps/tauri/pull/8776)) Fix `fail to rename app` when using `--profile dev`.
|
|
500
|
+
- [`0bff8c32`](https://www.github.com/tauri-apps/tauri/commit/0bff8c325d004fdead2023f58e0f5fd73a9c22ba)([#8697](https://www.github.com/tauri-apps/tauri/pull/8697)) Fix the built-in dev server failing to serve files when URL had queries `?` and other url components.
|
|
501
|
+
- [`67d7877f`](https://www.github.com/tauri-apps/tauri/commit/67d7877f27f265c133a70d48a46c83ffff31d571)([#8520](https://www.github.com/tauri-apps/tauri/pull/8520)) The cli now also watches cargo workspace members if the tauri folder is the workspace root.
|
|
502
|
+
|
|
503
|
+
### Dependencies
|
|
504
|
+
|
|
505
|
+
- Upgraded to `tauri-cli@1.5.10`
|
|
506
|
+
|
|
507
|
+
## \[1.5.9]
|
|
508
|
+
|
|
509
|
+
### Bug Fixes
|
|
510
|
+
|
|
511
|
+
- [`0a2175ea`](https://www.github.com/tauri-apps/tauri/commit/0a2175eabb736b2a4cd01ab682e08be0b5ebb2b9)([#8439](https://www.github.com/tauri-apps/tauri/pull/8439)) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.
|
|
512
|
+
|
|
513
|
+
### Dependencies
|
|
514
|
+
|
|
515
|
+
- Upgraded to `tauri-cli@1.5.9`
|
|
516
|
+
|
|
369
517
|
## \[1.5.8]
|
|
370
518
|
|
|
371
519
|
### Dependencies
|
package/Cargo.toml
CHANGED
|
@@ -8,10 +8,10 @@ crate-type = ["cdylib"]
|
|
|
8
8
|
|
|
9
9
|
[dependencies]
|
|
10
10
|
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
|
11
|
-
napi = { version = "2.
|
|
12
|
-
napi-derive = "2.
|
|
11
|
+
napi = { version = "2.16", default-features = false, features = ["napi4"] }
|
|
12
|
+
napi-derive = "2.16"
|
|
13
13
|
tauri-cli = { path = "..", default-features = false }
|
|
14
|
-
log = "0.4.
|
|
14
|
+
log = "0.4.21"
|
|
15
15
|
|
|
16
16
|
[build-dependencies]
|
|
17
17
|
napi-build = "2.1"
|
package/build.rs
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/jest.config.js
CHANGED
package/main.d.ts
CHANGED
package/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.10",
|
|
4
4
|
"description": "Command line interface for building Tauri apps",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "opencollective",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"format:check": "prettier --check ./package.json ./tauri.js"
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
71
|
-
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-beta.
|
|
72
|
-
"@tauri-apps/cli-darwin-x64": "2.0.0-beta.
|
|
73
|
-
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-beta.
|
|
74
|
-
"@tauri-apps/cli-darwin-arm64": "2.0.0-beta.
|
|
75
|
-
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-beta.
|
|
76
|
-
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-beta.
|
|
77
|
-
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-beta.
|
|
78
|
-
"@tauri-apps/cli-linux-x64-musl": "2.0.0-beta.
|
|
79
|
-
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-beta.
|
|
80
|
-
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-beta.
|
|
71
|
+
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-beta.10",
|
|
72
|
+
"@tauri-apps/cli-darwin-x64": "2.0.0-beta.10",
|
|
73
|
+
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-beta.10",
|
|
74
|
+
"@tauri-apps/cli-darwin-arm64": "2.0.0-beta.10",
|
|
75
|
+
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-beta.10",
|
|
76
|
+
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-beta.10",
|
|
77
|
+
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-beta.10",
|
|
78
|
+
"@tauri-apps/cli-linux-x64-musl": "2.0.0-beta.10",
|
|
79
|
+
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-beta.10",
|
|
80
|
+
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-beta.10"
|
|
81
81
|
}
|
|
82
82
|
}
|
package/schema.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"enable": false,
|
|
41
41
|
"scope": []
|
|
42
42
|
},
|
|
43
|
+
"capabilities": [],
|
|
43
44
|
"dangerousDisableAssetCspModification": false,
|
|
44
45
|
"freezePrototype": false,
|
|
45
46
|
"pattern": {
|
|
@@ -158,6 +159,7 @@
|
|
|
158
159
|
"enable": false,
|
|
159
160
|
"scope": []
|
|
160
161
|
},
|
|
162
|
+
"capabilities": [],
|
|
161
163
|
"dangerousDisableAssetCspModification": false,
|
|
162
164
|
"freezePrototype": false,
|
|
163
165
|
"pattern": {
|
|
@@ -878,6 +880,14 @@
|
|
|
878
880
|
"$ref": "#/definitions/PatternKind"
|
|
879
881
|
}
|
|
880
882
|
]
|
|
883
|
+
},
|
|
884
|
+
"capabilities": {
|
|
885
|
+
"description": "List of capabilities that are enabled on the application.\n\nIf the list is empty, all capabilities are included.",
|
|
886
|
+
"default": [],
|
|
887
|
+
"type": "array",
|
|
888
|
+
"items": {
|
|
889
|
+
"$ref": "#/definitions/CapabilityEntry"
|
|
890
|
+
}
|
|
881
891
|
}
|
|
882
892
|
},
|
|
883
893
|
"additionalProperties": false
|
|
@@ -1040,6 +1050,252 @@
|
|
|
1040
1050
|
}
|
|
1041
1051
|
]
|
|
1042
1052
|
},
|
|
1053
|
+
"CapabilityEntry": {
|
|
1054
|
+
"description": "A capability entry which can be either an inlined capability or a reference to a capability defined on its own file.",
|
|
1055
|
+
"anyOf": [
|
|
1056
|
+
{
|
|
1057
|
+
"description": "An inlined capability.",
|
|
1058
|
+
"allOf": [
|
|
1059
|
+
{
|
|
1060
|
+
"$ref": "#/definitions/Capability"
|
|
1061
|
+
}
|
|
1062
|
+
]
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"description": "Reference to a capability identifier.",
|
|
1066
|
+
"type": "string"
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
"Capability": {
|
|
1071
|
+
"description": "a grouping and boundary mechanism developers can use to separate windows or plugins functionality from each other at runtime.\n\nIf a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create trust groups and reduce impact of vulnerabilities in certain plugins or windows. Windows can be added to a capability by exact name or glob patterns like *, admin-* or main-window.",
|
|
1072
|
+
"type": "object",
|
|
1073
|
+
"required": [
|
|
1074
|
+
"identifier",
|
|
1075
|
+
"permissions"
|
|
1076
|
+
],
|
|
1077
|
+
"properties": {
|
|
1078
|
+
"identifier": {
|
|
1079
|
+
"description": "Identifier of the capability.",
|
|
1080
|
+
"type": "string"
|
|
1081
|
+
},
|
|
1082
|
+
"description": {
|
|
1083
|
+
"description": "Description of the capability.",
|
|
1084
|
+
"default": "",
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"remote": {
|
|
1088
|
+
"description": "Configure remote URLs that can use the capability permissions.",
|
|
1089
|
+
"anyOf": [
|
|
1090
|
+
{
|
|
1091
|
+
"$ref": "#/definitions/CapabilityRemote"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"type": "null"
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
"local": {
|
|
1099
|
+
"description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
|
|
1100
|
+
"default": true,
|
|
1101
|
+
"type": "boolean"
|
|
1102
|
+
},
|
|
1103
|
+
"windows": {
|
|
1104
|
+
"description": "List of windows that uses this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.",
|
|
1105
|
+
"type": "array",
|
|
1106
|
+
"items": {
|
|
1107
|
+
"type": "string"
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"webviews": {
|
|
1111
|
+
"description": "List of webviews that uses this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.",
|
|
1112
|
+
"type": "array",
|
|
1113
|
+
"items": {
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"permissions": {
|
|
1118
|
+
"description": "List of permissions attached to this capability. Must include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`.",
|
|
1119
|
+
"type": "array",
|
|
1120
|
+
"items": {
|
|
1121
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"platforms": {
|
|
1125
|
+
"description": "Target platforms this capability applies. By default all platforms are affected by this capability.",
|
|
1126
|
+
"type": [
|
|
1127
|
+
"array",
|
|
1128
|
+
"null"
|
|
1129
|
+
],
|
|
1130
|
+
"items": {
|
|
1131
|
+
"$ref": "#/definitions/Target"
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"CapabilityRemote": {
|
|
1137
|
+
"description": "Configuration for remote URLs that are associated with the capability.",
|
|
1138
|
+
"type": "object",
|
|
1139
|
+
"required": [
|
|
1140
|
+
"urls"
|
|
1141
|
+
],
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"urls": {
|
|
1144
|
+
"description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n# Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
|
|
1145
|
+
"type": "array",
|
|
1146
|
+
"items": {
|
|
1147
|
+
"type": "string"
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"PermissionEntry": {
|
|
1153
|
+
"description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
|
|
1154
|
+
"anyOf": [
|
|
1155
|
+
{
|
|
1156
|
+
"description": "Reference a permission or permission set by identifier.",
|
|
1157
|
+
"allOf": [
|
|
1158
|
+
{
|
|
1159
|
+
"$ref": "#/definitions/Identifier"
|
|
1160
|
+
}
|
|
1161
|
+
]
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"description": "Reference a permission or permission set by identifier and extends its scope.",
|
|
1165
|
+
"type": "object",
|
|
1166
|
+
"required": [
|
|
1167
|
+
"identifier"
|
|
1168
|
+
],
|
|
1169
|
+
"properties": {
|
|
1170
|
+
"identifier": {
|
|
1171
|
+
"description": "Identifier of the permission or permission set.",
|
|
1172
|
+
"allOf": [
|
|
1173
|
+
{
|
|
1174
|
+
"$ref": "#/definitions/Identifier"
|
|
1175
|
+
}
|
|
1176
|
+
]
|
|
1177
|
+
},
|
|
1178
|
+
"allow": {
|
|
1179
|
+
"description": "Data that defines what is allowed by the scope.",
|
|
1180
|
+
"type": [
|
|
1181
|
+
"array",
|
|
1182
|
+
"null"
|
|
1183
|
+
],
|
|
1184
|
+
"items": {
|
|
1185
|
+
"$ref": "#/definitions/Value"
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
"deny": {
|
|
1189
|
+
"description": "Data that defines what is denied by the scope.",
|
|
1190
|
+
"type": [
|
|
1191
|
+
"array",
|
|
1192
|
+
"null"
|
|
1193
|
+
],
|
|
1194
|
+
"items": {
|
|
1195
|
+
"$ref": "#/definitions/Value"
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
]
|
|
1201
|
+
},
|
|
1202
|
+
"Identifier": {
|
|
1203
|
+
"type": "string"
|
|
1204
|
+
},
|
|
1205
|
+
"Value": {
|
|
1206
|
+
"description": "All supported ACL values.",
|
|
1207
|
+
"anyOf": [
|
|
1208
|
+
{
|
|
1209
|
+
"description": "Represents a null JSON value.",
|
|
1210
|
+
"type": "null"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"description": "Represents a [`bool`].",
|
|
1214
|
+
"type": "boolean"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"description": "Represents a valid ACL [`Number`].",
|
|
1218
|
+
"allOf": [
|
|
1219
|
+
{
|
|
1220
|
+
"$ref": "#/definitions/Number"
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"description": "Represents a [`String`].",
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"description": "Represents a list of other [`Value`]s.",
|
|
1230
|
+
"type": "array",
|
|
1231
|
+
"items": {
|
|
1232
|
+
"$ref": "#/definitions/Value"
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"description": "Represents a map of [`String`] keys to [`Value`]s.",
|
|
1237
|
+
"type": "object",
|
|
1238
|
+
"additionalProperties": {
|
|
1239
|
+
"$ref": "#/definitions/Value"
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
"Number": {
|
|
1245
|
+
"description": "A valid ACL number.",
|
|
1246
|
+
"anyOf": [
|
|
1247
|
+
{
|
|
1248
|
+
"description": "Represents an [`i64`].",
|
|
1249
|
+
"type": "integer",
|
|
1250
|
+
"format": "int64"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"description": "Represents a [`f64`].",
|
|
1254
|
+
"type": "number",
|
|
1255
|
+
"format": "double"
|
|
1256
|
+
}
|
|
1257
|
+
]
|
|
1258
|
+
},
|
|
1259
|
+
"Target": {
|
|
1260
|
+
"description": "Platform target.",
|
|
1261
|
+
"oneOf": [
|
|
1262
|
+
{
|
|
1263
|
+
"description": "MacOS.",
|
|
1264
|
+
"type": "string",
|
|
1265
|
+
"enum": [
|
|
1266
|
+
"macOS"
|
|
1267
|
+
]
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"description": "Windows.",
|
|
1271
|
+
"type": "string",
|
|
1272
|
+
"enum": [
|
|
1273
|
+
"windows"
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"description": "Linux.",
|
|
1278
|
+
"type": "string",
|
|
1279
|
+
"enum": [
|
|
1280
|
+
"linux"
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"description": "Android.",
|
|
1285
|
+
"type": "string",
|
|
1286
|
+
"enum": [
|
|
1287
|
+
"android"
|
|
1288
|
+
]
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"description": "iOS.",
|
|
1292
|
+
"type": "string",
|
|
1293
|
+
"enum": [
|
|
1294
|
+
"iOS"
|
|
1295
|
+
]
|
|
1296
|
+
}
|
|
1297
|
+
]
|
|
1298
|
+
},
|
|
1043
1299
|
"TrayIconConfig": {
|
|
1044
1300
|
"description": "Configuration for application tray icon.\n\nSee more: <https://tauri.app/v1/api/config#trayiconconfig>",
|
|
1045
1301
|
"type": "object",
|
|
@@ -2180,6 +2436,27 @@
|
|
|
2180
2436
|
"string",
|
|
2181
2437
|
"null"
|
|
2182
2438
|
]
|
|
2439
|
+
},
|
|
2440
|
+
"section": {
|
|
2441
|
+
"description": "Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections",
|
|
2442
|
+
"type": [
|
|
2443
|
+
"string",
|
|
2444
|
+
"null"
|
|
2445
|
+
]
|
|
2446
|
+
},
|
|
2447
|
+
"priority": {
|
|
2448
|
+
"description": "Change the priority of the Debian Package. By default, it is set to `optional`. Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra`",
|
|
2449
|
+
"type": [
|
|
2450
|
+
"string",
|
|
2451
|
+
"null"
|
|
2452
|
+
]
|
|
2453
|
+
},
|
|
2454
|
+
"changelog": {
|
|
2455
|
+
"description": "Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes",
|
|
2456
|
+
"type": [
|
|
2457
|
+
"string",
|
|
2458
|
+
"null"
|
|
2459
|
+
]
|
|
2183
2460
|
}
|
|
2184
2461
|
},
|
|
2185
2462
|
"additionalProperties": false
|
package/src/lib.rs
CHANGED