mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Fixed some API.md tables
This commit is contained in:
2
API.md
2
API.md
@@ -135,6 +135,7 @@ Use this is you have a saved model on your File System and want to read it and u
|
|||||||
The following are the arguments to be passed in the object in first position:
|
The following are the arguments to be passed in the object in first position:
|
||||||
|
|
||||||
| Key | Type | Description | Optional | Default Value |
|
| Key | Type | Description | Optional | Default Value |
|
||||||
|
| ------------ | ------------- | --------------------------------------------------------------------------------------- | :------: | :-----------: |
|
||||||
| model | string (path) | The path to your model on File System | `false` | - |
|
| model | string (path) | The path to your model on File System | `false` | - |
|
||||||
| certificates | object | The object containing certificates data. Refer to PKPass's constructor for all the keys | `false` | - |
|
| certificates | object | The object containing certificates data. Refer to PKPass's constructor for all the keys | `false` | - |
|
||||||
|
|
||||||
@@ -187,6 +188,7 @@ Throws if pass is frozen due to a previous export.
|
|||||||
**Arguments**:
|
**Arguments**:
|
||||||
|
|
||||||
| Key | Type | Description | Optional | Default Value |
|
| Key | Type | Description | Optional | Default Value |
|
||||||
|
| -------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: | :-----------: |
|
||||||
| filePath | string (path) | The path, local to your pass.json, where the file should be added (if it is a localization file, it will be like `en.lproj/pass.strings`, otherwise just the name, like `personalization.json`) | `false` | - |
|
| filePath | string (path) | The path, local to your pass.json, where the file should be added (if it is a localization file, it will be like `en.lproj/pass.strings`, otherwise just the name, like `personalization.json`) | `false` | - |
|
||||||
| buffer | Buffer | The content of your file | `false` | - |
|
| buffer | Buffer | The content of your file | `false` | - |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user