@@ -31,6 +31,7 @@ console.log(paste.url)
31
31
- [ UserPasteStore] ( #userpastestore )
32
32
- [ Typedefs] ( #typedefs )
33
33
- [ PastebinCredentials] ( #pastebincredentials )
34
+ - [ PasteCreateOptions] ( #pastecreateoptions )
34
35
- [ Format] ( #format-2 )
35
36
- [ Privacy] ( #privacy-2 )
36
37
- [ Expiry] ( #expiry-2 )
@@ -474,7 +475,9 @@ Fetch this user's pastes, and store them in the cache.
474
475
475
476
The credentials provided to and stored in the PastebinClient.
476
477
477
- ** Type:** ` { apiKey?: string, username?: string, password?: string, userKey?: string } `
478
+ ** Type:** ` { apiKey?, username?, password?, userKey? } `
479
+
480
+ #### Properties
478
481
479
482
| name | description | type | default |
480
483
| -------- | ------------------------------------------------ | ------ | ------- |
@@ -483,8 +486,21 @@ The credentials provided to and stored in the PastebinClient.
483
486
| password | Your Pastebin password |
8000
string | ` null ` |
484
487
| userKey | Your Pastebin user key, obtained when logging in | string | ` null ` |
485
488
489
+ ### PasteCreateOptions
490
+
491
+ Options to create a paste.
492
+
493
+ ** Type:** ` { title?, format?, privacy?, expiry? } `
494
+
486
495
#### Properties
487
496
497
+ | name | description | type | default |
498
+ | ------- | ------------------------------------------------ | --------------------- | ------- |
499
+ | title | Your Pastebin API key | string | ` null ` |
500
+ | format | Your Pastebin username | [ Format] ( #format-2 ) | ` null ` |
501
+ | privacy | Your Pastebin password | [ Privacy] ( #privacy-2 ) | ` null ` |
502
+ | expiry | Your Pastebin user key, obtained when logging in | [ Expiry] ( #expiry-2 ) | ` null ` |
503
+
488
504
### Format
489
505
490
506
A "format," which will be used for syntax highlighting. You can see the full list of formats [ here] ( https://pastebin.com/doc_api#5 ) .
0 commit comments