Derek Finlinson
20b7ef9c56
Add setVisible to iFrame control ( #14855 )
2017-03-10 14:47:39 -08:00
Andy
51b64c3c15
Remove unnecessary references in test files. ( #14900 )
2017-03-10 07:46:20 -08:00
Andy
555ea54770
Lint test files too ( #14791 )
2017-02-23 07:15:16 -08:00
clownwilleatme
8a9e8cac53
Removing tslint rule
...
Removing the tslint space-before-function-paren rule as it caused
hundreds of errors with Travis CI.
2017-02-08 12:27:58 +11:00
clownwilleatme
465a3e9cb3
Adding tslint and reformatting
...
Adding tslint.json file and reformatting files to conform to the defined
rules.
2017-02-08 12:21:27 +11:00
clownwilleatme
f0f92d8cd8
Adding export to interface definitions
...
Modifying the Context and SaveOptions interfaces so that they are
defined as `export interface` so that they are exposed externally.
2017-02-08 09:35:58 +11:00
clownwilleatme
53f76553c0
Updating API version number, adding TS version
...
Updating the API version number from 8.0 to 8.2
Adding TypeScript version 2.1 to the header to allow the unit tests to
compile using const string variables for attribute.setSubmitMode and
attribute.setRequiredLevel methods with the removed string union.
2017-02-08 08:56:34 +11:00
clownwilleatme
892bc67f32
Modifying the unit test to fix errors
...
Modify the unit test to set the string variables which are used for
calls to attribute.setSubmitMode and attribute.setRequiredLevel to use
const strings as strings declared as var or let fail.
This is by design for string union types in TypeScript - see:
https://github.com/Microsoft/TypeScript/issues/9489
2017-02-07 17:57:56 +11:00
clownwilleatme
ff6194f493
Xrm.Mobile.offline interface, string unions
...
- Moving Xrm.Mobile and Xrm.Mobile.offline into interfaces.
- Removing union string types for:
- Xrm.Page.ui.setFormNotification
- Xrm.Page.Attribute.setSubmitMode
- Xrm.Page.data.entity.save
- Xrm.Page.Attribute.setDisplayState
2017-02-07 17:57:44 +11:00
clownwilleatme
0c3a0003e1
Adding XRM v8.2
2017-02-07 17:57:35 +11:00
clownwilleatme
fe372f86ad
Revert "Adding XRM v8.2 features"
...
This reverts commit 65d062de61c4d7e014d73420c28e0999ab8f6c9d.
2017-02-07 17:57:27 +11:00
clownwilleatme
28634dc884
Adding XRM v8.2 features
2017-02-07 17:57:14 +11:00
Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Daryl LaBar
4f8ab52a2f
Xrm.Page.ui.process was pointing to Xrm.Page.data.ProcessManager, rather than Xrm.Page.ui.ProcessManager. ( #13920 )
...
Also applied #13514 to newest version since it was missed.
2017-01-10 14:30:16 -08:00
Andy
b1831c5b91
Clean up based on testing for unused files ( #13816 )
2017-01-06 14:23:26 -08:00
Andy
2f71174636
Restructure to support old versions ( #13811 )
...
* Restructure to support old versions
* Fix tests
2017-01-06 12:36:57 -08:00
Andy Hanson
02dab38e7e
Merge branch 'master' of https://github.com/daryllabar/DefinitelyTyped into daryllabar-master
2017-01-06 07:32:21 -08:00
Andy
3d6a15ee16
Strip BOM from all files ( #13735 )
2017-01-04 12:07:53 -08:00
Daryl LaBar
b67114684c
Updated Paths of files to match https://github.com/Microsoft/types-publisher/issues/3
2016-12-30 03:01:32 -05:00
wauters
6d6ec56944
Parameter formid is NOT required on the Xrm.Utility.openEntityForm() request ( #13514 )
...
formid is an optional parameter.
See: https://msdn.microsoft.com/en-US/library/jj602956.aspx#BKMK_OpenEntityForm
2016-12-29 12:36:20 -08:00
wauters
aded248021
Xrm.Page.ui.process ( #13465 )
...
Xrm.Page.ui.process was using Xrm.Page.data.process
2016-12-27 19:40:15 -05:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
53038c8080
Make xrm tests pass strictNullChecks again
...
The recent change to SuccessCallbackDelegate was made with
strictNullChecks off in master.
2016-11-23 15:53:32 -08:00
Nathan Shively-Sanders
daf9bd392f
Merge branch 'master' into types-merges-20161123
2016-11-23 15:48:06 -08:00
Derek C. Finlinson
67ba8bbf82
Update openQuickCreate success test
2016-11-15 20:16:36 -07:00
Derek Finlinson
2681fb04c1
Correct SuccessCallbackDelegate parameter
2016-11-15 20:12:37 -07:00
Derek C. Finlinson
a90abe4d4f
Fix ErrorCallbackDelegate signature
2016-11-15 13:49:12 -07:00
Derek C. Finlinson
25a8cc0210
Merge remote-tracking branch 'DefinitelyTyped/master'
2016-11-15 13:37:43 -07:00
Derek C. Finlinson
8d44b7df0e
Update SuccessCallbackDelegate definition
2016-11-15 13:37:36 -07:00
Andy Hanson
04b4272974
Merge remote-tracking branch 'origin/master' into merge_23sep
2016-09-23 07:24:23 -07:00
Daryl LaBar
bc016df426
Fixed merge Conflict
2016-09-22 10:55:11 -04:00
Andy Hanson
91d1d6d60f
Merge remote-tracking branch 'origin/master' into merge_21sep
2016-09-21 09:45:05 -07:00
Derek Finlinson
9f940ae3a8
Switch to an optional Page.Lookup value param since only Xrm.Utility.openQuickCreate expects a param
2016-09-20 14:31:04 -06:00
Derek Finlinson
8402e27ece
Add optional parameter to SuccessCallbackDelegate so openQuickCreate test will pass
2016-09-20 14:22:27 -06:00
Derek Finlinson
9e2ab40ea9
Comment out openQuickCreate test. Not sure why it fails
2016-09-20 14:04:58 -06:00
Derek Finlinson
ee1b918eb9
Add null for optional parameters
2016-09-20 13:56:20 -06:00
Derek Finlinson
ddea97cf9d
Change type of newRecord to Page.LookupValue
2016-09-20 13:54:04 -06:00
Derek Finlinson
23a7b85f36
Fix test for openQuickCreate to pass Travis build
2016-09-20 13:49:52 -06:00
Daryl LaBar
406a8d2a5a
Added the new 8.0 AutoComplete Features. Since this in in 8.0 only and beyond, created 7.1 versions of Xrm.d.ts and tests.ts based on previous version.
2016-09-16 09:58:31 -04:00
Derek Finlinson
4e6cafda2c
Fix openQuickCreate signature
...
Fixed openQuickCreate signature which had a callback as the first
parameter when it should just return a XrmPromise.
2016-09-15 11:49:51 -06:00
Paul van Brenk
5607f54def
Merge master into typings-2.0
...
* Changed Files
2016-08-18 14:53:30 -07:00
Daryl LaBar
5953dd4f6c
Verified that addPreSearch returns a ContextSensitiveHandler, and since the handler is added against a control, the getEventSource can return a Control as well..
2016-08-17 14:08:01 -04:00
Ryan Cavanaugh
c73630c9a3
Merge commit 'upstream/master~400' into merge_7_25
...
# Conflicts:
# angular-translate/angular-translate.d.ts
# knex/knex.d.ts
# redux-logger/index.d.ts
# simplestorage.js/index.d.ts
# underscore/underscore.d.ts
# yargs/yargs.d.ts
2016-07-26 13:53:00 -07:00
Ryan Cavanaugh
9d7d5a209a
Getting types-2.0 passing CI
2016-07-14 18:13:43 -07:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Mohamed Hegazy
16a182de32
Fix strictNullChecks issues with xrm
2016-07-08 20:47:13 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Daryl LaBar
7b465f8121
Added String as valid types for set methods.
...
Removed new Modules for string literal types. Moved String literal types to their parent namespaces.
2016-06-21 09:06:20 -04:00
Daryl LaBar
1c5ce5244f
Added Name to list of Authors via Dave Barry's request: https://twitter.com/crmentropy/status/744399133671206912
2016-06-20 11:17:21 -04:00
Daryl LaBar
6b972c3e58
Changed OptionSetValue.Value to be a Number. This is the way CRM is returning it when Turbo Forms are used which is the default now.
...
Added Missing ProcessManager functions getSelectedStage, addOnStageSelected, removeOnStageChange
Add UiFocusable Interface to Control
Changed Form Notification to Use String Literal Type
Changed setRequiredLevel to Use String Literal Type
Changed setSubmitMode to Use String Literal Type
Changed setDisplayState to Use String Literal Type
Changed getClient to Use String Literal Type
Changed getClientState to Use String Literal Type
Changed getCurrentTheme to Use String Literal Type
Changed setFormNotification to Use String Literal Type
Changed getStatus to Use String Literal Type
Changed savedMode to Use String Literal Type
Changed CmdBar to Use String Literal Type
Changed NavBar to Use String Literal Type
Changed Action to Use String Literal Type
2016-06-17 09:47:41 -04:00