-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add module AppleDeveloper for related types
- Loading branch information
Showing
2 changed files
with
43 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
defmodule Apple.Types.AppleDeveloper do | ||
@moduledoc """ | ||
Provides Apple Developer related types. | ||
""" | ||
|
||
@typedoc """ | ||
The team ID, which is a 10-character string, like `"6MPDV0UYYX"` | ||
It can be obtained from your Apple Developer account by following this path: | ||
1. Sign into your Apple Developer account. | ||
2. Navigate to "Membership details". | ||
""" | ||
@type team_id :: String.t() | ||
|
||
@typedoc """ | ||
The private key ID, like `"2Y9R5HMY68"`. | ||
It can be obtained from your Apple Developer account by following this path: | ||
1. Sign into your Apple Developer account. | ||
2. Navigate to "Certificates, IDs & Profiles". | ||
3. Navigate to "Keys". | ||
4. Click the plus button to add a new key. | ||
""" | ||
@type key_id :: String.t() | ||
|
||
@typedoc """ | ||
The private key associated with the `key_id`. | ||
It's in PEM format, like: | ||
```text | ||
-----BEGIN PRIVATE KEY----- | ||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
... | ||
-----END PRIVATE KEY----- | ||
``` | ||
""" | ||
@type private_key :: String.t() | ||
end |