summaryrefslogtreecommitdiff
path: root/node_modules/@electron/notarize/lib/types.d.ts
blob: 5a9d6d0d16d936bd3fae1477cd563efdeab8b8bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
export interface LegacyNotarizePasswordCredentials {
    appleId: string;
    appleIdPassword: string;
}
export interface NotaryToolPasswordCredentials {
    appleId: string;
    appleIdPassword: string;
    teamId: string;
}
export interface LegacyNotarizeApiKeyCredentials {
    appleApiKey: string;
    appleApiIssuer: string;
}
export interface NotaryToolApiKeyCredentials {
    appleApiKey: string;
    appleApiKeyId: string;
    appleApiIssuer: string;
}
export interface NotaryToolKeychainCredentials {
    keychainProfile: string;
    keychain?: string;
}
export declare type LegacyNotarizeCredentials = LegacyNotarizePasswordCredentials | LegacyNotarizeApiKeyCredentials;
export declare type NotaryToolCredentials = NotaryToolPasswordCredentials | NotaryToolApiKeyCredentials | NotaryToolKeychainCredentials;
export declare type NotarizeCredentials = LegacyNotarizeCredentials | NotaryToolCredentials;
export interface LegacyNotarizeAppOptions {
    appPath: string;
    appBundleId: string;
}
export interface NotaryToolNotarizeAppOptions {
    appPath: string;
}
export interface TransporterOptions {
    ascProvider?: string;
}
export interface NotarizeResult {
    uuid: string;
}
export declare type LegacyNotarizeStartOptions = LegacyNotarizeAppOptions & LegacyNotarizeCredentials & TransporterOptions;
export declare type NotaryToolStartOptions = NotaryToolNotarizeAppOptions & NotaryToolCredentials;
export declare type LegacyNotarizeWaitOptions = NotarizeResult & LegacyNotarizeCredentials;
export declare type NotarizeStapleOptions = Pick<LegacyNotarizeAppOptions, 'appPath'>;
export declare type NotarizeOptions = ({
    tool?: 'legacy';
} & LegacyNotarizeStartOptions) | ({
    tool: 'notarytool';
} & NotaryToolStartOptions);