1
- /**
2
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
3
- * @category Legacy
4
- */
5
- export interface LegacyNotarizePasswordCredentials {
6
- appleId : string ;
7
- appleIdPassword : string ;
8
- }
9
-
10
1
/**
11
2
* You can generate an [app-specific password](https://support.apple.com/en-us/102654) for your Apple ID
12
3
* to notarize your Electron applications.
@@ -36,15 +27,6 @@ export interface NotaryToolPasswordCredentials {
36
27
teamId : string ;
37
28
}
38
29
39
- /**
40
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
41
- * @category Legacy
42
- */
43
- export interface LegacyNotarizeApiKeyCredentials {
44
- appleApiKey : string ;
45
- appleApiIssuer : string ;
46
- }
47
-
48
30
/**
49
31
* Credentials required for JSON Web Token (JWT) notarization using App Store Connect API keys.
50
32
*
@@ -90,14 +72,6 @@ export interface NotaryToolKeychainCredentials {
90
72
keychain ?: string ;
91
73
}
92
74
93
- /**
94
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
95
- * @category Legacy
96
- */
97
- export type LegacyNotarizeCredentials =
98
- | LegacyNotarizePasswordCredentials
99
- | LegacyNotarizeApiKeyCredentials ;
100
-
101
75
/**
102
76
* Credential options for authenticating `notarytool`. There are three valid stategies available:
103
77
*
@@ -111,15 +85,6 @@ export type NotaryToolCredentials =
111
85
| NotaryToolApiKeyCredentials
112
86
| NotaryToolKeychainCredentials ;
113
87
114
- /**
115
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
116
- * @category Legacy
117
- */
118
- export interface LegacyNotarizeAppOptions {
119
- appPath : string ;
120
- appBundleId : string ;
121
- }
122
-
123
88
/**
124
89
* Non-credential options for notarizing your application with `notarytool`.
125
90
* @category Core
@@ -132,56 +97,8 @@ export interface NotaryToolNotarizeAppOptions {
132
97
notarytoolPath ?: string ;
133
98
}
134
99
135
- /**
136
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
137
- * @category Legacy
138
- */
139
- interface TransporterOptions {
140
- ascProvider ?: string ;
141
- }
142
-
143
- /**
144
- * @deprecated This interface was used for Apple's `altool`, which was sunset in 2023 and no longer works.
145
- * @category Legacy
146
- */
147
- interface NotarizeResult {
148
- uuid : string ;
149
- }
150
-
151
- /**
152
- * @deprecated This type was used for Apple's `altool`, which was sunset in 2023 and no longer works.
153
- * @category Legacy
154
- */
155
- export type LegacyNotarizeStartOptions = LegacyNotarizeAppOptions &
156
- LegacyNotarizeCredentials &
157
- TransporterOptions ;
158
-
159
- /**
160
- * @deprecated This type was used for Apple's `altool`, which was sunset in 2023 and no longer works.
161
- * @category Legacy
162
- */
163
- export type LegacyNotarizeWaitOptions = NotarizeResult & LegacyNotarizeCredentials ;
164
-
165
- /**
166
- * @deprecated This type was used for Apple's `altool`, which was sunset in 2023 and no longer works.
167
- * @category Legacy
168
- */
169
- export type NotarizeOptionsLegacy = { tool : 'legacy' } & LegacyNotarizeStartOptions ;
170
-
171
100
/**
172
101
* Options for notarizing your Electron app with `notarytool`.
173
102
* @category Core
174
103
*/
175
- export type NotaryToolStartOptions = NotaryToolNotarizeAppOptions & NotaryToolCredentials ;
176
-
177
- /**
178
- * Helper type that specifies that `@electron/notarize` is using the `notarytool` strategy.
179
- * @category Utility Types
180
- */
181
- export type NotarizeOptionsNotaryTool = { tool ?: 'notarytool' } & NotaryToolStartOptions ;
182
-
183
- /**
184
- * Options accepted by the `notarize` method.
185
- * @internal
186
- */
187
- export type NotarizeOptions = NotarizeOptionsLegacy | NotarizeOptionsNotaryTool ;
104
+ export type NotarizeOptions = NotaryToolNotarizeAppOptions & NotaryToolCredentials ;
0 commit comments