Fixed some API.md tables

This commit is contained in:
Alexander Cerutti
2021-10-23 21:03:54 +02:00
parent ad812df261
commit 35214e2c50

2
API.md
View File

@@ -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` | - |