@todesktop/shared 7.188.75 → 7.188.77
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/lib/toDesktop.d.ts +6 -5
- package/package.json +1 -1
- package/src/toDesktop.ts +7 -5
package/lib/toDesktop.d.ts
CHANGED
|
@@ -88,7 +88,9 @@ export interface IApp extends BaseApp {
|
|
|
88
88
|
customUserAgent?: ISwitchableValue<string>;
|
|
89
89
|
disableContextMenu?: boolean;
|
|
90
90
|
environmentVariables?: {
|
|
91
|
-
[propertyName: string]: string
|
|
91
|
+
[propertyName: string]: string | {
|
|
92
|
+
secret: string;
|
|
93
|
+
};
|
|
92
94
|
};
|
|
93
95
|
icon?: string;
|
|
94
96
|
icons?: IIcon[];
|
|
@@ -150,10 +152,9 @@ export interface FeatureFlags {
|
|
|
150
152
|
}
|
|
151
153
|
export interface UserIHaveSentInviteTo {
|
|
152
154
|
email: string;
|
|
153
|
-
permissions
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
canRelease?: boolean;
|
|
155
|
+
permissions?: {
|
|
156
|
+
canBuild: boolean;
|
|
157
|
+
canRelease: boolean;
|
|
157
158
|
};
|
|
158
159
|
name: string;
|
|
159
160
|
sender: UserIHaveAcceptedInviteFrom;
|
package/package.json
CHANGED
package/src/toDesktop.ts
CHANGED
|
@@ -103,7 +103,10 @@ export interface IApp extends BaseApp {
|
|
|
103
103
|
customDomain?: string;
|
|
104
104
|
customUserAgent?: ISwitchableValue<string>;
|
|
105
105
|
disableContextMenu?: boolean;
|
|
106
|
-
environmentVariables?: {
|
|
106
|
+
environmentVariables?: {
|
|
107
|
+
// values that have been made secret need to be retrieved from azure key vault
|
|
108
|
+
[propertyName: string]: string | { secret: string };
|
|
109
|
+
};
|
|
107
110
|
icon?: string;
|
|
108
111
|
icons?: IIcon[];
|
|
109
112
|
internalUrls?: ISwitchableValue<string>;
|
|
@@ -171,10 +174,9 @@ export interface FeatureFlags {
|
|
|
171
174
|
// uses an `email` identifier because an invited user may not have an account
|
|
172
175
|
export interface UserIHaveSentInviteTo {
|
|
173
176
|
email: string;
|
|
174
|
-
permissions
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
canRelease?: boolean;
|
|
177
|
+
permissions?: {
|
|
178
|
+
canBuild: boolean;
|
|
179
|
+
canRelease: boolean;
|
|
178
180
|
};
|
|
179
181
|
name: string;
|
|
180
182
|
// this allows us to encode information about the sender without loosening firebase privileges
|