Skip to content

Commit

Permalink
Added Office.js type definition generated projects closing OfficeDev#77
Browse files Browse the repository at this point in the history
Added Office.d.ts to tsd.json
  • Loading branch information
andrewconnell committed Oct 28, 2015
1 parent 29c466e commit ab7defb
Show file tree
Hide file tree
Showing 27 changed files with 46 additions and 1 deletion.
3 changes: 3 additions & 0 deletions generators/content/templates/html/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"installed": {
"jquery/jquery.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/content/templates/ng-adal/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/content/templates/ng/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/mail/templates/html/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"installed": {
"jquery/jquery.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/mail/templates/ng-adal/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/mail/templates/ng/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/taskpane/templates/html/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"installed": {
"jquery/jquery.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/taskpane/templates/ng-adal/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
3 changes: 3 additions & 0 deletions generators/taskpane/templates/ng/_tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"angularjs/angular-sanitize.d.ts": {
"commit": "04a025ada3492a22df24ca2d8521c911697721b3"
},
"office-js/office-js.d.ts": {
"commit": "62eedc3121a5e28c50473d2e4a9cefbcb9c3957f"
}
}
}
1 change: 1 addition & 0 deletions test/content/existingproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/content/existingproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/content/existingproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/content/newproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/content/newproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/content/newproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ describe('office:content', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
3 changes: 2 additions & 1 deletion test/mail/existingproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
done();
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

}); // describe('tsd.json contents')
Expand Down
1 change: 1 addition & 0 deletions test/mail/existingproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/mail/existingproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/mail/newproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/mail/newproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/mail/newproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ describe('office:mail', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/existingproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/existingproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/existingproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/newproj-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.not.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.not.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/newproj-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down
1 change: 1 addition & 0 deletions test/taskpane/newproj-ngadal.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ describe('office:taskpane', function(){
expect(tsd.installed['angularjs/angular.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-route.d.ts']).to.exist;
expect(tsd.installed['angularjs/angular-sanitize.d.ts']).to.exist;
expect(tsd.installed['office-js/office-js.d.ts']).to.exist;
done();
});

Expand Down

1 comment on commit ab7defb

@andrewconnell
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect commit comment... really closed OfficeDev#82

Please sign in to comment.