Abraham White
5a56dd22ba
Remove unused type parameter
2018-06-05 10:20:39 -06:00
Abraham White
e7e45f53ff
Add clear() method to caching describe methods
2018-05-30 14:42:46 -06:00
Abraham White
13d8a50a57
Update tests
2018-05-30 13:59:54 -06:00
Abraham White
6abf5805fe
Add proper return types for cached describe calls
...
The [Cache.makeCacheable](http://jsforce.github.io/jsforce/doc/cache.js.html#line175 )
method doesn't return a promise, but immediately
returns the saved value. This is dumb, the method
signature should match the passed in method,
returning an immediately resolved Promise instead.
2018-05-30 13:49:16 -06:00
Abraham White
3e79330294
Remove describeGlobal from SObject
2018-05-30 13:27:25 -06:00
Abraham White
c73c567f56
Set strictFunctionTypes to true
2018-05-30 13:00:21 -06:00
Abraham White
709a66c5f1
Add name to contributors
2018-05-30 12:39:58 -06:00
Abraham White
db44ac9f22
Add DescribeSObject typings and cached describe functions
2018-05-30 12:35:18 -06:00
Steve Hetzel
70b686c494
[@types/jsforce] fixes Connection.query signature to accept the options arg as ExecuteOptions type from Query.d.ts. Modifies the Connection.queryMore options type to be ExecuteOptions as well. Fixes the scanAll property on ExecuteOptions to be a boolean rather than number and add the headers property as optional. Adds a test to jsforce-tests.ts for the changes.
2018-05-23 09:49:17 -06:00
Steve Hetzel
9ad6d02914
Adds 'success' and 'errors' properties to BatchResultInfo.
...
Changes 'concurrencyMode' property to be optional since 'Parallel' is the default.
Adds 'body' property to RequestInfo.
Adds the ExecuteAnonymousResult interface.
Changes Job.prototype.list() to return a BatchInfo[].
Adds tests.
2018-05-14 16:18:09 -06:00
Dolan
c8ca0b5b8f
Jsforce updates ( #25152 )
...
* Add bulk, batch and job and clean up
* Add streaming api
* Put test dependencies into test file
* Update OAuth2 typings
* Fix linting
* Add Bulk and Streaming tests
* Fix linting
* Fix lint rules for new dtslinter
* Make Id optional
* Make T any by default
* Set callbacks to have Error as first argument
* Remove blank interface
* Clean up and remove unused and duplicated typings
* Sort exports
2018-04-24 15:56:52 -07:00
tnoonan-salesforce
e77f5638ae
New Types for JSForce ( #24925 )
...
Additional Types added for jsforce
analytics
metadata
chatter
2018-04-12 09:59:13 -07:00
Ylies Chahi
41f7055984
add finally implement to comply promise implementation
2018-03-19 14:37:03 +01:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Andy
954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions ( #21288 )
...
* Update `TypeScript Version`s to be at least as high as dependencies' versions
* Run through again
2017-11-08 09:12:14 -08:00
Andy
097d2acf71
Miscellaneous lint fixes ( #20849 )
2017-10-22 15:22:50 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Dolan
54e1904afc
Jsforce Query fixes ( #20101 )
...
* Query fixes
* Fix implementing promise interface
* Make Query Implement Readable
2017-10-06 11:24:36 -07:00
James Hutchby
e831756a5b
change findOne so that it returns Query<T> instead of void
2017-09-11 13:48:07 +02:00
Nathan Shively-Sanders
f48329ad18
Merge pull request #19461 from baronfel/jsorce
...
[JSForce] large cleanups and refactor for greater type-safety
2017-09-06 13:31:11 -07:00
Andy
cb2dbfbb50
Add ignores for new lint rules ( #19504 )
2017-09-01 07:47:52 -07:00
Chet Husk
b2098c51a1
fix linting
2017-08-30 09:40:22 -05:00
Chet Husk
c2bc7792e6
more cleanups and stronger typing
2017-08-30 09:26:11 -05:00
Chet Husk
c7fbc7fe14
querying and update enhancements
2017-08-29 16:58:15 -05:00
Kamil Ejsymont
b5531790e3
Fix tests
2017-07-09 21:30:58 +02:00
Kamil Ejsymont
6e277bdfbf
Add Record type
2017-07-09 21:23:20 +02:00
Kamil Ejsymont
14602bb57b
Return promise with 'any' type
2017-07-07 12:50:27 +02:00
Kamil Ejsymont
411f20e3f5
Final fix
2017-07-07 11:56:12 +02:00
Kamil Ejsymont
b555ee070d
Fix map property
2017-07-07 11:38:39 +02:00
Kamil Ejsymont
e687ec0456
Fix linter errors
2017-07-07 08:31:51 +02:00
Kamil Ejsymont
fc18988b7e
Add some missing definitions
2017-07-07 08:25:04 +02:00
Dolan
f10061da3f
Used string instead of String
...
Added upsertBulk
2017-05-19 12:52:35 +01:00
Dolan
f58e431dfc
Fixed typo
2017-05-19 12:49:16 +01:00
Dolan
e48cabe2bf
Added upsert
2017-05-19 12:43:33 +01:00
Dolan
1c09309c27
Exported SalesforceId and fixed typo
2017-05-19 12:26:21 +01:00
Dolan
f823abb6a4
Made all of the files .d.ts
2017-05-17 15:04:50 +01:00
Dolan
0cf0d08785
Added more methods and enum types
2017-05-17 01:41:33 +01:00
Dolan
305b169061
Split up the file into multiple, more manageable files
2017-05-17 00:52:31 +01:00
Dolan
04100cd5ce
Added more methods
2017-05-16 23:46:36 +01:00
Dolan
e821bc121b
added more typings
2017-05-09 18:35:42 +01:00
Dolan
de601567dc
initial commit
2017-05-09 18:09:04 +01:00